ENDRPrint_12CRelease/.svn/pristine/82/82809dbda7326e3fdca03e00b563f6c05e7141fb.svn-base

72 lines
2.4 KiB
Plaintext
Raw Normal View History

2024-08-14 10:58:03 +07:00
package th.co.muangthai.endrprint.wfurlxml;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.logging.Logger;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
/**
* This class was generated by the JAX-WS RI.
* JAX-WS RI 2.1.6 in JDK 6
* Generated source version: 2.1
*
*/
@WebServiceClient(name = "MTLGetUrlWS", targetNamespace = "http://wf108.edas.scc.com/", wsdlLocation = "http://10.1.2.19:7003/mtlwf108/MTLGetUrlWS?wsdl")
public class MTLGetUrlWS_Service
extends Service
{
private final static URL MTLGETURLWS_WSDL_LOCATION;
private final static Logger logger = Logger.getLogger(th.co.muangthai.endrprint.wfurlxml.MTLGetUrlWS_Service.class.getName());
static {
URL url = null;
try {
URL baseUrl;
baseUrl = th.co.muangthai.endrprint.wfurlxml.MTLGetUrlWS_Service.class.getResource(".");
url = new URL(baseUrl, "http://10.1.2.19:7003/mtlwf108/MTLGetUrlWS?wsdl");
} catch (MalformedURLException e) {
logger.warning("Failed to create URL for the wsdl Location: 'http://10.1.2.19:7003/mtlwf108/MTLGetUrlWS?wsdl', retrying as a local file");
logger.warning(e.getMessage());
}
MTLGETURLWS_WSDL_LOCATION = url;
}
public MTLGetUrlWS_Service(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public MTLGetUrlWS_Service() {
super(MTLGETURLWS_WSDL_LOCATION, new QName("http://wf108.edas.scc.com/", "MTLGetUrlWS"));
}
/**
*
* @return
* returns MTLGetUrlWS
*/
@WebEndpoint(name = "MTLGetUrlWSPort")
public MTLGetUrlWS getMTLGetUrlWSPort() {
return super.getPort(new QName("http://wf108.edas.scc.com/", "MTLGetUrlWSPort"), MTLGetUrlWS.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 MTLGetUrlWS
*/
@WebEndpoint(name = "MTLGetUrlWSPort")
public MTLGetUrlWS getMTLGetUrlWSPort(WebServiceFeature... features) {
return super.getPort(new QName("http://wf108.edas.scc.com/", "MTLGetUrlWSPort"), MTLGetUrlWS.class, features);
}
}