savon_spec icon indicating copy to clipboard operation
savon_spec copied to clipboard

Please provide example of XML file with SOAP response

Open kristianmandrup opened this issue 13 years ago • 1 comments

I currently put the following in an xml file, but somehow it doesn't seem to work with savon_spec. Should I only put the part inside the <soapenv:Body> ? or what?

<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <soapenv:Fault>
        <faultcode>soapenv:Server</faultcode>
        <faultstring>{ 'INVALID_INPUT' }</faultstring>
        <detail>
            <Exception>org.apache.axis2.AxisFault: { 'INVALID_INPUT' }</Exception>
        </detail>
      </soapenv:Fault>
   </soapenv:Body>
</soapenv:Envelope>

kristianmandrup avatar Nov 23 '11 15:11 kristianmandrup

Not, the above is of course in reality in full XML syntax

kristianmandrup avatar Nov 23 '11 15:11 kristianmandrup