Axis stubs vs JAX-RPC stubs

View: New views
1 Messages — Rating Filter:   Alert me  

Axis stubs vs JAX-RPC stubs

by Yueh2k6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

   I'm new to Jax-RPC and I'm attempting to port my client code based on Axis-generated stubs to that based on Jax-RPC.

The first notable difference is between

Axis : (org.apache.axis.client.Stub)

and
Jax-RPC: ( com.sun.xml.rpc.client.StubBase


in Axis,  this stub class has an API called setTimeOut(), which is used to set the wait period to connect to a webservice server.


In the Jax-RPC equivalent class com.sun.xml.rpc.client.StubBase,  no such method exists.


I think I'm getting some errors because my connection is getting timed out and I'm unable to set the TimeOut period.  

Is there a fix to the above problem?  this question is urgent,  any reply would be greatly appreciated!


Thanks,
Ernie