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

Web service and friendly URL.

 
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
I will open the floodgates of his own worst nightmare! All in a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic