| Author |
JAX-WS servlet problem
|
Kishor Joshi
Greenhorn
Joined: Sep 24, 2012
Posts: 1
|
|
Hi
i recntly read this article http://netbeans.org/kb/docs/websvc/jax-ws.html
and try to run it on netbeans as stated but it show two problem
1).When it asks me to enter two number for addition purpose i enter these number but when i click on button add then it shows an
error that it does not add these number but it shows an error
2) At Some point it ask me to add code to place of main method but i dont find main method on it...
Help Please
Thanks in Advance
With Regards...
|
 |
Saket Kumar Sinha
Ranch Hand
Joined: Aug 04, 2011
Posts: 31
|
|
Hi,
I don't think when we make producer in WebService we will have a main method. Only a interface implementation is there. Like you made for addition of two numbers. The Consumer (Client) will have a main method which will use the service class to get the port. and then we can invoke using the endpoint url.
I am not sure why you are not able to test your webservice though
|
 |
 |
|
|
subject: JAX-WS servlet problem
|
|
|