[ http://issues.apache.org/jira/browse/AXIS-1954?page=comments#action_64018 ] Tim K commented on AXIS-1954: -----------------------------
I'm happy to report that the dotNetSoapEncFix works and that it is made the default in CVS, I hope it stay this way :) Thanks. > .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
