Integracion con DINARDAP
This commit is contained in:
parent
9032d81e5a
commit
1b9489ca3b
|
|
@ -176,25 +176,14 @@ public class EvaluacionController extends AbstractController<TarmEvaluacion> {
|
||||||
MessageHelper.setMessageError(MsgControlArmas.getProperty("msg_error_nodocumentoinvalido"));
|
MessageHelper.setMessageError(MsgControlArmas.getProperty("msg_error_nodocumentoinvalido"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//TODO: evaluar casos, salto de validacion por error servicio SNAP
|
personafiltroSNAP = buscarPersonaSnap(personafiltro.getIdentification(), personafiltro.getIdentificationcatalog());
|
||||||
personafiltroSNAP = PersonDetailController.findxidentification(personafiltro.getIdentification(), personafiltro.getIdentificationcatalog());
|
|
||||||
if (personafiltroSNAP == null) {
|
|
||||||
personafiltroSNAP = PersonDetailController.buscarLocal(personafiltro.getIdentification());
|
|
||||||
}
|
|
||||||
// personafiltroSNAP = buscarPersonaSnap(personafiltro.getIdentification(), personafiltro.getIdentificationcatalog());
|
|
||||||
|
|
||||||
} else if (personafiltro.getIdentificationcatalog().equals("RUC")) {
|
} else if (personafiltro.getIdentificationcatalog().equals("RUC")) {
|
||||||
// valido validez RUC
|
// valido validez RUC
|
||||||
if (!ValidateIdentification.ruc(personafiltro.getIdentification())) {
|
if (!ValidateIdentification.ruc(personafiltro.getIdentification())) {
|
||||||
MessageHelper.setMessageError(MsgControlArmas.getProperty("msg_error_nodocumentoinvalido"));
|
MessageHelper.setMessageError(MsgControlArmas.getProperty("msg_error_nodocumentoinvalido"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//TODO: evaluar casos, salto de validacion por error servicio SNAP
|
personafiltroSNAP = buscarPersonaSnap(personafiltro.getIdentification(), personafiltro.getIdentificationcatalog());
|
||||||
personafiltroSNAP = PersonDetailController.findxidentification(personafiltro.getIdentification(), personafiltro.getIdentificationcatalog());
|
|
||||||
if (personafiltroSNAP == null) {
|
|
||||||
personafiltroSNAP = PersonDetailController.buscarLocal(personafiltro.getIdentification());
|
|
||||||
}
|
|
||||||
// personafiltroSNAP = buscarPersonaSnap(personafiltro.getIdentification(), personafiltro.getIdentificationcatalog());
|
|
||||||
} else {
|
} else {
|
||||||
// PASAPORTE
|
// PASAPORTE
|
||||||
personafiltroSNAP = new TcustPersonDetail();
|
personafiltroSNAP = new TcustPersonDetail();
|
||||||
|
|
@ -1004,12 +993,8 @@ public class EvaluacionController extends AbstractController<TarmEvaluacion> {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//envia a buscar en la SNAP
|
//envia a buscar en la SNAP
|
||||||
// tcustPersonDetailPsicologo = buscarPersonaSnap(this.getRecord().getNumdocpsicologo(), this.getRecord().getTipdocpsicologo());
|
tcustPersonDetailPsicologo = buscarPersonaSnap(this.getRecord().getNumdocpsicologo(), this.getRecord().getTipdocpsicologo());
|
||||||
//TODO: evaluar casos, salto de validacion por error servicio SNAP
|
|
||||||
tcustPersonDetailPsicologo = PersonDetailController.findxidentification(personafiltro.getIdentification(), personafiltro.getIdentificationcatalog());
|
|
||||||
if (tcustPersonDetailPsicologo == null) {
|
|
||||||
tcustPersonDetailPsicologo = PersonDetailController.buscarLocal(personafiltro.getIdentification());
|
|
||||||
}
|
|
||||||
} else if (this.getRecord().getTipdocpsicologo().equals(codigoRuc)) {
|
} else if (this.getRecord().getTipdocpsicologo().equals(codigoRuc)) {
|
||||||
// SI ES RUC
|
// SI ES RUC
|
||||||
if (!ValidateIdentification.ruc(this.getRecord().getNumdocpsicologo())) {
|
if (!ValidateIdentification.ruc(this.getRecord().getNumdocpsicologo())) {
|
||||||
|
|
@ -1017,12 +1002,8 @@ public class EvaluacionController extends AbstractController<TarmEvaluacion> {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// envia a buscar en la snap
|
// envia a buscar en la snap
|
||||||
// tcustPersonDetailPsicologo = buscarPersonaSnap(this.getRecord().getNumdocpsicologo(), this.getRecord().getTipdocpsicologo());
|
tcustPersonDetailPsicologo = buscarPersonaSnap(this.getRecord().getNumdocpsicologo(), this.getRecord().getTipdocpsicologo());
|
||||||
//TODO: evaluar casos, salto de validacion por error servicio SNAP
|
|
||||||
tcustPersonDetailPsicologo = PersonDetailController.findxidentification(personafiltro.getIdentification(), personafiltro.getIdentificationcatalog());
|
|
||||||
if (tcustPersonDetailPsicologo == null) {
|
|
||||||
tcustPersonDetailPsicologo = PersonDetailController.buscarLocal(personafiltro.getIdentification());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (tcustPersonDetailPsicologo != null) {
|
if (tcustPersonDetailPsicologo != null) {
|
||||||
this.record.setPsicologoresponsable(tcustPersonDetailPsicologo.getName());
|
this.record.setPsicologoresponsable(tcustPersonDetailPsicologo.getName());
|
||||||
|
|
@ -1037,7 +1018,7 @@ public class EvaluacionController extends AbstractController<TarmEvaluacion> {
|
||||||
*
|
*
|
||||||
* @param documento
|
* @param documento
|
||||||
* @param tipoDocumento
|
* @param tipoDocumento
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public TcustPersonDetail buscarPersonaSnap(String documento, String tipoDocumento) {
|
public TcustPersonDetail buscarPersonaSnap(String documento, String tipoDocumento) {
|
||||||
if (tipoDocumento.equals("CED")) {
|
if (tipoDocumento.equals("CED")) {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
package com.fp.frontend.webservices.dinardap;
|
package com.fp.frontend.webservices.dinardap;
|
||||||
|
|
||||||
import com.fp.frontend.webservices.dinardap.*;
|
import com.fp.frontend.webservices.dinardap.*;
|
||||||
|
|
@ -6,12 +5,13 @@ import javax.xml.bind.annotation.XmlAccessType;
|
||||||
import javax.xml.bind.annotation.XmlAccessorType;
|
import javax.xml.bind.annotation.XmlAccessorType;
|
||||||
import javax.xml.bind.annotation.XmlType;
|
import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Clase Java para consultaCedula complex type.
|
* <p>
|
||||||
*
|
* Clase Java para consultaCedula complex type.
|
||||||
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
*
|
||||||
*
|
* <p>
|
||||||
|
* El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
||||||
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType name="consultaCedula">
|
* <complexType name="consultaCedula">
|
||||||
* <complexContent>
|
* <complexContent>
|
||||||
|
|
@ -23,8 +23,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||||
* </complexContent>
|
* </complexContent>
|
||||||
* </complexType>
|
* </complexType>
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "consultaCedula", propOrder = {
|
@XmlType(name = "consultaCedula", propOrder = {
|
||||||
|
|
@ -36,11 +36,9 @@ public class ConsultaCedula {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Obtiene el valor de la propiedad cedula.
|
* Obtiene el valor de la propiedad cedula.
|
||||||
*
|
*
|
||||||
* @return
|
* @return possible object is {@link String }
|
||||||
* possible object is
|
*
|
||||||
* {@link String }
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public String getCedula() {
|
public String getCedula() {
|
||||||
return cedula;
|
return cedula;
|
||||||
|
|
@ -48,11 +46,9 @@ public class ConsultaCedula {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Define el valor de la propiedad cedula.
|
* Define el valor de la propiedad cedula.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value allowed object is {@link String }
|
||||||
* allowed object is
|
*
|
||||||
* {@link String }
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public void setCedula(String value) {
|
public void setCedula(String value) {
|
||||||
this.cedula = value;
|
this.cedula = value;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
package com.fp.frontend.webservices.dinardap;
|
package com.fp.frontend.webservices.dinardap;
|
||||||
|
|
||||||
import com.fp.frontend.webservices.dinardap.*;
|
import com.fp.frontend.webservices.dinardap.*;
|
||||||
|
|
@ -6,12 +5,13 @@ import javax.xml.bind.annotation.XmlAccessType;
|
||||||
import javax.xml.bind.annotation.XmlAccessorType;
|
import javax.xml.bind.annotation.XmlAccessorType;
|
||||||
import javax.xml.bind.annotation.XmlType;
|
import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Clase Java para consultaCedulaResponse complex type.
|
* <p>
|
||||||
*
|
* Clase Java para consultaCedulaResponse complex type.
|
||||||
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
*
|
||||||
*
|
* <p>
|
||||||
|
* El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
||||||
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType name="consultaCedulaResponse">
|
* <complexType name="consultaCedulaResponse">
|
||||||
* <complexContent>
|
* <complexContent>
|
||||||
|
|
@ -23,8 +23,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||||
* </complexContent>
|
* </complexContent>
|
||||||
* </complexType>
|
* </complexType>
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "consultaCedulaResponse", propOrder = {
|
@XmlType(name = "consultaCedulaResponse", propOrder = {
|
||||||
|
|
@ -36,11 +36,9 @@ public class ConsultaCedulaResponse {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Obtiene el valor de la propiedad response.
|
* Obtiene el valor de la propiedad response.
|
||||||
*
|
*
|
||||||
* @return
|
* @return possible object is {@link Respuesta }
|
||||||
* possible object is
|
*
|
||||||
* {@link Respuesta }
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public Respuesta getResponse() {
|
public Respuesta getResponse() {
|
||||||
return response;
|
return response;
|
||||||
|
|
@ -48,11 +46,9 @@ public class ConsultaCedulaResponse {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Define el valor de la propiedad response.
|
* Define el valor de la propiedad response.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value allowed object is {@link Respuesta }
|
||||||
* allowed object is
|
*
|
||||||
* {@link Respuesta }
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public void setResponse(Respuesta value) {
|
public void setResponse(Respuesta value) {
|
||||||
this.response = value;
|
this.response = value;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
package com.fp.frontend.webservices.dinardap;
|
package com.fp.frontend.webservices.dinardap;
|
||||||
|
|
||||||
import com.fp.frontend.webservices.dinardap.*;
|
import com.fp.frontend.webservices.dinardap.*;
|
||||||
|
|
@ -6,12 +5,13 @@ import javax.xml.bind.annotation.XmlAccessType;
|
||||||
import javax.xml.bind.annotation.XmlAccessorType;
|
import javax.xml.bind.annotation.XmlAccessorType;
|
||||||
import javax.xml.bind.annotation.XmlType;
|
import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Clase Java para consultaRuc complex type.
|
* <p>
|
||||||
*
|
* Clase Java para consultaRuc complex type.
|
||||||
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
*
|
||||||
*
|
* <p>
|
||||||
|
* El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
||||||
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType name="consultaRuc">
|
* <complexType name="consultaRuc">
|
||||||
* <complexContent>
|
* <complexContent>
|
||||||
|
|
@ -23,8 +23,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||||
* </complexContent>
|
* </complexContent>
|
||||||
* </complexType>
|
* </complexType>
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "consultaRuc", propOrder = {
|
@XmlType(name = "consultaRuc", propOrder = {
|
||||||
|
|
@ -36,11 +36,9 @@ public class ConsultaRuc {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Obtiene el valor de la propiedad ruc.
|
* Obtiene el valor de la propiedad ruc.
|
||||||
*
|
*
|
||||||
* @return
|
* @return possible object is {@link String }
|
||||||
* possible object is
|
*
|
||||||
* {@link String }
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public String getRuc() {
|
public String getRuc() {
|
||||||
return ruc;
|
return ruc;
|
||||||
|
|
@ -48,11 +46,9 @@ public class ConsultaRuc {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Define el valor de la propiedad ruc.
|
* Define el valor de la propiedad ruc.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value allowed object is {@link String }
|
||||||
* allowed object is
|
*
|
||||||
* {@link String }
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public void setRuc(String value) {
|
public void setRuc(String value) {
|
||||||
this.ruc = value;
|
this.ruc = value;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
package com.fp.frontend.webservices.dinardap;
|
package com.fp.frontend.webservices.dinardap;
|
||||||
|
|
||||||
import com.fp.frontend.webservices.dinardap.*;
|
import com.fp.frontend.webservices.dinardap.*;
|
||||||
|
|
@ -6,12 +5,13 @@ import javax.xml.bind.annotation.XmlAccessType;
|
||||||
import javax.xml.bind.annotation.XmlAccessorType;
|
import javax.xml.bind.annotation.XmlAccessorType;
|
||||||
import javax.xml.bind.annotation.XmlType;
|
import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Clase Java para consultaRucResponse complex type.
|
* <p>
|
||||||
*
|
* Clase Java para consultaRucResponse complex type.
|
||||||
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
*
|
||||||
*
|
* <p>
|
||||||
|
* El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
||||||
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType name="consultaRucResponse">
|
* <complexType name="consultaRucResponse">
|
||||||
* <complexContent>
|
* <complexContent>
|
||||||
|
|
@ -23,8 +23,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||||
* </complexContent>
|
* </complexContent>
|
||||||
* </complexType>
|
* </complexType>
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "consultaRucResponse", propOrder = {
|
@XmlType(name = "consultaRucResponse", propOrder = {
|
||||||
|
|
@ -36,11 +36,9 @@ public class ConsultaRucResponse {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Obtiene el valor de la propiedad response.
|
* Obtiene el valor de la propiedad response.
|
||||||
*
|
*
|
||||||
* @return
|
* @return possible object is {@link Respuesta }
|
||||||
* possible object is
|
*
|
||||||
* {@link Respuesta }
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public Respuesta getResponse() {
|
public Respuesta getResponse() {
|
||||||
return response;
|
return response;
|
||||||
|
|
@ -48,11 +46,9 @@ public class ConsultaRucResponse {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Define el valor de la propiedad response.
|
* Define el valor de la propiedad response.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value allowed object is {@link Respuesta }
|
||||||
* allowed object is
|
*
|
||||||
* {@link Respuesta }
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public void setResponse(Respuesta value) {
|
public void setResponse(Respuesta value) {
|
||||||
this.response = value;
|
this.response = value;
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
package com.fp.frontend.webservices.dinardap;
|
package com.fp.frontend.webservices.dinardap;
|
||||||
|
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
|
import javax.xml.ws.BindingProvider;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
@ -14,6 +15,13 @@ public class DinardapClient {
|
||||||
|
|
||||||
private final static String ERROR_OK = "0";
|
private final static String ERROR_OK = "0";
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
System.out.println("========= CONSULTAR =============");
|
||||||
|
CedulaDNP ced = new DinardapClient().getCedula("1715060073");
|
||||||
|
System.out.println(ced.getCedula());
|
||||||
|
System.out.println(ced.getEstadoCivil());
|
||||||
|
System.out.println(ced.getProfesion());
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param ruc
|
* @param ruc
|
||||||
|
|
@ -22,6 +30,9 @@ public class DinardapClient {
|
||||||
public RucDNP getRuc(String ruc) {
|
public RucDNP getRuc(String ruc) {
|
||||||
RucDNP result = null;
|
RucDNP result = null;
|
||||||
SincoarServices services = new SincoarServices_Service().getSincoarServicesPort();
|
SincoarServices services = new SincoarServices_Service().getSincoarServicesPort();
|
||||||
|
((BindingProvider) services).getRequestContext().put("javax.xml.ws.client.connectionTimeout", "5000");
|
||||||
|
((BindingProvider) services).getRequestContext().put("javax.xml.ws.client.receiveTimeout", "5000");
|
||||||
|
|
||||||
Respuesta respuesta = services.consultaCedula(ruc);
|
Respuesta respuesta = services.consultaCedula(ruc);
|
||||||
if (respuesta.getCodigoError().equals(ERROR_OK)) {
|
if (respuesta.getCodigoError().equals(ERROR_OK)) {
|
||||||
result = new RucDNP();
|
result = new RucDNP();
|
||||||
|
|
@ -50,6 +61,9 @@ public class DinardapClient {
|
||||||
public CedulaDNP getCedula(String cedula) {
|
public CedulaDNP getCedula(String cedula) {
|
||||||
CedulaDNP result = null;
|
CedulaDNP result = null;
|
||||||
SincoarServices services = new SincoarServices_Service().getSincoarServicesPort();
|
SincoarServices services = new SincoarServices_Service().getSincoarServicesPort();
|
||||||
|
((BindingProvider) services).getRequestContext().put("javax.xml.ws.client.connectionTimeout", "5000");
|
||||||
|
((BindingProvider) services).getRequestContext().put("javax.xml.ws.client.receiveTimeout", "5000");
|
||||||
|
|
||||||
Respuesta respuesta = services.consultaCedula(cedula);
|
Respuesta respuesta = services.consultaCedula(cedula);
|
||||||
if (respuesta.getCodigoError().equals(ERROR_OK)) {
|
if (respuesta.getCodigoError().equals(ERROR_OK)) {
|
||||||
result = new CedulaDNP();
|
result = new CedulaDNP();
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
package com.fp.frontend.webservices.dinardap;
|
package com.fp.frontend.webservices.dinardap;
|
||||||
|
|
||||||
import com.fp.frontend.webservices.dinardap.*;
|
import com.fp.frontend.webservices.dinardap.*;
|
||||||
|
|
@ -7,20 +6,14 @@ import javax.xml.bind.annotation.XmlElementDecl;
|
||||||
import javax.xml.bind.annotation.XmlRegistry;
|
import javax.xml.bind.annotation.XmlRegistry;
|
||||||
import javax.xml.namespace.QName;
|
import javax.xml.namespace.QName;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This object contains factory methods for each
|
* This object contains factory methods for each Java content interface and Java element interface generated in the
|
||||||
* Java content interface and Java element interface
|
* com.fp.frontend.webservices.dinardap package.
|
||||||
* generated in the com.fp.frontend.webservices.dinardap package.
|
* <p>
|
||||||
* <p>An ObjectFactory allows you to programatically
|
* An ObjectFactory allows you to programatically construct new instances of the Java representation for XML content. The Java representation of XML
|
||||||
* construct new instances of the Java representation
|
* content can consist of schema derived interfaces and classes representing the binding of schema type definitions, element declarations and model
|
||||||
* for XML content. The Java representation of XML
|
* groups. Factory methods for each of these are provided in this class.
|
||||||
* 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
|
@XmlRegistry
|
||||||
public class ObjectFactory {
|
public class ObjectFactory {
|
||||||
|
|
@ -32,14 +25,14 @@ public class ObjectFactory {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.fp.frontend.webservices.dinardap
|
* 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() {
|
public ObjectFactory() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an instance of {@link Respuesta }
|
* Create an instance of {@link Respuesta }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public Respuesta createRespuesta() {
|
public Respuesta createRespuesta() {
|
||||||
return new Respuesta();
|
return new Respuesta();
|
||||||
|
|
@ -47,7 +40,7 @@ public class ObjectFactory {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an instance of {@link Respuesta.Datos }
|
* Create an instance of {@link Respuesta.Datos }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public Respuesta.Datos createRespuestaDatos() {
|
public Respuesta.Datos createRespuestaDatos() {
|
||||||
return new Respuesta.Datos();
|
return new Respuesta.Datos();
|
||||||
|
|
@ -55,7 +48,7 @@ public class ObjectFactory {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an instance of {@link ConsultaCedula }
|
* Create an instance of {@link ConsultaCedula }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public ConsultaCedula createConsultaCedula() {
|
public ConsultaCedula createConsultaCedula() {
|
||||||
return new ConsultaCedula();
|
return new ConsultaCedula();
|
||||||
|
|
@ -63,7 +56,7 @@ public class ObjectFactory {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an instance of {@link ConsultaRucResponse }
|
* Create an instance of {@link ConsultaRucResponse }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public ConsultaRucResponse createConsultaRucResponse() {
|
public ConsultaRucResponse createConsultaRucResponse() {
|
||||||
return new ConsultaRucResponse();
|
return new ConsultaRucResponse();
|
||||||
|
|
@ -71,7 +64,7 @@ public class ObjectFactory {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an instance of {@link ConsultaRuc }
|
* Create an instance of {@link ConsultaRuc }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public ConsultaRuc createConsultaRuc() {
|
public ConsultaRuc createConsultaRuc() {
|
||||||
return new ConsultaRuc();
|
return new ConsultaRuc();
|
||||||
|
|
@ -79,7 +72,7 @@ public class ObjectFactory {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an instance of {@link ConsultaCedulaResponse }
|
* Create an instance of {@link ConsultaCedulaResponse }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public ConsultaCedulaResponse createConsultaCedulaResponse() {
|
public ConsultaCedulaResponse createConsultaCedulaResponse() {
|
||||||
return new ConsultaCedulaResponse();
|
return new ConsultaCedulaResponse();
|
||||||
|
|
@ -87,7 +80,7 @@ public class ObjectFactory {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an instance of {@link Respuesta.Datos.Entry }
|
* Create an instance of {@link Respuesta.Datos.Entry }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public Respuesta.Datos.Entry createRespuestaDatosEntry() {
|
public Respuesta.Datos.Entry createRespuestaDatosEntry() {
|
||||||
return new Respuesta.Datos.Entry();
|
return new Respuesta.Datos.Entry();
|
||||||
|
|
@ -95,7 +88,7 @@ public class ObjectFactory {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an instance of {@link JAXBElement }{@code <}{@link ConsultaCedula }{@code >}}
|
* Create an instance of {@link JAXBElement }{@code <}{@link ConsultaCedula }{@code >}}
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlElementDecl(namespace = "http://service.sincoar.qsoft.com/", name = "consultaCedula")
|
@XmlElementDecl(namespace = "http://service.sincoar.qsoft.com/", name = "consultaCedula")
|
||||||
public JAXBElement<ConsultaCedula> createConsultaCedula(ConsultaCedula value) {
|
public JAXBElement<ConsultaCedula> createConsultaCedula(ConsultaCedula value) {
|
||||||
|
|
@ -104,7 +97,7 @@ public class ObjectFactory {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an instance of {@link JAXBElement }{@code <}{@link ConsultaRucResponse }{@code >}}
|
* Create an instance of {@link JAXBElement }{@code <}{@link ConsultaRucResponse }{@code >}}
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlElementDecl(namespace = "http://service.sincoar.qsoft.com/", name = "consultaRucResponse")
|
@XmlElementDecl(namespace = "http://service.sincoar.qsoft.com/", name = "consultaRucResponse")
|
||||||
public JAXBElement<ConsultaRucResponse> createConsultaRucResponse(ConsultaRucResponse value) {
|
public JAXBElement<ConsultaRucResponse> createConsultaRucResponse(ConsultaRucResponse value) {
|
||||||
|
|
@ -113,7 +106,7 @@ public class ObjectFactory {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an instance of {@link JAXBElement }{@code <}{@link ConsultaRuc }{@code >}}
|
* Create an instance of {@link JAXBElement }{@code <}{@link ConsultaRuc }{@code >}}
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlElementDecl(namespace = "http://service.sincoar.qsoft.com/", name = "consultaRuc")
|
@XmlElementDecl(namespace = "http://service.sincoar.qsoft.com/", name = "consultaRuc")
|
||||||
public JAXBElement<ConsultaRuc> createConsultaRuc(ConsultaRuc value) {
|
public JAXBElement<ConsultaRuc> createConsultaRuc(ConsultaRuc value) {
|
||||||
|
|
@ -122,7 +115,7 @@ public class ObjectFactory {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an instance of {@link JAXBElement }{@code <}{@link ConsultaCedulaResponse }{@code >}}
|
* Create an instance of {@link JAXBElement }{@code <}{@link ConsultaCedulaResponse }{@code >}}
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlElementDecl(namespace = "http://service.sincoar.qsoft.com/", name = "consultaCedulaResponse")
|
@XmlElementDecl(namespace = "http://service.sincoar.qsoft.com/", name = "consultaCedulaResponse")
|
||||||
public JAXBElement<ConsultaCedulaResponse> createConsultaCedulaResponse(ConsultaCedulaResponse value) {
|
public JAXBElement<ConsultaCedulaResponse> createConsultaCedulaResponse(ConsultaCedulaResponse value) {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
package com.fp.frontend.webservices.dinardap;
|
package com.fp.frontend.webservices.dinardap;
|
||||||
|
|
||||||
import com.fp.frontend.webservices.dinardap.*;
|
import com.fp.frontend.webservices.dinardap.*;
|
||||||
|
|
@ -9,12 +8,13 @@ import javax.xml.bind.annotation.XmlAccessorType;
|
||||||
import javax.xml.bind.annotation.XmlElement;
|
import javax.xml.bind.annotation.XmlElement;
|
||||||
import javax.xml.bind.annotation.XmlType;
|
import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Clase Java para respuesta complex type.
|
* <p>
|
||||||
*
|
* Clase Java para respuesta complex type.
|
||||||
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
*
|
||||||
*
|
* <p>
|
||||||
|
* El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
||||||
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType name="respuesta">
|
* <complexType name="respuesta">
|
||||||
* <complexContent>
|
* <complexContent>
|
||||||
|
|
@ -50,8 +50,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||||
* </complexContent>
|
* </complexContent>
|
||||||
* </complexType>
|
* </complexType>
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "respuesta", propOrder = {
|
@XmlType(name = "respuesta", propOrder = {
|
||||||
|
|
@ -71,25 +71,22 @@ public class Respuesta {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the value of the actividad property.
|
* Gets the value of the actividad property.
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* This accessor method returns a reference to the live list,
|
* This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be
|
||||||
* not a snapshot. Therefore any modification you make to the
|
* present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the actividad property.
|
||||||
* 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>
|
* <p>
|
||||||
* For example, to add a new item, do as follows:
|
* For example, to add a new item, do as follows:
|
||||||
* <pre>
|
* <pre>
|
||||||
* getActividad().add(newItem);
|
* getActividad().add(newItem);
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* Objects of the following type(s) are allowed in the list
|
* Objects of the following type(s) are allowed in the list {@link String }
|
||||||
* {@link String }
|
*
|
||||||
*
|
*
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public List<String> getActividad() {
|
public List<String> getActividad() {
|
||||||
if (actividad == null) {
|
if (actividad == null) {
|
||||||
|
|
@ -100,11 +97,9 @@ public class Respuesta {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Obtiene el valor de la propiedad codigoError.
|
* Obtiene el valor de la propiedad codigoError.
|
||||||
*
|
*
|
||||||
* @return
|
* @return possible object is {@link String }
|
||||||
* possible object is
|
*
|
||||||
* {@link String }
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public String getCodigoError() {
|
public String getCodigoError() {
|
||||||
return codigoError;
|
return codigoError;
|
||||||
|
|
@ -112,11 +107,9 @@ public class Respuesta {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Define el valor de la propiedad codigoError.
|
* Define el valor de la propiedad codigoError.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value allowed object is {@link String }
|
||||||
* allowed object is
|
*
|
||||||
* {@link String }
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public void setCodigoError(String value) {
|
public void setCodigoError(String value) {
|
||||||
this.codigoError = value;
|
this.codigoError = value;
|
||||||
|
|
@ -124,11 +117,9 @@ public class Respuesta {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Obtiene el valor de la propiedad datos.
|
* Obtiene el valor de la propiedad datos.
|
||||||
*
|
*
|
||||||
* @return
|
* @return possible object is {@link Respuesta.Datos }
|
||||||
* possible object is
|
*
|
||||||
* {@link Respuesta.Datos }
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public Respuesta.Datos getDatos() {
|
public Respuesta.Datos getDatos() {
|
||||||
return datos;
|
return datos;
|
||||||
|
|
@ -136,11 +127,9 @@ public class Respuesta {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Define el valor de la propiedad datos.
|
* Define el valor de la propiedad datos.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value allowed object is {@link Respuesta.Datos }
|
||||||
* allowed object is
|
*
|
||||||
* {@link Respuesta.Datos }
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public void setDatos(Respuesta.Datos value) {
|
public void setDatos(Respuesta.Datos value) {
|
||||||
this.datos = value;
|
this.datos = value;
|
||||||
|
|
@ -148,11 +137,9 @@ public class Respuesta {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Obtiene el valor de la propiedad mensajeError.
|
* Obtiene el valor de la propiedad mensajeError.
|
||||||
*
|
*
|
||||||
* @return
|
* @return possible object is {@link String }
|
||||||
* possible object is
|
*
|
||||||
* {@link String }
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public String getMensajeError() {
|
public String getMensajeError() {
|
||||||
return mensajeError;
|
return mensajeError;
|
||||||
|
|
@ -160,22 +147,21 @@ public class Respuesta {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Define el valor de la propiedad mensajeError.
|
* Define el valor de la propiedad mensajeError.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value allowed object is {@link String }
|
||||||
* allowed object is
|
*
|
||||||
* {@link String }
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public void setMensajeError(String value) {
|
public void setMensajeError(String value) {
|
||||||
this.mensajeError = value;
|
this.mensajeError = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Clase Java para anonymous complex type.
|
* <p>
|
||||||
*
|
* Clase Java para anonymous complex type.
|
||||||
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
*
|
||||||
*
|
* <p>
|
||||||
|
* El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
||||||
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
* <complexContent>
|
* <complexContent>
|
||||||
|
|
@ -198,8 +184,8 @@ public class Respuesta {
|
||||||
* </complexContent>
|
* </complexContent>
|
||||||
* </complexType>
|
* </complexType>
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "", propOrder = {
|
@XmlType(name = "", propOrder = {
|
||||||
|
|
@ -211,25 +197,22 @@ public class Respuesta {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the value of the entry property.
|
* Gets the value of the entry property.
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* This accessor method returns a reference to the live list,
|
* This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be
|
||||||
* not a snapshot. Therefore any modification you make to the
|
* present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the entry property.
|
||||||
* 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>
|
* <p>
|
||||||
* For example, to add a new item, do as follows:
|
* For example, to add a new item, do as follows:
|
||||||
* <pre>
|
* <pre>
|
||||||
* getEntry().add(newItem);
|
* getEntry().add(newItem);
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* Objects of the following type(s) are allowed in the list
|
* Objects of the following type(s) are allowed in the list {@link Respuesta.Datos.Entry }
|
||||||
* {@link Respuesta.Datos.Entry }
|
*
|
||||||
*
|
*
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public List<Respuesta.Datos.Entry> getEntry() {
|
public List<Respuesta.Datos.Entry> getEntry() {
|
||||||
if (entry == null) {
|
if (entry == null) {
|
||||||
|
|
@ -238,12 +221,13 @@ public class Respuesta {
|
||||||
return this.entry;
|
return this.entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Clase Java para anonymous complex type.
|
* <p>
|
||||||
*
|
* Clase Java para anonymous complex type.
|
||||||
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
*
|
||||||
*
|
* <p>
|
||||||
|
* El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
||||||
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <complexType>
|
* <complexType>
|
||||||
* <complexContent>
|
* <complexContent>
|
||||||
|
|
@ -256,8 +240,8 @@ public class Respuesta {
|
||||||
* </complexContent>
|
* </complexContent>
|
||||||
* </complexType>
|
* </complexType>
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@XmlType(name = "", propOrder = {
|
@XmlType(name = "", propOrder = {
|
||||||
|
|
@ -271,11 +255,9 @@ public class Respuesta {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Obtiene el valor de la propiedad key.
|
* Obtiene el valor de la propiedad key.
|
||||||
*
|
*
|
||||||
* @return
|
* @return possible object is {@link String }
|
||||||
* possible object is
|
*
|
||||||
* {@link String }
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public String getKey() {
|
public String getKey() {
|
||||||
return key;
|
return key;
|
||||||
|
|
@ -283,11 +265,9 @@ public class Respuesta {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Define el valor de la propiedad key.
|
* Define el valor de la propiedad key.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value allowed object is {@link String }
|
||||||
* allowed object is
|
*
|
||||||
* {@link String }
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public void setKey(String value) {
|
public void setKey(String value) {
|
||||||
this.key = value;
|
this.key = value;
|
||||||
|
|
@ -295,11 +275,9 @@ public class Respuesta {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Obtiene el valor de la propiedad value.
|
* Obtiene el valor de la propiedad value.
|
||||||
*
|
*
|
||||||
* @return
|
* @return possible object is {@link String }
|
||||||
* possible object is
|
*
|
||||||
* {@link String }
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public String getValue() {
|
public String getValue() {
|
||||||
return value;
|
return value;
|
||||||
|
|
@ -307,11 +285,9 @@ public class Respuesta {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Define el valor de la propiedad value.
|
* Define el valor de la propiedad value.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value allowed object is {@link String }
|
||||||
* allowed object is
|
*
|
||||||
* {@link String }
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public void setValue(String value) {
|
public void setValue(String value) {
|
||||||
this.value = value;
|
this.value = value;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
package com.fp.frontend.webservices.dinardap;
|
package com.fp.frontend.webservices.dinardap;
|
||||||
|
|
||||||
import com.fp.frontend.webservices.dinardap.*;
|
import com.fp.frontend.webservices.dinardap.*;
|
||||||
|
|
@ -10,12 +9,9 @@ import javax.xml.bind.annotation.XmlSeeAlso;
|
||||||
import javax.xml.ws.RequestWrapper;
|
import javax.xml.ws.RequestWrapper;
|
||||||
import javax.xml.ws.ResponseWrapper;
|
import javax.xml.ws.ResponseWrapper;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class was generated by the JAX-WS RI.
|
* This class was generated by the JAX-WS RI. JAX-WS RI 2.2.8 Generated source version: 2.2
|
||||||
* JAX-WS RI 2.2.8
|
*
|
||||||
* Generated source version: 2.2
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@WebService(name = "SincoarServices", targetNamespace = "http://service.sincoar.qsoft.com/")
|
@WebService(name = "SincoarServices", targetNamespace = "http://service.sincoar.qsoft.com/")
|
||||||
@XmlSeeAlso({
|
@XmlSeeAlso({
|
||||||
|
|
@ -23,33 +19,28 @@ import javax.xml.ws.ResponseWrapper;
|
||||||
})
|
})
|
||||||
public interface SincoarServices {
|
public interface SincoarServices {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param cedula
|
* @param cedula
|
||||||
* @return
|
* @return returns com.fp.frontend.webservices.dinardap.Respuesta
|
||||||
* returns com.fp.frontend.webservices.dinardap.Respuesta
|
|
||||||
*/
|
*/
|
||||||
@WebMethod
|
@WebMethod
|
||||||
@WebResult(name = "response", targetNamespace = "")
|
@WebResult(name = "response", targetNamespace = "")
|
||||||
@RequestWrapper(localName = "consultaCedula", targetNamespace = "http://service.sincoar.qsoft.com/", className = "com.fp.frontend.webservices.dinardap.ConsultaCedula")
|
@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")
|
@ResponseWrapper(localName = "consultaCedulaResponse", targetNamespace = "http://service.sincoar.qsoft.com/", className = "com.fp.frontend.webservices.dinardap.ConsultaCedulaResponse")
|
||||||
public Respuesta consultaCedula(
|
public Respuesta consultaCedula(
|
||||||
@WebParam(name = "cedula", targetNamespace = "")
|
@WebParam(name = "cedula", targetNamespace = "") String cedula);
|
||||||
String cedula);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param ruc
|
* @param ruc
|
||||||
* @return
|
* @return returns com.fp.frontend.webservices.dinardap.Respuesta
|
||||||
* returns com.fp.frontend.webservices.dinardap.Respuesta
|
|
||||||
*/
|
*/
|
||||||
@WebMethod
|
@WebMethod
|
||||||
@WebResult(name = "response", targetNamespace = "")
|
@WebResult(name = "response", targetNamespace = "")
|
||||||
@RequestWrapper(localName = "consultaRuc", targetNamespace = "http://service.sincoar.qsoft.com/", className = "com.fp.frontend.webservices.dinardap.ConsultaRuc")
|
@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")
|
@ResponseWrapper(localName = "consultaRucResponse", targetNamespace = "http://service.sincoar.qsoft.com/", className = "com.fp.frontend.webservices.dinardap.ConsultaRucResponse")
|
||||||
public Respuesta consultaRuc(
|
public Respuesta consultaRuc(
|
||||||
@WebParam(name = "ruc", targetNamespace = "")
|
@WebParam(name = "ruc", targetNamespace = "") String ruc);
|
||||||
String ruc);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
package com.fp.frontend.webservices.dinardap;
|
package com.fp.frontend.webservices.dinardap;
|
||||||
|
|
||||||
import com.fp.frontend.webservices.dinardap.*;
|
import com.fp.frontend.webservices.dinardap.*;
|
||||||
|
|
@ -11,17 +10,13 @@ import javax.xml.ws.WebServiceClient;
|
||||||
import javax.xml.ws.WebServiceException;
|
import javax.xml.ws.WebServiceException;
|
||||||
import javax.xml.ws.WebServiceFeature;
|
import javax.xml.ws.WebServiceFeature;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class was generated by the JAX-WS RI.
|
* This class was generated by the JAX-WS RI. JAX-WS RI 2.2.8 Generated source version: 2.2
|
||||||
* 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")
|
@WebServiceClient(name = "SincoarServices", targetNamespace = "http://service.sincoar.qsoft.com/", wsdlLocation = "http://172.17.26.183:8090/sincoar-services?wsdl")
|
||||||
public class SincoarServices_Service
|
public class SincoarServices_Service
|
||||||
extends Service
|
extends Service {
|
||||||
{
|
|
||||||
|
|
||||||
private final static URL SINCOARSERVICES_WSDL_LOCATION;
|
private final static URL SINCOARSERVICES_WSDL_LOCATION;
|
||||||
private final static WebServiceException SINCOARSERVICES_EXCEPTION;
|
private final static WebServiceException SINCOARSERVICES_EXCEPTION;
|
||||||
|
|
@ -64,9 +59,8 @@ public class SincoarServices_Service
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @return
|
* @return returns SincoarServices
|
||||||
* returns SincoarServices
|
|
||||||
*/
|
*/
|
||||||
@WebEndpoint(name = "SincoarServicesPort")
|
@WebEndpoint(name = "SincoarServicesPort")
|
||||||
public SincoarServices getSincoarServicesPort() {
|
public SincoarServices getSincoarServicesPort() {
|
||||||
|
|
@ -74,11 +68,10 @@ public class SincoarServices_Service
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param features
|
* @param features A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code>
|
||||||
* 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.
|
* parameter will have their default values.
|
||||||
* @return
|
* @return returns SincoarServices
|
||||||
* returns SincoarServices
|
|
||||||
*/
|
*/
|
||||||
@WebEndpoint(name = "SincoarServicesPort")
|
@WebEndpoint(name = "SincoarServicesPort")
|
||||||
public SincoarServices getSincoarServicesPort(WebServiceFeature... features) {
|
public SincoarServices getSincoarServicesPort(WebServiceFeature... features) {
|
||||||
|
|
@ -86,7 +79,7 @@ public class SincoarServices_Service
|
||||||
}
|
}
|
||||||
|
|
||||||
private static URL __getWsdlLocation() {
|
private static URL __getWsdlLocation() {
|
||||||
if (SINCOARSERVICES_EXCEPTION!= null) {
|
if (SINCOARSERVICES_EXCEPTION != null) {
|
||||||
throw SINCOARSERVICES_EXCEPTION;
|
throw SINCOARSERVICES_EXCEPTION;
|
||||||
}
|
}
|
||||||
return SINCOARSERVICES_WSDL_LOCATION;
|
return SINCOARSERVICES_WSDL_LOCATION;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue