i'm using the V2 beta which is jaxp compliant.  but it
complains about that the faultcode element is not
qualified with a namespace.

has any one ecountered this before?  i saw a reference
in the archive regarding similiar probelm with xerces
1.3.1, but solution was use a different version of
xerces.  (i wish i had that option)

worst case i'll can update the code to output
qualified names but i hate to do that. (testing,
interop, etc.)

is it valid xml to have unqualifed name mixed in when
using namespaces?

thanks for any help

** soap message from server

<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>service 'urn:test:echo2'
unknown</faultstring>
<faultactor>/winxml/rpcrouter</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

***  Original Messages

SOAPException= SOAP-ENV:Client, A
'http://schemas.xmlsoap.org/soap/envelope/:Fault'
element must contain a: 'faultcode' element.


[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:246)
at
test.client.EchoClient.invokeEchoString(EchoClient.java:200)
at test.client.EchoClient.main(EchoClient.java:25)
Root Cause = A
'http://schemas.xmlsoap.org/soap/envelope/:Fault'
element must contain a: 'faultcode' element.
java.lang.IllegalArgumentException: A
'http://schemas.xmlsoap.org/soap/envelope/:Fault'
element must contain a: 'faultcode' element.
at org.apache.soap.Fault.unmarshall(Fault.java:331)
at
org.apache.soap.rpc.RPCMessage.unmarshall(RPCMessage.java:363)
at
org.apache.soap.rpc.RPCMessage.extractFromEnvelope(RPCMessage.java:197)
at
org.apache.soap.rpc.Response.extractFromEnvelope(Response.java:142)
at org.apache.soap.rpc.Call.invoke(Call.java:233)
at
test.client.EchoClient.invokeEchoString(EchoClient.java:200)
at test.client.EchoClient.main(EchoClient.java:25)

__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

Reply via email to