savon_spec
savon_spec copied to clipboard
Please provide example of XML file with SOAP response
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>
Not, the above is of course in reality in full XML syntax