The question is that I deploy the soap.war in jboss (JBoss with Tomcat, I
dont know if you are familiar with it) and it creates a temporary soap web
context on tomcat. I want a single soap service deployed which I coded to be
a xml parser. I.E., a client submits a request to the server, sends a xml
string via soap, rpcrouter servlet directs the request to my service
provider (the xml parser class) and than proceeds...
Since the whole point is to start the server and from the very beginning
having the soap service available, I added my class (service provider), the
DeployedServices.ds (containing my service deployment info) and the
DeploymentDescriptor.xml to the soap.war file. But I did this way before
this errors appeared. This whole process worked well for a long time but
suddently it stopped working retireving those exceptions mentioned.
Do you think what I did was wrong? Is there a better way to do what I
intend?
Hope I made myself clear enough.
Thanks in advance.

Tiago Fernandes Thomaz


-----Original Message-----
From: Scott Nichol [mailto:[EMAIL PROTECTED]]
Sent: terca-feira, 4 de Junho de 2002 14:18
To: [EMAIL PROTECTED]
Subject: Re: SOAP Service Manager: Unable to read 'DeployedServices.ds':
assuming fresh start


At least one problem is that the Apache SOAP server does not think you have
deployed any services.  You must deploy the service before accessing it from
the
client.

Scott Nichol

----- Original Message -----
From: "Tiago Fernandes Thomaz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 03, 2002 9:26 PM
Subject: RE: SOAP Service Manager: Unable to read 'DeployedServices.ds':
assuming fresh start


> I'm getting it when running my soap client:
>
> import java.io.*;
> import java.net.*;
> import java.util.*;
> import org.apache.soap.util.xml.*;
> import org.apache.soap.*;
> import org.apache.soap.rpc.*;
> import org.apache.soap.encoding.*;
> import org.apache.soap.encoding.soapenc.*;
>
> public class SOAP
> {
>
>   Call call = null;
>   URL  url = null;
>
>   public static void main (String[] args) throws Exception
>   {
>     URL url = new URL(" http://localhost:8080/soap/servlet/rpcrouter
> <http://localhost:8080/soap/servlet/rpcrouter> ");
>
>     String sXML = "<request name="MyName">";
>
>       Call call = new Call();
>       call.setTargetObjectURI("urn:MySerivce");
>       call.setMethodName("methodName");
>       call.setEncodingStyleURI("
> <http://schemas.xmlsoap.org/soap/encoding/>
> http://schemas.xmlsoap.org/soap/encoding/");
>       Vector params = new Vector();
>       params.addElement(new org.apache.soap.rpc.Parameter("sXML",
> String.class, sXML, null));
>
>       call.setParams(params);
>
>       org.apache.soap.rpc.Response resp = call.invoke(url, "");
>
>       if (resp.generatedFault())
>       {
>         Fault fault = resp.getFault();
>         System.out.println(" Fault Code   = " + fault.getFaultCode());
>         System.out.println(" Fault String = " + fault.getFaultString());
>       }
>       else
>       {
>         org.apache.soap.rpc.Parameter result = resp.getReturnValue();
>       }
>     }
>   }
>
> Any ideas?Could this be a problem of classpath? Where do u think the
problem
> is located, in the client, in the server, classpath, where?
>
> Tiago Fernandes Thomaz
>
>
>
> -----Original Message-----
> From: Pankaj Jain [mailto:[EMAIL PROTECTED]]
> Sent: terca-feira, 4 de Junho de 2002 02:14
> To: [EMAIL PROTECTED]
> Subject: RE: SOAP Service Manager: Unable to read 'DeployedServices.ds':
> assuming fresh start
>
>
> Are you getting this error after deploying the service?
>
>
> -----Original Message-----
> From: Tiago Fernandes Thomaz [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 03, 2002 2:51 PM
> To: '[EMAIL PROTECTED]'
> Subject: SOAP Service Manager: Unable to read 'DeployedServices.ds':
> assuming fresh start
>
>
> Anybody knows what this error might be?
>
> Exception:
>
> "SOAP Service Manager: Unable to read 'DeployedServices.ds': assu
> ming fresh start "
>
> Thanks in advance
>
> Tiago Fernandes Thomaz
>
>

Reply via email to