Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » WTP and SOAP Attachments(creating a Bottom - Up Java Bean service with attachments)
WTP and SOAP Attachments [message #495982] Fri, 06 November 2009 21:38 Go to next message
No real name is currently offline No real name
Messages: 1
Registered: November 2009
Junior Member
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 16:43 Go to previous message
Mark Hutchinson is currently offline Mark Hutchinson
Messages: 53
Registered: July 2009
Member
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: Thu Oct 02 06:31:42 GMT 2014

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

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