Return-Path: Delivered-To: apmail-xml-soap-user-archive@xml.apache.org Received: (qmail 45882 invoked by uid 500); 5 Jun 2001 20:26:42 -0000 Mailing-List: contact soap-user-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: soap-user@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list soap-user@xml.apache.org Received: (qmail 45673 invoked from network); 5 Jun 2001 20:26:41 -0000 Received: from igw3.watson.ibm.com (198.81.209.18) by h31.sny.collab.net with SMTP; 5 Jun 2001 20:26:41 -0000 Received: from sp1n189at0.watson.ibm.com (sp1n189at0.watson.ibm.com [9.2.104.62]) by igw3.watson.ibm.com (8.11.2/8.11.2) with ESMTP id f55KQIR09794 for ; Tue, 5 Jun 2001 16:26:18 -0400 Received: from MJDT21 (MJDT21.watson.ibm.com [9.2.19.23]) by sp1n189at0.watson.ibm.com (8.9.3/Feb-20-98) with SMTP id QAA17522 for ; Tue, 5 Jun 2001 16:26:18 -0400 From: "Matthew J. Duftler" To: Subject: RE: Need help on win2000 soap run with tomcat Date: Tue, 5 Jun 2001 16:26:17 -0400 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01C0EDDC.3F47C4F0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <008701c0edcd$53582ca0$1ccef7a5@AYUSHNET> Importance: Normal X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ------=_NextPart_000_0004_01C0EDDC.3F47C4F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi Shyam, It would be helpful to others who may be having similar troubles if you would post what the solution to your problem was. Thanks, -Matt -----Original Message----- From: Shyam Sarkar [mailto:ssarkar@ix.netcom.com] Sent: Tuesday, June 05, 2001 10:39 AM To: soap-user@xml.apache.org Subject: Re: Need help on win2000 soap run with tomcat Never mind... it works now. ----- Original Message ----- From: Shyam Sarkar To: soap-user@xml.apache.org Sent: Tuesday, June 05, 2001 7:27 AM Subject: Re: Need help on win2000 soap run with tomcat Hi, I have all the correct classpath defined. Still getting class not found exeception. Removed all parsers other than xerces 1.4.0 from tomcat classpath. Need more help. ---------------------error listed below----------------------------------------------- C:\xml\soap\soap-2_1\samples\addressbook>java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml C:\xml\soap\soap-2_1\samples\addressbook>java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter list Deployed Services: urn:AddressFetcher C:\xml\soap\soap-2_1\samples\addressbook>set CLASSPATH CLASSPATH=..\..;.;C:\xml\xerces\xerces-1_3_1\xerces.jar;C:\xml\soap\soap-2_1 \lib\soap.jar;C:\xml\javamail-1.2\mail.jar;C:\xml\jaf-1.0.1\activation.jar;C :\jdk1.3\lib\j2ee.jar;\; C:\xml\soap\soap-2_1\samples\addressbook>java 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 ------------------------------------------------------------------------ ------------------------------------------- ----- Original Message ----- From: Uzay Takaoglu To: 'soap-user@xml.apache.org' Sent: Monday, June 04, 2001 3:45 PM Subject: RE: Need help on win2000 soap run with tomcat Check the list below: 1. Make sure you set soap's installation dir under your "classpath"? 2. Make sure the Xercer's path is the first thing under your classpath 3. By default Tomcat uses two jar files jaxp.jar and parser.jar, remove these jar files from \lib folder > > > > Uzay Takaoglu Sr. Software Engineer Simplexis > > eCommerce for the Business of Education www.simplexis.com 640 2nd Street San Francisco, CA 94107 -----Original Message----- From: Shyam Sarkar [mailto:ssarkar@ix.netcom.com] Sent: Monday, June 04, 2001 1:45 PM To: soap-user@xml.apache.org Subject: Re: Need help on win2000 soap run with tomcat Hi, I did replace xerces 1.3.1 with 1.4.0. and could deploy and list but getting other problems for methods. Please help me to solve it: --------------------------------------------error reported below----------------------------------------- >C:\xml\soap\soap-2_1>java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter deploy C:\xml\soap\soap-2_1\samples\addressbook\DeploymentDescriptor.xml >C:\xml\soap\soap-2_1>java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter list Deployed Services: urn:AddressFetcher >C:\xml\soap\soap-2_1>java 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 -------------------------------------------------------------------- ----------- ----- Original Message ----- From: Matthew J. Duftler To: soap-user@xml.apache.org Sent: Monday, June 04, 2001 12:13 PM Subject: RE: Need help on win2000 soap run with tomcat Hi Shyam, Are you using Xerces v1.3.1? If you are, please you a different version of Xerces, or any other JAXP-compliant parser. Thanks, -Matt -----Original Message----- From: Shyam Sarkar [mailto:ssarkar@ix.netcom.com] Sent: Monday, June 04, 2001 2:06 PM To: soap-user@xml.apache.org Subject: Need help on win2000 soap run with tomcat C:\xml\soap\soap-2_1\samples\addressbook>java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; msg=A 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain a: 'faultcode' element.; targetException=java.lang.IllegalArgumentException: A 'http://schemas.xmlsoap. org/soap/envelope/:Fault' element must contain a: 'faultcode' element.] at org.apache.soap.rpc.Call.invoke(Call.java:244) at org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien t.java:127) at org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClient.java :140) at org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:2 28) C:\xml\soap\soap-2_1\samples\addressbook>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:244) at org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien t.java:127) at org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient.java:1 49) at org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:2 35) ------=_NextPart_000_0004_01C0EDDC.3F47C4F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi=20 Shyam,
 
