
package com.deitel.jhtp7.ch28.equationgeneratorclient;

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 = "EquationGeneratorService", targetNamespace = "http://equationgenerator.ch28.jhtp7.deitel.com/", wsdlLocation = "http://localhost:8080/EquationGenerator/EquationGeneratorService?WSDL")
public class EquationGeneratorService
    extends Service
{

    private final static URL EQUATIONGENERATORSERVICE_WSDL_LOCATION;

    static {
        URL url = null;
        try {
            url = new URL("http://localhost:8080/EquationGenerator/EquationGeneratorService?WSDL");
        } catch (MalformedURLException e) {
            e.printStackTrace();
        }
        EQUATIONGENERATORSERVICE_WSDL_LOCATION = url;
    }

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

    public EquationGeneratorService() {
        super(EQUATIONGENERATORSERVICE_WSDL_LOCATION, new QName("http://equationgenerator.ch28.jhtp7.deitel.com/", "EquationGeneratorService"));
    }

    /**
     * 
     * @return
     *     returns EquationGenerator
     */
    @WebEndpoint(name = "EquationGeneratorPort")
    public EquationGenerator getEquationGeneratorPort() {
        return (EquationGenerator)super.getPort(new QName("http://equationgenerator.ch28.jhtp7.deitel.com/", "EquationGeneratorPort"), EquationGenerator.class);
    }

}
