Hi, I have been trying to run the Messaging example given in samples/message directory. The service (MessageService) deployed successfully, but when I try to run the testMessage client, I get the following error:
Exception in thread "main" java.lang.NoSuchMethodException: Tried class:samples.message.MessageService , Methodname:echoElements at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:13 4) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationCo ntext.java:671) at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403) at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator .java:1550) at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM LDocumentScanner. java:1204) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner. java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098) at javax.xml.parsers.SAXParser.parse(SAXParser.java:393) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext .java:204) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:378) at org.apache.axis.client.Call.invoke(Call.java:1268) at org.apache.axis.client.Call.invoke(Call.java:658) at samples.message.testMessage.doit(testMessage.java:32) at samples.message.testMessage.main(testMessage.java:49) ------------------ When I looked at the tcpmon trace, I saw the following SOAP Request being passed: POST /axis/services/MessageService HTTP/1.0 Content-Length: 355 Host: localhost Content-Type: text/xml; charset=utf-8 SOAPAction: "urn:foo/e1" <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Body><ns1:e1 xmlns:ns1="urn:foo">Hello</ns1:e1><ns2:e1 xmlns:ns2="urn:foo">World</ns2:e1> </SOAP-ENV:Body> </SOAP-ENV:Envelope> -------------- a) Can someone explain how it got the above SOAPAction value and why ? Do we have to setup the Call's HTTPAction property to "MessageService" to work. I tried that... but it gave the same problem. Kindly help me in this. Thanks. I am using Alpha-3 version. And I also tried with the latest nightly build, but no success. Romin. Romin Irani [EMAIL PROTECTED] InSync Information Systems Inc.