you need to set property "soap.env.ns.map cxf". see example http://mail-archives.apache.org/mod_mbox/cxf-users/201302.mbox/%[email protected]%3E
2014-02-07 9:18 GMT+01:00 Philipp Michel <[email protected]>: > 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
