Changes since
the last release

com.ebay.sdk
Class ApiSchemaBasedXmlPoster

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

public class ApiSchemaBasedXmlPoster
extends java.lang.Object

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

Title:

Description:

Copyright: Copyright (c) 2004

Company: eBay Inc.

Version:
1.0
Author:
Weian Deng

Constructor Summary
ApiSchemaBasedXmlPoster()
           
 
Method Summary
 ApiContext getApiContext()
          Gets the ApiContext object for the API call.
 java.lang.String postXmlText(int sideId, java.lang.String requestXml)
          Posts the schema-based xml request to eBay API server.
 void setApiContext(ApiContext apiContext)
          Sets the ApiContext object for the API call.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiSchemaBasedXmlPoster

public ApiSchemaBasedXmlPoster()
Method Detail

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 java.lang.String postXmlText(int sideId,
                                    java.lang.String requestXml)
                             throws org.xml.sax.SAXException,
                                    java.io.IOException,
                                    javax.xml.parsers.ParserConfigurationException,
                                    javax.xml.transform.TransformerException,
                                    SdkException
Posts the schema-based xml request to eBay API server. The request Xml should follow the eBay API schema-based Xml standard and contains node .

Parameters:
sideId - int
requestXml - String
Returns:
String
Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
javax.xml.transform.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-2009 eBay Inc. All rights reserved.