Announcement Announcement Module
Collapse
No announcement yet.
SOAP Fault String :Validation error when running "echo" example. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • SOAP Fault String :Validation error when running "echo" example.

    I downloaded spring-ws and deployed the echo example. I built the "EchoClient.java" and when I tried running, I got a "SOAP Fault String :Validation error" message.

    I looked at the tomcat logs:
    --------------------------

    2007-09-17 16:54:21,589 WARN [org.springframework.ws.soap.server.endpoint.interc
    eptor.PayloadValidatingInterceptor] - XML validation error on request: cvc-elt.4
    .1: The value 'soapenc:string' of attribute 'http://www.w3.org/2001/XMLSchema-in
    stance,type' of element 'tns:echoRequest' is not a valid QName.

    My input looks like this:
    ----------------------

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <tns:echoRequest xsi:type="xsd:string"
    xmlns:tns="http://www.springframework.org/spring-ws/samples/echo"
    >HelloBen</tns:echoRequest>
    </soapenv:Body>
    </soapenv:Envelope>

    Any help would be appreciated,

    Bob

  • #2
    What version of Java are you running?

    Comment


    • #3
      never mind...

      wrong version of axis jar files....

      Thanks for the quick reply,

      Bob

      Comment

      Working...
      X