hi Rinsad,
The API's are added now.
Added the API methods:
You could use a code similar to the following in a Handler:
IHandlerSoapSerializer* pISZ;
pIMsg->getSoapSerializer(&pISZ);
pISZ->addNamespaceToEnvelope("http://wsaddressing.com",
"wsa");
you will get a out come like:
<?xml version='1.0' encoding='utf-8' ?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wsa="http://wsaddressing.com">
<SOAP-ENV:Header>...
....
Roshan
On Wed, 2005-01-05 at 12:29, Roshan Weerasuriya wrote:
> hi Rinsad,
>
> Currently a Hanldler is unable to add a namespace to the Envelope. We
> will add the necessory API calls for the same.
>
> Roshan
>
> On Wed, 2005-01-05 at 11:54, Rinsad Ahmed wrote:
> > I am implementing WS-Addressing for Axis C++. I need the following
> > namespace
> > added into the soap envelop.
> > xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
> > And also, I should be able to add it dynamically only when we use ws-
> > addressing. Is it possible at the moment to add new names spaces from
> > handlers?
> > Regards
> > Rinsad
> >
>
>