Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: SOAP::Lite contract mismatch error

by RichardK (Priest)
on Jan 28, 2013 at 00:44 UTC ( #1015601=note: print w/ replies, xml ) Need Help??


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

try reading the documentation you linked to!

 Authorization    : Required. Specify the the value of access_token in format "Bearer" + " " + Access Token Value


Comment on Re: SOAP::Lite contract mismatch error
Download Code
Re^2: SOAP::Lite contract mismatch error
by milovidov (Novice) on Jan 28, 2013 at 10:02 UTC

    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);

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015601]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2014-08-30 12:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls