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

org.apache.camel.pizza.PizzaService Maven / Gradle / Ivy

There is a newer version: 3.17.0
Show newest version
package org.apache.camel.pizza;

import java.net.MalformedURLException;
import java.net.URL;
import javax.annotation.Generated;
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.9
 * 2013-04-24T20:48:08.737+02:00
 * Generated source version: 2.5.9
 * 
 */
@WebServiceClient(name = "PizzaService", 
                  wsdlLocation = "file:/Users/cmueller/workspaceRelease/camel/target/checkout/components/camel-cxf/src/test/resources/pizza_service.wsdl",
                  targetNamespace = "http://camel.apache.org/pizza") 
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2013-04-24T20:48:08.737+02:00", comments = "Apache CXF 2.5.9")
public class PizzaService extends Service {

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2013-04-24T20:48:08.737+02:00")
    public final static URL WSDL_LOCATION;

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2013-04-24T20:48:08.737+02:00")
    public final static QName SERVICE = new QName("http://camel.apache.org/pizza", "PizzaService");
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2013-04-24T20:48:08.737+02:00")
    public final static QName PizzaPort = new QName("http://camel.apache.org/pizza", "PizzaPort");
    static {
        URL url = null;
        try {
            url = new URL("file:/Users/cmueller/workspaceRelease/camel/target/checkout/components/camel-cxf/src/test/resources/pizza_service.wsdl");
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(PizzaService.class.getName())
                .log(java.util.logging.Level.INFO, 
                     "Can not initialize the default wsdl from {0}", "file:/Users/cmueller/workspaceRelease/camel/target/checkout/components/camel-cxf/src/test/resources/pizza_service.wsdl");
        }
        WSDL_LOCATION = url;
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2013-04-24T20:48:08.737+02:00")
    public PizzaService(URL wsdlLocation) {
        super(wsdlLocation, SERVICE);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2013-04-24T20:48:08.737+02:00")
    public PizzaService(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2013-04-24T20:48:08.737+02:00")
    public PizzaService() {
        super(WSDL_LOCATION, SERVICE);
    }
    

    /**
     *
     * @return
     *     returns Pizza
     */
    @WebEndpoint(name = "PizzaPort")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2013-04-24T20:48:08.737+02:00")
    public Pizza getPizzaPort() {
        return super.getPort(PizzaPort, Pizza.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 Pizza
     */
    @WebEndpoint(name = "PizzaPort")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2013-04-24T20:48:08.737+02:00")
    public Pizza getPizzaPort(WebServiceFeature... features) {
        return super.getPort(PizzaPort, Pizza.class, features);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy