Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > writing a SOAP message service, how do I get the attachment from a message?

Thread Tools

writing a SOAP message service, how do I get the attachment from a message?

Posts: n/a
The axis docs specify that when writing a soap message service that :

>There are four valid signatures for your message-style service


>public Element [] method(Element [] bodies);
>public SOAPBodyElement [] method (SOAPBodyElement [] bodies);
>public Document method(Document body);
>public void method(SOAPEnvelope req, SOAPEnvelope resp);

If my message service receives a message with an attachment how can I,
with any method fitting any of these signatures, access that
attachment? The api docs are not very clear and I have not found any
examples of this.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get message/rfc822 attachment name by using JavaMail? shilpa Java 5 05-12-2011 08:07 AM
How to add SOAP header to a SOAP message? Peter van der veen ASP .Net Web Services 6 11-14-2006 06:44 PM
SOAP Message with attachment is the best solution? ASP .Net Web Services 1 05-11-2005 04:04 PM
how to use servlet to receive message (not soap message) John Java 8 03-28-2005 01:39 PM
Problem of using apache soap to consume WSE 2.0 soap attachment Mullin Yu ASP .Net Web Services 0 10-08-2003 08:09 AM