> I believe you have to set a "soap.env.ns.map" contextual map property on > the endpoint and add a SOAP-ENV to Soap namespace pair, please check the > archives for some examples
Yep. Here is sample configuration from Dan: http://cxf.547215.n5.nabble.com/How-to-customize-namespaces-position-and-prefix-in-CXF-response-td3423069.html Cheers, Andrei. > -----Original Message----- > From: Sergey Beryozkin [mailto:[email protected]] > Sent: Dienstag, 26. Februar 2013 11:00 > To: [email protected] > Subject: Re: How to set the response namespace prefix to a specific string? > > Hi, > > I believe you have to set a "soap.env.ns.map" contextual map property on > the endpoint and add a SOAP-ENV to Soap namespace pair, please check the > archives for some examples > > HTH, Sergey > > On 25/02/13 21:43, flubb3r wrote: > > Hello, > > > > I'm working with a legacy application which sends requests to my > > service and expects the response to be in the following format: > > > > <SOAP-Env:Envelope SOAP-Env:xmlns="...."> > > <SOAP-Env:Header> > > ... > > </SOAP-Env:Header> > > <SOAP-Env:Body> > > </SOAP-Env:Body> > > </SOAP-Env:Envelope> > > > > The problem is my response uses the soap: prefix so it looks like this: > > > > <soap:Envelope ,,,> > > <soap:Header> > > > > Can I set in CXF somehow that the prefix must always be "SOAP-Env"? I > > know this shouldn't matter but like I said, I'm working with an old > > application which won't work unless it gets the response in the > > correct format. I can't change this old application. > > > > > > > > > > > > -- > > View this message in context: > > http://cxf.547215.n5.nabble.com/How-to-set-the-response-namespace- > pref > > ix-to-a-specific-string-tp5723672.html > > Sent from the cxf-user mailing list archive at Nabble.com. > > > -- > Sergey Beryozkin > > Talend Community Coders > http://coders.talend.com/ > > Blog: http://sberyozkin.blogspot.com
