You may try these steps: 1. mkdir c:\tomcat\webapps\soap 2. cd c:\tomcat\webapps\soap 3. jar -xvf ..\soap.war 4. restart your tomcat web server 5. try the addressbook testit again.
Hope this helps. Good luck. Bin Shehzad Nagi <[EMAIL PROTECTED] To: [EMAIL PROTECTED] .uk> cc: Subject: HELP ME! 03/14/2003 04:09 AM Please respond to soap-user Hello People , I have a big problem at my hand and i can't see my way through it..... I downloaded the Apache soap package from there site and it had few sample examples in it like address book and more like that. Now i place the soap.war file in my tomcat folder(c: \tomcat\webapps\soap.war) Now i have the admin running perfectly fine. Now when i come to the examples like the address book examples(the very first one). i I set all the CLASSPATHs and it is deploying the addressbook service perfectly fine ...that mean i think the deployment decriptor file is running just fine. Now when it come to client java file and runs the java file it give the following error. ****************************************************** C:\soap-2_3_1\samples\addressbook>testit This test assumes a server URL of http://localhost:8080/soap/servlet/rpcrouter Deploying the addressbook service... . Verify that it's there Deployed Services: urn:AddressFetcher . Getting info for "Mr Good" Start Process Extracting URL http://localhost:8080/soap/servlet/rpcrouter MAPPING:[EMAIL PROTECTED] BEAN:[EMAIL PROTECTED] QNAME: urn:xml-soap-address-demo:address Generated fault: [Attributes={}] [faultCode=SOAP-ENV:Client] [faultString=Deploy ment error in SOAP service 'urn:AddressFetcher': class name 'samples.addressbook .Address' could not be resolved: samples.addressbook.Address] [faultActorURI=/so ap/servlet/rpcrouter] [DetailEntries=] [FaultEntries=] . Adding "John Doe" Generated fault: [Attributes={}] [faultCode=SOAP-ENV:Client] [faultString=Deploy ment error in SOAP service 'urn:AddressFetcher': class name 'samples.addressbook .Address' could not be resolved: samples.addressbook.Address] [faultActorURI=/so ap/servlet/rpcrouter] [DetailEntries=] [FaultEntries=] . Query "Mr Doe" to make sure it was added Start Process Extracting URL http://localhost:8080/soap/servlet/rpcrouter MAPPING:[EMAIL PROTECTED] BEAN:[EMAIL PROTECTED] QNAME: urn:xml-soap-address-demo:address Generated fault: [Attributes={}] [faultCode=SOAP-ENV:Client] [faultString=Deploy ment error in SOAP service 'urn:AddressFetcher': class name 'samples.addressbook .Address' could not be resolved: samples.addressbook.Address] [faultActorURI=/so ap/servlet/rpcrouter] [DetailEntries=] [FaultEntries=] . Adding an XML file of listings Generated fault: [Attributes={}] [faultCode=SOAP-ENV:Client] [faultString=Deploy ment error in SOAP service 'urn:AddressFetcher': class name 'samples.addressbook .Address' could not be resolved: samples.addressbook.Address] [faultActorURI=/so ap/servlet/rpcrouter] [DetailEntries=] [FaultEntries=] . Get everyone! Generated fault: [Attributes={}] [faultCode=SOAP-ENV:Client] [faultString=Deploy ment error in SOAP service 'urn:AddressFetcher': class name 'samples.addressbook .Address' could not be resolved: samples.addressbook.Address] [faultActorURI=/so ap/servlet/rpcrouter] [DetailEntries=] [FaultEntries=] . Undeploy it now . Verify that it's gone Deployed Services: C:\soap-2_3_1\samples\addressbook> ******************************************************************** i can figure out one thng (i could be wrong) that the soap server is not geeting the class files for the server soap files but i did one thing ... i set the class path.......please tell me what sould i do i and also attaching a simple example... if anyone finds what wrong with it please tell me so....... I need your people help. takecare shehzad When words aren't enough - Vodafone live! A new world of colour, sounds, picture messages and information on your mobile. Click here to find out more. (See attached file: SimpleSoap.zip)
SimpleSoap.zip
Description: Zip archive