• 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

doubt in JAX-WS client implementation

 
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
I am running this example given at http://java.sun.com/javaee/5/docs/tutorial/doc/bnayn.html . i deployed helloservice successfully as given in tutorial.then selected sampleClient to test helloservice. I am using net beans IDE. when i run client it just displays "Hello, No Name." on console, without asking me for the input. Can some one let me know where should I provide my input arguments to this client?
 
vani venkat
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi ranchers,
did anyone start with JAX-WS tutorial given in http://scdjws-beta.blogspot.com/ . this is the same example. i appreciate if any one can let me know how to pass parameters to this sampleClient in netbeans IDE.
 
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
Hello!
You are supposed to supply the name of the person to be greeted as a parameter when invoking the web service client, like this:
java -jar MyClientJar.jar Ivan
If you are running in NetBeans, you'll have to open the project properties, go to the Run category and in the Arguments field enter the name.
Best wishes!
 
vani venkat
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ivan
thank you. i gave arguments properties of project as you mentioned. it did work.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic