Webservice返回重复值

时间:2015-03-10 14:30:33

标签: c# web-services api

我正在使用航空公司API在我的网站上显示航班信息。但我面临的问题是,当我从我的网站或我的项目本地发出搜索请求时,我从API获取重复值。当我联系API团队时,我被告知如果服务器将生成重复值,我们将获得一个异常,并且值不会发送给您,并且您将因api的响应而失败。我被告知要检查我是否从我的结束发送重复的节点,但我无法弄清楚是什么问题。

我正在提出这样的要求:

protected void btnSearch_Click(object sender, EventArgs e)
{
    if (Page.IsValid)
    {
        //creating sessions
        Session["Adults"] = drpAdult.SelectedValue;
        Session["Child"] = drpChild.SelectedValue;
        Session["Infant"] = drpInfant.SelectedValue;
        Session["Source"] = drpFromDest.SelectedItem.Text;
        Session["Destination"] = drpToDest.SelectedItem.Text;
        Session["Date1"] = txtDepartDate.Text;
        if (txtReturnDate.Visible == true)
        {
            Session["Date2"] = txtReturnDate.Text;
        }

        string str;
        AuthenticationData authdata = new AuthenticationData();
        authdata.UserName = "$$$$$$";
        authdata.Password = "$$$$$$$$$$";

        BookingAPI bapi = new BookingAPI();
        bapi.Timeout = 300000;
        bapi.AuthenticationDataValue = authdata;

        WSSearchRequest searchrequest = new WSSearchRequest();
        searchrequest.Origin = drpFromDest.SelectedValue;
        searchrequest.Destination = drpToDest.SelectedValue;
        if (txtReturnDate.Visible == true)
            searchrequest.Type = SearchType.Return; //oneway return or multiway only
        else
            searchrequest.Type = SearchType.OneWay;

        searchrequest.CabinClass = CabinClass.All;
        searchrequest.PreferredCarrier = "";
        searchrequest.AdultCount = Convert.ToInt32(drpAdult.SelectedValue);
        searchrequest.ChildCount = Convert.ToInt32(drpChild.SelectedValue);
        searchrequest.SeniorCount = 0;
        searchrequest.InfantCount = Convert.ToInt32(drpInfant.SelectedValue);
        searchrequest.DepartureDate = Convert.ToDateTime(txtDepartDate.Text); //mm/dd/yyyy 
        if (txtReturnDate.Visible == true)
            searchrequest.ReturnDate = Convert.ToDateTime(txtReturnDate.Text);

        searchrequest.PromotionalPlanType = PromotionalPlanType.Normal;

        searchrequest.IsDirectFlight = chkDirect.Checked;

        try
        {
            WSSearchResponse searchresponse = new WSSearchResponse();
            searchresponse = bapi.Search(searchrequest);
            string s = Serialize(searchresponse);
            Session["SearchResponse"] = searchresponse;

            if (searchresponse.Status.StatusCode == "02" && searchresponse.RoundTrip == false)
                Response.Redirect("SearchResult.aspx?Trip=One");
            else if (searchresponse.Status.StatusCode == "02" && searchresponse.RoundTrip == true)
                Response.Redirect("SearchResult.aspx?Trip=Round");
            else
            {
                str = "<script>alert('Oops " + searchresponse.Status.Description + "!');</script>";
                ScriptManager.RegisterStartupScript(Page, this.GetType(), "alertmsg", str, false);
            }
        }
        catch (Exception ex)
        {
            str = "<script>alert('Oops operation timed out! May be due to internet speed or server error.');</script>";
            ScriptManager.RegisterStartupScript(Page, this.GetType(), "alertmsg", str, false);
        }
    }
}

当我在搜索功能上点击goto定义时。我被渲染为API的元数据,如下所示:

#region Assembly App_WebReferences.8pw4cves.dll, v4.0.30319
// C:\Users\Mubashir\AppData\Local\Temp\Temporary ASP.NET Files\travelweb\a2d29887\_shadow\911c803\1247547702\30432060\App_WebReferences.8pw4cves.dll
#endregion

