Calling Axis WebService out of .net Client

Calling Axis WebService out of .net Client

Post by Christian » Sat, 18 Dec 2004 00:28:57


i!

I'm trying to call a Java WebService out of a .net Client. There are two
Methods, one Method requires one Parameter of type Parameter, the other
Method requires one Parameter of type Parameter[].
I can call the first Method without Problems, the Parameter can be
deserialized by the WebService.
But if I want to call the second Method and give it an Array of Parameters,
then the following exception is thrown by the WebService:
javax.xml.rpc.JAXRPCException: org.xml.sax.SAXException: No deserializer
defined for array type {http://beans.middleware.cat.company.de}Parameter

I have appended the WSDL of the concerning WebService.
It is called using rpc-Style, see <soap:binding
transport="http://schemas.xmlsoap.org/soap/http" style="rpc" />

Both Methods can be called out of a Java Client. So my assumption is a
Problem concerning interoperability between .net and Java.

Does anyone have experience with Interoperability between the two Systems?

Best Regards,
Christian


=== This is the WSDL-File of the Service ===

<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://beans.middleware.cat.company.de"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
targetNamespace="http://beans.middleware.cat.compay.de"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://beans.middleware.cat.company.de">
<s:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<s:complexType name="ArrayOf_xsd_string">
<s:complexContent mixed="false">
<s:restriction base="soapenc:Array">
<s:attribute wsdl:arrayType="s:string[]" ref="soapenc:arrayType" />
</s:restriction>
</s:complexContent>
</s:complexType>
<s:complexType name="CustmapData">
<s:sequence>
<s:element name="ID" nillable="true" type="s:int" />
<s:element name="createFrom" nillable="true" type="s:int" />
<s:element name="createStamp" nillable="true" type="s:dateTime" />
<s:element name="primaryKey" nillable="true" type="s:int" />
<s:element name="refId" nillable="true" type="s:string" />
<s:element name="refType" nillable="true" type="s:string" />
<s:element name="sectionId" nillable="true" type="s:int" />
</s:sequence>
</s:complexType>
<s:complexType name="TicketData">
<s:sequence>
<s:element name="ID" nillable="true" type="s:int" />
<s:element name="createAt" nillable="true" type="s:dateTime" />
<s:element name="createFrom" nillable="true" type="s:int" />
<s:element name="custmapId" nillable="true" type="s:int" />
<s:element name="escalationlevel" nillable="true" type="s:int" />
<s:element name="lastaccessAt" nillable="true" type="s:dateTime" />
<s:element name="lastaccessFrom" nillable="true" type="s:int" />
<s:element name="ownernow" nillable="true" type="s:int" />
<s:element name="ownerteam" nillable="true" type="s:int" />
<s:element name="primaryKey" nillable="true" type="s:int" />
<s:element name="remark" nillable="true" type="s:string" />
<s:ele