Win a 3 month subscription to Marco Behler Videos this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Netbeans axis2 Java Web Service: Results not shown with variables in URL  RSS feed

Chew Wei Kian
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am having a problem with setting up a web service using netbeans axis2. I followed the tutorial here to host a web service.

I was able to see deploy the web service to server and test in browser. However, the input variable was not shown in the result.

Browser result:
- <ns:helloResponse xmlns:ns="http://helloWS/xsd">
<ns:return>Hello, this is .</ns:return> //<--- the result should be "Hello, this is XYZ."

Code Snippet:
public String hello(String name) {

return "Hello, this is " + name + ".";

I am not sure what was wrong.

Any help would be appreciated. Thanks
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!