I'd argue that the default behavior of CFX should be to output namespace prefixes, according to WS-I Basic Profile http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#SOAP_Body_Namespace_Qualification.
On Mon, Jul 28, 2008 at 1:15 PM, Benson Margulies <[EMAIL PROTECTED]> wrote: > That's because your service is set up to have 'unqualified' parts. I > constantly get this confused, but you have to make the right selection > around doc/literal versus rpc/literal and you may have to ask nicely > to get qualified parts. > > On Mon, Jul 28, 2008 at 11:25 AM, Maciej Kwiecien > <[EMAIL PROTECTED]> wrote: > > Hello > > > > My CXF app generates request as follows: > > > > > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > > <soap:Header> > > ... > > </soap:Header> > > <soap:Body> > > <Request > > xmlns:ns2="http://www.example.org"> > > .... > > </Request> > > </soap:Body> > > </soap:Envelope> > > > > > > The problem is Request tag does not have prefix "ns2". > > How can I configure namespace prefix using CXF API? > > ( I found only configuration via Spring - > > http://cwiki.apache.org/CXF20DOC/jaxb.html) > > > > > > Any help will be appreciated. > > > > Regards, > > Maciej > > > -- I-Lin Kuo
