Send more than one entry in SOAP

MiMa79

New Member
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:\[code\]<?xml version="1.0" encoding="utf-8"?><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/"> <soap:Body> <InsertArrivaliOS xmlns="http://microsoft.com/webservices/"> <GuestID>long</GuestID> <Key>string</Key> <NumberOfGuests>int</NumberOfGuests> <Table>string</Table> <Note>string</Note> <ArrivalDate>dateTime</ArrivalDate> </InsertArrivaliOS> </soap:Body></soap:Envelope>\[/code\]I'd like to send 2 InsertArrivaliOS nodes. Is it possible to do something like this?\[code\]<?xml version="1.0" encoding="utf-8"?><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/"> <soap:Body> <InsertArrivaliOS xmlns="http://microsoft.com/webservices/"> <GuestID>long</GuestID> <Key>string</Key> <NumberOfGuests>int</NumberOfGuests> <Table>string</Table> <Note>string</Note> <ArrivalDate>dateTime</ArrivalDate> </InsertArrivaliOS><InsertArrivaliOS xmlns="http://microsoft.com/webservices/"> <GuestID>long</GuestID> <Key>string</Key> <NumberOfGuests>int</NumberOfGuests> <Table>string</Table> <Note>string</Note> <ArrivalDate>dateTime</ArrivalDate> </InsertArrivaliOS> </soap:Body></soap:Envelope>\[/code\]
 
Back
Top