Announcement Announcement Module
Collapse
No announcement yet.
Spring WS problem Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring WS problem

    Hi i'am using Spring-WS for the first time.
    i tried to make an example for a web service, the wsdl was generated, now when i test my service whith Eclipse i get this error:
    Code:
    The SOAP response failed schema validation. Please switch to the source view for the SOAP response in XML format
    any idea about this problem?
    Thanks a lot!!

  • #2
    hi,
    could you post your complete log?

    Comment


    • #3
      Hi,
      i just have:
      Code:
      The SOAP response failed schema validation. Please switch to the source view for the SOAP response in XML format. 
      
      SOAP Request Envelope: 
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:q0="http://com.hr.ws/schema/traduction" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      - <soapenv:Body>
      - <q0:TraductionRequest>
        <q0:langueOrigine>French</q0:langueOrigine> 
        <q0:langueDestination>English</q0:langueDestination> 
        <q0:texteOriginal>Bonjour</q0:texteOriginal> 
        </q0:TraductionRequest>
        </soapenv:Body>
        </soapenv:Envelope
      
      SOAP Response Envelope
      
      The XML page cannot be displayed 
      Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later. 
      
      
      --------------------------------------------------------------------------------
      
      XML document must have a top level element. Error processing resource 'http://localhost:51246/wsexplorer/wsdl/soap_envelope...

      Comment

      Working...
      X