axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stan Jordan" <skjor...@worldnet.att.net>
Subject Re: JWS and Messaging
Date Thu, 28 Feb 2002 17:00:26 GMT
Ramanathan...
I tried it, and also got an exception (below).  It would appear that you
cannot deploy messaging service with jws.
Stan
I used nightly download Feb 22.
--------------------------------------------
Method not found
Method name = e1
Service name = null
 at org.apache.axis.message.SOAPFaultBuilder.endElement(Unknown Source)
 at org.apache.axis.encoding.DeserializationContextImpl.endElement(Unknown
Source)
 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:345)
 at org.apache.axis.encoding.DeserializationContextImpl.parse(Unknown
Source)
 at org.apache.axis.SOAPPart.getAsSOAPEnvelope(Unknown Source)
 at org.apache.axis.client.Call.invoke(Unknown Source)
 at org.apache.axis.client.Call.invoke(Unknown Source)
 at testMessage.doit(testMessage.java:29)
 at testMessage.main(testMessage.java:48)
Exception in thread "main"

--------------------------------------------
----- Original Message -----
From: "Krishnamurthy, Ramanathan" <rkrishnamurthy@APEngines.com>
To: <axis-user@xml.apache.org>
Sent: Thursday, February 28, 2002 7:32 AM
Subject: JWS and Messaging


> Hi,
>
> I am trying to use axis messaging as JWS service (i.e drop-in service). I
> dropped the MessageService.java as MessageService.jws in the webapps/axis/
> directory in tomcat.  I modified the URL in testMessage.java to point to
> "http://localhost:8080/axis/MessageService.jws". But when I execute
> "testMessage" I get the following error (captured using tcpmon).
>
> Does the messaging work with JWS ?
>
> Any help will be much appreciated.
>
> Thanks,
> ram
> --------------------------------------------------------------------------
--
> -----
>
> Listen Port: 8090
> Target Host: localhost
> Target Port: 8080
> ==== Request ====
> POST /axis/MessageService.jws 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>==== Response ====
> HTTP/1.1 500 Internal Server Error
> Content-Type: text/xml; charset=utf-8
> Content-Length: 4107
> Date: Thu, 28 Feb 2002 14:20:10 GMT
> Server: Apache Tomcat/4.0.1 (HTTP/1.1 Connector)
>
> <?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>
>   <SOAP-ENV:Fault>
>    <SOAP-ENV:faultcode
>
xmlns:ns1="http://xml.apache.org/axis/">ns1:AxisServer.error</SOAP-ENV:fault
> code>
>    <SOAP-ENV:faultstring>Method not found
> Method name = e1
> Service name = null</SOAP-ENV:faultstring>
>    <SOAP-ENV:detail>
>     <ns2:stackTrace xmlns:ns2="http://xml.apache.org/axis/">Method not
found
> Method name = e1
> Service name = null&#xd;
> at org.apache.axis.providers.java.RPCProvider.processMessage(Unknown
> Source)&#xd;
> at org.apache.axis.providers.java.JavaProvider.invoke(Unknown
> Source)&#xd;
> at org.apache.axis.strategies.InvocationStrategy.visit(Unknown
> Source)&#xd;
> at org.apache.axis.SimpleChain.doVisiting(Unknown Source)&#xd;
> at org.apache.axis.SimpleChain.invoke(Unknown Source)&#xd;
> at org.apache.axis.handlers.JWSProcessor.invokeImpl(Unknown
> Source)&#xd;
> at org.apache.axis.handlers.JWSProcessor.invoke(Unknown Source)&#xd;
> at org.apache.axis.strategies.InvocationStrategy.visit(Unknown
> Source)&#xd;
> at org.apache.axis.SimpleChain.doVisiting(Unknown Source)&#xd;
> at org.apache.axis.SimpleChain.invoke(Unknown Source)&#xd;
> at org.apache.axis.server.AxisServer.invoke(Unknown Source)&#xd;
> at org.apache.axis.transport.http.AxisServlet.doPost(Unknown
> Source)&#xd;
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)&#xd;
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)&#xd;
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:247)&#xd;
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193)&#xd;
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:243)&#xd;
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)&#xd;
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)&
> #xd;
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)&#xd;
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:201)&#xd;
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)&#xd;
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)&
> #xd;
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)&#xd;
> at
>
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)&#
> xd;
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
> )&#xd;
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)&#xd;
> at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
> java:170)&#xd;
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)&#xd;
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
> )&#xd;
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)&#xd;
> at
>
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)&#x
> d;
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)&#xd;
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)&
> #xd;
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)&#xd;
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :163)&#xd;
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)&#xd;
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)&
> #xd;
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)&#xd;
> at
>
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
> 1011)&#xd;
> at
>
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106
> )&#xd;
> at java.lang.Thread.run(Thread.java:484)&#xd;
> </ns2:stackTrace>
>    </SOAP-ENV:detail>
>   </SOAP-ENV:Fault>
>  </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
>
> --------------------------------------------------------------------------
--
> ------------
> Ramanathan Krishnamurthy
> AP Engines, Inc.
> Five Clock Tower Place, Suite 250
> Maynard, MA  01754
>
>


Mime
View raw message