File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Constructing SOAP message question (SAAJ) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Constructing SOAP message question (SAAJ)" Watch "Constructing SOAP message question (SAAJ)" New topic

Constructing SOAP message question (SAAJ)

Craig Flannagan

Joined: Oct 21, 2001
Posts: 10
Currently my code, when constructing a part of the SOAP message, this is the best I could come up with:
I want it to look like this instead:
SOAP-ENV:encodingStyle="" xmlns:mns="http://com.test/wsdl/MyHello"/>
Using SAAJ API classes, how do I construct the latter, not the former?
Thanks in advance!

<blockquote><font size="1" face="Verdana, Arial">code:</font><hr><pre><font size="2"><br />boolean isDevilish(Human h)<br />{<br /> return (h==CraigFlannagan);<br />}<br /></font></pre><hr></blockquote>
I agree. Here's the link:
subject: Constructing SOAP message question (SAAJ)
It's not a secret anymore!