How to combine 2 XML requests
Is it possible to combine 2 XML requests with the same end point?
Execute Request 2 only if response status of Request 1 is "0".
Request 1:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://www.net2.com/mega/view/soap/types">
<soapenv:Header/>
<soapenv:Body>
<typ:SearchRequest limit="1">
<typ:searchParams view="enum-dns.zones.enum.e164enum_net.data" key="number='3133140001' rrid=0"/>
</typ:SearchRequest>
</soapenv:Body>
</soapenv:Envelope>
Request 2:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://www.net2.com/mega/view/soap/types">
<soapenv:Header/>
<soapenv:Body>
<typ:GetRequest view="enum-dns.zones.enum.e164enum_net.data" key="number='3133140001' rrid=0"/>
</soapenv:Body>
</soapenv:Envelope>