
org.apache.cxf.mime.TestMtomService Maven / Gradle / Ivy
The newest version!
package org.apache.cxf.mime;
import java.net.MalformedURLException;
import java.net.URL;
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.6.6
* 2013-10-15T12:04:05.561+02:00
* Generated source version: 2.6.6
*
*/
@WebServiceClient(name = "TestMtomService",
wsdlLocation = "file:/Users/gert/Projects/ASF/svn/features-4.5.x/target/checkout/itests/cxf-mtom-osgi/src/main/resources/wsdl/mtom.wsdl",
targetNamespace = "http://cxf.apache.org/mime")
public class TestMtomService extends Service {
public final static URL WSDL_LOCATION;
public final static QName SERVICE = new QName("http://cxf.apache.org/mime", "TestMtomService");
public final static QName TestMtomPort = new QName("http://cxf.apache.org/mime", "TestMtomPort");
static {
URL url = null;
try {
url = new URL("file:/Users/gert/Projects/ASF/svn/features-4.5.x/target/checkout/itests/cxf-mtom-osgi/src/main/resources/wsdl/mtom.wsdl");
} catch (MalformedURLException e) {
java.util.logging.Logger.getLogger(TestMtomService.class.getName())
.log(java.util.logging.Level.INFO,
"Can not initialize the default wsdl from {0}", "file:/Users/gert/Projects/ASF/svn/features-4.5.x/target/checkout/itests/cxf-mtom-osgi/src/main/resources/wsdl/mtom.wsdl");
}
WSDL_LOCATION = url;
}
public TestMtomService(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
public TestMtomService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public TestMtomService() {
super(WSDL_LOCATION, SERVICE);
}
/**
*
* @return
* returns TestMtom
*/
@WebEndpoint(name = "TestMtomPort")
public TestMtom getTestMtomPort() {
return super.getPort(TestMtomPort, TestMtom.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 TestMtom
*/
@WebEndpoint(name = "TestMtomPort")
public TestMtom getTestMtomPort(WebServiceFeature... features) {
return super.getPort(TestMtomPort, TestMtom.class, features);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy