WmsWebService_Service.java 2.98 KB

package com.huaheng.api.csc.client;

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.WebServiceException;
import javax.xml.ws.WebServiceFeature;


/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.2.7-b01 
 * Generated source version: 2.2
 * 
 */
@WebServiceClient(name = "WmsWebService", targetNamespace = "http://csc.api.huaheng.com", wsdlLocation = "http://127.0.0.1:8889/wms/webservice/?wsdl")
public class WmsWebService_Service
    extends Service
{

    private final static URL WMSWEBSERVICE_WSDL_LOCATION;
    private final static WebServiceException WMSWEBSERVICE_EXCEPTION;
    private final static QName WMSWEBSERVICE_QNAME = new QName("http://csc.api.huaheng.com", "WmsWebService");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("http://127.0.0.1:8889/wms/webservice/?wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        WMSWEBSERVICE_WSDL_LOCATION = url;
        WMSWEBSERVICE_EXCEPTION = e;
    }

    public WmsWebService_Service() {
        super(__getWsdlLocation(), WMSWEBSERVICE_QNAME);
    }

    public WmsWebService_Service(WebServiceFeature... features) {
        super(__getWsdlLocation(), WMSWEBSERVICE_QNAME, features);
    }

    public WmsWebService_Service(URL wsdlLocation) {
        super(wsdlLocation, WMSWEBSERVICE_QNAME);
    }

    public WmsWebService_Service(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, WMSWEBSERVICE_QNAME, features);
    }

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

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

    /**
     * 
     * @return
     *     returns WmsWebService
     */
    @WebEndpoint(name = "WmsWebServiceImplPort")
    public WmsWebService getWmsWebServiceImplPort() {
        return super.getPort(new QName("http://csc.api.huaheng.com", "WmsWebServiceImplPort"), WmsWebService.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 WmsWebService
     */
    @WebEndpoint(name = "WmsWebServiceImplPort")
    public WmsWebService getWmsWebServiceImplPort(WebServiceFeature... features) {
        return super.getPort(new QName("http://csc.api.huaheng.com", "WmsWebServiceImplPort"), WmsWebService.class, features);
    }

    private static URL __getWsdlLocation() {
        if (WMSWEBSERVICE_EXCEPTION!= null) {
            throw WMSWEBSERVICE_EXCEPTION;
        }
        return WMSWEBSERVICE_WSDL_LOCATION;
    }

}