org.apache.camel.cxf.mtom_feature.HelloService12 Maven / Gradle / Ivy
package org.apache.camel.cxf.mtom_feature;
import java.net.MalformedURLException;
import java.net.URL;
import javax.annotation.Generated;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service;
/**
* This class was generated by Apache CXF 2.5.2
* 2012-03-01T11:24:10.320-05:00
* Generated source version: 2.5.2
*
*/
@WebServiceClient(name = "HelloService12",
wsdlLocation = "file:/x1/apache/release/camel-2.9.1/target/checkout/components/camel-cxf/src/test/resources/mtom.wsdl",
targetNamespace = "http://apache.org/camel/cxf/mtom_feature")
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-03-01T11:24:10.320-05:00", comments = "Apache CXF 2.5.2")
public class HelloService12 extends Service {
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-03-01T11:24:10.320-05:00")
public final static URL WSDL_LOCATION;
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-03-01T11:24:10.320-05:00")
public final static QName SERVICE = new QName("http://apache.org/camel/cxf/mtom_feature", "HelloService12");
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-03-01T11:24:10.320-05:00")
public final static QName HelloPort = new QName("http://apache.org/camel/cxf/mtom_feature", "HelloPort");
static {
URL url = null;
try {
url = new URL("file:/x1/apache/release/camel-2.9.1/target/checkout/components/camel-cxf/src/test/resources/mtom.wsdl");
} catch (MalformedURLException e) {
java.util.logging.Logger.getLogger(HelloService12.class.getName())
.log(java.util.logging.Level.INFO,
"Can not initialize the default wsdl from {0}", "file:/x1/apache/release/camel-2.9.1/target/checkout/components/camel-cxf/src/test/resources/mtom.wsdl");
}
WSDL_LOCATION = url;
}
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-03-01T11:24:10.320-05:00")
public HelloService12(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-03-01T11:24:10.320-05:00")
public HelloService12(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-03-01T11:24:10.320-05:00")
public HelloService12() {
super(WSDL_LOCATION, SERVICE);
}
/**
*
* @return
* returns Hello
*/
@WebEndpoint(name = "HelloPort")
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-03-01T11:24:10.320-05:00")
public Hello getHelloPort() {
return super.getPort(HelloPort, Hello.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features
parameter will have their default values.
* @return
* returns Hello
*/
@WebEndpoint(name = "HelloPort")
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2012-03-01T11:24:10.320-05:00")
public Hello getHelloPort(WebServiceFeature... features) {
return super.getPort(HelloPort, Hello.class, features);
}
}