
/*
 * 
 */

package org.jboss.soa.bpel.tests.harness;

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 2.2.6
 * Mon Jun 14 11:12:40 BST 2010
 * Generated source version: 2.2.6
 * 
 */


@WebServiceClient(name = "SecureServiceTestHarnessService", 
                  wsdlLocation = "file:/home/gbrown/dev/riftsaw/workspace/TestHarness/wsdl/SecureServiceTestHarnessService.wsdl",
                  targetNamespace = "http://harness.tests.bpel.soa.jboss.org/") 
public class SecureServiceTestHarnessService extends Service {

    public final static URL WSDL_LOCATION;
    public final static QName SERVICE = new QName("http://harness.tests.bpel.soa.jboss.org/", "SecureServiceTestHarnessService");
    public final static QName SecureServiceTestHarnessPort = new QName("http://harness.tests.bpel.soa.jboss.org/", "SecureServiceTestHarnessPort");
    static {
        URL url = null;
        try {
            url = new URL("file:/home/gbrown/dev/riftsaw/workspace/TestHarness/wsdl/SecureServiceTestHarnessService.wsdl");
        } catch (MalformedURLException e) {
            System.err.println("Can not initialize the default wsdl from file:/home/gbrown/dev/riftsaw/workspace/TestHarness/wsdl/SecureServiceTestHarnessService.wsdl");
            // e.printStackTrace();
        }
        WSDL_LOCATION = url;
    }

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

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

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

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

}
