Hello,

i try to remove the  the default namespace prefix ("soap") from the
outgoing SOAP message. But I
don't know where to add the property "soap.env.ns.map". I've created a
sample SOAP Client with the
wsdl2java tool from Apache CXF and the client flag. My outgoing SOAP
message have to look like that:

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/";>
    <Header>
    ....
   </Header>
   <Body>
   </Body>
</Envelope>

But at the moment it looks like that:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
    <soap:Header>
    ....
   </soap:Header>
   <soap:Body>
   </soap:Body>
</soap:Envelope>

I know that this isn't the wrong format but the server accepts only message
without any prefix for the
"http://schemas.xmlsoap.org/soap/envelope/"; namespace.

Regards

Philipp

Reply via email to