If you know what services you are going to deploy and that you will not deploy any other services then you could package the DeployedServices.ds file in the soap.war.
-----Original Message----- From: Tiago Fernandes Thomaz [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 14:43 To: '[EMAIL PROTECTED]' Subject: RE: Auto deployment of services??? But that file is generated only when the first service is deployed, correct? And where is soap.xml file located? - I didn't find it anywhere in soap instalation package... Tiago Fernandes Thomaz Accenture - C&HT www.accenture.com Phone: +351 21 3956530 Mobile: +351 93 5255660 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 23 de Maio de 2002 15:54 To: [EMAIL PROTECTED] Subject: RE: Auto deployment of services??? In soap.xml (in WEB-INF) you can specify a directory for your deployed services file ---------------------------------------------------------------------------- ------- <!-- Apache SOAP Server Configuration File --> <soapServer> <!-- Specifies the location of the DeployedServices.ds file --> <configManager value="org.apache.soap.server.DefaultConfigManager" > <option name="filename" value ="/path-to-a-non-temp-directory/DeployedServices.ds" /> </configManager> </soapServer> ---------------------------------------------------------------------------- ------- |---------+----------------------------> | | "Ed King" | | | <[EMAIL PROTECTED]| | | m> | | | | | | 05/23/2002 04:55 | | | PM | | | Please respond to| | | soap-user | | | | |---------+----------------------------> >--------------------------------------------------------------------------- -----------------------------------| | | | To: <[EMAIL PROTECTED]> | | cc: | | Subject: RE: Auto deployment of services??? | >--------------------------------------------------------------------------- -----------------------------------| Because of the way jBoss works it will not be persistent because he erases the tmp directory before redeploying all WAR and EAR files in the deploy directory. Does anyone have Apache Soap working with jBoss 2.4.3 and Tomcat 4.0.2 in a persisted state, meaning not having to redeploy services every time you restart jBoss? -----Original Message----- From: Ferhat Ayaz [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 10:14 To: [EMAIL PROTECTED]; King, Edward Subject: Re: Auto deployment of services??? When you deploy a service, Apache SOAP will create a file named "DeployedServices.ds". This will make your SOAP be able to be persistence. Try to deploy your service with a script **************** @echo off java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml echo . echo Verify that it's there java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter list echo . **************** The jar files: 1-)soap.jar; 2-)xerces.jar; 3-)mail.jar; 4-)activation.jar; must exits in your CLASSPATH the ServiceManagerClient class will make your SOAP persistence. PS: If you're working on a unix system, check also your permissions. If this was unsufficient try this one: Check your config file ************************ <soapServer> <serviceManager> ... </serviceManager> <configManager value="org.apache.soap.server.DefaultConfigManager"> <option name="filename" value="DeployedServices.ds"/> </configManager> </soapServer> ************************ ------------------------------------------------------- New to apache soap, have the servlet running in jboss/catalina integration. Can deploy services, but when the server is restarted I am having to redeploy the services, anyway to auto deploy the web services with Apache Soap? Ed King Senior Software Developer Tangram Enterprise Solutions, Inc. __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com