• 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 ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Decoupling service name with wsdl file name in JAX-WS

Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am working on a project to migrate JAX-RPC web services to JAX-WS services. Following are the service details from JAX_RPC wsdl file.

<wsdl:service name="AuthenticationWebServiceService">

<wsdl:port binding="impl:AuthenticationWebServiceSoapBinding" name="AuthenticationWebService">

<wsdlsoap:address location="https://localhost:9080/SSIWebServices/services/AuthenticationWebService"/>



Here service name has got 2 'service' words in service name. When I change this web service to JAX-WS, it takes "wsdl:service name" attribute and creates location as "https://localhost:9445/SSIWebServices/services/AuthenticationWebServiceService". and the wsdl files as AuthenticationWebServiceService.wsdl.

The problem here is that in existing jax-rpc clients service name is consumed as AuthenticationWebServiceService but wsdl name is AuthenticationWebService.wsdl. Because of which the client does not recognize the service. Is there a way to decouple service name with wsdl name.

Thanks in advance.
Rajesh Srivastava
Can you hear that? That's my theme music. I don't know where it comes from. Check under this tiny ad:
a bit of art, as a gift, that will fit in a stocking
    Bookmark Topic Watch Topic
  • New Topic