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 "Anne (JIRA)" <ax...@ws.apache.org> on 2007/05/19 01:29:16 UTC

[jira] Commented: (AXIS-1954) .NET interop: String[] encoded as soapenc:string[] instead of xsd:string[]

    [ https://issues.apache.org/jira/browse/AXIS-1954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497086 ] 

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: https://issues.apache.org/jira/browse/AXIS-1954
>             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="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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org