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

org.apache.camel.wsdl_first.PersonService Maven / Gradle / Ivy

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

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.6.1
 * 2012-06-27T19:01:30.085-04:00
 * Generated source version: 2.6.1
 * 
 */
@WebServiceClient(name = "PersonService", 
                  wsdlLocation = "file:/x1/apache/release/camel-2.10.0/target/checkout/components/camel-cxf/src/test/resources/person.wsdl",
                  targetNamespace = "http://camel.apache.org/wsdl-first") 
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-06-27T19:01:30.085-04:00", comments = "Apache CXF 2.6.1")
public class PersonService extends Service {

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-06-27T19:01:30.085-04:00")
    public final static URL WSDL_LOCATION;

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-06-27T19:01:30.085-04:00")
    public final static QName SERVICE = new QName("http://camel.apache.org/wsdl-first", "PersonService");
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-06-27T19:01:30.085-04:00")
    public final static QName Soap3 = new QName("http://camel.apache.org/wsdl-first", "soap3");
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-06-27T19:01:30.085-04:00")
    public final static QName Soap2 = new QName("http://camel.apache.org/wsdl-first", "soap2");
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-06-27T19:01:30.085-04:00")
    public final static QName Soap = new QName("http://camel.apache.org/wsdl-first", "soap");
    static {
        URL url = null;
        try {
            url = new URL("file:/x1/apache/release/camel-2.10.0/target/checkout/components/camel-cxf/src/test/resources/person.wsdl");
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(PersonService.class.getName())
                .log(java.util.logging.Level.INFO, 
                     "Can not initialize the default wsdl from {0}", "file:/x1/apache/release/camel-2.10.0/target/checkout/components/camel-cxf/src/test/resources/person.wsdl");
        }
        WSDL_LOCATION = url;
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-06-27T19:01:30.085-04:00")
    public PersonService(URL wsdlLocation) {
        super(wsdlLocation, SERVICE);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-06-27T19:01:30.085-04:00")
    public PersonService(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-06-27T19:01:30.085-04:00")
    public PersonService() {
        super(WSDL_LOCATION, SERVICE);
    }
    

    /**
     *
     * @return
     *     returns Person
     */
    @WebEndpoint(name = "soap3")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-06-27T19:01:30.085-04:00")
    public Person getSoap3() {
        return super.getPort(Soap3, Person.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 Person
     */
    @WebEndpoint(name = "soap3")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-06-27T19:01:30.085-04:00")
    public Person getSoap3(WebServiceFeature... features) {
        return super.getPort(Soap3, Person.class, features);
    }
    /**
     *
     * @return
     *     returns Person
     */
    @WebEndpoint(name = "soap2")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-06-27T19:01:30.085-04:00")
    public Person getSoap2() {
        return super.getPort(Soap2, Person.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 Person
     */
    @WebEndpoint(name = "soap2")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-06-27T19:01:30.085-04:00")
    public Person getSoap2(WebServiceFeature... features) {
        return super.getPort(Soap2, Person.class, features);
    }
    /**
     *
     * @return
     *     returns Person
     */
    @WebEndpoint(name = "soap")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-06-27T19:01:30.085-04:00")
    public Person getSoap() {
        return super.getPort(Soap, Person.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 Person
     */
    @WebEndpoint(name = "soap")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-06-27T19:01:30.085-04:00")
    public Person getSoap(WebServiceFeature... features) {
        return super.getPort(Soap, Person.class, features);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy