http://www.perlmonks.org?node_id=1015665


in reply to Re: SOAP::Lite contract mismatch error
in thread [SOLVED]SOAP::Lite contract mismatch error

I have "Authorization" header in my http request. You can see it in my debug information:

Authorization: Bearer http%253a%252f%252fschemas.xmlsoap.org%252fws%25 +2f2005%252f05%252fidentity%252fclaims%252fnameidentifier%3DBingTransl +ationTest%26http%253a%252f%252fschemas.microsoft.com%252faccesscontro +lservice%252f2010%252f07%252fclaims%252fidentityprovider%3Dhttps%253a +%252f%252fdatamarket.accesscontrol.windows.net%252f%26Audience%3Dhttp +%253a%252f%252fapi.microsofttranslator.com%26ExpiresOn%3D1359323697%2 +6Issuer%3Dhttps%253a%252f%252fdatamarket.accesscontrol.windows.net%25 +2f%26HMACSHA256%3Dd4RTa2yAxgndSazm3Ikg0H%252bs3k24wua4rXqZvrUP90Y%253

And in the code:

$soap->transport->http_request->header('Authorization' => $token);