From 9032d81e5a8553bdb2cb06d2697a95a5f6c4f83e Mon Sep 17 00:00:00 2001 From: james Date: Thu, 16 Feb 2023 09:42:53 -0500 Subject: [PATCH] Consulta de base local personas y empresas --- .../webservices/dinardap/ConsultaCedula.java | 61 ++++ .../dinardap/ConsultaCedulaResponse.java | 61 ++++ .../webservices/dinardap/ConsultaRuc.java | 61 ++++ .../dinardap/ConsultaRucResponse.java | 61 ++++ .../webservices/dinardap/DinardapClient.java | 3 +- .../webservices/dinardap/ObjectFactory.java | 132 +++++++ .../webservices/dinardap/Respuesta.java | 324 ++++++++++++++++++ .../webservices/dinardap/SincoarServices.java | 55 +++ .../dinardap/SincoarServices_Service.java | 95 +++++ .../webservices/dinardap/package-info.java | 2 + 10 files changed, 854 insertions(+), 1 deletion(-) create mode 100644 frontend/src/main/java/com/fp/frontend/webservices/dinardap/ConsultaCedula.java create mode 100644 frontend/src/main/java/com/fp/frontend/webservices/dinardap/ConsultaCedulaResponse.java create mode 100644 frontend/src/main/java/com/fp/frontend/webservices/dinardap/ConsultaRuc.java create mode 100644 frontend/src/main/java/com/fp/frontend/webservices/dinardap/ConsultaRucResponse.java create mode 100644 frontend/src/main/java/com/fp/frontend/webservices/dinardap/ObjectFactory.java create mode 100644 frontend/src/main/java/com/fp/frontend/webservices/dinardap/Respuesta.java create mode 100644 frontend/src/main/java/com/fp/frontend/webservices/dinardap/SincoarServices.java create mode 100644 frontend/src/main/java/com/fp/frontend/webservices/dinardap/SincoarServices_Service.java create mode 100644 frontend/src/main/java/com/fp/frontend/webservices/dinardap/package-info.java diff --git a/frontend/src/main/java/com/fp/frontend/webservices/dinardap/ConsultaCedula.java b/frontend/src/main/java/com/fp/frontend/webservices/dinardap/ConsultaCedula.java new file mode 100644 index 0000000..6c9ce3a --- /dev/null +++ b/frontend/src/main/java/com/fp/frontend/webservices/dinardap/ConsultaCedula.java @@ -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; + + +/** + *

Clase Java para consultaCedula complex type. + * + *

El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase. + * + *

+ * <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>
+ * 
+ * + * + */ +@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; + } + +} diff --git a/frontend/src/main/java/com/fp/frontend/webservices/dinardap/ConsultaCedulaResponse.java b/frontend/src/main/java/com/fp/frontend/webservices/dinardap/ConsultaCedulaResponse.java new file mode 100644 index 0000000..520a302 --- /dev/null +++ b/frontend/src/main/java/com/fp/frontend/webservices/dinardap/ConsultaCedulaResponse.java @@ -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; + + +/** + *

Clase Java para consultaCedulaResponse complex type. + * + *

El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase. + * + *

+ * <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>
+ * 
+ * + * + */ +@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; + } + +} diff --git a/frontend/src/main/java/com/fp/frontend/webservices/dinardap/ConsultaRuc.java b/frontend/src/main/java/com/fp/frontend/webservices/dinardap/ConsultaRuc.java new file mode 100644 index 0000000..ab2e9ab --- /dev/null +++ b/frontend/src/main/java/com/fp/frontend/webservices/dinardap/ConsultaRuc.java @@ -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; + + +/** + *

Clase Java para consultaRuc complex type. + * + *

El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase. + * + *

+ * <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>
+ * 
+ * + * + */ +@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; + } + +} diff --git a/frontend/src/main/java/com/fp/frontend/webservices/dinardap/ConsultaRucResponse.java b/frontend/src/main/java/com/fp/frontend/webservices/dinardap/ConsultaRucResponse.java new file mode 100644 index 0000000..4171f1d --- /dev/null +++ b/frontend/src/main/java/com/fp/frontend/webservices/dinardap/ConsultaRucResponse.java @@ -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; + + +/** + *

Clase Java para consultaRucResponse complex type. + * + *

El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase. + * + *

+ * <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>
+ * 
+ * + * + */ +@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; + } + +} diff --git a/frontend/src/main/java/com/fp/frontend/webservices/dinardap/DinardapClient.java b/frontend/src/main/java/com/fp/frontend/webservices/dinardap/DinardapClient.java index 6b51d04..22357c0 100644 --- a/frontend/src/main/java/com/fp/frontend/webservices/dinardap/DinardapClient.java +++ b/frontend/src/main/java/com/fp/frontend/webservices/dinardap/DinardapClient.java @@ -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; diff --git a/frontend/src/main/java/com/fp/frontend/webservices/dinardap/ObjectFactory.java b/frontend/src/main/java/com/fp/frontend/webservices/dinardap/ObjectFactory.java new file mode 100644 index 0000000..134da18 --- /dev/null +++ b/frontend/src/main/java/com/fp/frontend/webservices/dinardap/ObjectFactory.java @@ -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. + *

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 createConsultaCedula(ConsultaCedula value) { + return new JAXBElement(_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 createConsultaRucResponse(ConsultaRucResponse value) { + return new JAXBElement(_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 createConsultaRuc(ConsultaRuc value) { + return new JAXBElement(_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 createConsultaCedulaResponse(ConsultaCedulaResponse value) { + return new JAXBElement(_ConsultaCedulaResponse_QNAME, ConsultaCedulaResponse.class, null, value); + } + +} diff --git a/frontend/src/main/java/com/fp/frontend/webservices/dinardap/Respuesta.java b/frontend/src/main/java/com/fp/frontend/webservices/dinardap/Respuesta.java new file mode 100644 index 0000000..57b9cc1 --- /dev/null +++ b/frontend/src/main/java/com/fp/frontend/webservices/dinardap/Respuesta.java @@ -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; + + +/** + *

Clase Java para respuesta complex type. + * + *

El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase. + * + *

+ * <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>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "respuesta", propOrder = { + "actividad", + "codigoError", + "datos", + "mensajeError" +}) +public class Respuesta { + + @XmlElement(nillable = true) + protected List actividad; + protected String codigoError; + @XmlElement(required = true) + protected Respuesta.Datos datos; + protected String mensajeError; + + /** + * Gets the value of 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 set method for the actividad property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getActividad().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getActividad() { + if (actividad == null) { + actividad = new ArrayList(); + } + 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; + } + + + /** + *

Clase Java para anonymous complex type. + * + *

El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase. + * + *

+     * <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>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "entry" + }) + public static class Datos { + + protected List entry; + + /** + * Gets the value of 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 set method for the entry property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getEntry().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Respuesta.Datos.Entry } + * + * + */ + public List getEntry() { + if (entry == null) { + entry = new ArrayList(); + } + return this.entry; + } + + + /** + *

Clase Java para anonymous complex type. + * + *

El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase. + * + *

+         * <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>
+         * 
+ * + * + */ + @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; + } + + } + + } + +} diff --git a/frontend/src/main/java/com/fp/frontend/webservices/dinardap/SincoarServices.java b/frontend/src/main/java/com/fp/frontend/webservices/dinardap/SincoarServices.java new file mode 100644 index 0000000..2c256db --- /dev/null +++ b/frontend/src/main/java/com/fp/frontend/webservices/dinardap/SincoarServices.java @@ -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); + +} diff --git a/frontend/src/main/java/com/fp/frontend/webservices/dinardap/SincoarServices_Service.java b/frontend/src/main/java/com/fp/frontend/webservices/dinardap/SincoarServices_Service.java new file mode 100644 index 0000000..007ebd0 --- /dev/null +++ b/frontend/src/main/java/com/fp/frontend/webservices/dinardap/SincoarServices_Service.java @@ -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 features 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; + } + +} diff --git a/frontend/src/main/java/com/fp/frontend/webservices/dinardap/package-info.java b/frontend/src/main/java/com/fp/frontend/webservices/dinardap/package-info.java new file mode 100644 index 0000000..5f4a20c --- /dev/null +++ b/frontend/src/main/java/com/fp/frontend/webservices/dinardap/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://service.sincoar.qsoft.com/") +package com.fp.frontend.webservices.dinardap;