97 lines
3.1 KiB
Plaintext
Executable File
97 lines
3.1 KiB
Plaintext
Executable File
|
|
package ec.gob.bsg.accesobsgservice;
|
|
|
|
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.WebServiceException;
|
|
import javax.xml.ws.WebServiceFeature;
|
|
|
|
import com.fp.webservices.snap.recursos.MsgSnap;
|
|
|
|
|
|
/**
|
|
* This class was generated by the JAX-WS RI.
|
|
* JAX-WS RI 2.2.6b21
|
|
* Generated source version: 2.2
|
|
*
|
|
*/
|
|
@WebServiceClient(name = "AccesoBSGService", targetNamespace = "http://bsg.gob.ec/AccesoBSGService", wsdlLocation = "https://bsg.gob.ec/sw/STI/BSGSW08_Acceder_BSG?wsdl")
|
|
public class AccesoBSGService
|
|
extends Service
|
|
{
|
|
|
|
private final static URL ACCESOBSGSERVICE_WSDL_LOCATION;
|
|
private final static WebServiceException ACCESOBSGSERVICE_EXCEPTION;
|
|
private final static QName ACCESOBSGSERVICE_QNAME = new QName("http://bsg.gob.ec/AccesoBSGService", "AccesoBSGService");
|
|
|
|
static {
|
|
URL url = null;
|
|
WebServiceException e = null;
|
|
try {
|
|
url = new URL(MsgSnap.getString("url_permiso_client"));
|
|
} catch (MalformedURLException ex) {
|
|
e = new WebServiceException(ex);
|
|
}
|
|
ACCESOBSGSERVICE_WSDL_LOCATION = url;
|
|
ACCESOBSGSERVICE_EXCEPTION = e;
|
|
}
|
|
|
|
public AccesoBSGService() {
|
|
super(__getWsdlLocation(), ACCESOBSGSERVICE_QNAME);
|
|
}
|
|
|
|
public AccesoBSGService(WebServiceFeature... features) {
|
|
super(__getWsdlLocation(), ACCESOBSGSERVICE_QNAME, features);
|
|
}
|
|
|
|
public AccesoBSGService(URL wsdlLocation) {
|
|
super(wsdlLocation, ACCESOBSGSERVICE_QNAME);
|
|
}
|
|
|
|
public AccesoBSGService(URL wsdlLocation, WebServiceFeature... features) {
|
|
super(wsdlLocation, ACCESOBSGSERVICE_QNAME, features);
|
|
}
|
|
|
|
public AccesoBSGService(URL wsdlLocation, QName serviceName) {
|
|
super(wsdlLocation, serviceName);
|
|
}
|
|
|
|
public AccesoBSGService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
|
|
super(wsdlLocation, serviceName, features);
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @return
|
|
* returns BSG04AccederBSG
|
|
*/
|
|
@WebEndpoint(name = "BSG04_Acceder_BSGPort")
|
|
public BSG04AccederBSG getBSG04AccederBSGPort() {
|
|
return super.getPort(new QName("http://bsg.gob.ec/AccesoBSGService", "BSG04_Acceder_BSGPort"), BSG04AccederBSG.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 BSG04AccederBSG
|
|
*/
|
|
@WebEndpoint(name = "BSG04_Acceder_BSGPort")
|
|
public BSG04AccederBSG getBSG04AccederBSGPort(WebServiceFeature... features) {
|
|
return super.getPort(new QName("http://bsg.gob.ec/AccesoBSGService", "BSG04_Acceder_BSGPort"), BSG04AccederBSG.class, features);
|
|
}
|
|
|
|
private static URL __getWsdlLocation() {
|
|
if (ACCESOBSGSERVICE_EXCEPTION!= null) {
|
|
throw ACCESOBSGSERVICE_EXCEPTION;
|
|
}
|
|
return ACCESOBSGSERVICE_WSDL_LOCATION;
|
|
}
|
|
|
|
}
|