Hey soapies,

I'm probably missing something simple here, but I've spun my wheels for long
enough...

Background:
==========================
- DID have a previous version installed, however, I removed the webapp/soap
directory, and the work/localhost/soap directory. Installed the new SOAP
version using the "soap.war" file.
- Can bring up the web-based admin. Everything seems to look good here.
- Can deploy a sample service using the command line
C:\web\soap-2_2\samples\stockquote > java
org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml

- After running this, I can see in the browser admin that the service is
deployed.

Problem:
==========================
When I try to do anything beyond this I get major errors. For instance when
I try to list the services from the command line I get the following:

C:\web\soap-2_2\samples\stockquote>java
org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter list

Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client;
msg=Unable to resolve namespace URI for 'ns2'.;
targetException=java.lang.IllegalArgumentException: Unable to resolve
namespace URI for 'ns2'.]
        at org.apache.soap.rpc.Call.invoke(Call.java:246)
        at
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien
t.java:129)
        at
org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient.java:1
51)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:2
37)

environment:
==========================
OS = Win2k Server
App Serv = Tomcat 4.0

CLASSPATH (in this order)
C:\web\XERCES\xerces-1_3_1\xerces.jar;
C:\web\soap-2_2\lib\soap.jar;
C:\web\jaf-1.0.1\activation.jar;
C:\web\jakarta-ant-1.3\lib\ant.jar;
c:\web\xalan-j_2_0_1\bin\xalan.jar;
C:\web\javamail-1.2\mail.jar;
C:\web\javamail-1.2\pop3.jar;
c:\jdk1.3\JavaSoft\Jaxp1.0.1\parser.jar

Reply via email to