Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5 Final
-
None
-
None
-
Redhat ES 3; HP-UX 11
Description
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>