5 Replies Latest reply on Dec 5, 2002 4:07 PM by rgjawanda

    DeployedServices.ds

    blackfrancis

      Hello,
      When I try to invoke my EJB method via SOAP, I get the following message in JBoss console:
      ERROR [STDERR] SOAP Service Manager: Unable to read 'DeployedServices.ds': assuming fresh start
      This is followed by an InvokationTargetException.

      I am having great difficulty finding documentation related to the file DeployedServices.ds. I'm not sure exactly what and/or where it is or should be. Can someone please point me to a reference for this information?
      Many Thanks

        • 1. Re: DeployedServices.ds
          joelvogt

          Gee this takes me back ...

          To get soap working you will need/have something like this in your 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>
          /usr/local/jboss/jboss/conf/soap.xml</param-value>
          </init-param>



          soap.xml should be something like

          <!-- Apache SOAP Server Configuration File -->






          If you do this then when you start this servlet (here on startup) it will create your deployedservices.ds and away you go.

          Note that you will still need your deployment descriptor (.xml) to make it do something. Ie set up ejb calls.

          Hope this helps.

          • 2. Re: DeployedServices.ds
            rgjawanda

            Here is the process.
            You must configure jboss like above with the soap.xml file.
            Run jboss once and deploy a web service.
            It should then create a DeployedServices.ds file in your configuration directory (if you specified c:/temp) then DeployedServices.ds will get created at the time when you use the soap http://hostname:8080/soap interface for deploying web services.
            Or when you use the java org.apache.soap.server.ServiceManagerClient ...
            to deploy a web service.
            Then you must unjar the soap.war file.
            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.
            Now it will auto start your services.
            Ron




            • 3. Re: DeployedServices.ds
              rgjawanda

              Here is the process.
              You must configure jboss like above with the soap.xml file.
              Run jboss once and deploy a web service.
              It should then create a DeployedServices.ds file in your configuration directory (if you specified c:/temp) then DeployedServices.ds will get created at the time when you use the soap http://hostname:8080/soap interface for deploying web services.
              Or when you use the java org.apache.soap.server.ServiceManagerClient ...
              to deploy a web service.
              Then you must unjar the soap.war file.
              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.
              Now it will auto start your services.
              Ron

              • 4. Re: DeployedServices.ds
                rgjawanda

                Here is the process.
                You must configure jboss like above with the soap.xml file.
                Run jboss once and deploy a web service.
                It should then create a DeployedServices.ds file in your configuration directory (if you specified c:/temp) then DeployedServices.ds will get created at the time when you use the soap http://hostname:8080/soap interface for deploying web services.
                Or when you use the java org.apache.soap.server.ServiceManagerClient ...
                to deploy a web service.
                Then you must unjar the soap.war file.
                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.
                Now it will auto start your services.
                Ron

                • 5. Re: DeployedServices.ds
                  rgjawanda

                  You must configure jboss like above with the soap.xml file.
                  Run jboss once and deploy a web service.
                  It should then create a DeployedServices.ds file in your configuration directory (if you specified c:/temp) then DeployedServices.ds will get created at the time when you use the soap http://hostname:8080/soap interface for deploying web services.
                  Or when you use the java org.apache.soap.server.ServiceManagerClient ...
                  to deploy a web service.
                  Then you must unjar the soap.war file.
                  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.
                  Now it will auto start your services.
                  Ron