How can I add a namespace definition to SOAP Envelope
-----------------------------------------------------

                 Key: AXIS2-4215
                 URL: https://issues.apache.org/jira/browse/AXIS2-4215
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
    Affects Versions: 1.3
         Environment: Windows/JBOSS/AXIS2-1.3
            Reporter: Doug Guzek


I know of no other place but here to ask this question:

I am building a SOAP message for a response to my web service. I am able to 
build everything except for adding NameSpace definitions to the soap:Envelope.

Here is my example....
How can I add the following 2 namespaces to the soap:Envelope
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xmlns:xsd="http://www.w3.org/2001/XMLSchema";>

So that it looks like this?

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
        <soap:Header
                xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
                <payloadManifest
                        
xmlns="http://www.starstandards.org/webservices/2003/12/transport";>
                        <manifest xmlns="" id="719409674" namespaceURI=""
                                element="ProcessRepairOrder" />
                </payloadManifest>


more information:
I am building this message using Axis2.client.ServiceClient


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to