axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reddy, Sanket \(US - Hyderabad\)" <>
Subject Error while in WSDL running a simple HelloWorld program.
Date Thu, 05 Oct 2006 13:31:50 GMT
Hi friends 

This is the first time I am trying axis2. And I am trying to run a simple helloworld program

public class HelloWorld {
   public String sayHello(String str) {
      return "Hello :"+str ;


      This is my first service, which says hello
   <parameter name="ServiceClass" locked="false">HelloWorld</parameter>
   <operation name="sayHello">
      <messageReceiver class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>

I have created a HelloWorld.jar and renamed it to HelloWorld.aar and put in the repo\services
directory and I start the http-server.bat  with repository location as a parameters. I can
find the deployed WS and also the WSDL but when I try to use this WSLD to call the WS using
the ALTOVA XML SPY (which creates the SOAP request and also gets the response.)

WSDL file:-

I get an error in SOAP response and mainly I don't see the input field in the SOAP request.
To enter the parameter for the sayHello(String str).

Can u please guide me through it.?? Am I doing something wrong ?? Isn't it possible to call
the WS using ALTOVA XMY SPY àMENUà SOAPàcreate new soap request.

Can anyone pass the Client code for a simple WS HelloWorld.sayHello(String str) ??


This message (including any attachments) contains confidential information intended for a
specific individual and purpose, and is protected by law.  If you are not the intended recipient,
you should delete this message. 

Any disclosure, copying, or distribution of this message, or the taking of any action based
on it, is strictly prohibited. [v.E.1]

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message