Thanks. Adding that parameter got the program working through the WSDL.

 

However, now I make a call and I get the following error when returning long[]:

 

Exception in thread "AWT-EventQueue-0" deserialization error:

java.lang.ClassCastException: [J

    at

com.sun.xml.rpc.encoding.ArraySerializerBase.deserialize(ArraySerializerBase.java:277)

    ...

 

CAUSE:

 

java.lang.ClassCastException: [J

    at

com.sun.xml.rpc.encoding.ObjectArraySerializer.deserializeArrayInstance(ObjectArraySerializer.java:178)

    ...

 

 

 

The dynamically generated WSDL has this type for the response:

 

<wsdl:message name="listDocumentBasketDocumentsResponse">

<wsdl:part name="listDocumentBasketDocumentsReturn"

type="impl:ArrayOf_xsd_long"/>

</wsdl:message>

 


From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
Sent: Monday, January 30, 2006 6:05 PM
To: axis-user@ws.apache.org
Subject: Re: Axis not interoperable with JWSDP?

 

Add this parameter to your WSDD:

       <parameter name="dotNetSoapEncFix" value="true"/>

Anne

On 1/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:

I have Axis 1.2 Final on the server, JWSDP 1.6 on the client.

 

When I try to connect, I get the following error regarding the WSDL:

 

Exception in thread "main" unexpected array element type:

expected={http://www.w3.org/2001/XMLSchema}string ,

actual={http://schemas.xmlsoap.org/soap/encoding/}string

    at

com.sun.xml.rpc.encoding.ArraySerializerBase.verifyArrayElementType(ArraySerializerBase.java:399)

 

 

Is there any way to avoid this (eg., by upgrading the server to Axis 1.3 Final)?

 

Thanks

 

Reply via email to