Nillable response-fields lead to corrupt a XML-response
-------------------------------------------------------
Key: AXISCPP-644
URL: http://issues.apache.org/jira/browse/AXISCPP-644
Project: Axis-C++
Type: Bug
Components: Server - General
Versions: 1.5 Final
Environment: Redhat ES 3; HP-UX 11
Reporter: Stephan Pelikan
returning NULL-values (in nillable fields) lead to corrupt a XML-response:
part of the wsdl:
<complexType name="LoginResult">
<complexContent>
<extension base="tns1:Result">
<sequence>
<element name="address" nillable="true" type="xsd:string"/>
<element name="defEmail" nillable="true" type="xsd:string"/>
<element name="pwdLife" type="xsd:int"/>
</sequence>
</extension>
</complexContent>
</complexType>
part of the response:
<ns5:address xmlns:ns5"http://results.xzy.com" xsi:nil="true"></ns5:address>
<ns6:defEmail xmlns:ns6"http://results.xzy.com" xsi:nil="true"></ns6:defEmail>
bugfix:
./src/common/BasicTypeSerializer.cpp Line 99
m_sSZ += "=\"";
-->
m_sSZ += "\"";
part of the response using the fix:
<ns5:address xmlns:ns5="http://results.xzy.com" xsi:nil="true"></ns5:address>
<ns6:defEmail xmlns:ns6="http://results.xzy.com" xsi:nil="true"></ns6:defEmail>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira