aspose file tools*
The moose likes Web Services and the fly likes Decoupling service name with wsdl file name in JAX-WS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Decoupling service name with wsdl file name in JAX-WS" Watch "Decoupling service name with wsdl file name in JAX-WS" New topic
Author

Decoupling service name with wsdl file name in JAX-WS

Rajesh Srivastava
Greenhorn

Joined: May 14, 2004
Posts: 25
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"/>

</wsdl:port>

</wsdl:service>

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Decoupling service name with wsdl file name in JAX-WS