-
1. Re: How to deploy SOAP 2.2 web services when jboss is a serv
rgjawanda Dec 6, 2002 8:27 AM (in response to rgjawanda)Here is how you do it.
Unjar the soap.web
modify web.xml
<servlet-name>rpcrouter</servlet-name>
<display-name>Apache-SOAP RPC Router</display-name>
no 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>
<init-param>
<param-name>ConfigFile</param-name>
<param-value>
c:/jboss-3.0.4/config/soap.xml</param-value>
</init-param>
soap.xml should then contain
<!-- Apache SOAP Server Configuration File -->
Jar up the soap.war file.
Run jboss once and deploy a web service using the interactive SOAP 2.2 interface http://localhost:8080/soap
Make sure it is deployed (your service)
When you deploy the service watch the conf directory. DeployedServices.ds will be created during your manual deployment.
You must then unjar the soap.war file again.
Place the DeployedServices.ds in the root directory and then jar it up again into soap.war.
Now re-deploy soap.war in your jboss deploy directory.
When you start jboss up this time you won't get an error message saying 'cant read DeployedServices.ds' anymore.
You can go directly to the soap interface and list your web services. No manual start necessary.
Ron