File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Axis2 web services, problem with passing parameter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis2 web services, problem with passing parameter" Watch "Axis2 web services, problem with passing parameter" New topic

Axis2 web services, problem with passing parameter

Saman Nesa

Joined: Dec 28, 2012
Posts: 1

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:

the return value(source view):
<ns:sayHelloResponse xmlns:ns="">
<ns:return>Hello null</ns:return>

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:


Vijitha Kumara

Joined: Mar 24, 2008
Posts: 3775

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.

[How to ask questions] [Twitter]
jQuery in Action, 2nd edition
subject: Axis2 web services, problem with passing parameter
Similar Threads
how to pass the value of the parameter through the URI
Netbeans axis2 Java Web Service: Results not shown with variables in URL
targetNamespace & NameSpace issue
Edit Soap tags response using Axis2 in eclipse
Some doubts from book Apache Axis2 Web Services by Deepal