• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Web Service in JBoss 4.2.2GA

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
 
Why am I so drawn to cherry pie? I can't seem to stop. Save me tiny ad!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic