My page must get a response from a web service with the following calls:
GetModBook.InvService.InventoryServiceClient isc = new GetModBook.InvService.InventoryServiceClient();
GetModBook.InvService.GetModBookingsOperationRequest gmoreq = new GetModBook.InvService.GetModBookingsOperationRequest();
GetModBook.InvService.GetModBookingsOperationResponse gmores = new GetModBook.InvService.GetModBookingsOperationResponse();
GetModBookingsOperationResponse
has a field called Bookings with an array of Booking as such
public GetModBookingsOperationResponse
{
public Booking Bookings;
}
I have used the request portion of a web service
example:
gmoreq.RatePackages = new GetModBook.InvService.GetModBookingsOperationRequest[NoofRatePackages]
Editted:
but I do not know how to call the response portion
Any advise would be greatly appreciated.
Editted:
GetModBookingsResponse GetModBookings(GetModBookingsRequest request)