Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis2 web services, problem with passing parameter

 
Saman Nesa
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have a problem with my HelloWorld web services.
I am digging into web service, but stuck at passing parameter to web service, below is what i got:

from browser:
http://localhost:8080/axis2/services/HelloService/sayHello?name="obama"

the return value(source view):
<ns:sayHelloResponse xmlns:ns="http://ws.apache.org/axis2">
<ns:return>Hello null</ns:return>
</ns:sayHelloResponse>

I did every thing like the book but it is not working form me, It can not read the input parameter
this is my code which is same as the book

File listings:
Hello.java

services.xml

 
Vijitha Kumara
Bartender
Posts: 3913
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to CodeRanch!

You might need to tell more details about what steps you have followed here. How you run the code, where it's deployed and how etc... That would make it easier to provide suggestions to solve the problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic