You can obtain the soap envelope and add the namespaces. This can be done by writing a message receiver. I think it should work ok even if you declare the namespaces on soap body's first child which you can access from the service.
Regards Nandika. On Mon, May 10, 2010 at 4:25 PM, Akos Marton <[email protected]> wrote: > Dear List, > > The default option for axis2c is to set up the soap envelope header like > this: > <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> > > I have a predefined wsdl and I have to align my server to that. During > the xml communication there is a section: > > <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > I need to realize this xml somehow in to the stream. > The question is how can I change the default to my version? > > Regards, > mAkos > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- http://nandikajayawardana.blogspot.com/ WSO2 Inc: http://www.wso2.com
