axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim K (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Commented: (AXIS-1954) .NET interop: String[] encoded as soapenc:string[] instead of xsd:string[]
Date Tue, 26 Apr 2005 21:35:24 GMT
     [ http://issues.apache.org/jira/browse/AXIS-1954?page=comments#action_63844 ]
     
Tim K commented on AXIS-1954:
-----------------------------

I tried it with the latest CVS and it seem to do what I need (but I can't use CVS because
of the other bug AXIS-1942).

Why does one need to set this flag? Why can't it be made the default? Isn't interop with .NET
one of the goals of Axis?

> .NET interop: String[] encoded as soapenc:string[] instead of xsd:string[]
> --------------------------------------------------------------------------
>
>          Key: AXIS-1954
>          URL: http://issues.apache.org/jira/browse/AXIS-1954
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>  Environment: Axis 1.2RC2
>     Reporter: Tim K
>     Priority: Blocker

>
> rpc/encoded mode: a return value String[] is encoded as soapenc:string[] instead of xsd:string[]
> This prevents Axis to work with a .NET client, hence a blocker.
> Incorrect response from Axis:
> <multiRef id="id9" soapenc:root="0"  soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
 xsi:type="ns3:NamedValue" xmlns:ns3="http://company.com/ws"  xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
> <name xsi:type="soapenc:string">ATTRIBUTE_ENUMERATION</name>
> <value soapenc:arrayType="soapenc:string[4]" xsi:type="soapenc:Array">
> <item xsi:type="soapenc:string">Spring</item>
> <item xsi:type="soapenc:string">Summer</item>
> <item xsi:type="soapenc:string">Fall</item>
> <item xsi:type="soapenc:string">Winter</item>
> </value></multiRef>
> soapenc:string[4] should be xsd:string[4] and all soapenc:string should be xsd:string
> The WSDL contains this response definition:
> <wsdl:message name="getSupportedLanguagesResponse">
>   <wsdl:part name="getSupportedLanguagesReturn" type="impl:ArrayOf_xsd_string" />

> </wsdl:message>
> <complexType name="ArrayOf_xsd_string">
>  <complexContent>
>   <restriction base="soapenc:Array">
>    <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]" /> 
>   </restriction>
>  </complexContent>
> </complexType>
> So the return array is clearly defined as xsd:string[], yet at run-time the response
message contains soapend:string[]

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


Mime
View raw message