Re: requested resource not available
Thomas Fischer <[email protected]>
| Newsgroups | gmane.text.xml.soap.user |
|---|---|
| Organization | Fraunhofer IAO |
| Message-ID | <[email protected]> |
Hi Scott,
deployment works fine, I either use the SOAP GUI
or (preferred) deploy via deployment descriptor:
java org.apache.soap.server.ServiceManagerClient
http://hal:8088/soap/servlet/rpcrouter deploy PurchaseOrderAcceptorDD.xml
PurchaseOrderAcceptorDD.xml:
=========================================================================
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
id="urn:oreilly-jaws-samples" type="message">
<isd:provider
type="java"
scope="Application"
methods="PurchaseOrder PurchaseOrderWithAttachment">
<isd:java class="PurchaseOrderAcceptor"/>
</isd:provider>
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>
</isd:service>
=========================================================================
Checking the result of deployment via
# java org.apache.soap.server.ServiceManagerClient
http://hal:8088/soap/servlet/rpcrouter list
results as expected in a :
Deployed Services:
urn:oreilly-jaws-samples
Any ideas what's wrong? - Thomas
Scott Nichol schrieb:
> What steps have you followed to deploy this sample code?
>
> Scott Nichol
>
> Do not send e-mail directly to this e-mail address,
> because it is filtered to accept only mail from
> specific mail lists.
> ----- Original Message -----
> From: "Thomas Fischer" <[email protected]>
> To: <[email protected]>
> Sent: Thursday, May 13, 2004 12:56 PM
> Subject: requested resource not available
>
>
>
> Hi,
> I have SOAP 2.3.1 on Tomcat 5.0.19 up and running.
>
> SOAP examples work fine for me, so the overall setup
> should be fine. But I get an error message when trying
> to run the examples from "oreilly JavaWebServices" Book
> (http://examples.oreilly.com/javawebserv/)
>
> For me it looks like the Server Side class SimpleHTTPReceive
> is not accessible for Apache SOAP. I placed the class under
> webapps/examples/WEB-INF/classes as requested. Is there
> anything else that I'll have to configure?
>
> I know, the examples are for tomcat 3.x / 4.x but it should
> be possible to get this stuff up and running in a more
> recent environment.
>
> Any hints are welcome - Cheers - Tom
>
>
> Error Message follows:
> =========================================================================
>
> Sent SOAP Message with Apache HTTP SOAP Client.
> Waiting for response....
> <html><head><title>Apache Tomcat/5.0.19 - Error
> report</title><style><!--H1
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
> H2
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
> H3
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
> BODY
> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
> B
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
> P
> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
> {color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
> </head><body><h1>HTTP Status 404 -
> /examples/servlet/SimpleHTTPReceive</h1><HR size="1"
> noshade><p><b>type</b> Status report</p><p><b>message</b>
> <u>/examples/servlet/SimpleHTTPReceive</u></p><p><b>description</b>
> <u>The requested resource (/examples/servlet/SimpleHTTPReceive) is not
> available.</u></p><HR size="1" noshade><h3>Apache
> Tomcat/5.0.19</h3></body></html>
>
>
>
>
> _________________________________________________________________
>
> Dr.-Ing. Dipl.-Phys. Thomas Fischer Fraunhofer IAO
> Nobelstr. 12
> phone +49 (0)711 / 970-2037 fax -2299 70569 Stuttgart
> email [email protected] Germany
> _________________________________________________________________
>
>
--
_________________________________________________________________
Dr.-Ing. Dipl.-Phys. Thomas Fischer Fraunhofer IAO
Nobelstr. 12
phone +49 (0)711 / 970-2037 fax -2299 70569 Stuttgart
email [email protected] Germany
_________________________________________________________________