For full functionality of this site it is necessary to enable JavaScript.
Here are the instructions how to enable JavaScript in your web browser.

Knowledge base

Find the answer to your question

Advanced Search PView

Search terms
Search Type
Product
Category
Language
Format
SDK
Sort by
Direction

Error 2 - Unsupported Verb error for SOAP request

  • Answer ID 869
  • Published 01/10/2007 12:16 PM
  • Updated 10/20/2013 06:41 AM
  • Permalink https://ebaydts.com/eBayKBDetails?KBid=869
Product

Why am I getting the following error message for my SOAP request?
 

  <Errors>

    <ShortMessage>Unsupported verb.</ShortMessage>

    <LongMessage>The API verb is not supported in this release..</LongMessage>

    <ErrorCode>2</ErrorCode>

    <SeverityCode>Error</SeverityCode>

    <ErrorClassification>RequestError</ErrorClassification>

  </Errors>


Summary

You will see this error if you use the Schema XML server url.  For instance if you use the Schema XML URL to make a request to Sandbox with https://api.sandbox.ebay.com/ws/api.dll , you will get back an XML Schema response instead of a SOAP response with ErrorCode 2.
 


Detailed Description

For SOAP requests you need to use the following URL:

Sandbox:
https://api.sandbox.ebay.com/wsapi?callname=<callName>&siteid=<siteId>&appid=<appId>&version=<version>&routing=default

Production:
https://api.ebay.com/wsapi?callname=<callName>&siteid=<siteId>&appid=<appId>&version=<version>&routing=default

where the paramaters are as follows:
<callName> is the API call that you need to invoke
<siteId> is the numeric value for eBay site to which you target the call
<appId> is your AppID which is a part of your keys
<version> is the compatibility level with which you make the call

Note:

If you use the .NET or the Java SDK, you just need to set the ServerURL.  The SDK will set the parameters for the url automatically.
 


Version Info

The code example above was based on the versions specified below:

API Schema Version 491



Additional Resources

How well did this answer your question?

Answers others found helpful

Print Email This Page Delicious Digg Facebook Reddit StumbleUpon Twitter