Issue Details (XML | Word | Printable)

Key: AXISCPP-350
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Roshan Weerasuriya
Reporter: rinsad ahmed
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Axis-C++

Require support to Add name spaces dynamically

Created: 05/Jan/05 03:38 PM   Updated: 05/Jan/05 07:48 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Resolution Date: 05/Jan/05 07:47 PM


 Description  « Hide
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, using handlers.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Roshan Weerasuriya added a comment - 05/Jan/05 03:55 PM
This requirement is to do this through Hanlders

Roshan Weerasuriya added a comment - 05/Jan/05 07:47 PM
Added the API methods:

Could you 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 Weerasuriya added a comment - 05/Jan/05 07:48 PM
Fixed