It=20 would be helpful to others who may be having similar troubles if you = would post=20 what the solution to your problem was.
 
Thanks,
-Matt
-----Original Message-----
From: Shyam Sarkar=20 [mailto:ssarkar@ix.netcom.com]
Sent: Tuesday, June 05, 2001 = 10:39=20 AM
To: soap-user@xml.apache.org
Subject: Re: Need = help on=20 win2000 soap run with tomcat

Never mind... it works = now.
----- Original Message -----
From:=20 Shyam=20 Sarkar
Sent: Tuesday, June 05, 2001 = 7:27=20 AM
Subject: Re: Need help on = win2000 soap=20 run with tomcat

Hi,
 
I have all the correct classpath = defined. =20 Still getting class not found exeception. 
Removed all parsers other than = xerces 1.4.0=20 from tomcat classpath.
Need more help.
 
---------------------error listed=20 = below-----------------------------------------------

C:\xml\soap\soap-2_1\samples\addressbook>java=20 org.apache.soap.server.ServiceManagerClient http://localhost:80= 80/soap/servlet/rpcrouter=20 deploy DeploymentDescriptor.xml
 
C:\xml\soap\soap-2_1\samples\addressbook>java=20 org.apache.soap.server.ServiceManagerClient http://localhost:80= 80/soap/servlet/rpcrouter=20 list
Deployed = Services:
       =20 urn:AddressFetcher
 
C:\xml\soap\soap-2_1\samples\addressbook>set=20 = CLASSPATH
CLASSPATH=3D..\..;.;C:\xml\xerces\xerces-1_3_1\xerces.jar;C:= \xml\soap\soap-2_1\lib\soap.jar;C:\xml\javamail-1.2\mail.jar;C:\xml\jaf-1= .0.1\activation.jar;C:\jdk1.3\lib\j2ee.jar;\;
 
C:\xml\soap\soap-2_1\samples\addressbook>java=20 samples.addressbook.GetAddress http://localhost:80= 80/soap/servlet/rpcrouter=20 "John B. Good"
Generated fault:
  Fault Code   = =3D=20 SOAP-ENV:Client
  Fault String =3D deployment error in SOAP = service=20 'urn:AddressFetcher': class name 'samples.addressbook.Address' could = not be=20 resolved: samples.addressbook.Address
 
=
--------------------------------------------------------------------= -----------------------------------------------
----- Original Message ----- =
From:=20 Uzay Takaoglu
Sent: Monday, June 04, 2001 = 3:45=20 PM
Subject: RE: Need help on = win2000=20 soap run with tomcat

Check the list below:
 
1. Make sure you set soap's installation dir = under your=20 "classpath"? 
2. Make sure the Xercer's path is the first thing under = your=20 classpath 
3. By default Tomcat uses two jar files = jaxp.jar and=20 parser.jar, remove these jar files from=20 <tomcat_installation_dir>\lib folder 

 

