Hello all,
App Server :
Jboss 4.2.2 GA
Web Service using Apache3 Axis 1.4, JWSDP 2.0
The web service gets deployed. A
java Dynamic Proxy client works just fine.
Although a stub-tie java client throws this error
java.lang.ClassCastException: org.apache.axis.Message
at com.sun.xml.rpc.client.StubBase._postSendingHook(StubBase.java:231)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:324)
at com.patni.SeetWS.HelloIF_Stub.fetchData(HelloIF_Stub.java:117)
at seetwstest.main(seetwstest.java:30)
Client code
-----------
Stub stub = (Stub) (new MyHelloService_Impl().getHelloIFPort());
stub._setProperty
(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,
"http://localhost:8080/seetws/HelloSeet");
HelloIF hello = (HelloIF) stub;
hello.fetchData();
Anything that I am missing. I can post more snippet if required.
Rgds,