You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by ha...@telenor.com on 2001/11/14 11:02:34 UTC

Problems with Tomcat 4.0.1 and SOAP 2.2 examples

Hi, every body. I have problems running examples distributed together with
SOAP 2-2.
 

See listing below with is a running of Adressbook example. 
What is wrong with "Adding an XML file of listings" and "Get everyone"
method calls?


C:\jakarta-tomcat-4.0.1\soap-2_2\samples\addressbook>set
CLIB=c:\jakarta-tomcat-
4.0.1\common\lib

C:\jakarta-tomcat-4.0.1\soap-2_2\samples\addressbook>set
CLASSPATH=c:\jakarta-to
mcat-4.0.1\common\lib\xerces.jar;c:\jakarta-tomcat-4.0.1\common\lib\soap.jar
;c:\
jakarta-tomcat-4.0.1\common\lib\mail.jar;c:\jakarta-tomcat-4.0.1\common\lib\
acti
vation.jar;..\..
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"

123 Main Street
Anytown, NY 12345
(123) 456-7890
.
Adding "John Doe"
John Doe has been added.
.
Query "Mr Doe" to make sure it was added

123 Main Street
AnyTown, SS 12345
(800) 555-1212
.
Adding an XML file of listings
Generated fault:
  Fault Code   = SOAP-ENV:Server
  Fault String = Exception from service object:
org/apache/soap/util/xml/DOMUtil
s
.
Get everyone!
Generated fault:
  Fault Code   = SOAP-ENV:Server
  Fault String = Exception from service object:
org/apache/soap/util/xml/XMLPars
erUtils
.
Undeploy it now
.
Verify that it's gone
Deployed Services:
Press any key to continue . . .