Consulta de base local personas y empresas
This commit is contained in:
parent
bf5bfeffa3
commit
9032d81e5a
|
|
@ -0,0 +1,61 @@
|
|||
|
||||
package com.fp.frontend.webservices.dinardap;
|
||||
|
||||
import com.fp.frontend.webservices.dinardap.*;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Clase Java para consultaCedula complex type.
|
||||
*
|
||||
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="consultaCedula">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="cedula" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "consultaCedula", propOrder = {
|
||||
"cedula"
|
||||
})
|
||||
public class ConsultaCedula {
|
||||
|
||||
protected String cedula;
|
||||
|
||||
/**
|
||||
* Obtiene el valor de la propiedad cedula.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getCedula() {
|
||||
return cedula;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define el valor de la propiedad cedula.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setCedula(String value) {
|
||||
this.cedula = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
|
||||
package com.fp.frontend.webservices.dinardap;
|
||||
|
||||
import com.fp.frontend.webservices.dinardap.*;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Clase Java para consultaCedulaResponse complex type.
|
||||
*
|
||||
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="consultaCedulaResponse">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="response" type="{http://service.sincoar.qsoft.com/}respuesta" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "consultaCedulaResponse", propOrder = {
|
||||
"response"
|
||||
})
|
||||
public class ConsultaCedulaResponse {
|
||||
|
||||
protected Respuesta response;
|
||||
|
||||
/**
|
||||
* Obtiene el valor de la propiedad response.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Respuesta }
|
||||
*
|
||||
*/
|
||||
public Respuesta getResponse() {
|
||||
return response;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define el valor de la propiedad response.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Respuesta }
|
||||
*
|
||||
*/
|
||||
public void setResponse(Respuesta value) {
|
||||
this.response = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
|
||||
package com.fp.frontend.webservices.dinardap;
|
||||
|
||||
import com.fp.frontend.webservices.dinardap.*;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Clase Java para consultaRuc complex type.
|
||||
*
|
||||
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="consultaRuc">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="ruc" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "consultaRuc", propOrder = {
|
||||
"ruc"
|
||||
})
|
||||
public class ConsultaRuc {
|
||||
|
||||
protected String ruc;
|
||||
|
||||
/**
|
||||
* Obtiene el valor de la propiedad ruc.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRuc() {
|
||||
return ruc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define el valor de la propiedad ruc.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRuc(String value) {
|
||||
this.ruc = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
|
||||
package com.fp.frontend.webservices.dinardap;
|
||||
|
||||
import com.fp.frontend.webservices.dinardap.*;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Clase Java para consultaRucResponse complex type.
|
||||
*
|
||||
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="consultaRucResponse">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="response" type="{http://service.sincoar.qsoft.com/}respuesta" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "consultaRucResponse", propOrder = {
|
||||
"response"
|
||||
})
|
||||
public class ConsultaRucResponse {
|
||||
|
||||
protected Respuesta response;
|
||||
|
||||
/**
|
||||
* Obtiene el valor de la propiedad response.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Respuesta }
|
||||
*
|
||||
*/
|
||||
public Respuesta getResponse() {
|
||||
return response;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define el valor de la propiedad response.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Respuesta }
|
||||
*
|
||||
*/
|
||||
public void setResponse(Respuesta value) {
|
||||
this.response = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -14,6 +14,7 @@ public class DinardapClient {
|
|||
|
||||
private final static String ERROR_OK = "0";
|
||||
|
||||
|
||||
/**
|
||||
* @param ruc
|
||||
* @return
|
||||
|
|
@ -44,7 +45,7 @@ public class DinardapClient {
|
|||
|
||||
/**
|
||||
* @param cedula
|
||||
* @return
|
||||
* @return
|
||||
*/
|
||||
public CedulaDNP getCedula(String cedula) {
|
||||
CedulaDNP result = null;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,132 @@
|
|||
|
||||
package com.fp.frontend.webservices.dinardap;
|
||||
|
||||
import com.fp.frontend.webservices.dinardap.*;
|
||||
import javax.xml.bind.JAXBElement;
|
||||
import javax.xml.bind.annotation.XmlElementDecl;
|
||||
import javax.xml.bind.annotation.XmlRegistry;
|
||||
import javax.xml.namespace.QName;
|
||||
|
||||
|
||||
/**
|
||||
* This object contains factory methods for each
|
||||
* Java content interface and Java element interface
|
||||
* generated in the com.fp.frontend.webservices.dinardap package.
|
||||
* <p>An ObjectFactory allows you to programatically
|
||||
* construct new instances of the Java representation
|
||||
* for XML content. The Java representation of XML
|
||||
* content can consist of schema derived interfaces
|
||||
* and classes representing the binding of schema
|
||||
* type definitions, element declarations and model
|
||||
* groups. Factory methods for each of these are
|
||||
* provided in this class.
|
||||
*
|
||||
*/
|
||||
@XmlRegistry
|
||||
public class ObjectFactory {
|
||||
|
||||
private final static QName _ConsultaCedula_QNAME = new QName("http://service.sincoar.qsoft.com/", "consultaCedula");
|
||||
private final static QName _ConsultaRucResponse_QNAME = new QName("http://service.sincoar.qsoft.com/", "consultaRucResponse");
|
||||
private final static QName _ConsultaRuc_QNAME = new QName("http://service.sincoar.qsoft.com/", "consultaRuc");
|
||||
private final static QName _ConsultaCedulaResponse_QNAME = new QName("http://service.sincoar.qsoft.com/", "consultaCedulaResponse");
|
||||
|
||||
/**
|
||||
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.fp.frontend.webservices.dinardap
|
||||
*
|
||||
*/
|
||||
public ObjectFactory() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Respuesta }
|
||||
*
|
||||
*/
|
||||
public Respuesta createRespuesta() {
|
||||
return new Respuesta();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Respuesta.Datos }
|
||||
*
|
||||
*/
|
||||
public Respuesta.Datos createRespuestaDatos() {
|
||||
return new Respuesta.Datos();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link ConsultaCedula }
|
||||
*
|
||||
*/
|
||||
public ConsultaCedula createConsultaCedula() {
|
||||
return new ConsultaCedula();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link ConsultaRucResponse }
|
||||
*
|
||||
*/
|
||||
public ConsultaRucResponse createConsultaRucResponse() {
|
||||
return new ConsultaRucResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link ConsultaRuc }
|
||||
*
|
||||
*/
|
||||
public ConsultaRuc createConsultaRuc() {
|
||||
return new ConsultaRuc();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link ConsultaCedulaResponse }
|
||||
*
|
||||
*/
|
||||
public ConsultaCedulaResponse createConsultaCedulaResponse() {
|
||||
return new ConsultaCedulaResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Respuesta.Datos.Entry }
|
||||
*
|
||||
*/
|
||||
public Respuesta.Datos.Entry createRespuestaDatosEntry() {
|
||||
return new Respuesta.Datos.Entry();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link JAXBElement }{@code <}{@link ConsultaCedula }{@code >}}
|
||||
*
|
||||
*/
|
||||
@XmlElementDecl(namespace = "http://service.sincoar.qsoft.com/", name = "consultaCedula")
|
||||
public JAXBElement<ConsultaCedula> createConsultaCedula(ConsultaCedula value) {
|
||||
return new JAXBElement<ConsultaCedula>(_ConsultaCedula_QNAME, ConsultaCedula.class, null, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link JAXBElement }{@code <}{@link ConsultaRucResponse }{@code >}}
|
||||
*
|
||||
*/
|
||||
@XmlElementDecl(namespace = "http://service.sincoar.qsoft.com/", name = "consultaRucResponse")
|
||||
public JAXBElement<ConsultaRucResponse> createConsultaRucResponse(ConsultaRucResponse value) {
|
||||
return new JAXBElement<ConsultaRucResponse>(_ConsultaRucResponse_QNAME, ConsultaRucResponse.class, null, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link JAXBElement }{@code <}{@link ConsultaRuc }{@code >}}
|
||||
*
|
||||
*/
|
||||
@XmlElementDecl(namespace = "http://service.sincoar.qsoft.com/", name = "consultaRuc")
|
||||
public JAXBElement<ConsultaRuc> createConsultaRuc(ConsultaRuc value) {
|
||||
return new JAXBElement<ConsultaRuc>(_ConsultaRuc_QNAME, ConsultaRuc.class, null, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link JAXBElement }{@code <}{@link ConsultaCedulaResponse }{@code >}}
|
||||
*
|
||||
*/
|
||||
@XmlElementDecl(namespace = "http://service.sincoar.qsoft.com/", name = "consultaCedulaResponse")
|
||||
public JAXBElement<ConsultaCedulaResponse> createConsultaCedulaResponse(ConsultaCedulaResponse value) {
|
||||
return new JAXBElement<ConsultaCedulaResponse>(_ConsultaCedulaResponse_QNAME, ConsultaCedulaResponse.class, null, value);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,324 @@
|
|||
|
||||
package com.fp.frontend.webservices.dinardap;
|
||||
|
||||
import com.fp.frontend.webservices.dinardap.*;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Clase Java para respuesta complex type.
|
||||
*
|
||||
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="respuesta">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="actividad" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element name="codigoError" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="datos">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="entry" maxOccurs="unbounded" minOccurs="0">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* <element name="mensajeError" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "respuesta", propOrder = {
|
||||
"actividad",
|
||||
"codigoError",
|
||||
"datos",
|
||||
"mensajeError"
|
||||
})
|
||||
public class Respuesta {
|
||||
|
||||
@XmlElement(nillable = true)
|
||||
protected List<String> actividad;
|
||||
protected String codigoError;
|
||||
@XmlElement(required = true)
|
||||
protected Respuesta.Datos datos;
|
||||
protected String mensajeError;
|
||||
|
||||
/**
|
||||
* Gets the value of the actividad property.
|
||||
*
|
||||
* <p>
|
||||
* This accessor method returns a reference to the live list,
|
||||
* not a snapshot. Therefore any modification you make to the
|
||||
* returned list will be present inside the JAXB object.
|
||||
* This is why there is not a <CODE>set</CODE> method for the actividad property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getActividad().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link String }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<String> getActividad() {
|
||||
if (actividad == null) {
|
||||
actividad = new ArrayList<String>();
|
||||
}
|
||||
return this.actividad;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtiene el valor de la propiedad codigoError.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getCodigoError() {
|
||||
return codigoError;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define el valor de la propiedad codigoError.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setCodigoError(String value) {
|
||||
this.codigoError = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtiene el valor de la propiedad datos.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Respuesta.Datos }
|
||||
*
|
||||
*/
|
||||
public Respuesta.Datos getDatos() {
|
||||
return datos;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define el valor de la propiedad datos.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Respuesta.Datos }
|
||||
*
|
||||
*/
|
||||
public void setDatos(Respuesta.Datos value) {
|
||||
this.datos = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtiene el valor de la propiedad mensajeError.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getMensajeError() {
|
||||
return mensajeError;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define el valor de la propiedad mensajeError.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setMensajeError(String value) {
|
||||
this.mensajeError = value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Clase Java para anonymous complex type.
|
||||
*
|
||||
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="entry" maxOccurs="unbounded" minOccurs="0">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"entry"
|
||||
})
|
||||
public static class Datos {
|
||||
|
||||
protected List<Respuesta.Datos.Entry> entry;
|
||||
|
||||
/**
|
||||
* Gets the value of the entry property.
|
||||
*
|
||||
* <p>
|
||||
* This accessor method returns a reference to the live list,
|
||||
* not a snapshot. Therefore any modification you make to the
|
||||
* returned list will be present inside the JAXB object.
|
||||
* This is why there is not a <CODE>set</CODE> method for the entry property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getEntry().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Respuesta.Datos.Entry }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<Respuesta.Datos.Entry> getEntry() {
|
||||
if (entry == null) {
|
||||
entry = new ArrayList<Respuesta.Datos.Entry>();
|
||||
}
|
||||
return this.entry;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Clase Java para anonymous complex type.
|
||||
*
|
||||
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"key",
|
||||
"value"
|
||||
})
|
||||
public static class Entry {
|
||||
|
||||
protected String key;
|
||||
protected String value;
|
||||
|
||||
/**
|
||||
* Obtiene el valor de la propiedad key.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getKey() {
|
||||
return key;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define el valor de la propiedad key.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setKey(String value) {
|
||||
this.key = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtiene el valor de la propiedad value.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define el valor de la propiedad value.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,55 @@
|
|||
|
||||
package com.fp.frontend.webservices.dinardap;
|
||||
|
||||
import com.fp.frontend.webservices.dinardap.*;
|
||||
import javax.jws.WebMethod;
|
||||
import javax.jws.WebParam;
|
||||
import javax.jws.WebResult;
|
||||
import javax.jws.WebService;
|
||||
import javax.xml.bind.annotation.XmlSeeAlso;
|
||||
import javax.xml.ws.RequestWrapper;
|
||||
import javax.xml.ws.ResponseWrapper;
|
||||
|
||||
|
||||
/**
|
||||
* This class was generated by the JAX-WS RI.
|
||||
* JAX-WS RI 2.2.8
|
||||
* Generated source version: 2.2
|
||||
*
|
||||
*/
|
||||
@WebService(name = "SincoarServices", targetNamespace = "http://service.sincoar.qsoft.com/")
|
||||
@XmlSeeAlso({
|
||||
ObjectFactory.class
|
||||
})
|
||||
public interface SincoarServices {
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @param cedula
|
||||
* @return
|
||||
* returns com.fp.frontend.webservices.dinardap.Respuesta
|
||||
*/
|
||||
@WebMethod
|
||||
@WebResult(name = "response", targetNamespace = "")
|
||||
@RequestWrapper(localName = "consultaCedula", targetNamespace = "http://service.sincoar.qsoft.com/", className = "com.fp.frontend.webservices.dinardap.ConsultaCedula")
|
||||
@ResponseWrapper(localName = "consultaCedulaResponse", targetNamespace = "http://service.sincoar.qsoft.com/", className = "com.fp.frontend.webservices.dinardap.ConsultaCedulaResponse")
|
||||
public Respuesta consultaCedula(
|
||||
@WebParam(name = "cedula", targetNamespace = "")
|
||||
String cedula);
|
||||
|
||||
/**
|
||||
*
|
||||
* @param ruc
|
||||
* @return
|
||||
* returns com.fp.frontend.webservices.dinardap.Respuesta
|
||||
*/
|
||||
@WebMethod
|
||||
@WebResult(name = "response", targetNamespace = "")
|
||||
@RequestWrapper(localName = "consultaRuc", targetNamespace = "http://service.sincoar.qsoft.com/", className = "com.fp.frontend.webservices.dinardap.ConsultaRuc")
|
||||
@ResponseWrapper(localName = "consultaRucResponse", targetNamespace = "http://service.sincoar.qsoft.com/", className = "com.fp.frontend.webservices.dinardap.ConsultaRucResponse")
|
||||
public Respuesta consultaRuc(
|
||||
@WebParam(name = "ruc", targetNamespace = "")
|
||||
String ruc);
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,95 @@
|
|||
|
||||
package com.fp.frontend.webservices.dinardap;
|
||||
|
||||
import com.fp.frontend.webservices.dinardap.*;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* This class was generated by the JAX-WS RI.
|
||||
* JAX-WS RI 2.2.8
|
||||
* Generated source version: 2.2
|
||||
*
|
||||
*/
|
||||
@WebServiceClient(name = "SincoarServices", targetNamespace = "http://service.sincoar.qsoft.com/", wsdlLocation = "http://172.17.26.183:8090/sincoar-services?wsdl")
|
||||
public class SincoarServices_Service
|
||||
extends Service
|
||||
{
|
||||
|
||||
private final static URL SINCOARSERVICES_WSDL_LOCATION;
|
||||
private final static WebServiceException SINCOARSERVICES_EXCEPTION;
|
||||
private final static QName SINCOARSERVICES_QNAME = new QName("http://service.sincoar.qsoft.com/", "SincoarServices");
|
||||
|
||||
static {
|
||||
URL url = null;
|
||||
WebServiceException e = null;
|
||||
try {
|
||||
url = new URL("http://172.17.26.183:8090/sincoar-services?wsdl");
|
||||
} catch (MalformedURLException ex) {
|
||||
e = new WebServiceException(ex);
|
||||
}
|
||||
SINCOARSERVICES_WSDL_LOCATION = url;
|
||||
SINCOARSERVICES_EXCEPTION = e;
|
||||
}
|
||||
|
||||
public SincoarServices_Service() {
|
||||
super(__getWsdlLocation(), SINCOARSERVICES_QNAME);
|
||||
}
|
||||
|
||||
public SincoarServices_Service(WebServiceFeature... features) {
|
||||
super(__getWsdlLocation(), SINCOARSERVICES_QNAME, features);
|
||||
}
|
||||
|
||||
public SincoarServices_Service(URL wsdlLocation) {
|
||||
super(wsdlLocation, SINCOARSERVICES_QNAME);
|
||||
}
|
||||
|
||||
public SincoarServices_Service(URL wsdlLocation, WebServiceFeature... features) {
|
||||
super(wsdlLocation, SINCOARSERVICES_QNAME, features);
|
||||
}
|
||||
|
||||
public SincoarServices_Service(URL wsdlLocation, QName serviceName) {
|
||||
super(wsdlLocation, serviceName);
|
||||
}
|
||||
|
||||
public SincoarServices_Service(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
|
||||
super(wsdlLocation, serviceName, features);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return
|
||||
* returns SincoarServices
|
||||
*/
|
||||
@WebEndpoint(name = "SincoarServicesPort")
|
||||
public SincoarServices getSincoarServicesPort() {
|
||||
return super.getPort(new QName("http://service.sincoar.qsoft.com/", "SincoarServicesPort"), SincoarServices.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 SincoarServices
|
||||
*/
|
||||
@WebEndpoint(name = "SincoarServicesPort")
|
||||
public SincoarServices getSincoarServicesPort(WebServiceFeature... features) {
|
||||
return super.getPort(new QName("http://service.sincoar.qsoft.com/", "SincoarServicesPort"), SincoarServices.class, features);
|
||||
}
|
||||
|
||||
private static URL __getWsdlLocation() {
|
||||
if (SINCOARSERVICES_EXCEPTION!= null) {
|
||||
throw SINCOARSERVICES_EXCEPTION;
|
||||
}
|
||||
return SINCOARSERVICES_WSDL_LOCATION;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
@javax.xml.bind.annotation.XmlSchema(namespace = "http://service.sincoar.qsoft.com/")
|
||||
package com.fp.frontend.webservices.dinardap;
|
||||
Loading…
Reference in New Issue