using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Web.Services;
using System.Web.Services.Description;
using System.Web.Services.Protocols;

namespace com.travelboutiqueonline.airapi
{
    [DesignerCategory("code")]
    [GeneratedCode("System.Web.Services", "4.0.30319.17929")]
    [DebuggerStepThrough]
    [WebServiceBinding(Name = "BookingAPISoap", Namespace = "http://192.168.0.170/TT/BookingAPI")]
    public class BookingAPI : SoapHttpClientProtocol
    {
        public BookingAPI();

        public AuthenticationData AuthenticationDataValue { get; set; }

        public event AddBookingDetailCompletedEventHandler AddBookingDetailCompleted;
        public event AddWLAgentBookingCompletedEventHandler AddWLAgentBookingCompleted;
        public event BookCompletedEventHandler BookCompleted;
        public event CancelItineraryCompletedEventHandler CancelItineraryCompleted;
        public event EmailTicketCompletedEventHandler EmailTicketCompleted;
        public event GetAgencyBalanceCompletedEventHandler GetAgencyBalanceCompleted;
        public event GetAgencyCustomerDetailCompletedEventHandler GetAgencyCustomerDetailCompleted;
        public event GetAgencyCustomerListCompletedEventHandler GetAgencyCustomerListCompleted;
        public event GetBookingCompletedEventHandler GetBookingCompleted;
        public event GetBookingQueueCompletedEventHandler GetBookingQueueCompleted;
        public event GetCalendarFareCompletedEventHandler GetCalendarFareCompleted;
        public event GetChangeRequestQueueCompletedEventHandler GetChangeRequestQueueCompleted;
        public event GetChangeRequestStatusCompletedEventHandler GetChangeRequestStatusCompleted;
        public event GetFareQuoteCompletedEventHandler GetFareQuoteCompleted;
        public event GetFareRuleCompletedEventHandler GetFareRuleCompleted;
        public event GetPreferencesCompletedEventHandler GetPreferencesCompleted;
        public event GetSSRCompletedEventHandler GetSSRCompleted;
        public event GetTicketQueueCompletedEventHandler GetTicketQueueCompleted;
        public event GetTicketResponseCompletedEventHandler GetTicketResponseCompleted;
        public event GetTripDetailCompletedEventHandler GetTripDetailCompleted;
        public event LCCTicketCompletedEventHandler LCCTicketCompleted;
        public event NonLCCTicketCompletedEventHandler NonLCCTicketCompleted;
        public event SaveUpateDeatilsOfCustomerCompletedEventHandler SaveUpateDeatilsOfCustomerCompleted;
        public event SearchCompletedEventHandler SearchCompleted;
        public event SendChangeRequestCompletedEventHandler SendChangeRequestCompleted;
        public event TicketCompletedEventHandler TicketCompleted;
        public event UpdateCalendarFareOfDayCompletedEventHandler UpdateCalendarFareOfDayCompleted;
        public event UpdateFeeCompletedEventHandler UpdateFeeCompleted;

