This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAX-WS servlet problem

 
Kishor Joshi
Ranch Hand
Posts: 661
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 32
Eclipse IDE Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic