|
|
SOAP Fault String :Validation error when running quot;echoquot; example.
I downloaded spring-ws and deployed the echo example. I built the quot;EchoClient.javaquot; and when I tried running, I got a quot;SOAP Fault String :Validation errorquot; message.
I looked at the tomcat logs:
--------------------------
2007-09-17 16:54:21,589 WARN [org..ws.soap.server.endpoint.interc
eptor.PayloadValidatingInterceptor] - XML validation error on request: cvc-elt.4
.1: The value 'soapenc:string' of attribute '2001/XMLSchema-in
stance,type' of element 'tns:echoRequest' is not a valid QName.
My input looks like this:
----------------------
lt;soapenv:Envelope xmlns:soapenv=quot;soap/envelope/quot; xmlns:xsd=quot;2001/XMLSchemaquot; xmlns:xsi=quot;2001/XMLSchema-instancequot;gt; lt;soapenv:Bodygt; lt;tns:echoRequest xsi:type=quot;xsd:stringquot;xmlns:tns=quot;spring-ws/samples/echoquot; gt;HelloBenlt;/tns:echoRequestgt; lt;/soapenv:Bodygt;
lt;/soapenv:Envelopegt;
Any help would be appreciated,
Bob
What version of Java are you running?
wrong version of axis jar files....
Thanks for the quick reply,
Bob |
|