
/*
 * 
 */

package ihe.iti.xcpd._2009;

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.10
 * Fri Aug 20 10:40:12 CEST 2010
 * Generated source version: 2.2.10
 * 
 */


@WebServiceClient(name = "RespondingGateway_Service", 
                  //wsdlLocation = "file:XCPDRespondingGateway.wsdl",
                  targetNamespace = "urn:ihe:iti:xcpd:2009") 
public class RespondingGatewayService extends Service {

    public final static URL WSDL_LOCATION;
    public final static QName SERVICE = new QName("urn:ihe:iti:xcpd:2009", "RespondingGateway_Service");
    public final static QName RespondingGatewayPortSoap12 = new QName("urn:ihe:iti:xcpd:2009", "RespondingGateway_Port_Soap12");
    static {
        URL url = null;
        try {
            url = new URL("file:XCPDRespondingGateway.wsdl");
        } catch (MalformedURLException e) {
            System.err.println("Can not initialize the default wsdl from file:XCPDRespondingGateway.wsdl");
            // e.printStackTrace();
        }
        WSDL_LOCATION = url;
    }

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

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

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

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

}
