• Post Reply Bookmark Topic Watch Topic
  • New Topic

Web service and friendly URL.

 
forums UseR
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello experts...,

I am fairly new to client side of web services. I want to know the nuts and bolts of "client side" of java web service.

I created a java web service and have a wsdl file.

Now what exactly happens when a client uses this wsdl file to run the web service.

My problem is we are using friendly URL (Y) to get to the server(X). The web service wsdl file contains the actual server name (X). So will the web service client, be able to successfully make the web service call ?

Thanks

Srinivas
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
When creating an object of the javax.xml.ws.Service class, or a subclass of this class, there is an option to supply an URL specifying the location of the WSDL.
Look at the generated client side artifacts (I assume you use artifacts generated by, for instance, wsimport).
Best wishes!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!