> > > > =
Uzay Takaoglu
Sr. Software=20 Engineer

Simplexis =
> >=20 eCommerce for the Business of Education
www.simplexis.com 
640=20 2nd Street
San = Francisco, CA=20 94107

-----Original Message-----
From: Shyam Sarkar = [mailto:ssarkar@ix.netcom.com]
Sent: Monday, June 04, = 2001=20 1:45 PM
To: = soap-user@xml.apache.org
Subject: Re:=20 Need help on win2000 soap run with tomcat

Hi,
 
I did replace xerces 1.3.1 with = 1.4.0. and=20 could deploy and list but getting other problems for=20 methods.
Please help me to solve = it:
 
--------------------------------------------error = reported=20 below-----------------------------------------
 
>C:\xml\soap\soap-2_1>java=20 org.apache.soap.server.ServiceManagerClient http://localhost:80= 80/soap/servlet/rpcrouter =20 deploy=20 = C:\xml\soap\soap-2_1\samples\addressbook\DeploymentDescriptor.xml<= /DIV>
 
>C:\xml\soap\soap-2_1>java=20 org.apache.soap.server.ServiceManagerClient http://localhost:80= 80/soap/servlet/rpcrouter =20 list
Deployed = Services:
       =20 urn:AddressFetcher
 
>C:\xml\soap\soap-2_1>java=20 samples.addressbook.GetAddress http://localhost:80= 80/soap/servlet/rpcrouter=20 "John B. Good"
Generated fault:
  Fault = Code   =3D=20 SOAP-ENV:Client
  Fault String =3D deployment error in = SOAP=20 service 'urn:AddressFetcher': class name = 'samples.addressbook.Address'=20 could not be resolved: = samples.addressbook.Address
----------------------------------------------------------------= ---------------
----- Original Message ----- =
From:=20 Matthew J. Duftler =
To: soap-user@xml.apache.org=20
Sent: Monday, June 04, = 2001 12:13=20 PM
Subject: RE: Need help = on win2000=20 soap run with tomcat

Hi Shyam,
 
Are you using Xerces v1.3.1? If you are, please you a = different=20 version of Xerces, or any other JAXP-compliant=20 parser.
 
Thanks,
-Matt
-----Original Message-----
From: Shyam = Sarkar=20 [mailto:ssarkar@ix.netcom.com]
Sent: Monday, June = 04, 2001=20 2:06 PM
To: soap-user@xml.apache.org
= Subject:=20 Need help on win2000 soap run with = tomcat

C:\xml\soap\soap-2_1\samples\addressbook>java=20 org.apache.soap.server.ServiceManagerClient http://localhost:80= 80/soap/servlet/rpcrouter =20 deploy DeploymentDescriptor.xml
Exception in thread = "main"=20 [SOAPException: faultCode=3DSOAP-ENV:Client; msg=3DA=20 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element = must=20 contain a: 'faultcode' element.;=20 targetException=3Djava.lang.IllegalArgumentException: A=20 'http://schemas.xmlsoap.
org/soap/envelope/:Fault' = element must=20 contain a: 'faultcode'=20 element.]
        at=20 = org.apache.soap.rpc.Call.invoke(Call.java:244)
    = ;   =20 at=20 = org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerCl= ient.java:127)
       =20 at=20 = org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClient.j= ava:140)
       =20 at=20 = org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.jav= a:228)
 
C:\xml\soap\soap-2_1\samples\addressbook>java=20 org.apache.soap.server.ServiceManagerClient http://localhost:80= 80/soap/servlet/rpcrouter =20 list
Exception in thread "main" [SOAPException:=20 faultCode=3DSOAP-ENV:Client; msg=3DUnable to resolve = namespace URI for=20 'ns2'.; = targetException=3Djava.lang.IllegalArgumentException: Unable=20 to resolve namespace URI for=20 'ns2'.]
        at=20 = org.apache.soap.rpc.Call.invoke(Call.java:244)
    = ;   =20 at=20 = org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerCl= ient.java:127)
       =20 at=20 = org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient.jav= a:149)
       =20 at=20 = org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.jav= a:235)
------=_NextPart_000_0004_01C0EDDC.3F47C4F0--