
package com.deitel.jhtp7.ch28.hugeintegerclient;

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;


/**
 * This class was generated by the JAXWS SI.
 * JAX-WS RI 2.0_01-b59-fcs
 * Generated source version: 2.0
 * 
 */
@WebServiceClient(name = "HugeIntegerService", targetNamespace = "http://hugeinteger.ch28.jhtp7.deitel.com/", wsdlLocation = "http://localhost:8080/HugeInteger/HugeIntegerService?wsdl")
public class HugeIntegerService
    extends Service
{

    private final static URL HUGEINTEGERSERVICE_WSDL_LOCATION;

    static {
        URL url = null;
        try {
            url = new URL("http://localhost:8080/HugeInteger/HugeIntegerService?wsdl");
        } catch (MalformedURLException e) {
            e.printStackTrace();
        }
        HUGEINTEGERSERVICE_WSDL_LOCATION = url;
    }

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

    public HugeIntegerService() {
        super(HUGEINTEGERSERVICE_WSDL_LOCATION, new QName("http://hugeinteger.ch28.jhtp7.deitel.com/", "HugeIntegerService"));
    }

    /**
     * 
     * @return
     *     returns HugeInteger
     */
    @WebEndpoint(name = "HugeIntegerPort")
    public HugeInteger getHugeIntegerPort() {
        return (HugeInteger)super.getPort(new QName("http://hugeinteger.ch28.jhtp7.deitel.com/", "HugeIntegerPort"), HugeInteger.class);
    }

}
