package de.tutorials.ws.wrappers;
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.WebServiceFeature;
/**
* This class was generated by the JAX-WS RI.
* JAX-WS RI 2.1.1 in JDK 6
* Generated source version: 2.1
*
*/
@WebServiceClient(name = "GreetingService", targetNamespace = "http://www.tutorials.de/", wsdlLocation = "http://localhost:1097/GreetingService.asmx?wsdl")
public class GreetingService
extends Service
{
private final static URL GREETINGSERVICE_WSDL_LOCATION;
static {
URL url = null;
try {
url = new URL("http://localhost:1097/GreetingService.asmx?wsdl");
} catch (MalformedURLException e) {
e.printStackTrace();
}
GREETINGSERVICE_WSDL_LOCATION = url;
}
public GreetingService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public GreetingService() {
super(GREETINGSERVICE_WSDL_LOCATION, new QName("http://www.tutorials.de/", "GreetingService"));
}
/**
*
* @return
* returns GreetingServiceSoap
*/
@WebEndpoint(name = "GreetingServiceSoap")
public GreetingServiceSoap getGreetingServiceSoap() {
return (GreetingServiceSoap)super.getPort(new QName("http://www.tutorials.de/", "GreetingServiceSoap"), GreetingServiceSoap.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 GreetingServiceSoap
*/
@WebEndpoint(name = "GreetingServiceSoap")
public GreetingServiceSoap getGreetingServiceSoap(WebServiceFeature... features) {
return (GreetingServiceSoap)super.getPort(new QName("http://www.tutorials.de/", "GreetingServiceSoap"), GreetingServiceSoap.class, features);
}
/**
*
* @return
* returns GreetingServiceSoap
*/
@WebEndpoint(name = "GreetingServiceSoap12")
public GreetingServiceSoap getGreetingServiceSoap12() {
return (GreetingServiceSoap)super.getPort(new QName("http://www.tutorials.de/", "GreetingServiceSoap12"), GreetingServiceSoap.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 GreetingServiceSoap
*/
@WebEndpoint(name = "GreetingServiceSoap12")
public GreetingServiceSoap getGreetingServiceSoap12(WebServiceFeature... features) {
return (GreetingServiceSoap)super.getPort(new QName("http://www.tutorials.de/", "GreetingServiceSoap12"), GreetingServiceSoap.class, features);
}
}