/**
 * ThaiPalaceMenuService.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis Wsdl2java emitter.
 */

public class ThaiPalaceMenuService {

    // Use to get a proxy class for ThaiPalaceMenuServicePort
    private final java.lang.String ThaiPalaceMenuServicePort_address = "http://localhost:8080/axis/tpmenu/ThaiPalaceMenuService.jws";
    public ThaiPalaceMenuServicePortType getThaiPalaceMenuServicePort() {
       java.net.URL endpoint;
        try {
            endpoint = new java.net.URL(ThaiPalaceMenuServicePort_address);
        }
        catch (java.net.MalformedURLException e) {
            return null; // unlikely as URL was validated in wsdl2java
        }
        return getThaiPalaceMenuServicePort(endpoint);
    }

    public ThaiPalaceMenuServicePortType getThaiPalaceMenuServicePort(java.net.URL portAddress) {
        try {
            return new ThaiPalaceMenuServiceSoapBindingStub(portAddress);
        }
        catch (org.apache.axis.SerializationException e) {
            return null; // ???
        }
    }
}
