Reputation: 203
I am trying to forward ArrayList as the parameter from .Net environment to the webservice file generated by Axis2. But it's displaying the type as follows in the WSDL file
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="myMethod" nillable="true" type="xs:anyType" />
</xs:sequence>
</xs:complexType>
Also, if I test the WSDL file using the soapPUI, it's displaying the following message in the Form "Type : [{http://www.w3.org/2001/XMLSchema}anyType] is not supported by the Form Editor"
And if I manually forward the details in the XML file then it's displaying the following error message : org.apache.axiom.om.impl.llom.OMTextImpl cannot be cast to java.lang.String
What am I supposed to do to fix this issue ?
Upvotes: 0
Views: 2232
Reputation: 28839
You're not passing an array list but rather an array of objects, and I don't believe such an array is serializable:
Dim resultString As String = MyService.myMethod(myAL.toArray)
What type is the myMethod argument?
Upvotes: 1