Hi Soap-folks,
I've got a problem: I'm trying to run the sample addressbook step-by-step (according to the testit.sh -script). I can deploy the service without problems: ------------------------- jerry@foohost:/usr/share/tomcat/webapps/soap/samples/addressbook$ java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter deploy ./DeploymentDescriptor.xml jerry@foohost:/usr/share/tomcat/webapps/soap/samples/addressbook$ java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter list Deployed Services: urn:mimetest urn:xmltoday-delayed-quotes urn:testprovider urn:AddressFetcher ------------------------- So, the Service is deployed, but why the heck doesn't the GetAddress sample run? ------------------------- jerry@foohost:/usr/share/tomcat/webapps/soap/samples/addressbook$ java -cp .:../.. samples.addressbook.GetAddress http://localhost:8080/soap/servlet/rpcrouter "John B. Good" Generated fault: Fault Code = SOAP-ENV:Client Fault String = Deployment error in SOAP service 'urn:AddressFetcher': class name 'samples.addressbook.Address' could not be resolved: samples.addressbook.Address ------------------------- As far as I understand the sources, this error leads to AddressBook -class constructor. But why can't Java resolve the Address -class, file Address.class is found in the very same directory where AddressBook .class is. And the CLASSPATH is explicitly defined ('java -cp .:../.. ') ?!? I know that the problem may be related with a misconfigured CLASSPATH environment variable.... I'm not very experienced in Java environment, could it possibly be some configuration error on the Java system that we're using (see details below)? Operating system is Debian Linux and Tomcat's version is 3.2.2. Tomcat and SOAP 2.2 seem be working quite nice except this... Additional information concerning CLASSPATHs and Java: --------------------------- jerry@foohost:/usr/share/tomcat/webapps/soap/samples/addressbook$ java -version java version "1.3.1" Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.3.1-FCS) Java HotSpot(TM) Client VM (build Blackdown-1.3.1-FCS, mixed mode) jerry@foohost:/usr/share/tomcat/webapps/soap/samples/addressbook$ echo $CLASSPATH .:/usr/java/jdk1.3.1/lib:/usr/java/jdk1.3.1/jre/lib:/usr/share/tomcat/lib:/u01/app/oracle/product/8.1.7/jdbc/lib/classes111.zip --------------------------- Any help would be appreciated! Thank you in advance! Jerry
