• Post Reply Bookmark Topic Watch Topic
  • New Topic

doubt in JAX-WS client implementation

 
vani venkat
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Hi Ivan
thank you. i gave arguments properties of project as you mentioned. it did work.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!