axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felipe Carvalho (JIRA)" <>
Subject [jira] Created: (AXIS2-4339) xmlns not declared in web service response element
Date Fri, 08 May 2009 20:08:45 GMT
xmlns not declared in web service response element

                 Key: AXIS2-4339
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: adb
    Affects Versions: 1.4.1
            Reporter: Felipe Carvalho

The deserializing logic seems not be working totally correctly for null attributes.

For some reason, the xmlns is not declared for all elements that have xsi:nil="true", which
harms the service interoperability with .Net, for instance. When using Java clients, there's
no problem, but .Net clients get an error message saying "System.Xml.XmlException: 'xsi' is
an undeclared namespace".

Below is an example of such response XML:

<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="">
    <ns:recuperarTiposBiotaResponse xmlns:ns="">
		xmlns:ax218="" type="">
        <ax217:error xmlns:xsi="" xsi:nil="true"></ax217:erro>
        <ax217:tipos xsi:nil="true"></ax217:tipos>

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

View raw message