• 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
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

JAXWS w/ WS Addressing

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My use case is as follows, I have a web service and client. The web service will take many hours to execute, my client will be disconnected by a firewall if the socket stays open that long.

I would like to use ws-addressing to allow the client to be responded asynchronously. I've followed this example:

http://community.jboss.org/wiki/JBossWS-CXFWS-AddressingTutorial

Only instead of a say hello method I sleep for 30 seconds and return an a resultType.

However using netstat I see the the socket is established and stays alive the duration of the of the call.

Looking at the message I see that the request is using wsaddressing only with an anonymous address


After some research I found the wsdl element that disallows anonymous addressing hoping that the client would form the message as necessary.



However this produces an error when I run the client as follows:


Is ws-addressing what I want? And is there some thing more the example needs to do async communication?

I can post my code if need be,
thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic