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>
<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>