On Thursday 15 January 2009 1:00:42 pm Joe Satch wrote:
> Hi,
>
> Thanks for the replies!
>
> Looks like modifying SoapOutInterceptor is the only option for me.

It would be nice to file a JIRA with a patch.    We can then add it to 
CXF.   :-)

Seriously, it would probably be good to do something like:
Map<String, String> ns = msg.getContextualProperty("soap.env.ns.map");
and write all those in the map to the envelope.       You could set it on the 
endpoint/client in your config or similar.    

Dan



>
> regards
> J
>
> dkulp wrote:
> > Honestly, I don't think there is a way to do it short of modifying the
> > SoapOutInterceptor.    There isn't any "touch points" between writing the
> > envelope and the body that you can really do much with.    An interceptor
> > immediately after the SoapOutInterceptor could add namespaces to the
> > soap:body, but that probably wouldn't do you much good.
> >
> > Dan
> >
> > On Thursday 15 January 2009 7:57:41 am Joe Satch wrote:
> >> Hello,
> >>
> >> Thanks for the fantastic API first of all.
> >>
> >> I generated my webservice client (To a doc/li/wrapped webservice) using
> >> wsdl2java. My SOAP header needed heavy customization so i did some XML
> >> appendchild/attribute stuff and used requestContex to add the headers.
> >> However, I am not able to figure out, how to add namespace(s)
> >> declarations
> >> to the SOAP Envelope!
> >>
> >> Any help is appreciated.
> >>
> >> regards
> >> J
> >
> > --
> > Daniel Kulp
> > [email protected]
> > http://dankulp.com/blog



-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog

Reply via email to