Skip to content

Instantly share code, notes, and snippets.

@ivanursul
Created March 26, 2015 10:04
Show Gist options
  • Select an option

  • Save ivanursul/35732b46fa9cd0a6384b to your computer and use it in GitHub Desktop.

Select an option

Save ivanursul/35732b46fa9cd0a6384b to your computer and use it in GitHub Desktop.
EDBOGuides.java
package ua.edboservice;
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.7.3
* 2015-03-05T17:52:27.699+02:00
* Generated source version: 2.7.3
*
*/
@WebServiceClient(name = "EDBOGuides",
wsdlLocation = "classpath:EDBOGuides.wsdl",
targetNamespace = "http://edboservice.ua/")
public class EDBOGuides extends Service {
public final static URL WSDL_LOCATION;
public final static QName SERVICE = new QName("http://edboservice.ua/", "EDBOGuides");
public final static QName EDBOGuidesSoap = new QName("http://edboservice.ua/", "EDBOGuidesSoap");
public final static QName EDBOGuidesSoap12 = new QName("http://edboservice.ua/", "EDBOGuidesSoap12");
static {
URL url = EDBOGuides.class.getClassLoader().getResource("EDBOGuides.wsdl");
if (url == null) {
java.util.logging.Logger.getLogger(EDBOGuides.class.getName())
.log(java.util.logging.Level.INFO,
"Can not initialize the default wsdl from {0}", "classpath:EDBOGuides.wsdl");
}
WSDL_LOCATION = url;
}
/*
public EDBOGuides(final URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}*/
public EDBOGuides(final URL wsdlLocation, final QName serviceName) {
super(wsdlLocation, serviceName);
}
/*
public EDBOGuides() {
super(WSDL_LOCATION, SERVICE);
}*/
/*
//This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
//API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
//compliant code instead.
public EDBOGuides(WebServiceFeature ... features) {
super(WSDL_LOCATION, SERVICE, features);
}
//This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
//API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
//compliant code instead.
public EDBOGuides(URL wsdlLocation, WebServiceFeature ... features) {
super(wsdlLocation, SERVICE, features);
}*/
/*
//This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
//API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
//compliant code instead.
public EDBOGuides(final URL wsdlLocation, final QName serviceName, final WebServiceFeature ... features) {
super(wsdlLocation, serviceName, features);
}*/
/**
*
* @return
* returns EDBOGuidesSoap
*/
@WebEndpoint(name = "EDBOGuidesSoap")
public EDBOGuidesSoap getEDBOGuidesSoap() {
return super.getPort(EDBOGuidesSoap, EDBOGuidesSoap.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 EDBOGuidesSoap
*/
@WebEndpoint(name = "EDBOGuidesSoap")
public EDBOGuidesSoap getEDBOGuidesSoap(final WebServiceFeature... features) {
return super.getPort(EDBOGuidesSoap, EDBOGuidesSoap.class, features);
}
/**
*
* @return
* returns EDBOGuidesSoap
*/
@WebEndpoint(name = "EDBOGuidesSoap12")
public EDBOGuidesSoap getEDBOGuidesSoap12() {
return super.getPort(EDBOGuidesSoap12, EDBOGuidesSoap.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 EDBOGuidesSoap
*/
@WebEndpoint(name = "EDBOGuidesSoap12")
public EDBOGuidesSoap getEDBOGuidesSoap12(final WebServiceFeature... features) {
return super.getPort(EDBOGuidesSoap12, EDBOGuidesSoap.class, features);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment