Win a copy of Learning Regular Expressions this week in the General Computing forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Jax-ws different requests same endpoint  RSS feed

 
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,
 
Saloon Keeper
Posts: 4754
117
  • 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!