locked
GetAppIDToken Error RRS feed

  • Question

  • I am trying to test the WS method via soapUI and when I pass in 'myAppId' as the appId I get a generic error

     

    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
       <s:Body>
          <s:Fault>
             <faultcode>s:Client</faultcode>
             <faultstring xml:lang="en-US">ArgumentException: Invalid appId
    Parameter name: appId : ID=3737.V2_Soap.GetAppIdToken.469BB266</faultstring>
          </s:Fault>
       </s:Body>
    </s:Envelope>

     

    What is the problem here ? Thanks

    Wednesday, April 27, 2011 8:32 PM

All replies

  • The GetAppIdToken method expects a valid appid from http://bing.com/developers. It looks like a string of 40 hex digits. If your appid gets rejected, please visit http://bing.com/developers using your LiveID login, and verify your appid.

    Hope this makes sense,
    Chris Wendt
    Microsoft Translator

    Sunday, May 1, 2011 1:40 PM
  • I even get the same error.

    Invalid appId
    Parameter name: appId.

    I generated a application id 2 minutes before i use it from http://bing.com/developers. But by default the app id state as disabled. So when i use it through my application it throws exception as above.


    Thursday, June 21, 2012 6:41 PM
  • Hi Praveen:

    To access the translator SOAP service, we recommend using the Windows Azure Marketplace authentication. The Bing appID methodology is being deprecated, and newer appID's may not work.

    This thread has an example that shows how to get that and use it for a SOAP call in VB.NET. If you need help getting it to work in other languages, let us know.

    http://social.msdn.microsoft.com/Forums/en-US/microsofttranslator/thread/3f9a270e-3360-4aa1-9eb8-669145298d45

    Laurence

    Friday, June 22, 2012 2:24 PM