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 Hartmut Bernecker <h....@dhw.de> on 2001/03/12 09:48:32 UTC
problem to execute addressbook sample
Hi there,
I'm a newbie in soap.
When I try the addressbook sample (of the soap-2_1 distribution) by
executing the testit.cmd, then I receive that result:
--------------------------------------------------------------------------------
D:\xml\soap-2_1\samples\addressbook>testit
This test assumes a server URL of
http://localhost:8080/soap/server/rpcrouter
Deploying the addressbook service...
Ouch, the call failed:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Verify that its there
Ouch, the call failed:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Getting info for "Mr Good"
Generated fault:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Adding "John Doe"
Generated fault:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Query "Mr Doe" to make sure it was added
Generated fault:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Adding an XML file of listings
Generated fault:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Get everyone!
Generated fault:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Undeploy it now
Ouch, the call failed:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Verify that its gone
Ouch, the call failed:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
D:\xml\soap-2_1\samples\addressbook>
--------------------------------------------------------------------------------
I have no idea, where the problem is? Can you help me?
The classpath of my client environment is:
CLASSPATH=.;
D:\System\libs\xerces.jar;
D:\System\libs\soap.jar;
D:\xml\soap-2_1;
D:\System\libs\activation.jar;
D:\System\libs\imap.jar;
D:\System\libs\mail.jar;
D:\System\libs\mailapi.jar;
D:\System\libs\pop3.jar;
D:\System\libs\smt.jar;
D:\xml\soap-2_1
Hartmut Bernecker
DHW
Re: problem to execute addressbook sample
Posted by Hartmut Bernecker <h....@dhw.de>.
That's it.
Thank you!!
Graham Cunningham schrieb:
>
> your client config looks ok but your server config probably doesnt have
> xerces.jar at the front of the classpath.
>
> regards
> Graham
Re: problem to execute addressbook sample
Posted by Hartmut Bernecker <h....@dhw.de>.
That's it.
Thank you!!
Graham Cunningham schrieb:
>
> your client config looks ok but your server config probably doesnt have
> xerces.jar at the front of the classpath.
>
> regards
> Graham
RE: problem to execute addressbook sample
Posted by Ratnakar Malla <do...@yahoo.co.in>.
Hi,
maybe the wrong version of the xml parser is being
called. try using this batch file, instead of
tomcat.bat . i modfied tomcat.bat so that xerces.jar
will always be the first xml parser.
I am attaching the modified batch file.
-Ratnakar
> -----Original Message-----
> From: Hartmut Bernecker [mailto:h.bernecker@dhw.de]
> Sent: Montag, 12. Marz 2001 09:49
> To: soap-user@xml.apache.org
> Subject: problem to execute addressbook sample
>
>
> Hi there,
>
> I'm a newbie in soap.
> When I try the addressbook sample (of the soap-2_1
> distribution) by
> executing the testit.cmd, then I receive that
> result:
>
>
----------------------------------------------------------------------------
> ----
> D:\xml\soap-2_1\samples\addressbook>testit
> This test assumes a server URL of
> http://localhost:8080/soap/server/rpcrouter
>
> Deploying the addressbook service...
> Ouch, the call failed:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
> .
> Verify that its there
> Ouch, the call failed:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
> .
> Getting info for "Mr Good"
> Generated fault:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
> .
> Adding "John Doe"
> Generated fault:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
> .
> Query "Mr Doe" to make sure it was added
> Generated fault:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
> .
> Adding an XML file of listings
> Generated fault:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
> .
> Get everyone!
> Generated fault:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
> .
> Undeploy it now
> Ouch, the call failed:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
> .
> Verify that its gone
> Ouch, the call failed:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
>
> D:\xml\soap-2_1\samples\addressbook>
>
----------------------------------------------------------------------------
> ----
>
> I have no idea, where the problem is? Can you help
> me?
>
> The classpath of my client environment is:
>
> CLASSPATH=.;
> D:\System\libs\xerces.jar;
> D:\System\libs\soap.jar;
> D:\xml\soap-2_1;
> D:\System\libs\activation.jar;
> D:\System\libs\imap.jar;
> D:\System\libs\mail.jar;
> D:\System\libs\mailapi.jar;
> D:\System\libs\pop3.jar;
> D:\System\libs\smt.jar;
> D:\xml\soap-2_1
>
>
> Hartmut Bernecker
> DHW
>
=====
Ratnakar Malla,
Electrical & Computer Engg,
Louisiana State University.
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.in address at http://mail.yahoo.co.in
RE: problem to execute addressbook sample
Posted by Ratnakar Malla <do...@yahoo.co.in>.
Hi,
maybe the wrong version of the xml parser is being
called. try using this batch file, instead of
tomcat.bat . i modfied tomcat.bat so that xerces.jar
will always be the first xml parser.
I am attaching the modified batch file.
-Ratnakar
> -----Original Message-----
> From: Hartmut Bernecker [mailto:h.bernecker@dhw.de]
> Sent: Montag, 12. Marz 2001 09:49
> To: soap-user@xml.apache.org
> Subject: problem to execute addressbook sample
>
>
> Hi there,
>
> I'm a newbie in soap.
> When I try the addressbook sample (of the soap-2_1
> distribution) by
> executing the testit.cmd, then I receive that
> result:
>
>
----------------------------------------------------------------------------
> ----
> D:\xml\soap-2_1\samples\addressbook>testit
> This test assumes a server URL of
> http://localhost:8080/soap/server/rpcrouter
>
> Deploying the addressbook service...
> Ouch, the call failed:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
> .
> Verify that its there
> Ouch, the call failed:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
> .
> Getting info for "Mr Good"
> Generated fault:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
> .
> Adding "John Doe"
> Generated fault:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
> .
> Query "Mr Doe" to make sure it was added
> Generated fault:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
> .
> Adding an XML file of listings
> Generated fault:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
> .
> Get everyone!
> Generated fault:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
> .
> Undeploy it now
> Ouch, the call failed:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
> .
> Verify that its gone
> Ouch, the call failed:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
>
> D:\xml\soap-2_1\samples\addressbook>
>
----------------------------------------------------------------------------
> ----
>
> I have no idea, where the problem is? Can you help
> me?
>
> The classpath of my client environment is:
>
> CLASSPATH=.;
> D:\System\libs\xerces.jar;
> D:\System\libs\soap.jar;
> D:\xml\soap-2_1;
> D:\System\libs\activation.jar;
> D:\System\libs\imap.jar;
> D:\System\libs\mail.jar;
> D:\System\libs\mailapi.jar;
> D:\System\libs\pop3.jar;
> D:\System\libs\smt.jar;
> D:\xml\soap-2_1
>
>
> Hartmut Bernecker
> DHW
>
=====
Ratnakar Malla,
Electrical & Computer Engg,
Louisiana State University.
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.in address at http://mail.yahoo.co.in
RE: problem to execute addressbook sample
Posted by Graham Cunningham <gr...@kinetic.ch>.
your client config looks ok but your server config probably doesnt have
xerces.jar at the front of the classpath.
regards
Graham
-----Original Message-----
From: Hartmut Bernecker [mailto:h.bernecker@dhw.de]
Sent: Montag, 12. Marz 2001 09:49
To: soap-user@xml.apache.org
Subject: problem to execute addressbook sample
Hi there,
I'm a newbie in soap.
When I try the addressbook sample (of the soap-2_1 distribution) by
executing the testit.cmd, then I receive that result:
----------------------------------------------------------------------------
----
D:\xml\soap-2_1\samples\addressbook>testit
This test assumes a server URL of
http://localhost:8080/soap/server/rpcrouter
Deploying the addressbook service...
Ouch, the call failed:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Verify that its there
Ouch, the call failed:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Getting info for "Mr Good"
Generated fault:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Adding "John Doe"
Generated fault:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Query "Mr Doe" to make sure it was added
Generated fault:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Adding an XML file of listings
Generated fault:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Get everyone!
Generated fault:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Undeploy it now
Ouch, the call failed:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Verify that its gone
Ouch, the call failed:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
D:\xml\soap-2_1\samples\addressbook>
----------------------------------------------------------------------------
----
I have no idea, where the problem is? Can you help me?
The classpath of my client environment is:
CLASSPATH=.;
D:\System\libs\xerces.jar;
D:\System\libs\soap.jar;
D:\xml\soap-2_1;
D:\System\libs\activation.jar;
D:\System\libs\imap.jar;
D:\System\libs\mail.jar;
D:\System\libs\mailapi.jar;
D:\System\libs\pop3.jar;
D:\System\libs\smt.jar;
D:\xml\soap-2_1
Hartmut Bernecker
DHW
RE: problem to execute addressbook sample
Posted by Graham Cunningham <gr...@kinetic.ch>.
your client config looks ok but your server config probably doesnt have
xerces.jar at the front of the classpath.
regards
Graham
-----Original Message-----
From: Hartmut Bernecker [mailto:h.bernecker@dhw.de]
Sent: Montag, 12. Marz 2001 09:49
To: soap-user@xml.apache.org
Subject: problem to execute addressbook sample
Hi there,
I'm a newbie in soap.
When I try the addressbook sample (of the soap-2_1 distribution) by
executing the testit.cmd, then I receive that result:
----------------------------------------------------------------------------
----
D:\xml\soap-2_1\samples\addressbook>testit
This test assumes a server URL of
http://localhost:8080/soap/server/rpcrouter
Deploying the addressbook service...
Ouch, the call failed:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Verify that its there
Ouch, the call failed:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Getting info for "Mr Good"
Generated fault:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Adding "John Doe"
Generated fault:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Query "Mr Doe" to make sure it was added
Generated fault:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Adding an XML file of listings
Generated fault:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Get everyone!
Generated fault:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Undeploy it now
Ouch, the call failed:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
.
Verify that its gone
Ouch, the call failed:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
D:\xml\soap-2_1\samples\addressbook>
----------------------------------------------------------------------------
----
I have no idea, where the problem is? Can you help me?
The classpath of my client environment is:
CLASSPATH=.;
D:\System\libs\xerces.jar;
D:\System\libs\soap.jar;
D:\xml\soap-2_1;
D:\System\libs\activation.jar;
D:\System\libs\imap.jar;
D:\System\libs\mail.jar;
D:\System\libs\mailapi.jar;
D:\System\libs\pop3.jar;
D:\System\libs\smt.jar;
D:\xml\soap-2_1
Hartmut Bernecker
DHW