Seems like your package "net/more/servlets/schema/RouteService" should be
located at
{tomcat}/soap/WEB-INF/classes/net/more/servlets/schema/RouteService but is
in fact located at
{tomcat}/soap/WEB-INF/classes/samples/
net/more/servlets/schema/RouteService.

What's your package name at the head of your Java file?  Your class file
should be located at...
{tomcat}/soap/WEB-INF/classes/{your package name}

Steeve...




Rich Catlett <[EMAIL PROTECTED]> on 13/08/2001 01:20:59 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (bcc: Steeve Gilbert/G_STGEORGES/CANAM_MANAC)

Subject:  trouble finding a deployed sevice


I've got a client set up, it runs sends it's envelope  and then gets
back a response only problem is that that response is an exception.  The
error message I get back is the following

SOAP-ENV:Server.Exception: samples/net/more/servlets/schema/RouteService
(wrong name: net/more/servlets/schema/RouteService)

My deployment descriptor looks like this

<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment";
id="urn:RouteService" type="message" checkMustUnderstands="false">
  <isd:provider type="java" scope="Application" methods="RouteService">
    <isd:java class="samples.net.more.servlets.schema.RouteService"
static="false"/>
  </isd:provider>

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

</isd:service>

The envelope that I am sending looks like the following before I
unmarshall it

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/";>
<s:Body>
<RouteService xmlns="urn:RouteService">
<attach name="XMLData" location="0">XMLData</attach>
</RouteService>
</s:Body>
</s:Envelope>

Does anybody know where I am getting it wrong?  Thanks

Rich Catlett







Reply via email to