        [SoapHeader("AuthenticationDataValue")]
        [SoapDocumentMethod("http://192.168.0.170/TT/BookingAPI/AddBookingDetail", RequestNamespace = "http://192.168.0.170/TT/BookingAPI", ResponseNamespace = "http://192.168.0.170/TT/BookingAPI", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        public WSAddBookingResponse AddBookingDetail(WSAddBookingRequest saveRequest);
        public void AddBookingDetailAsync(WSAddBookingRequest saveRequest);
        public void AddBookingDetailAsync(WSAddBookingRequest saveRequest, object userState);
        [SoapDocumentMethod("http://192.168.0.170/TT/BookingAPI/AddWLAgentBooking", RequestNamespace = "http://192.168.0.170/TT/BookingAPI", ResponseNamespace = "http://192.168.0.170/TT/BookingAPI", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        [SoapHeader("AuthenticationDataValue")]
        public WSStatus AddWLAgentBooking(int bookingId, string siteId, ProductType productType);
        public void AddWLAgentBookingAsync(int bookingId, string siteId, ProductType productType);
        public void AddWLAgentBookingAsync(int bookingId, string siteId, ProductType productType, object userState);
        public IAsyncResult BeginAddBookingDetail(WSAddBookingRequest saveRequest, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginAddWLAgentBooking(int bookingId, string siteId, ProductType productType, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginBook(WSBookRequest bookRequest, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginCancelItinerary(WSCancelItineraryRequest cancelRequest, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginEmailTicket(int ticketId, string to, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginGetAgencyBalance(bool isAirlineLcc, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginGetAgencyCustomerDetail(WSAgencyCustomerListRequest wsAgencyCustomerListRequest, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginGetAgencyCustomerList(WSAgencyCustomerListRequest wsAgencyCustomerListRequest, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginGetBooking(WSGetBookingRequest bookingRequest, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginGetBookingQueue(WSBookingQueueRequest wsBookingQueueRequest, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginGetCalendarFare(WSGetCalendarFareRequest calanderFareRequest, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginGetChangeRequestQueue(WSChangeRequestQueueRequest wsChangeRequestQueueRequest, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginGetChangeRequestStatus(WSChangeRequestStatusRequest request, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginGetFareQuote(WSGetFareQuoteRequest fareQuoteRequest, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginGetFareRule(WSFareRuleRequest fareRuleRequest, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginGetPreferences(AsyncCallback callback, object asyncState);
        public IAsyncResult BeginGetSSR(WSGetSSRRequest ssrRequest, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginGetTicketQueue(WSTicketQueueRequest wsTicketQueueRequest, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginGetTicketResponse(string SessionId, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginGetTripDetail(WSGetTripDetailRequest tripRequest, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginLCCTicket(WSTicketRequest wsTicketRequest, string bookRequestXML, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginNonLCCTicket(string pnr, BookingSource gdsName, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginSaveUpateDeatilsOfCustomer(WSSaveUpdateCustomerRequest wsSaveUpadteCustomerRequest, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginSearch(WSSearchRequest request, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginSendChangeRequest(WSSendChangeRequest request, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginTicket(WSTicketRequest wsTicketRequest, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginUpdateCalendarFareOfDay(WSUpdatedCalendarFareOfDayRequest updateRequest, AsyncCallback callback, object asyncState);
        public IAsyncResult BeginUpdateFee(WSUpdateFeeRequest saveRequest, AsyncCallback callback, object asyncState);
        [SoapHeader("AuthenticationDataValue")]
        [SoapDocumentMethod("http://192.168.0.170/TT/BookingAPI/Book", RequestNamespace = "http://192.168.0.170/TT/BookingAPI", ResponseNamespace = "http://192.168.0.170/TT/BookingAPI", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        public WSBookResponse Book(WSBookRequest bookRequest);
        public void BookAsync(WSBookRequest bookRequest);
        public void BookAsync(WSBookRequest bookRequest, object userState);
        public void CancelAsync(object userState);
        [SoapDocumentMethod("http://192.168.0.170/TT/BookingAPI/CancelItinerary", RequestNamespace = "http://192.168.0.170/TT/BookingAPI", ResponseNamespace = "http://192.168.0.170/TT/BookingAPI", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        [SoapHeader("AuthenticationDataValue")]
        public WSCancelItineraryResponse CancelItinerary(WSCancelItineraryRequest cancelRequest);
        public void CancelItineraryAsync(WSCancelItineraryRequest cancelRequest);
        public void CancelItineraryAsync(WSCancelItineraryRequest cancelRequest, object userState);
        [SoapDocumentMethod("http://192.168.0.170/TT/BookingAPI/EmailTicket", RequestNamespace = "http://192.168.0.170/TT/BookingAPI", ResponseNamespace = "http://192.168.0.170/TT/BookingAPI", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        [SoapHeader("AuthenticationDataValue")]
        public void EmailTicket(int ticketId, string to);
        public void EmailTicketAsync(int ticketId, string to);
        public void EmailTicketAsync(int ticketId, string to, object userState);
        public WSAddBookingResponse EndAddBookingDetail(IAsyncResult asyncResult);
        public WSStatus EndAddWLAgentBooking(IAsyncResult asyncResult);
        public WSBookResponse EndBook(IAsyncResult asyncResult);
        public WSCancelItineraryResponse EndCancelItinerary(IAsyncResult asyncResult);
        public void EndEmailTicket(IAsyncResult asyncResult);
        public WSGetAgencyBalanceResponse EndGetAgencyBalance(IAsyncResult asyncResult);
        public WSAgencyCustomerListResponse EndGetAgencyCustomerDetail(IAsyncResult asyncResult);
        public WSAgencyCustomerListResponse EndGetAgencyCustomerList(IAsyncResult asyncResult);
        public WSGetBookingResponse EndGetBooking(IAsyncResult asyncResult);
        public WSBookingQueueResponse EndGetBookingQueue(IAsyncResult asyncResult);
        public WSGetCalendarFareResponse EndGetCalendarFare(IAsyncResult asyncResult);
        public WSChangeRequestQueueResponse EndGetChangeRequestQueue(IAsyncResult asyncResult);
        public WSChangeRequestStatusResponse EndGetChangeRequestStatus(IAsyncResult asyncResult);
        public WSGetFareQuoteResponse EndGetFareQuote(IAsyncResult asyncResult);
        public WSFareRuleResponse EndGetFareRule(IAsyncResult asyncResult);
        public WSUserPreference EndGetPreferences(IAsyncResult asyncResult);
        public WSGetSSRResponse EndGetSSR(IAsyncResult asyncResult);
        public WSTicketQueueResponse EndGetTicketQueue(IAsyncResult asyncResult);
        public WSTicketResponse EndGetTicketResponse(IAsyncResult asyncResult);
        public WSGetTripDetailResponse EndGetTripDetail(IAsyncResult asyncResult);
        public WSTicketResponse EndLCCTicket(IAsyncResult asyncResult);
        public WSTicketResponse EndNonLCCTicket(IAsyncResult asyncResult);
        public WSSaveUpdateCustomerResponse EndSaveUpateDeatilsOfCustomer(IAsyncResult asyncResult);
        public WSSearchResponse EndSearch(IAsyncResult asyncResult);
        public WSSendChangeRequestResponse[] EndSendChangeRequest(IAsyncResult asyncResult);
        public WSTicketResponse EndTicket(IAsyncResult asyncResult);
        public WSUpdatedCalendarFareOfDayResponse EndUpdateCalendarFareOfDay(IAsyncResult asyncResult);
        public WSUpdateFeeResponse EndUpdateFee(IAsyncResult asyncResult);
        [SoapDocumentMethod("http://192.168.0.170/TT/BookingAPI/GetAgencyBalance", RequestNamespace = "http://192.168.0.170/TT/BookingAPI", ResponseNamespace = "http://192.168.0.170/TT/BookingAPI", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        [SoapHeader("AuthenticationDataValue")]
        public WSGetAgencyBalanceResponse GetAgencyBalance(bool isAirlineLcc);
        public void GetAgencyBalanceAsync(bool isAirlineLcc);
        public void GetAgencyBalanceAsync(bool isAirlineLcc, object userState);
        [SoapDocumentMethod("http://192.168.0.170/TT/BookingAPI/GetAgencyCustomerDetail", RequestNamespace = "http://192.168.0.170/TT/BookingAPI", ResponseNamespace = "http://192.168.0.170/TT/BookingAPI", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        [SoapHeader("AuthenticationDataValue")]
        public WSAgencyCustomerListResponse GetAgencyCustomerDetail(WSAgencyCustomerListRequest wsAgencyCustomerListRequest);
        public void GetAgencyCustomerDetailAsync(WSAgencyCustomerListRequest wsAgencyCustomerListRequest);
        public void GetAgencyCustomerDetailAsync(WSAgencyCustomerListRequest wsAgencyCustomerListRequest, object userState);
        [SoapDocumentMethod("http://192.168.0.170/TT/BookingAPI/GetAgencyCustomerList", RequestNamespace = "http://192.168.0.170/TT/BookingAPI", ResponseNamespace = "http://192.168.0.170/TT/BookingAPI", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        [SoapHeader("AuthenticationDataValue")]
        public WSAgencyCustomerListResponse GetAgencyCustomerList(WSAgencyCustomerListRequest wsAgencyCustomerListRequest);
        public void GetAgencyCustomerListAsync(WSAgencyCustomerListRequest wsAgencyCustomerListRequest);
        public void GetAgencyCustomerListAsync(WSAgencyCustomerListRequest wsAgencyCustomerListRequest, object userState);
        [SoapHeader("AuthenticationDataValue")]
        [SoapDocumentMethod("http://192.168.0.170/TT/BookingAPI/GetBooking", RequestNamespace = "http://192.168.0.170/TT/BookingAPI", ResponseNamespace = "http://192.168.0.170/TT/BookingAPI", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        public WSGetBookingResponse GetBooking(WSGetBookingRequest bookingRequest);
        public void GetBookingAsync(WSGetBookingRequest bookingRequest);
        public void GetBookingAsync(WSGetBookingRequest bookingRequest, object userState);
        [SoapDocumentMethod("http://192.168.0.170/TT/BookingAPI/GetBookingQueue", RequestNamespace = "http://192.168.0.170/TT/BookingAPI", ResponseNamespace = "http://192.168.0.170/TT/BookingAPI", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        [SoapHeader("AuthenticationDataValue")]
        public WSBookingQueueResponse GetBookingQueue(WSBookingQueueRequest wsBookingQueueRequest);
        public void GetBookingQueueAsync(WSBookingQueueRequest wsBookingQueueRequest);
        public void GetBookingQueueAsync(WSBookingQueueRequest wsBookingQueueRequest, object userState);
        [SoapDocumentMethod("http://192.168.0.170/TT/BookingAPI/GetCalendarFare", RequestNamespace = "http://192.168.0.170/TT/BookingAPI", ResponseNamespace = "http://192.168.0.170/TT/BookingAPI", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        [SoapHeader("AuthenticationDataValue")]
        public WSGetCalendarFareResponse GetCalendarFare(WSGetCalendarFareRequest calanderFareRequest);
        public void GetCalendarFareAsync(WSGetCalendarFareRequest calanderFareRequest);
        public void GetCalendarFareAsync(WSGetCalendarFareRequest calanderFareRequest, object userState);
        [SoapDocumentMethod("http://192.168.0.170/TT/BookingAPI/GetChangeRequestQueue", RequestNamespace = "http://192.168.0.170/TT/BookingAPI", ResponseNamespace = "http://192.168.0.170/TT/BookingAPI", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        [SoapHeader("AuthenticationDataValue")]
        public WSChangeRequestQueueResponse GetChangeRequestQueue(WSChangeRequestQueueRequest wsChangeRequestQueueRequest);
        public void GetChangeRequestQueueAsync(WSChangeRequestQueueRequest wsChangeRequestQueueRequest);
        public void GetChangeRequestQueueAsync(WSChangeRequestQueueRequest wsChangeRequestQueueRequest, object userState);
        [SoapDocumentMethod("http://192.168.0.170/TT/BookingAPI/GetChangeRequestStatus", RequestNamespace = "http://192.168.0.170/TT/BookingAPI", ResponseNamespace = "http://192.168.0.170/TT/BookingAPI", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        [SoapHeader("AuthenticationDataValue")]
        public WSChangeRequestStatusResponse GetChangeRequestStatus(WSChangeRequestStatusRequest request);
        public void GetChangeRequestStatusAsync(WSChangeRequestStatusRequest request);
        public void GetChangeRequestStatusAsync(WSChangeRequestStatusRequest request, object userState);
        [SoapHeader("AuthenticationDataValue")]
        [SoapDocumentMethod("http://192.168.0.170/TT/BookingAPI/GetFareQuote", RequestNamespace = "http://192.168.0.170/TT/BookingAPI", ResponseNamespace = "http://192.168.0.170/TT/BookingAPI", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        public WSGetFareQuoteResponse GetFareQuote(WSGetFareQuoteRequest fareQuoteRequest);
        public void GetFareQuoteAsync(WSGetFareQuoteRequest fareQuoteRequest);
        public void GetFareQuoteAsync(WSGetFareQuoteRequest fareQuoteRequest, object userState);
        [SoapHeader("AuthenticationDataValue")]
        [SoapDocumentMethod("http://192.168.0.170/TT/BookingAPI/GetFareRule", RequestNamespace = "http://192.168.0.170/TT/BookingAPI", ResponseNamespace = "http://192.168.0.170/TT/BookingAPI", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        public WSFareRuleResponse GetFareRule(WSFareRuleRequest fareRuleRequest);
        public void GetFareRuleAsync(WSFareRuleRequest fareRuleRequest);
        public void GetFareRuleAsync(WSFareRuleRequest fareRuleRequest, object userState);
        [SoapHeader("AuthenticationDataValue")]
        [SoapDocumentMethod("http://192.168.0.170/TT/BookingAPI/GetPreferences", RequestNamespace = "http://192.168.0.170/TT/BookingAPI", ResponseNamespace = "http://192.168.0.170/TT/BookingAPI", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        public WSUserPreference GetPreferences();
        public void GetPreferencesAsync();
        public void GetPreferencesAsync(object userState);
        [SoapHeader("AuthenticationDataValue")]
        [SoapDocumentMethod("http://192.168.0.170/TT/BookingAPI/GetSSR", RequestNamespace = "http://192.168.0.170/TT/BookingAPI", ResponseNamespace = "http://192.168.0.170/TT/BookingAPI", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        public WSGetSSRResponse GetSSR(WSGetSSRRequest ssrRequest);
        public void GetSSRAsync(WSGetSSRRequest ssrRequest);
        public void GetSSRAsync(WSGetSSRRequest ssrRequest, object userState);
        [SoapHeader("AuthenticationDataValue")]
        [SoapDocumentMethod("http://192.168.0.170/TT/BookingAPI/GetTicketQueue", RequestNamespace = "http://192.168.0.170/TT/BookingAPI", ResponseNamespace = "http://192.168.0.170/TT/BookingAPI", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        public WSTicketQueueResponse GetTicketQueue(WSTicketQueueRequest wsTicketQueueRequest);
        public void GetTicketQueueAsync(WSTicketQueueRequest wsTicketQueueRequest);
        public void GetTicketQueueAsync(WSTicketQueueRequest wsTicketQueueRequest, object userState);
        [SoapDocumentMethod("http://192.168.0.170/TT/BookingAPI/GetTicketResponse", RequestNamespace = "http://192.168.0.170/TT/BookingAPI", ResponseNamespace = "http://192.168.0.170/TT/BookingAPI", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        [SoapHeader("AuthenticationDataValue")]
        public WSTicketResponse GetTicketResponse(string SessionId);
        public void GetTicketResponseAsync(string SessionId);
        public void GetTicketResponseAsync(string SessionId, object userState);
        [SoapDocumentMethod("http://192.168.0.170/TT/BookingAPI/GetTripDetail", RequestNamespace = "http://192.168.0.170/TT/BookingAPI", ResponseNamespace = "http://192.168.0.170/TT/BookingAPI", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
        [SoapHeader("AuthenticationDataValue")]
        public WSGetTripDetailResponse GetTripDetail(WSGetTripDetailRequest tripRequest);

    }
}

0 个答案:

没有答案