axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Lemoine (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Updated: (AXISCPP-266) Bug in SoapDeSerializer::getBasicArray and SoapDeSerializer::getCmlpxArray, end tag is not skipped
Date Tue, 16 Nov 2004 10:59:32 GMT
     [ http://nagoya.apache.org/jira/browse/AXISCPP-266?page=history ]

Julien Lemoine updated AXISCPP-266:
-----------------------------------

    Attachment: Axis_cmp.dif

Patch to skip end node in GetCmlpxArray()


> Bug in SoapDeSerializer::getBasicArray and SoapDeSerializer::getCmlpxArray, end tag is
not skipped
> --------------------------------------------------------------------------------------------------
>
>          Key: AXISCPP-266
>          URL: http://nagoya.apache.org/jira/browse/AXISCPP-266
>      Project: Axis-C++
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.3 Final
>  Environment: Debian GNU/Linux, G++ 3.4.2
>     Reporter: Julien Lemoine
>  Attachments: Axis_cmp.dif, Axis_sim.dif
>
> I created a small webservice application with multiple arrays, here
> is the fragment of the wsdl file :
>       <xsd:complexType name="TestMsg">
>         <xsd:sequence>
>           <xsd:element type="xsd:int" minOccurs="1"
> 	               maxOccurs="unbounded" name="docs"/>
>           <xsd:element type="xsd:string" minOccurs="1"
> 	               maxOccurs="unbounded" name="tags"/>
> 	</xsd:sequence>
>       </xsd:complexType>
> and here was a sample of the client query :
> <TestMsg xsi:type="ns2:TestMsg"
>          xmlns:ns2="http://localhost:4242/axis/RaresText/xsd">
>   <docsArray xmlns:enc="http://www.w3.org/2001/06/soap-encoding" 
>              enc:arrayType="xsd:int[5]">
>     <item>15</item>
>     <item>20</item>
>     <item>25</item>
>     <item>32</item>
>     <item>39</item>
>   </docsArray>
>   <tagsArray xmlns:enc="http://www.w3.org/2001/06/soap-encoding" 
>              ncc:arrayType="xsd:string[3]">
>     <item>NomCommun</item>
>     <item>NomPropre</item>
>     <item>Verbe</item>
>   </tagsArray>
> </TestMsg>
> Using axis-c 1.3, it could not get these two vectors, I could get only
> one of them.
> After some investigation, I found that SoapDeSerializer::getBasicArray() and SoapDeSerializer::getCmplxArray()
do not skip the next node. Patches for these two
> bugs are attached.
> Best Regards.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message