users@jax-rpc.java.net

Re: xrpcc: Generate stub from WSDL

From: Su Zhang <su_ba_ru_at_HOTMAIL.COM>
Date: Wed, 17 Apr 2002 14:43:35 -0600

Hi,

I got another problem:
On the service side: a service is deployed on Axis, and Axis generates the
wsdl document for that service. The service has a simple method that takes a string and returns a JavaBean type class.

On the client side: I used the xrpcc tool to generate the client-side
classes by feeding it with the service wsdl document. When the client is
executed, got the following exception:
***************************************************************************
java.rmi.RemoteException: deserialization error: deserialization error: deserialization error: deserialization error: unexpected encoding style: expected=http://schemas.xmlsoap.org/soap/encoding/, actual=; nested exception is:
        deserialization error: deserialization error: deserialization error: deserialization error: unexpected encoding style: expected=http://schemas.xmlsoap.org/soap/encoding/, actual=
deserialization error: deserialization error: deserialization error: deserialization error: unexpected encoding style: expected=http://schemas.xmlsoap.org/soap/encoding/, actual=
        at com.sun.xml.rpc.encoding.SOAPDeserializationContext.deserializeMultiR
efObjects(SOAPDeserializationContext.java:107)

Thanks,
Su