.NET Interop with AXIS 1.2, 1.2.1 and 1.3 and String[] - dotnetsoapencfix does 
not work
---------------------------------------------------------------------------------------

         Key: AXIS-2370
         URL: http://issues.apache.org/jira/browse/AXIS-2370
     Project: Apache Axis
        Type: Bug
  Components: Serialization/Deserialization  
    Versions: 1.2, 1.2.1, 1.3    
 Environment: .NET and AXIS 1.2, 1.2.1 and 1.3 and string[] 
    Reporter: kumar
    Priority: Critical


The server-config.wsdd has   <parameter name="dotNetSoapEncFix" value="true"/>
I have also tried commenting out TypeMapping in the code that is generated 
*SoapBindingStub.java to see if this fixes it.

This was working with AXIS 1.0.

The WSDL is generated as soapenc:string[] which seems to have started this 
chain of errors!

Is there a fix for this?

Unhandled Exception: System.InvalidOperationException: There is an error in XML
document (1, 1981). ---> System.InvalidOperationException: The specified type 
was not recognized: name='string', 
namespace='http://schemas.xmlsoap.org/soap/encoding/', at <otherArray xmlns=''>.
   at 
System.Xml.Serialization.XmlSerializationReader.GetPrimitiveType(XmlQualifiedName
 typeName, Boolean throwOnUnknown)
   at System.Xml.Serialization.XmlSerializationReader.ReadArray(String typeName,
 String typeNs)
   at 
System.Xml.Serialization.XmlSerializationReader.ReadReferencingElement(String 
name, String ns, Boolean elementCanBeType, String& fixupReference)
   at 
System.Xml.Serialization.XmlSerializationReader.ReadReferencingElement(String 
name, String ns, String& fixupReference)
   at 
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read7_AuthorizationCode()
   at 
System.Xml.Serialization.XmlSerializationReader.ReadReferencingElement(String 
name, String ns, Boolean elementCanBeType, String& fixupReference)

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

Reply via email to