Umschlag von gegebener Quelle Sabre GetelectronicDocumentRQ -Anfrage nicht erstellen

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Umschlag von gegebener Quelle Sabre GetelectronicDocumentRQ -Anfrage nicht erstellen

by Anonymous » 11 Apr 2025, 12:57

Ich versuche, einen SOAP -Client für GetelectronicDocumentRQ Sabre zu erstellen.

Code: Select all

try
{
// No more boilerplate needed with top level statements (https://docs.microsoft.com/en-us/dotnet/core/tutorials/top-level-templates)
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://webservices.platform.sabre.com");

// request.Headers.TryAddWithoutValidation ("Authorization", token);
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token);
request.Headers.TryAddWithoutValidation("Cookie", "xxxx");

string xml= "\r\n    \r\n    \r\n    \r\n        6952836690549\r\n    \r\n";
//xml = xml.Trim().Replace("^([\\W]+)

Top