Examples Of Parameter Values |
EXAMPLE Suppose a client application requests all scheduled tours to Brazil or Canada departing after January 23, 2006. The SOAP request message is: <soap:Envelope> <soap:Header/> <soap:Body> <GetTours> <AfterDate>2006-01-23</AfterDate> <Destinations> <Destination1>BRAZIL</Destination1> <Destination2>CANADA</Destination2> </Destinations> </GetTours> </soap:Body> </soap:Envelope> For this SOAP request message:
<Destinations> <Destination1>BRAZIL</Destination1> <Destination2>CANADA</Destination2> </Destinations> The response SOAP message of the Web service provider is: <soap:Envelope> <soap:Header/> <soap:Body> <GetToursResponse> <Count>1</Count> <Tours> <Tour> <Schedtour_ID>27</Schedtour_ID> <Destination>CANADA</Destination> <StartDate>2006-02-02</StartDate> <ReturnDate>2006-02-23</ReturnDate> </Tour> </Tours> </GetToursResponse> </soap:Body> </soap:Envelope> For this SOAP response message:
<Tours> <Tour> <Schedtour_ID>27</Schedtour_ID> <Destination>CANADA</Destination> <StartDate>2006-02-02</StartDate> <ReturnDate>2006-02-23</ReturnDate> </Tour> </Tours> |