OW2 Consortium aspire

Rev

Blame | Last modification | View Log | RSS feed

package org.ow2.aspirerfid.commons.ale.wsdl.alelr;

import java.net.MalformedURLException;
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 2.5.2
 * 2012-03-13T15:55:20.672+02:00
 * Generated source version: 2.5.2
 * 
 */
@WebServiceClient(name = "ALELRService", 
                  wsdlLocation = "file:./epcglobal/ale/EPCglobal-ale-1_1-alelr.wsdl",
                  targetNamespace = "urn:epcglobal:alelr:wsdl:1") 
public class ALELRService extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("urn:epcglobal:alelr:wsdl:1", "ALELRService");
    public final static QName ALELRServicePort = new QName("urn:epcglobal:alelr:wsdl:1", "ALELRServicePort");
    static {
        URL url = null;
        try {
            url = new URL("file:./epcglobal/ale/EPCglobal-ale-1_1-alelr.wsdl");
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(ALELRService.class.getName())
                .log(java.util.logging.Level.INFO, 
                     "Can not initialize the default wsdl from {0}", "file:./epcglobal/ale/EPCglobal-ale-1_1-alelr.wsdl");
        }
        WSDL_LOCATION = url;
    }

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

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

    public ALELRService() {
        super(WSDL_LOCATION, SERVICE);
    }
    
    //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
    //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
    //compliant code instead.
    public ALELRService(WebServiceFeature ... features) {
        super(WSDL_LOCATION, SERVICE, features);
    }

    //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
    //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
    //compliant code instead.
    public ALELRService(URL wsdlLocation, WebServiceFeature ... features) {
        super(wsdlLocation, SERVICE, features);
    }

    //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
    //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
    //compliant code instead.
    public ALELRService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
        super(wsdlLocation, serviceName, features);
    }

    /**
     *
     * @return
     *     returns ALELRServicePortType
     */
    @WebEndpoint(name = "ALELRServicePort")
    public ALELRServicePortType getALELRServicePort() {
        return super.getPort(ALELRServicePort, ALELRServicePortType.class);
    }

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

}