Hi,
I have looked at a number of samples and Axis2 seems to make things
pretty simple, but with all the services the parameters and the return
types are OMElement. I want to create a service that uses a simple
String or int type as a parameter/return type. I can create this
service very easily, and it deploys fine, but when I write the client
I am having problems. In earlier versions of Axis it seems like you
could pass parameters to the call very easily, but in 2.0 you must
pass a OMElement.
For a simple Web Service method such as this:
public String sayName(String name)
{
return "Hello " + name + "!!!";
}
Is there a way to call an instance of ServiceClient.sendReceive
passing in a String or Object parameter, dosn't seem like it. How
would I construct the OMElement to do something like this? I would
like to avoid generating anything from the WSDL if that is at all
possible, I really want to keep this simple.
Thanks for the help,
John
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]