|
Re: SOAP client access problem: msg#00348text.xml.soap.user
Erich, I see that DeployedServices.ds seems to sit in the /soap webapp directory. Maybe this relates to my problem. The example I'm following from the SOAP book I'm using suggests that it's ideal to deploy your SOAP service in its own context, rather than in the /soap context. So I created a new context called /hello which has a web.xml as follows: <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> <web-app> <display-name>Hello World Sample</display-name> <description>This is Hello World Service.</description> <servlet> <servlet-name>Apache-SOAP RPC Router</servlet-name> <display-name>Apache-SOAP RPC Router</display-name> <description>The Apache-SOAP RPC Router.</description> <servlet-class> org.apache.soap.server.http.RPCRouterServlet </servlet-class> <init-param> <param-name>faultListener</param-name> <param-value>org.apache.soap.server.DOMFaultListener</param-value> </init-param> </servlet> <servlet> <servlet-name>Apache-SOAP Message Router</servlet-name> <display-name>Apache-SOAP Message Router</display-name> <servlet-class>org.apache.soap.server.http.MessageRouterServlet</servlet-class> <init-param> <param-name>faultListener</param-name> <param-value>org.apache.soap.server.DOMFaultListener</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>Apache-SOAP RPC Router</servlet-name> <url-pattern>/rpcrouter</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>Apache-SOAP Message Router</servlet-name> <url-pattern>/messagerouter</url-pattern> </servlet-mapping> </web-app> This exposes the SOAP RPC router through my new context. I assume this is good practice, since you don't want all your SOAP apps accessible from a single context. But based on this, I believe my command line to list deploys should be like this: java org.apache.soap.server.ServiceManagerClient http://localhost:8080/hello/rpcrouter list In other words, I assume each SOAP context with its own RPC router has its own DeployedServices.ds. Is that how it works? Or are the deployments global? Jason On Wednesday, May 29, 2002, at 01:45 PM, Erich Izdepski wrote: Jason- |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | soap service and threads: 00348, Biju Raman |
|---|---|
| Next by Date: | RE: SOAP client access problem: 00348, Erich Izdepski |
| Previous by Thread: | RE: SOAP client access problemi: 00348, Erich Izdepski |
| Next by Thread: | RE: SOAP client access problem: 00348, Erich Izdepski |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |