Re: Need help on win2000 soap run with tomcat

2001-06-05 Thread Shyam Sarkar



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\addressbookjava 
org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter 
deploy DeploymentDescriptor.xml

C:\xml\soap\soap-2_1\samples\addressbookjava 
org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter 
listDeployed Services: 
urn:AddressFetcher

C:\xml\soap\soap-2_1\samples\addressbookset 
CLASSPATHCLASSPATH=..\..;.;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\addressbookjava 
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: '[EMAIL PROTECTED]' 
  Sent: Monday, June 04, 2001 3:45 PM
  Subject: RE: Need help on win2000 soap 
  run with tomcat
  
  Check thelist below:
  
  1.Make sureyou 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 usestwo jar files jaxp.jarand parser.jar, 
  removethese jar filesfrom tomcat_installation_dir\lib 
  folder
  
  
  Uzay TakaogluSr. Software 
  Engineer 
  Simplexis   eCommerce 
  for the Business of Education www.simplexis.com640 2nd 
  Street San Francisco, CA 94107 
  
  
-Original Message-From: Shyam Sarkar 
[mailto:[EMAIL PROTECTED]]Sent: Monday, June 04, 2001 1:45 
PMTo: [EMAIL PROTECTED]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_1java 
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_1java 
org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter 
listDeployed Services: 
urn:AddressFetcher

C:\xml\soap\soap-2_1java 
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: [EMAIL PROTECTED] 
  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:[EMAIL PROTECTED]]Sent: Monday, June 04, 2001 
2:06 PMTo: [EMAIL PROTECTED]Subject: 
        Need help on win2000 soap run with tomcat
C:\xml\soap\soap-2_1\samples\addressbookjava 
org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter 
deploy DeploymentDescriptor.xmlException 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(ServiceManagerClient.java:127) 
at 
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClient.java:140) 
at 
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:228)

C:\x

Re: Need help on win2000 soap run with tomcat

2001-06-05 Thread Shyam Sarkar



Never mind... it works now.

  - Original Message - 
  From: 
  Shyam 
  Sarkar 
  To: [EMAIL PROTECTED] 
  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\addressbookjava 
  org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter 
  deploy DeploymentDescriptor.xml
  
  C:\xml\soap\soap-2_1\samples\addressbookjava 
  org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter 
  listDeployed Services: 
  urn:AddressFetcher
  
  C:\xml\soap\soap-2_1\samples\addressbookset 
  CLASSPATHCLASSPATH=..\..;.;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\addressbookjava 
  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: '[EMAIL PROTECTED]' 

Sent: Monday, June 04, 2001 3:45 
PM
Subject: RE: Need help on win2000 soap 
    run with tomcat

Check thelist below:

1.Make sureyou 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 usestwo jar files jaxp.jarand parser.jar, 
removethese jar filesfrom tomcat_installation_dir\lib 
folder


Uzay TakaogluSr. Software 
Engineer 
Simplexis   
eCommerce for the Business of Education www.simplexis.com640 2nd 
Street San Francisco, CA 94107 


  -Original Message-From: Shyam Sarkar 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, June 04, 2001 1:45 
  PMTo: [EMAIL PROTECTED]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_1java 
  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_1java 
  org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter 
  listDeployed Services: 
  urn:AddressFetcher
  
  C:\xml\soap\soap-2_1java 
  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: [EMAIL PROTECTED] 

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:[EMAIL PROTECTED]]Sent: Monday, June 04, 2001 
  2:06 PMTo: [EMAIL PROTECTED]Subject: 
      Need help on win2000 soap run with tomcat
  C:\xml\soap\soap-2_1\samples\addressbookjava 
  org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter 
  deploy DeploymentDescriptor.xmlException 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' eleme