You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Shane Dempsey <sd...@tssg.wit.ie> on 2001/05/02 20:24:27 UTC

bug with xerces 1.3.1

Hi Guys,
I was  having some trouble with my Apache Soap installation.
I'd set up Apache Soap 2.1 with Tomcat 3.2. I could start the 'SOAP admin
gui' OK but when I try to run any of the demos I got the following error.

----------------------------------------------------------------------------
------------------------------------------
D:\javadev\ApacheSoap\soap-2_1\samples\stockquote>java
org.apache.soap.server.Se
rviceManagerClient http://high:8080/soap/servlet/rpcrouter deploy
DeploymentDesc
riptor.xml
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; msg=A
'htt
p://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain a:
'faultcode
' element.; targetException=java.lang.IllegalArgumentException: A
'http://schema
s.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(ServiceManag
erClient.java:127)
        at
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClie
nt.java:140)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java, Compiled Code)

----------------------------------------------------------------------------
------------------------------------------
( my machine name is high, just in case anyone is wondering >:-) )

I followed all the instructions and my classpath seems to be OK , with the
xerces.jar places towards the front of the path..
I'm not sure why I'm getting this error. I originally thought that it was
the classpath but
after many changes, I just gave up on that. It almost seems like the SOAP
messages being produced by the client aren't  correct.

The problem was solved when I installed the xerces 1.2.3 parser instead of
1.3.1
Hopefully this will sort out somebody else's problems cos I spent ages
trying to figure out what the problem was.

regards ,

    ...shane

//====================================
// Shane Dempsey       sdempsey@tssg.wit.ie
// TSSG Researcher    http://www-tssg.wit.ie
//
// ( 0x2b | ~0x2b ) ? printf("that is the question");
// ====================================