wood burning stoves 2.0*
The moose likes Web Services and the fly likes SOAPHeader Actor and MustUnderStand Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAPHeader Actor and MustUnderStand" Watch "SOAPHeader Actor and MustUnderStand" New topic
Author

SOAPHeader Actor and MustUnderStand

Niall Loughnane
Ranch Hand

Joined: Dec 07, 2006
Posts: 208
Hi,

I'm creating SOAP messages using javax.xml.soap and apache.axis and have created a soap message like:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<headername soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0">
<headerChildElement key="keyHere" value="valueHere"/>
</headername>
</soapenv:Header>
<soapenv:Body></soapenv:Body></soapenv:Envelope>
"

but the issue here is that i need to remove the attributes "soapenv:actor" and "soapenv:mustUnderstand" from the soap message :-)

how can this be done?

Cheers in advance,

Niall
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: SOAPHeader Actor and MustUnderStand