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 "Zhou, Honbo" <Ho...@WorldChain.com> on 2001/04/19 21:40:15 UTC

faultcode?

Just started to play with SOAP today and I got the following error
while trying to run the "adddressbook" example. Any comments on how to fix 
the error?  I am using weblogic 5.1 and I was able to deploy the addressbook
on the soap admin. Thanks!
 
Honbo
 
==================
 
 C:\soap-2_1\samples\addressbook>testit
This test assumes a server URL of
<http://localhost:7001/soap/server/rpcrouter>
http://localhost:7001/soap/server/rpcrouter
Deploying the addressbook service...
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:228)
.