axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anne (JIRA)" <>
Subject [jira] Commented: (AXIS-1954) .NET interop: String[] encoded as soapenc:string[] instead of xsd:string[]
Date Fri, 18 May 2007 23:29:16 GMT


Anne commented on AXIS-1954:

I am using axis1.4 and can't make this work. It is still sending soapenc:string[] instead
of xsd:string[] and preventing me to use my .net application.
Does it really work? Did you have to change something? Does it still work for 1.4
Even if I put the flag for each service, it still doesn't work for me.
Thanks for your help

> .NET interop: String[] encoded as soapenc:string[] instead of xsd:string[]
> --------------------------------------------------------------------------
>                 Key: AXIS-1954
>                 URL:
>             Project: Axis
>          Issue 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=""
 xsi:type="ns3:NamedValue" xmlns:ns3=""  xmlns:soapenc="">
> <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.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message