I want to consume a PUT WCF service over a https connection from a BizTalk orchestration dynamic send port so far I am using this code in my message assignment shape
XMLDocumentOutput(WCF.MaxReceivedMessageSize)= 2147483647;
XMLDocumentOutput(WCF.HttpMethodAndUrl) = @"<BtsHttpUrlMapping> <Operation Name='RestPUT' Method='PUT' /> </BtsHttpUrlMapping>";
XMLDocumentOutput(WCF.TransportClientCredentialType) = "Transport";
XMLDocumentOutput(WCF.SecurityMode)="Transport";
XMLDocumentOutput(WCF.UseSSO) = false;
XMLDocumentOutput(WCF.HttpHeaders) = "Authorization: Basic AbScSfKajfsalAbScSfKajfsalAbScSfKajfsal=";
PortName(Microsoft.XLANGs.BaseTypes.Address) = "https://example.com/url/url2";
PortName(Microsoft.XLANGs.BaseTypes.TransportType)="WCF-WSHttp";
URL: https://example.com/url/url2 Method: PUT
I am not able to consume service and getting following error The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was ''. HTTP auth header not found
The server is using basic authentication.
Thanks
I ended up calling a C# method and making HttpWebRequest. Still would love to know if anybody has love for it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.