binding - TravelPort WCF call issue -


The service to travelport .. has added their WSDL file trying to make a WCF call.

The issue is that the endpoint is known as "https" and when calling, your Uri schema expects http .. wsHttpBinding to try to change the binding from basicHttpBinding, but it does not raise the second expection of the binding kind Recognized ..

Tried to use the same URL with the http scheme but this request can be given to any specific tutorial for calling out the Travel Port WCF

That would be a great side to that. .

The sample code is as follows (if it can be of any help :))

  Pingrek rake = new pingreck (); Req.Payload = "Payload"; Req.TraceId = "abcd"; SystemPingPortTypeClient Port = New SystemPingPortTypeClient (); PingRSP rsp = port.service (req);   

Regards,

  LowFareSearchReq request = new LowFareSearchReq (); Req.TargetBranch = "{EnterBranchCode}"; Req.AuthorizedBy = "test"; BillingpointAFFileInfo biPOS = new billingpointOffFix (); BiPOS.OriginApplication = "uAPI"; Req.BillingPointOfSaleInfo = biPOS; // BOM search from LHRIrlagArilag = new searcharlog (); Airport to airport = new airport () {code = "LHR"}; Typologue = new type searchplace from type-search location () {items = from appleport}; AirLeg.SearchOrigin = New Type Searchplace [1] {fromTypLoc}; Airport for airport = new airport () {code = "bom"}; Type: SearchlightTypolok = New TypeSearch space () {items = toErportport}; AirLeg.SearchDestination = New Type Searchplace [1] {toTypLoc}; TypeTimeSpec origDep = new typetimeSPEC () {priority time = "2013-05-24"}; AirLeg.Items = new type time espec [1] {origDep}; // LHR search from BOM Return to IRLL = new searchIrlag (); Airport Airport 1 = new airport () {code = "BOM"}; TypeLocation LocationsType 1 = New Type SearchPosition () {items = fromApplication1}; Come backlarg Search engine = new type of search location [1] {fromTypLoc1}; Airport Airport 1 = New Airport () {code = "LHR"}; Type: Searchlight TypeType 1 = New TypeSearch space () {items = toAirPort1}; Come backlarg Search Extension = New Type Searchplace [1] {toTypLoc1}; TypeTimeSpec destDep = new typetimeSPEC () {preferred time = "2013-05-27"}; ReturnArlag.item = new typeTimeSpeak [1] {destDep}; Req.Items = new object [] {airLeg, returnArlag}; // modifiers AirSearchModifiers airSearchMod = new AirSearchModifiers () {DistanceType = typeDistance.MI, IncludeFlightDetails = true, PreferNonStop = true, MaxSolutions = "300", PreferredProviders = new provider [1] {new provider () {code = "1G "}}}; Air packing modifier airprimmod = new airproduction modifier () {filed credits = "GBP"}; Req.AirSearchModifiers = airSearchMod; Req.AirPricingModifiers = airPriceMod; // Passenger details searchPassenger pass1 = new searchpager () {code = "ADT"}; SearchPassenger pass2 = New search passenger () {code = "ADT"}; Req.SearchPassenger = New Search Passenger [] {Passed 1, Pass 2}; // reponse LowFareSearchRsp res = New LowFareSearchRsp (); AirLowFareSearchPortTypeClient CLI = new AirLowFareSearchPortTypeClient ( "AirLowFareSearchPort"); Cli.ClientCredentials.UserName.UserName = "Enter User Name"; Cli.ClientCredentials.UserName.Password = "Enter Password"; Res = cli.service (req);   

above sample code works for me when you catch the exception, you may find some code, after which you can ask the people of Travelport the reason why he is happy Happened. Your credentials could be simple things like being locked.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -