jax-rpc 1.6 deserialization error
Hi,
I try to create a web client for remote web service. I got wsdl file and IDE (Sun Java Studio Enterprise 8.1) successfully build java files out of wsdl. Everything looks simple and good except 1 little thing. When I run the client it throws an exception below.
--
java.rmi.RemoteException: Runtime exception; nested exception is:
deserialization error: unexpected XML reader state. expected: END but found: START:
--
The exception is thrown at
result = servPort.list(timestamp);
The source code is simple and looks like:
--
String timestamp = "01/01/2000";
service = new RTService_Impl();
port = (RTServicePort_Stub)service.getRTServicePort();
stub = (Stub)port;
stub._setProperty(Stub.USERNAME_PROPERTY,"username");
stub._setProperty(Stub.PASSWORD_PROPERTY,"password");
try {
RTServicePort_Stub servPort = ((RTServicePort_Stub)stub);
result = servPort.list(timestamp);
}
catch(Exception e) {
System.out.println("Exception in RT - e = "+e.toString());
}
-
Can anyone tell me what to do to fix the problem as it looks like I am stuck on it?
my problem looks similar but still is slightly different from
http://forum.java.sun.com/thread.jspa?threadID=737308&messageID=4234294
Please help.
Dmitry

