uri.helloworld.HelloService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of servicemix-cxf-bc Show documentation
Show all versions of servicemix-cxf-bc Show documentation
JBI compliant HTTP/SOAP or JMS/SOAP binding component which use Apache CXF internally
/*
*
*/
package uri.helloworld;
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 Apache CXF 2.1.2
* Wed Oct 15 12:08:38 CEST 2008
* Generated source version: 2.1.2
*
*/
@WebServiceClient(name = "HelloService",
wsdlLocation = "file:/Users/gnodet/work/servicemix/components/bindings/servicemix-cxf-bc/branches/2008.01/target/checkout/src/test/resources/HelloWorld-DOC.wsdl",
targetNamespace = "uri:HelloWorld")
public class HelloService extends Service {
public final static URL WSDL_LOCATION;
public final static QName SERVICE = new QName("uri:HelloWorld", "HelloService");
public final static QName HelloPort = new QName("uri:HelloWorld", "HelloPort");
static {
URL url = null;
try {
url = new URL("file:/Users/gnodet/work/servicemix/components/bindings/servicemix-cxf-bc/branches/2008.01/target/checkout/src/test/resources/HelloWorld-DOC.wsdl");
} catch (MalformedURLException e) {
System.err.println("Can not initialize the default wsdl from file:/Users/gnodet/work/servicemix/components/bindings/servicemix-cxf-bc/branches/2008.01/target/checkout/src/test/resources/HelloWorld-DOC.wsdl");
// e.printStackTrace();
}
WSDL_LOCATION = url;
}
public HelloService(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
public HelloService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public HelloService() {
super(WSDL_LOCATION, SERVICE);
}
/**
*
* @return
* returns HelloPortType
*/
@WebEndpoint(name = "HelloPort")
public HelloPortType getHelloPort() {
return super.getPort(HelloPort, HelloPortType.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 HelloPortType
*/
@WebEndpoint(name = "HelloPort")
public HelloPortType getHelloPort(WebServiceFeature... features) {
return super.getPort(HelloPort, HelloPortType.class, features);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy