You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by bl...@mindspring.com on 2001/06/30 08:30:24 UTC

Still having trouble getting started....

Hi all.

I attempting to run the samples provided with the Apache SOAP implementation.  I have tried EVERYTHING.  I am running on Red Hat Linux 7.1, JDK 1.3.1, SOAP 2.2, latest XERCES, etc.

My client classpath is:
/usr/local/java/xerces-1_3_1/xerces.jar:/usr/local/java/XML4J-3_1_1/xml4j.jar:/usr/local/java/soap-2_2/lib/soap.jar:/usr/local/java/javamail-1.2/mail.jar:/usr/local/java/jaf-1.0.1/activation.jar:/usr/local/java/soap-2_2

My server classpath is:
/usr/local/java/xerces-1_3_1/xerces.jar:/usr/local/java/XML4J-3_1_1/xml4J.jar....then what was already there.

I am trying to run the addressbook sample for SOAP.  I follow the readme file in the addressbook example.  I am unable to deploy.  When I try to run the ServiceManagerClient, I receive the error that 'element must contain a faultcode element'.  

Any help would be most appreciated.  If anyone helps me is ever passing through Atlanta, I owe you a brew.  I am pulling my hair out with this one.

Thanks in advance.

Blaine Mincey
blaine_mincey@mindspring.com
 


Re: Still having trouble getting started....

Posted by William Brogden <wb...@bga.com>.

blaine_mincey@mindspring.com wrote:
> 
> Hi all.
> 
> I attempting to run the samples provided with the Apache SOAP implementation.  I have tried EVERYTHING.  I am running on Red Hat Linux 7.1, JDK 1.3.1, SOAP 2.2, latest XERCES, etc.
> 
> My client classpath is:
> /usr/local/java/xerces-1_3_1/xerces.jar

The first thing to try is dumping xerces 1.3.1 and going back
to an earlier version.

That error message is deceptive - it is coming from the client
because the server sent back a non-xml formatted reply - the
real error at the server end is not being shown.

-- 
WBB - wbrogden@lanw.com
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP 
ISBN 0-7821-2809-2

Re: Still having trouble getting started....

Posted by William Brogden <wb...@bga.com>.

blaine_mincey@mindspring.com wrote:
> 
> Hi all.
> 
> I attempting to run the samples provided with the Apache SOAP implementation.  I have tried EVERYTHING.  I am running on Red Hat Linux 7.1, JDK 1.3.1, SOAP 2.2, latest XERCES, etc.
> 
> My client classpath is:
> /usr/local/java/xerces-1_3_1/xerces.jar

The first thing to try is dumping xerces 1.3.1 and going back
to an earlier version.

That error message is deceptive - it is coming from the client
because the server sent back a non-xml formatted reply - the
real error at the server end is not being shown.

-- 
WBB - wbrogden@lanw.com
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP 
ISBN 0-7821-2809-2

Re: Still having trouble getting started....

Posted by Max Bocchini <Ma...@valtech.co.uk>.
blaine,
SOAP-2_2 does not work with Xerces 1.3.1,
you have to use Xercec 1.4 and above.
And also get rid of XML4j...
regards,
Max
----- Original Message -----
From: <bl...@mindspring.com>
To: <so...@xml.apache.org>
Sent: Saturday, June 30, 2001 7:30 AM
Subject: Still having trouble getting started....


> Hi all.
>
> I attempting to run the samples provided with the Apache SOAP
implementation.  I have tried EVERYTHING.  I am running on Red Hat Linux
7.1, JDK 1.3.1, SOAP 2.2, latest XERCES, etc.
>
> My client classpath is:
>
/usr/local/java/xerces-1_3_1/xerces.jar:/usr/local/java/XML4J-3_1_1/xml4j.ja
r:/usr/local/java/soap-2_2/lib/soap.jar:/usr/local/java/javamail-1.2/mail.ja
r:/usr/local/java/jaf-1.0.1/activation.jar:/usr/local/java/soap-2_2
>
> My server classpath is:
>
/usr/local/java/xerces-1_3_1/xerces.jar:/usr/local/java/XML4J-3_1_1/xml4J.ja
r....then what was already there.
>
> I am trying to run the addressbook sample for SOAP.  I follow the readme
file in the addressbook example.  I am unable to deploy.  When I try to run
the ServiceManagerClient, I receive the error that 'element must contain a
faultcode element'.
>
> Any help would be most appreciated.  If anyone helps me is ever passing
through Atlanta, I owe you a brew.  I am pulling my hair out with this one.
>
> Thanks in advance.
>
> Blaine Mincey
> blaine_mincey@mindspring.com
>


Re: Still having trouble getting started....

Posted by Max Bocchini <Ma...@valtech.co.uk>.
blaine,
SOAP-2_2 does not work with Xerces 1.3.1,
you have to use Xercec 1.4 and above.
And also get rid of XML4j...
regards,
Max
----- Original Message -----
From: <bl...@mindspring.com>
To: <so...@xml.apache.org>
Sent: Saturday, June 30, 2001 7:30 AM
Subject: Still having trouble getting started....


> Hi all.
>
> I attempting to run the samples provided with the Apache SOAP
implementation.  I have tried EVERYTHING.  I am running on Red Hat Linux
7.1, JDK 1.3.1, SOAP 2.2, latest XERCES, etc.
>
> My client classpath is:
>
/usr/local/java/xerces-1_3_1/xerces.jar:/usr/local/java/XML4J-3_1_1/xml4j.ja
r:/usr/local/java/soap-2_2/lib/soap.jar:/usr/local/java/javamail-1.2/mail.ja
r:/usr/local/java/jaf-1.0.1/activation.jar:/usr/local/java/soap-2_2
>
> My server classpath is:
>
/usr/local/java/xerces-1_3_1/xerces.jar:/usr/local/java/XML4J-3_1_1/xml4J.ja
r....then what was already there.
>
> I am trying to run the addressbook sample for SOAP.  I follow the readme
file in the addressbook example.  I am unable to deploy.  When I try to run
the ServiceManagerClient, I receive the error that 'element must contain a
faultcode element'.
>
> Any help would be most appreciated.  If anyone helps me is ever passing
through Atlanta, I owe you a brew.  I am pulling my hair out with this one.
>
> Thanks in advance.
>
> Blaine Mincey
> blaine_mincey@mindspring.com
>


Re: Still having trouble getting started....

Posted by Tom Myers <to...@dreamscape.com>.
At 02:30 AM 6/30/2001 -0400, blaine_mincey@mindspring.com wrote:
>Hi all.
>
>I attempting to run the samples provided with the Apache SOAP implementation.  I have tried EVERYTHING.  I am running on Red Hat Linux 7.1, JDK 1.3.1, SOAP 2.2, latest XERCES, etc.
>
>My client classpath is:
>/usr/local/java/xerces-1_3_1/xerces.jar:... ...:/usr/local/java/soap-2_2
>
>My server classpath is:
>/usr/local/java/xerces-1_3_1/xerces.jar:... ....
>
>I am trying to run the addressbook sample for SOAP.  I follow the readme file in the addressbook example.  I am unable to deploy.  When I try to run the ServiceManagerClient, I receive the error that 'element must contain a faultcode element'.  

A similar question not long ago got
  http://marc.theaimsgroup.com/?l=soap-user&m=99346510825660&w=2
as response:
>Let me guess: you're using Xerces 1.3.1?
>If so you need to switch to an up or down version; Xerces 1.3.1 is
>buggy (as noted in the docs and the FAQ and the troubleshooting table).
>SAnjiva.

(Actually, I'm looking through the soap 2.2 docs and don't see Xerces
1.3.1 mentioned at all, but docs/install/iPlanet.html does mention
that Xerces 1.4 and later is okay. Maybe it's there...but I can't find
the string "1.3.1" in the docs. It is a frequently-asked-question
on this list, anyway.)

Tom Myers



Re: Still having trouble getting started....

Posted by Tom Myers <to...@dreamscape.com>.
At 02:30 AM 6/30/2001 -0400, blaine_mincey@mindspring.com wrote:
>Hi all.
>
>I attempting to run the samples provided with the Apache SOAP implementation.  I have tried EVERYTHING.  I am running on Red Hat Linux 7.1, JDK 1.3.1, SOAP 2.2, latest XERCES, etc.
>
>My client classpath is:
>/usr/local/java/xerces-1_3_1/xerces.jar:... ...:/usr/local/java/soap-2_2
>
>My server classpath is:
>/usr/local/java/xerces-1_3_1/xerces.jar:... ....
>
>I am trying to run the addressbook sample for SOAP.  I follow the readme file in the addressbook example.  I am unable to deploy.  When I try to run the ServiceManagerClient, I receive the error that 'element must contain a faultcode element'.  

A similar question not long ago got
  http://marc.theaimsgroup.com/?l=soap-user&m=99346510825660&w=2
as response:
>Let me guess: you're using Xerces 1.3.1?
>If so you need to switch to an up or down version; Xerces 1.3.1 is
>buggy (as noted in the docs and the FAQ and the troubleshooting table).
>SAnjiva.

(Actually, I'm looking through the soap 2.2 docs and don't see Xerces
1.3.1 mentioned at all, but docs/install/iPlanet.html does mention
that Xerces 1.4 and later is okay. Maybe it's there...but I can't find
the string "1.3.1" in the docs. It is a frequently-asked-question
on this list, anyway.)

Tom Myers