Note that there are some explanatory texts on larger screens.

plurals
  1. POSend more than one entry in SOAP
    text
    copied!<p>I'm creating an app which communicates with a SOAP web service using XML. I need to send more than one entry at once. The SOAP page says I need to use a XML like this one:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt; &lt;soap:Body&gt; &lt;InsertArrivaliOS xmlns="http://microsoft.com/webservices/"&gt; &lt;GuestID&gt;long&lt;/GuestID&gt; &lt;Key&gt;string&lt;/Key&gt; &lt;NumberOfGuests&gt;int&lt;/NumberOfGuests&gt; &lt;Table&gt;string&lt;/Table&gt; &lt;Note&gt;string&lt;/Note&gt; &lt;ArrivalDate&gt;dateTime&lt;/ArrivalDate&gt; &lt;/InsertArrivaliOS&gt; &lt;/soap:Body&gt; &lt;/soap:Envelope&gt; </code></pre> <p>I'd like to send 2 InsertArrivaliOS nodes. Is it possible to do something like this?</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt; &lt;soap:Body&gt; &lt;InsertArrivaliOS xmlns="http://microsoft.com/webservices/"&gt; &lt;GuestID&gt;long&lt;/GuestID&gt; &lt;Key&gt;string&lt;/Key&gt; &lt;NumberOfGuests&gt;int&lt;/NumberOfGuests&gt; &lt;Table&gt;string&lt;/Table&gt; &lt;Note&gt;string&lt;/Note&gt; &lt;ArrivalDate&gt;dateTime&lt;/ArrivalDate&gt; &lt;/InsertArrivaliOS&gt; &lt;InsertArrivaliOS xmlns="http://microsoft.com/webservices/"&gt; &lt;GuestID&gt;long&lt;/GuestID&gt; &lt;Key&gt;string&lt;/Key&gt; &lt;NumberOfGuests&gt;int&lt;/NumberOfGuests&gt; &lt;Table&gt;string&lt;/Table&gt; &lt;Note&gt;string&lt;/Note&gt; &lt;ArrivalDate&gt;dateTime&lt;/ArrivalDate&gt; &lt;/InsertArrivaliOS&gt; &lt;/soap:Body&gt; &lt;/soap:Envelope&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload