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"));
|
||||
return;
|
||||
}
|
||||
//TODO: evaluar casos, salto de validacion por error servicio SNAP
|
||||
personafiltroSNAP = PersonDetailController.findxidentification(personafiltro.getIdentification(), personafiltro.getIdentificationcatalog());
|
||||
if (personafiltroSNAP == null) {
|
||||
personafiltroSNAP = PersonDetailController.buscarLocal(personafiltro.getIdentification());
|
||||
}
|
||||
// personafiltroSNAP = buscarPersonaSnap(personafiltro.getIdentification(), personafiltro.getIdentificationcatalog());
|
||||
|
||||
personafiltroSNAP = buscarPersonaSnap(personafiltro.getIdentification(), personafiltro.getIdentificationcatalog());
|
||||
} else if (personafiltro.getIdentificationcatalog().equals("RUC")) {
|
||||
// valido validez RUC
|
||||
if (!ValidateIdentification.ruc(personafiltro.getIdentification())) {
|
||||
MessageHelper.setMessageError(MsgControlArmas.getProperty("msg_error_nodocumentoinvalido"));
|
||||
return;
|
||||
}
|
||||
//TODO: evaluar casos, salto de validacion por error servicio SNAP
|
||||
personafiltroSNAP = PersonDetailController.findxidentification(personafiltro.getIdentification(), personafiltro.getIdentificationcatalog());
|
||||
if (personafiltroSNAP == null) {
|
||||
personafiltroSNAP = PersonDetailController.buscarLocal(personafiltro.getIdentification());
|
||||
}
|
||||
// personafiltroSNAP = buscarPersonaSnap(personafiltro.getIdentification(), personafiltro.getIdentificationcatalog());
|
||||
personafiltroSNAP = buscarPersonaSnap(personafiltro.getIdentification(), personafiltro.getIdentificationcatalog());
|
||||
} else {
|
||||
// PASAPORTE
|
||||
personafiltroSNAP = new TcustPersonDetail();
|
||||
|
|
@ -1004,12 +993,8 @@ public class EvaluacionController extends AbstractController<TarmEvaluacion> {
|
|||
return;
|
||||
}
|
||||
//envia a buscar en la SNAP
|
||||
// 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());
|
||||
}
|
||||
tcustPersonDetailPsicologo = buscarPersonaSnap(this.getRecord().getNumdocpsicologo(), this.getRecord().getTipdocpsicologo());
|
||||
|
||||
} else if (this.getRecord().getTipdocpsicologo().equals(codigoRuc)) {
|
||||
// SI ES RUC
|
||||
if (!ValidateIdentification.ruc(this.getRecord().getNumdocpsicologo())) {
|
||||
|
|
@ -1017,12 +1002,8 @@ public class EvaluacionController extends AbstractController<TarmEvaluacion> {
|
|||
return;
|
||||
}
|
||||
// envia a buscar en la snap
|
||||
// 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());
|
||||
}
|
||||
tcustPersonDetailPsicologo = buscarPersonaSnap(this.getRecord().getNumdocpsicologo(), this.getRecord().getTipdocpsicologo());
|
||||
|
||||
}
|
||||
if (tcustPersonDetailPsicologo != null) {
|
||||
this.record.setPsicologoresponsable(tcustPersonDetailPsicologo.getName());
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package com.fp.frontend.webservices.dinardap;
|
||||
|
||||
import com.fp.frontend.webservices.dinardap.*;
|
||||
|
|
@ -6,11 +5,12 @@ 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>
|
||||
* 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>
|
||||
* <complexType name="consultaCedula">
|
||||
|
|
@ -37,9 +37,7 @@ public class ConsultaCedula {
|
|||
/**
|
||||
* Obtiene el valor de la propiedad cedula.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
* @return possible object is {@link String }
|
||||
*
|
||||
*/
|
||||
public String getCedula() {
|
||||
|
|
@ -49,9 +47,7 @@ public class ConsultaCedula {
|
|||
/**
|
||||
* Define el valor de la propiedad cedula.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
* @param value allowed object is {@link String }
|
||||
*
|
||||
*/
|
||||
public void setCedula(String value) {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package com.fp.frontend.webservices.dinardap;
|
||||
|
||||
import com.fp.frontend.webservices.dinardap.*;
|
||||
|
|
@ -6,11 +5,12 @@ 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>
|
||||
* 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>
|
||||
* <complexType name="consultaCedulaResponse">
|
||||
|
|
@ -37,9 +37,7 @@ public class ConsultaCedulaResponse {
|
|||
/**
|
||||
* Obtiene el valor de la propiedad response.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Respuesta }
|
||||
* @return possible object is {@link Respuesta }
|
||||
*
|
||||
*/
|
||||
public Respuesta getResponse() {
|
||||
|
|
@ -49,9 +47,7 @@ public class ConsultaCedulaResponse {
|
|||
/**
|
||||
* Define el valor de la propiedad response.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Respuesta }
|
||||
* @param value allowed object is {@link Respuesta }
|
||||
*
|
||||
*/
|
||||
public void setResponse(Respuesta value) {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package com.fp.frontend.webservices.dinardap;
|
||||
|
||||
import com.fp.frontend.webservices.dinardap.*;
|
||||
|
|
@ -6,11 +5,12 @@ 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>
|
||||
* 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>
|
||||
* <complexType name="consultaRuc">
|
||||
|
|
@ -37,9 +37,7 @@ public class ConsultaRuc {
|
|||
/**
|
||||
* Obtiene el valor de la propiedad ruc.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
* @return possible object is {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRuc() {
|
||||
|
|
@ -49,9 +47,7 @@ public class ConsultaRuc {
|
|||
/**
|
||||
* Define el valor de la propiedad ruc.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
* @param value allowed object is {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRuc(String value) {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package com.fp.frontend.webservices.dinardap;
|
||||
|
||||
import com.fp.frontend.webservices.dinardap.*;
|
||||
|
|
@ -6,11 +5,12 @@ 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>
|
||||
* 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>
|
||||
* <complexType name="consultaRucResponse">
|
||||
|
|
@ -37,9 +37,7 @@ public class ConsultaRucResponse {
|
|||
/**
|
||||
* Obtiene el valor de la propiedad response.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Respuesta }
|
||||
* @return possible object is {@link Respuesta }
|
||||
*
|
||||
*/
|
||||
public Respuesta getResponse() {
|
||||
|
|
@ -49,9 +47,7 @@ public class ConsultaRucResponse {
|
|||
/**
|
||||
* Define el valor de la propiedad response.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Respuesta }
|
||||
* @param value allowed object is {@link Respuesta }
|
||||
*
|
||||
*/
|
||||
public void setResponse(Respuesta value) {
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
package com.fp.frontend.webservices.dinardap;
|
||||
|
||||
import java.util.HashSet;
|
||||
import javax.xml.ws.BindingProvider;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -14,6 +15,13 @@ public class DinardapClient {
|
|||
|
||||
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
|
||||
|
|
@ -22,6 +30,9 @@ public class DinardapClient {
|
|||
public RucDNP getRuc(String ruc) {
|
||||
RucDNP result = null;
|
||||
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);
|
||||
if (respuesta.getCodigoError().equals(ERROR_OK)) {
|
||||
result = new RucDNP();
|
||||
|
|
@ -50,6 +61,9 @@ public class DinardapClient {
|
|||
public CedulaDNP getCedula(String cedula) {
|
||||
CedulaDNP result = null;
|
||||
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);
|
||||
if (respuesta.getCodigoError().equals(ERROR_OK)) {
|
||||
result = new CedulaDNP();
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package com.fp.frontend.webservices.dinardap;
|
||||
|
||||
import com.fp.frontend.webservices.dinardap.*;
|
||||
|
|
@ -7,19 +6,13 @@ 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.
|
||||
* 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
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package com.fp.frontend.webservices.dinardap;
|
||||
|
||||
import com.fp.frontend.webservices.dinardap.*;
|
||||
|
|
@ -9,11 +8,12 @@ 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>
|
||||
* 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>
|
||||
* <complexType name="respuesta">
|
||||
|
|
@ -73,10 +73,8 @@ public class Respuesta {
|
|||
* 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.
|
||||
* 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:
|
||||
|
|
@ -86,8 +84,7 @@ public class Respuesta {
|
|||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link String }
|
||||
* Objects of the following type(s) are allowed in the list {@link String }
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
|
@ -101,9 +98,7 @@ public class Respuesta {
|
|||
/**
|
||||
* Obtiene el valor de la propiedad codigoError.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
* @return possible object is {@link String }
|
||||
*
|
||||
*/
|
||||
public String getCodigoError() {
|
||||
|
|
@ -113,9 +108,7 @@ public class Respuesta {
|
|||
/**
|
||||
* Define el valor de la propiedad codigoError.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
* @param value allowed object is {@link String }
|
||||
*
|
||||
*/
|
||||
public void setCodigoError(String value) {
|
||||
|
|
@ -125,9 +118,7 @@ public class Respuesta {
|
|||
/**
|
||||
* Obtiene el valor de la propiedad datos.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Respuesta.Datos }
|
||||
* @return possible object is {@link Respuesta.Datos }
|
||||
*
|
||||
*/
|
||||
public Respuesta.Datos getDatos() {
|
||||
|
|
@ -137,9 +128,7 @@ public class Respuesta {
|
|||
/**
|
||||
* Define el valor de la propiedad datos.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Respuesta.Datos }
|
||||
* @param value allowed object is {@link Respuesta.Datos }
|
||||
*
|
||||
*/
|
||||
public void setDatos(Respuesta.Datos value) {
|
||||
|
|
@ -149,9 +138,7 @@ public class Respuesta {
|
|||
/**
|
||||
* Obtiene el valor de la propiedad mensajeError.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
* @return possible object is {@link String }
|
||||
*
|
||||
*/
|
||||
public String getMensajeError() {
|
||||
|
|
@ -161,20 +148,19 @@ public class Respuesta {
|
|||
/**
|
||||
* Define el valor de la propiedad mensajeError.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
* @param value allowed object is {@link String }
|
||||
*
|
||||
*/
|
||||
public void setMensajeError(String 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>
|
||||
* <complexType>
|
||||
|
|
@ -213,10 +199,8 @@ public class Respuesta {
|
|||
* 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.
|
||||
* 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:
|
||||
|
|
@ -226,8 +210,7 @@ public class Respuesta {
|
|||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Respuesta.Datos.Entry }
|
||||
* Objects of the following type(s) are allowed in the list {@link Respuesta.Datos.Entry }
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
|
@ -238,11 +221,12 @@ public class Respuesta {
|
|||
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>
|
||||
* <complexType>
|
||||
|
|
@ -272,9 +256,7 @@ public class Respuesta {
|
|||
/**
|
||||
* Obtiene el valor de la propiedad key.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
* @return possible object is {@link String }
|
||||
*
|
||||
*/
|
||||
public String getKey() {
|
||||
|
|
@ -284,9 +266,7 @@ public class Respuesta {
|
|||
/**
|
||||
* Define el valor de la propiedad key.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
* @param value allowed object is {@link String }
|
||||
*
|
||||
*/
|
||||
public void setKey(String value) {
|
||||
|
|
@ -296,9 +276,7 @@ public class Respuesta {
|
|||
/**
|
||||
* Obtiene el valor de la propiedad value.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
* @return possible object is {@link String }
|
||||
*
|
||||
*/
|
||||
public String getValue() {
|
||||
|
|
@ -308,9 +286,7 @@ public class Respuesta {
|
|||
/**
|
||||
* Define el valor de la propiedad value.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
* @param value allowed object is {@link String }
|
||||
*
|
||||
*/
|
||||
public void setValue(String value) {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package com.fp.frontend.webservices.dinardap;
|
||||
|
||||
import com.fp.frontend.webservices.dinardap.*;
|
||||
|
|
@ -10,11 +9,8 @@ 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
|
||||
* 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/")
|
||||
|
|
@ -23,33 +19,28 @@ import javax.xml.ws.ResponseWrapper;
|
|||
})
|
||||
public interface SincoarServices {
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @param cedula
|
||||
* @return
|
||||
* returns com.fp.frontend.webservices.dinardap.Respuesta
|
||||
* @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);
|
||||
@WebParam(name = "cedula", targetNamespace = "") String cedula);
|
||||
|
||||
/**
|
||||
*
|
||||
* @param ruc
|
||||
* @return
|
||||
* returns com.fp.frontend.webservices.dinardap.Respuesta
|
||||
* @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);
|
||||
@WebParam(name = "ruc", targetNamespace = "") String ruc);
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package 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.WebServiceFeature;
|
||||
|
||||
|
||||
/**
|
||||
* This class was generated by the JAX-WS RI.
|
||||
* JAX-WS RI 2.2.8
|
||||
* Generated source version: 2.2
|
||||
* 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
|
||||
{
|
||||
extends Service {
|
||||
|
||||
private final static URL SINCOARSERVICES_WSDL_LOCATION;
|
||||
private final static WebServiceException SINCOARSERVICES_EXCEPTION;
|
||||
|
|
@ -65,8 +60,7 @@ public class SincoarServices_Service
|
|||
|
||||
/**
|
||||
*
|
||||
* @return
|
||||
* returns SincoarServices
|
||||
* @return returns SincoarServices
|
||||
*/
|
||||
@WebEndpoint(name = "SincoarServicesPort")
|
||||
public SincoarServices getSincoarServicesPort() {
|
||||
|
|
@ -75,10 +69,9 @@ public class SincoarServices_Service
|
|||
|
||||
/**
|
||||
*
|
||||
* @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
|
||||
* @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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue