• Post Reply Bookmark Topic Watch Topic
  • New Topic

JAXWS w/ WS Addressing  RSS feed

Mike De
Posts: 8
  • Mark post as helpful
  • send pies
  • 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:


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,
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!