Changes since
the last release

com.ebay.sdk
Class ApiXmlPoster

java.lang.Object
  extended by com.ebay.sdk.ApiXmlPoster

public class ApiXmlPoster
extends Object

Making traditional API (non-SOAP) call by posting traditional request Xml to the traditional eBay API server.

View UML diagram of the class.

Title:

Description:

Copyright: Copyright (c) 2004

Company: eBay Inc.


Constructor Summary
ApiXmlPoster()
           
 
Method Summary
 ApiContext getApiContext()
          Gets the ApiContext object for the API call.
 int getCompatibilityLevel()
          Gets the compatility level of the API call.
 String postXmlText(String requestXml)
          Posts the request Xml to eBay API server.
 void setApiContext(ApiContext apiContext)
          Sets the ApiContext object for the API call.
 void setCompatibilityLevel(int compatibilityLevel)
          Sets the compatility level of the API call.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiXmlPoster

public ApiXmlPoster()
Method Detail

getCompatibilityLevel

public int getCompatibilityLevel()
Gets the compatility level of the API call.

Returns:
the compatility level.

setCompatibilityLevel

public void setCompatibilityLevel(int compatibilityLevel)
Sets the compatility level of the API call.

Parameters:
compatibilityLevel - the compatility level value.

getApiContext

public ApiContext getApiContext()
Gets the ApiContext object for the API call.

Returns:
the ApiContext object.

setApiContext

public void setApiContext(ApiContext apiContext)
Sets the ApiContext object for the API call.

Parameters:
apiContext - ApiContext

postXmlText

public String postXmlText(String requestXml)
                   throws SAXException,
                          IOException,
                          ParserConfigurationException,
                          TransformerException,
                          SdkException
Posts the request Xml to eBay API server. The request Xml should follow the eBay API Xml standard to contain those nodes: , and

Parameters:
requestXml - String
Returns:
String
Throws:
SAXException
IOException
ParserConfigurationException
TransformerException
SdkException

Changes since
the last release

The information contained in this document is proprietary and confidential. Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc. For information regarding a qualifying NDA, contact Developer Relations:developer-relations@ebay.com
© 2004-2006 eBay Inc. All rights reserved.