• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SOAP messaging

 
Roy Huang
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried to implement a soap message service, after I installed the xxx.jar in the servlet engine, there's problems for deploy the service to the messagerouter.
I use:
java org.apache.soap.server.ServiceManagerClient http://hostname ort/soap/servlet/messagerouter deploy DeploymentDescriptor.xml

It shows:
SOAP-ENV: server
Exception while handling service request: org.apache.soap.server.ServiceManager.deploy(org.apache.soap.Envelope,org.apache.soap.rpc.SOAPContext,org.apache.soap.rpc.SOAPContext) -- no signature match

Who has met these problems before?
Thanks for Ur help.
Roy
 
charles bee
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
i got the same problem as Roy Huang, i.e. no signature match when i tried to deploy my messaging service.
Does anybody know what is the problem.
Here is the DD file:
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
id="urn:MMS">
<isd rovider type="java"
scope="Application"
methods="addSubscriber deleteSubscriber updateSubscriberNum updateSubscriberService searchSubscriber holdSubscriber">
<isd:java class="server.emulator.MMSEmulator" static="false"/>
</isd rovider>

<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>

<isd:mappings>
<isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="urn:MMS"
qname="x:emulator"
javaType="server.emulator.MMSEmulator"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
</isd:mappings>
</isd:service>

The service is defined like this:
public void addSubscriber(Envelope env,SOAPContext req,SOAPContext res)
throws IOException, MessagingException

Please give a help.

Charles
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic