Hi All,
Am a newbie in spring web service. Am able to run your echo example successfully. My problem is, how can i send more than one arguments in echoRequestElement ? ie i need to send username and password to the server app and if it authenticated the do something. But am able to send only one arg.

private SOAPMessage createEchoRequest() throws SOAPException {
SOAPMessage message = messageFactory.createMessage();
SOAPEnvelope envelope = message.getSOAPPart().getEnvelope();
Name echoRequestName = envelope.createName("echoRequest", PREFIX, NAMESPACE_URI);
SOAPBodyElement echoRequestElement = message.getSOAPBody().addBodyElement(echoRequestNa me);
echoRequestElement.setValue("username");
return message;
}

How can i send username and password from client app to the server app?
Thanks in advance,
Vipin