Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » WTP and SOAP Attachments(creating a Bottom - Up Java Bean service with attachments)
WTP and SOAP Attachments [message #495982] Fri, 06 November 2009 16:38 Go to next message
Eclipse UserFriend
I've built and deployed services through WTP's Bottom up java bean service wizard with great success.

Now, I'm required to support attachments so that a SOAP response may include any one of a number of different binary files (PDF, TIF, etc).

Searching the web has given me some information for it I were building the service and WSDL from scratch but I like the ease of use of the WTP in Eclipse.

Can anyone help me get started with what a java bean method should look like and/or how the WTP wizards might support attachments?

Thanks!
Re: WTP and SOAP Attachments [message #496611 is a reply to message #495982] Tue, 10 November 2009 11:43 Go to previous message
Eclipse UserFriend
I'm glad to hear that you have had success with the web services wizards.

I'm not aware of any support in the WTP web service wizards for
configuring attachments. You could try experimenting by starting with a
java bean that returns a byte[]. This will create a wsdl that returns
the xsd:base64Binary type. The service that is generated would include
the binary data right in the soap message, not as an attachment, unless
you do some tinkering.

dunderwood@nhbb.com wrote:
> I've built and deployed services through WTP's Bottom up java bean
> service wizard with great success.
>
> Now, I'm required to support attachments so that a SOAP response may
> include any one of a number of different binary files (PDF, TIF, etc).
>
> Searching the web has given me some information for it I were building
> the service and WSDL from scratch but I like the ease of use of the WTP
> in Eclipse.
>
> Can anyone help me get started with what a java bean method should look
> like and/or how the WTP wizards might support attachments?
>
> Thanks!
Previous Topic:Refactoring et al
Next Topic:String literal is not properly closed by a double-quote
Goto Forum:
  


Current Time: Wed Jul 23 15:41:53 EDT 2025

Powered by FUDForum. Page generated in 0.03066 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top