You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Sandeep Heer <sa...@hitachi-eu.com> on 2001/12/13 11:14:05 UTC

No signature match when sending soap message

Help!

I have a client and soap service. The soap service is on Catalina. The
client is sending a soap envelope but i get an error saying the the
message could not reach the service:

<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Exception while handling service request:
qService.requestit(org.apache.soap.Envelope,org.apache.soap.rpc.SOAPContext,org.apache.soap.rpc.SOAPContext)
-- no signature match</faultstring>
<faultactor>/soap/servlet/messagerouter</faultactor>
</SOAP-ENV:Fault>


But the method name is correct. Below are my deployment settings, XML
details being sent and the soap service code. What am i doing wrong?
Have i missed something out?

------------------
Deployment settings using admin screen
-------------------

ID
qService
 Scope
Application
 Provider Type                                             java
 Provider Class                                            qService
 Use Static Class                                          false
 Methods                                                     requestit

-----------------------
XML file passed in envelope to webservice
------------------------
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<requestit xmlns="qService">
<item>
<productName>Baby Monitor</productName>
<quantity>1</quantity>
<price>39.98</price>
<shipDate>1999-05-21</shipDate>
</item>
</requestit>
</s:Body>
</s:Envelope>

-------------------------
message service code
-------------------------
public class qService {

  public void requestit(Envelope env, SOAPContext req,
                                           SOAPContext res)
    throws MessagingException, IOException {
...
...
...
.
.
}



---------------------------------------------------------------------
 
 E-mail Confidentiality Notice and Disclaimer
 
  This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to which they are addressed. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. 
  E-mail messages are not necessarily secure.  Hitachi does not accept responsibility for any changes made to this message after it was sent. 
  Please note that Hitachi checks outgoing e-mail messages for the presence of computer viruses.
 
---------------------------------------------------------------------