
/*
 * 
 */

package com.example.echo.client.cxf2axisWL;

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

/**
 * This class was generated by Apache CXF 2.1.2
 * Tue Jul 13 05:27:08 JST 2010
 * Generated source version: 2.1.2
 * 
 */


@WebServiceClient(name = "echoAxisWL", 
                  wsdlLocation = "http://localhost:8080/mule-example/services/echoAxisWL?wsdl",
                  targetNamespace = "http://simple.component.api.mule.org") 
public class EchoAxisWL extends Service {

    public final static URL WSDL_LOCATION;
    public final static QName SERVICE = new QName("http://simple.component.api.mule.org", "echoAxisWL");
    public final static QName EchoAxisWL = new QName("http://simple.component.api.mule.org", "echoAxisWL");
    static {
        URL url = null;
        try {
            url = new URL("http://localhost:8080/mule-example/services/echoAxisWL?wsdl");
        } catch (MalformedURLException e) {
            System.err.println("Can not initialize the default wsdl from http://localhost:8080/mule-example/services/echoAxisWL?wsdl");
            // e.printStackTrace();
        }
        WSDL_LOCATION = url;
    }

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

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

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

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

}
