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

Andreas Veithen resolved AXIS2-5988.
------------------------------------
    Resolution: Not A Bug

Namespace prefixes are arbitrary and Axis2 (or Axiom; I don't remember where 
they are generated) doesn't make any guarantee that they are deterministic. If 
you have code that relies on a specific namespace prefix being used, then that 
code is incorrect (It doesn't conform to XML specifications) and needs to be 
fixed.

> axis wsdl namespace prefixes are changing in the response
> ---------------------------------------------------------
>
>                 Key: AXIS2-5988
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5988
>             Project: Axis2
>          Issue Type: Bug
>          Components: wsdl
>            Reporter: Sivaramakrishnan Raghavan
>            Priority: Major
>
> ax25 namespace prefix got changed to ax21 prefix.. we would like to know the 
> axis2 behavior causing this:
> Our system was sending a soap response like this until now:
> <soapenv:Body> <ns:Response xmlns:ns="http://com.service/xsd";> <ns:return 
> xmlns:ax25="http://service.com/xsd"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="ax25:Result"> 
> <ax25:returnCode>TEST</ax25:returnCode> </ns:return> </ns:Response> 
> </soapenv:Body>
> Now after deploying to a new environment, It got changed to:
> <soapenv:Body> <ns:Response xmlns:ns="http://com.service/xsd";> <ns:return 
> xmlns:ax21="http://service.com/xsd"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="ax21:Result"> 
> <ax21:returnCode>TEST</ax21:returnCode> </ns:return> </ns:Response> 
> </soapenv:Body>



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to