SOA& Web Service 教育部-BM专业综合改革项目 Example1: SOAP Message Travel Reservation (3/3) <p: return> <p: departing Los Angeles<p: departing> <p: arriving> New York</p: arriving> <p: departure Date> 2010-12-20</p: departure Date> <p: departure Time>mid-morning</p departureTime> <p: seatPreference/> </p: return> <lp: itinerary> ≤ g: lodging xmins:qe"http://travelcompany.exampleorg/reservation/hotels"> <q: preference>none</q: preference> <lq: lodging <lenv: Body> </env: Envelope> Lan Zhou University
SOA & Web Service Lan Zhou University 教育部-IBM专业综合改革项目 <p:return> <p:departing>Los Angeles</p:departing> <p:arriving>New York</p:arriving> <p:departureDate>2010-12-20</p:departureDate> <p:departureTime>mid-morning</p:departureTime> <p:seatPreference/> </p:return> </p:itinerary> <q:lodging xmlns:q="http://travelcompany.example.org/reservation/hotels"> <q:preference>none</q:preference> </q:lodging> </env:Body> </env:Envelope> Example1: SOAP Message Travel Reservation (3/3)
SOA& Web Service 教育部-BM专业综合改革项目 Example2: SOAP Message Response Travel Reservation Choices of Airport (1/2 <?xml version=1.0?> <env:Envelopexmins:env="http://www.w3.org/2003/05/soap-envelope"> <env: Header <m:reservationxmlnsm="http://travelcompanyexampleorglreservation env:role="http://www.w3.org/2003/05/soap-envelope/role/next env mustUnderstand="true"> <m: reference>uuid: 093a2da1-9345-739r-ba5d-pqff98fe8j7d</m: reference> <m: date AndTime>2001-11-29T13: 35: 00.000-05: 00</m dateAndTime> </m: reservation> <n:passengerxmins:n="http://mycompany.examplecom/employees env:role="http://www.w3.org/2003/05/soap-envelope/role/next eny: mustUnderstand=true"> <n: name>Ake Jogvan Oyvind</n:name> </n: passenger> Reference to request </env: Header> message Lan Zhou University
SOA & Web Service Lan Zhou University 教育部-IBM专业综合改革项目 Example2:SOAP Message Response Travel Reservation - Choices of Airport (1/2)
SOA& Web Service 教育部-BM专业综合改革项目 Example2: SOAP Message Response Travel Reservation Choices of Airport (212) <env: Bod <p: itinerary Clarification xmins:p="http:/travelcompany.exampleorg/reservation/travel"> <p: departure> p: departing> p: airport choices> Application defined schema JFK LGA EWR </p: airport choices> </p: departing </p: departure> ≤p: return> p arrivin ig? <p: airportchoices> JFK LGA EWR </p: airportchoices> </p: arriving> </p: return> </p: itinerary Clarification> </env: Body> </env Envelope> Lan Zhou University
SOA & Web Service Lan Zhou University 教育部-IBM专业综合改革项目 Example2:SOAP Message Response Travel Reservation - Choices of Airport (2/2)
SOA& Web Service 教育部-BM专业综合改革项目 Example3: SOAP Message Travel Reservation Airport Information (12 <?xml version=1.0?> <env: Envelope xmins env="htTp: //ww.w3.org/2003/05/soap-envelope"> <env: Header> <mreservationxminsm="http://travelcompany.exampleorg/reservation envrole="http://ww.w3.org/2003/05/soap-envelope/role/next env mustUnderstand="true> <m: reference>uuid: 093a2da1-0345-739r-ba5d-pqff98fe8j7d</m reference> <m date and Time>2001-11-29T13: 36: 50.000-05: 00</m date And Time> </m reservation> <npassengerxminsn="http://mycompany.examplecom/employees envrole=http://ww.w3.org/2003/05/soap-envelope/role/next env mustUnderstand="true> <n name>Ake Jogvan Oyvind</n name> Lan Zhou University
SOA & Web Service Lan Zhou University 教育部-IBM专业综合改革项目 Example3: SOAP Message Travel Reservation --Airport Information(1/2) <?xml version='1.0' ?> <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> <env:Header> <m:reservation xmlns:m="http://travelcompany.example.org/reservation" env:role="http://www.w3.org/2003/05/soap-envelope/role/next" env:mustUnderstand="true"> <m:reference>uuid:093a2da1-q345-739r-ba5d-pqff98fe8j7d</m:reference> <m:dateAndTime>2001-11-29T13:36:50.000-05:00</m:dateAndTime> </m:reservation> <n:passenger xmlns:n="http://mycompany.example.com/employees" env:role=http://www.w3.org/2003/05/soap-envelope/role/next env:mustUnderstand="true"> <n:name>Åke Jógvan Øyvind</n:name>
SOA& Web Service 教育部-BM专业综合改革项目 Example3: SOAP Message Travel Reservation Airport Information(22 </n passenger </env Header> ≤env:Body> <pitineraryxmins:p="http:travelcompany.exampleorg/reservation/travel"> p: departure> <p: departing> LGA</p departing </p: departure> <p return> <p arriving EWR</p arriving> </p: return> </p: itinerary> </env: Body> </env: Envelope> Lan Zhou University
SOA & Web Service Lan Zhou University 教育部-IBM专业综合改革项目 </n:passenger> </env:Header> <env:Body> <p:itinerary xmlns:p="http://travelcompany.example.org/reservation/travel"> <p:departure> <p:departing>LGA</p:departing> </p:departure> <p:return> <p:arriving>EWR</p:arriving> </p:return> </p:itinerary> </env:Body> </env:Envelope> Example3: SOAP Message Travel Reservation --Airport Information(2/2)