[jboss-user] [JBossWS] - how to exclude the 'Header' element from my Soap Client requ

dscottp do-not-reply at jboss.com
Tue Feb 17 11:01:18 EST 2009


Hi guys,

I'm working with a Web Service breaks when you have an empty header element. I won't be able to get the service fixed unfortunately.

Is there any way I can exclude the empty header from my request?

Basically, the JbossWS client is generating the envelope:

  | <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:something">
  |    <soapenv:Header/>
  |    <soapenv:Body>
  |       <urn:something>
  |          <foo>bar</foo>
  |       </urn:something>
  |    </soapenv:Body>
  | </soapenv:Envelope>
  | 

and I would like to generate this instead:

  | <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:something">
  |    <soapenv:Body>
  |       <urn:something>
  |          <foo>bar</foo>
  |       </urn:something>
  |    </soapenv:Body>
  | </soapenv:Envelope>
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210740#4210740

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210740



More information about the jboss-user mailing list