logo       

RE: no signature match for message service: msg#00296

text.xml.soap.user

Subject: RE: no signature match for message service


-----Original Message-----
From: Yong Miao [mailto:yong.miao@xxxxxxxxxxxxx]

> If you use rpc call the message should be sent to rpcrouter.
> Messaging call should be sent to messagerouter.

> These two messages have different format and they are routed in
different
> ways. That's what I know.

Yes, that is correct. I am sending the Messaging call to the
messagerouter. But my question I guess is about deploying the messaging
service. The tutorial steps deploy Messaging services also with the
rpcrouter servlet. I was confused as to why this is so. I tried
deploying to the messagerouter but that doesn't seem to work.

-hasnain


-----Original Message-----
From: Mandviwala, Hasnain [mailto:Hasnain.Mandviwala@xxxxxx]
Sent: Friday, May 24, 2002 10:25 AM
To: soap-user@xxxxxxxxxxxxxx
Subject: RE: no signature match for message service


Hi,

I'm having the same problem as well (with the O'Reilly tutorial). I do
have the purchaseOrder(Envelope, SOAPContext, SOAPContext) signature and
I all the other steps like restarting the server, deploying the method
with the rpcrouter etc. were carefully followed.

There is one question that I have. The tutorial mentions that
you have to deploy the service with the rpcrouter, but the soap message
is actually sent to the messagerouter (this part of the tutorial deals
with SOAP messaging, not rpc). Why is this so? Are the deployments with
the rpcrouter shared with the messagerouter servlet?

-hasnain

-----Original Message-----
From: Yong Miao [mailto:yong.miao@xxxxxxxxxxxxx]
Sent: Friday, May 24, 2002 12:11 PM
To: 'soap-user@xxxxxxxxxxxxxx'
Subject: RE: no signature match for message service

Does you service has signature like:
purchaseOrder(Envelope env, SOAPContext req, SOAPContext res)


Yong

-----Original Message-----
From: Mark Vovsi [mailto:Mark_Vovsi@xxxxxxxxxxxx]
Sent: Wednesday, May 22, 2002 2:11 PM
To: soap-user@xxxxxxxxxxxxxx
Subject: no signature match for message service
Importance: High

I'm new to soap and trying to set up some message services. I've had no
problems with rpc type services, but with message services I'm getting a
"no signature match" error. I checked my classpath and everything seems
to
be in place (my soap rpc examples work no problem), and I made sure that
the root element in the soap envelope (purchaseOrder in my case) has a
matching method name in my Java class. Here's the reply I get back from
my
server implementation. Thanks in advance. Mark.

<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV
="http://schemas.xmlsoap.org/soap/envelope/"; xm
lns:xsi="http://www.w3.org/1999/XMLSchema-instance"; xmlns:xsd
="http://www.w3.org
/1999/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Exception while handling service request:
OrderProcessor.purchaseOr
der(org.apache.soap.Envelope,org.apache.soap.rpc.SOAPContext,org.apache.
soap
.rpc
.SOAPContext) -- no signature match</faultstring>
<faultactor>/soap/servlet/messagerouter</faultactor>
<detail>
<stackTrace>java.lang.NoSuchMethodException:
OrderProcessor.purchaseOrder(org.ap
ache.soap.Envelope,org.apache.soap.rpc.SOAPContext,org.apache.soap.rpc.S
OAPC
onte
xt) -- no signature match
at
org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:194)
at
org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:548)
at
org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:528)
at
org.apache.soap.server.MessageRouter.invoke(MessageRouter.java:54)
at
org.apache.soap.providers.MsgJavaProvider.invoke(MsgJavaProvider.java
:125)
at
org.apache.soap.server.http.MessageRouterServlet.doPost(MessageRouter
Servlet.java:268)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
2343)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
.java:566)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
rValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
.java:564)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
.java:564)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso
r.java:1012)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja
va:1107)
at java.lang.Thread.run(Thread.java:479)
</stackTrace>
</detail>
</SOAP-ENV:Fault>

</SOAP-ENV:Body>
</SOAP-ENV:Envelope>



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise