This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jax-ws different requests same endpoint  RSS feed

 
a pazwant
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

I was wondering in jax-wx soap, if there is any way to send two different requests, which are generated from the same wsdl, to the same endpoint and dispatch them according to their data which they contain?

To be more explicit, assume we have two operations call sing() and kick() generated from foo.wsdl. I'd like to send the related requests to the same endpoint, say http://fooserver/play.php and then do the dispatch in server code.

If possible I'd appreciate any code sample or links.

Thanks in advance,
 
Tim Moores
Saloon Keeper
Posts: 3829
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm mostly familiar with JAX-WS as the endpoint, not the client, but I think just about any SOAP implementation supports multiple methods  per endpoint. In fact, not having that capability would seem a serious limitation. Are you using a PHP-based SOAP implementation on the server? Does it have documentation?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!