You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org> on 2005/06/06 12:37:41 UTC

[jira] Assigned: (AXISCPP-644) Nillable response-fields lead to corrupt a XML-response

     [ http://issues.apache.org/jira/browse/AXISCPP-644?page=all ]

Dushshantha Chandradasa reassigned AXISCPP-644:
-----------------------------------------------

    Assign To: Dushshantha Chandradasa

> 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
>     Assignee: Dushshantha Chandradasa

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