Is it possible to convert a 'SOAPConnection' to a 'SOAPConnectionImpl'?

Hello!

I'm having problems with concurrency... I need to set a timeout in a SOAPConnection object, but this class hasn't this function.

After a little research, I've found that theSOAPConnectionImpl (AXIS API) http://ws.apache.org/axis/java/apiDocs/org/apache/axis/soap/SOAPConnectionImpl.html can set a timeout.

Is is possible to convert into a SOAPConnectionImpl?

With the cast method (SOAPConnectionImpl conImpl = (SOAPConnectionImpl) con;) y have a ClassCastException :(

[517 byte] By [CINeol.neta] at [2007-10-3 3:57:23]
# 1

> http://ws.apache.org/axis/java/apiDocs/org/apache/axis

> /soap/SOAPConnectionImpl.html can set a timeout.

>

> Is is possible to convert into a SOAPConnectionImpl?

>

> With the cast method (SOAPConnectionImpl conImpl =

> (SOAPConnectionImpl) con;) y have a

> ClassCastException :(

If you get a ClasscastException then you don't have a SOAPConnectionImpl object.

I suggest contactiing the relevant Apache forum to discuss their classes and how you might be able to proceed.

davidholmesa at 2007-7-14 21:55:45 > top of Java-index,Core,Core APIs...
# 2
Thanks a lot!
CINeol.neta at 2007-7-14 21:55:45 > top of Java-index,Core,Core APIs...