All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ebay.apis.shopping.eblbasecomponents.Shopping Maven / Gradle / Ivy

Go to download

This Java client enables you to use Java to make API calls in the eBay Shopping API, which is an XML API. This maven build is simply the Apache CXF generated client code for the Shopping API WSDL.

The newest version!
package ebay.apis.shopping.eblbasecomponents;

import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service;

/**
 * 
 * 			
 *
 * This class was generated by Apache CXF 3.1.4
 * 2017-03-04T21:04:00.595Z
 * Generated source version: 3.1.4
 * 
 */
@WebServiceClient(name = "Shopping", 
                  wsdlLocation = "classpath:com/ebay/ShoppingService.wsdl",
                  targetNamespace = "urn:ebay:apis:eBLBaseComponents") 
public class Shopping extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("urn:ebay:apis:eBLBaseComponents", "Shopping");
    public final static QName Shopping = new QName("urn:ebay:apis:eBLBaseComponents", "Shopping");
    static {
        URL url = Shopping.class.getClassLoader().getResource("com/ebay/ShoppingService.wsdl");
        if (url == null) {
            java.util.logging.Logger.getLogger(Shopping.class.getName())
                .log(java.util.logging.Level.INFO, 
                     "Can not initialize the default wsdl from {0}", "classpath:com/ebay/ShoppingService.wsdl");
        }       
        WSDL_LOCATION = url;   
    }

    public Shopping(URL wsdlLocation) {
        super(wsdlLocation, SERVICE);
    }

    public Shopping(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    public Shopping() {
        super(WSDL_LOCATION, SERVICE);
    }
    
    public Shopping(WebServiceFeature ... features) {
        super(WSDL_LOCATION, SERVICE, features);
    }

    public Shopping(URL wsdlLocation, WebServiceFeature ... features) {
        super(wsdlLocation, SERVICE, features);
    }

    public Shopping(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
        super(wsdlLocation, serviceName, features);
    }    




    /**
     *
     * @return
     *     returns ShoppingInterface
     */
    @WebEndpoint(name = "Shopping")
    public ShoppingInterface getShopping() {
        return super.getPort(Shopping, ShoppingInterface.class);
    }

    /**
     * 
     * @param features
     *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the features parameter will have their default values.
     * @return
     *     returns ShoppingInterface
     */
    @WebEndpoint(name = "Shopping")
    public ShoppingInterface getShopping(WebServiceFeature... features) {
        return super.getPort(Shopping, ShoppingInterface.class, features);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy