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

org.ow2.petals.bc.soap.simple.SimpleServiceWithImport Maven / Gradle / Ivy

The newest version!
package org.ow2.petals.bc.soap.simple;

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 3.4.2
 * 2023-04-11T14:21:06.972+02:00
 * Generated source version: 3.4.2
 *
 */
@WebServiceClient(name = "SimpleServiceWithImport",
                  wsdlLocation = "file:/home/cdeneux/workspace/petals-trunk-2023/components-sls/components/petals-bc-soap/petals-bc-soap/target/checkout/src/test/resources/wsdl/simpleServiceWithImport.wsdl",
                  targetNamespace = "http://petals.ow2.org/bc/soap/simple")
public class SimpleServiceWithImport extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("http://petals.ow2.org/bc/soap/simple", "SimpleServiceWithImport");
    public final static QName Simple = new QName("http://petals.ow2.org/bc/soap/simple", "Simple");
    static {
        URL url = null;
        try {
            url = new URL("file:/home/cdeneux/workspace/petals-trunk-2023/components-sls/components/petals-bc-soap/petals-bc-soap/target/checkout/src/test/resources/wsdl/simpleServiceWithImport.wsdl");
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(SimpleServiceWithImport.class.getName())
                .log(java.util.logging.Level.INFO,
                     "Can not initialize the default wsdl from {0}", "file:/home/cdeneux/workspace/petals-trunk-2023/components-sls/components/petals-bc-soap/petals-bc-soap/target/checkout/src/test/resources/wsdl/simpleServiceWithImport.wsdl");
        }
        WSDL_LOCATION = url;
    }

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

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

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

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

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

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




    /**
     *
     * @return
     *     returns SimpleWithImport
     */
    @WebEndpoint(name = "Simple")
    public SimpleWithImport getSimple() {
        return super.getPort(Simple, SimpleWithImport.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 SimpleWithImport
     */
    @WebEndpoint(name = "Simple")
    public SimpleWithImport getSimple(WebServiceFeature... features) {
        return super.getPort(Simple, SimpleWithImport.class, features);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy