You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/09/25 13:31:00 UTC

DO NOT REPLY [Bug 23408] New: - Axis sends "soapenc:arrayType" in Wrapped literal on wire with array

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23408>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23408

Axis sends "soapenc:arrayType" in Wrapped literal on wire with array

           Summary: Axis sends "soapenc:arrayType" in Wrapped literal on
                    wire with array
           Product: Axis
           Version: 1.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Serialization/Deserialization
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: angupta@informatica.com


.Net client in a Wrapped/literal Service is not able to reconstruct
(deserialize) an array of Beans received from Axis web service. 

The problem seems to be that Axis uses “soapenc:arrayType” in Wrapped literal 
for  Array types which is clearly wrong and thus .Net fails to deserialize the 
data.

I am using Axis1.1 with nightly build 30 August




--------------------------------------------------------------------------------
----------------------------
Response from axis service for an Array of beans with bean containing only one 
field name




   <getAllWorkflowsReturn soapenc:arrayType=":WorkflowInfo[8]" 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <item xmlns="">
     <name>Workflow</name>
     <isValid>false</isValid>
     <folderName>string</folderName>
    </item>
    <item xmlns="">
     <name>Workflow1</name>
     <isValid>true</isValid>
     <folderName>string</folderName>
    </item>
    <item xmlns="">
     <name>WorkflowSort</name>
     <isValid>true</isValid>
     <folderName>string</folderName>
    </item>
    <item xmlns="">
     <name>WorkflowAggregate</name>
     <isValid>true</isValid>
     <folderName>string</folderName>
    </item>
    <item xmlns="">
     <name>Workflownew</name>
     <isValid>true</isValid>
     <folderName>string</folderName>
    </item>
    <item xmlns="">
     <name>Workflowschedule</name>
     <isValid>true</isValid>
     <folderName>string</folderName>
    </item>
    <item xmlns="">
     <name>workflowclm</name>
     <isValid>true</isValid>
     <folderName>string</folderName>
    </item>
    <item xmlns="">
     <name>Workflowlatest</name>
     <isValid>true</isValid>
     <folderName>string</folderName>
    </item>
   </getAllWorkflowsReturn>
  </getAllWorkflowsResponse>
 </soapenv:Body>
</soapenv:Envelope>