You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Ed King <ek...@tangram.com> on 2002/05/23 15:50:25 UTC

Auto deployment of services???

	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.


Re: Auto deployment of services???

Posted by Ferhat Ayaz <fe...@yahoo.com>.
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

Re: Auto deployment of services???

Posted by Ferhat Ayaz <fe...@yahoo.com>.
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