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

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

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

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

/**
 * This class was generated by Apache CXF 4.0.5
 * 2024-09-19T11:38:15.118+01:00
 * Generated source version: 4.0.5
 *
 */
@WebServiceClient(name = "PersonService12",
                  wsdlLocation = "classpath:wsdl/person.wsdl",
                  targetNamespace = "http://camel.apache.org/wsdl-first")
public class PersonService12 extends Service {

    public static final URL WSDL_LOCATION;

    public static final QName SERVICE = new QName("http://camel.apache.org/wsdl-first", "PersonService12");
    public static final QName Soap = new QName("http://camel.apache.org/wsdl-first", "soap");
    static {
        URL url = PersonService12.class.getClassLoader().getResource("wsdl/person.wsdl");
        if (url == null) {
            java.util.logging.Logger.getLogger(PersonService12.class.getName())
                .log(java.util.logging.Level.INFO,
                     "Can not initialize the default wsdl from {0}", "classpath:wsdl/person.wsdl");
        }
        WSDL_LOCATION = url;
    }

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

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

    public PersonService12() {
        super(WSDL_LOCATION, SERVICE);
    }

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

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

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




    /**
     *
     * @return
     *     returns Person
     */
    @WebEndpoint(name = "soap")
    public Person getSoap() {
        return super.getPort(Soap, Person.class);
    }

    /**
     *
     * @param features
     *     A list of {@link jakarta.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")
    public Person getSoap(WebServiceFeature... features) {
        return super.getPort(Soap, Person.class, features);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy