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

Reply via email to