axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Illsley (JIRA)" <j...@apache.org>
Subject [jira] Closed: (AXIS2-4215) How can I add a namespace definition to SOAP Envelope
Date Mon, 19 Jan 2009 22:48:59 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-4215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Illsley closed AXIS2-4215.
--------------------------------

    Resolution: Invalid

I believe you should be able to achieve this with soapenvelope.declareNamespace(java.lang.String
uri, java.lang.String prefix)

See the javadoc at [1] for details, and direct future queries like this to the mailing lists.

Thanks,
David

[1] http://ws.apache.org/commons/axiom/apidocs/index.html?org/apache/axiom/om/OMElement.html

> 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.
> 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>

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


Mime
View raw message