2 Commits 3d9544b01c ... c5e91baece

Autor SHA1 Mensagem Data
  daancabo97 c5e91baece Union Real 4 anos atrás
  tatan a06876ca44 Genesis segun excel 4 anos atrás

+ 5 - 0
catalog.xml Ver arquivo

@@ -20,5 +20,10 @@
20 20
     <system systemId="file:/C:/Users/DESKTOP-IM6KTIJ/Documents/JAVA/GenesisAPI/../response/UserListResponse.xsd" uri="xml-resources/jaxb/UserListResponse/UserListResponse.xsd"/>
21 21
     <system systemId="file:/C:/Users/DESKTOP-IM6KTIJ/Documents/JAVA/GenesisAPI/../response/WorkstationByBranchListResponse.xsd" uri="xml-resources/jaxb/WorkstationByBranchListResponse/WorkstationByBranchListResponse.xsd"/>
22 22
     <system systemId="file:/C:/Users/DESKTOP-IM6KTIJ/Documents/JAVA/GenesisAPI/../response/WorkstationMoveResponse.xsd" uri="xml-resources/jaxb/WorkstationMoveResponse/WorkstationMoveResponse.xsd"/>
23
+<<<<<<< HEAD
23 24
     <system systemId="file:/C:/VP/GenesisServiceService.wsdl" uri="xml-resources/web-service-references/GenesisServiceService/wsdl/GenesisServiceService.wsdl"/>
25
+=======
26
+    <system systemId="file:/E:/genesisapi/GenesisAPI/../../JAVA/request/DeleteUserRequest.xsd" uri="xml-resources/jaxb/DeleteUserRequest/DeleteUserRequest.xsd"/>
27
+    <system systemId="file:/E:/GenesisServiceService.wsdl" uri="xml-resources/web-service-references/GenesisServiceService/wsdl/GenesisServiceService.wsdl"/>
28
+>>>>>>> a06876ca44e8f3ad471ba7475c52e9f8eb53f708
24 29
 </catalog>

+ 7 - 0
src/GenesisRequest/BranchListRequest.java Ver arquivo

@@ -86,10 +86,13 @@ public class BranchListRequest {
86 86
     @XmlElement(name = "BankSvcRq", required = true)
87 87
     protected String bankSvcRq;
88 88
 
89
+<<<<<<< HEAD
89 90
     public BranchListRequest() {
90 91
         throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
91 92
     }
92 93
 
94
+=======
95
+>>>>>>> a06876ca44e8f3ad471ba7475c52e9f8eb53f708
93 96
     /**
94 97
      * Obtiene el valor de la propiedad signonRq.
95 98
      * 
@@ -196,7 +199,11 @@ public class BranchListRequest {
196 199
      * 
197 200
      * 
198 201
      */
202
+<<<<<<< HEAD
199 203
      @XmlAccessorType(XmlAccessType.FIELD)
204
+=======
205
+    @XmlAccessorType(XmlAccessType.FIELD)
206
+>>>>>>> a06876ca44e8f3ad471ba7475c52e9f8eb53f708
200 207
     @XmlType(name = "", propOrder = {
201 208
         "msgRqHdr"
202 209
     })

+ 492 - 0
src/GenesisRequest/DeleteUserRequest.java Ver arquivo

@@ -0,0 +1,492 @@
1
+//
2
+// Este archivo ha sido generado por Eclipse Implementation of JAXB v2.3.3 
3
+// Visite https://eclipse-ee4j.github.io/jaxb-ri 
4
+// Todas las modificaciones realizadas en este archivo se perder�n si se vuelve a compilar el esquema de origen. 
5
+// Generado el: 2021.10.16 a las 07:15:30 AM COT 
6
+//
7
+
8
+
9
+package com.vespot_DeleteUserRequest;
10
+
11
+import javax.xml.bind.annotation.XmlAccessType;
12
+import javax.xml.bind.annotation.XmlAccessorType;
13
+import javax.xml.bind.annotation.XmlElement;
14
+import javax.xml.bind.annotation.XmlRootElement;
15
+import javax.xml.bind.annotation.XmlType;
16
+
17
+
18
+/**
19
+ * &lt;p&gt;Clase Java para anonymous complex type.
20
+ * 
21
+ * &lt;p&gt;El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
22
+ * 
23
+ * &lt;pre&gt;
24
+ * &amp;lt;complexType&amp;gt;
25
+ *   &amp;lt;complexContent&amp;gt;
26
+ *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
27
+ *       &amp;lt;sequence&amp;gt;
28
+ *         &amp;lt;element name="SignonRq"&amp;gt;
29
+ *           &amp;lt;complexType&amp;gt;
30
+ *             &amp;lt;complexContent&amp;gt;
31
+ *               &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
32
+ *                 &amp;lt;sequence&amp;gt;
33
+ *                   &amp;lt;element name="SessionLoginId" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
34
+ *                 &amp;lt;/sequence&amp;gt;
35
+ *               &amp;lt;/restriction&amp;gt;
36
+ *             &amp;lt;/complexContent&amp;gt;
37
+ *           &amp;lt;/complexType&amp;gt;
38
+ *         &amp;lt;/element&amp;gt;
39
+ *         &amp;lt;element name="BaseSvcRq"&amp;gt;
40
+ *           &amp;lt;complexType&amp;gt;
41
+ *             &amp;lt;complexContent&amp;gt;
42
+ *               &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
43
+ *                 &amp;lt;sequence&amp;gt;
44
+ *                   &amp;lt;element name="MsgRqHdr"&amp;gt;
45
+ *                     &amp;lt;complexType&amp;gt;
46
+ *                       &amp;lt;complexContent&amp;gt;
47
+ *                         &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
48
+ *                           &amp;lt;sequence&amp;gt;
49
+ *                             &amp;lt;element name="Instance" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
50
+ *                             &amp;lt;element name="BankId" type="{http://www.w3.org/2001/XMLSchema}short"/&amp;gt;
51
+ *                             &amp;lt;element name="OriginatorName" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
52
+ *                             &amp;lt;element name="RequestCode" type="{http://www.w3.org/2001/XMLSchema}short"/&amp;gt;
53
+ *                             &amp;lt;element name="RequestName" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
54
+ *                           &amp;lt;/sequence&amp;gt;
55
+ *                         &amp;lt;/restriction&amp;gt;
56
+ *                       &amp;lt;/complexContent&amp;gt;
57
+ *                     &amp;lt;/complexType&amp;gt;
58
+ *                   &amp;lt;/element&amp;gt;
59
+ *                 &amp;lt;/sequence&amp;gt;
60
+ *               &amp;lt;/restriction&amp;gt;
61
+ *             &amp;lt;/complexContent&amp;gt;
62
+ *           &amp;lt;/complexType&amp;gt;
63
+ *         &amp;lt;/element&amp;gt;
64
+ *         &amp;lt;element name="BankSvcRq"&amp;gt;
65
+ *           &amp;lt;complexType&amp;gt;
66
+ *             &amp;lt;complexContent&amp;gt;
67
+ *               &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
68
+ *                 &amp;lt;sequence&amp;gt;
69
+ *                   &amp;lt;element name="gnsIDUsuario" type="{http://www.w3.org/2001/XMLSchema}long"/&amp;gt;
70
+ *                 &amp;lt;/sequence&amp;gt;
71
+ *               &amp;lt;/restriction&amp;gt;
72
+ *             &amp;lt;/complexContent&amp;gt;
73
+ *           &amp;lt;/complexType&amp;gt;
74
+ *         &amp;lt;/element&amp;gt;
75
+ *       &amp;lt;/sequence&amp;gt;
76
+ *     &amp;lt;/restriction&amp;gt;
77
+ *   &amp;lt;/complexContent&amp;gt;
78
+ * &amp;lt;/complexType&amp;gt;
79
+ * &lt;/pre&gt;
80
+ * 
81
+ * 
82
+ */
83
+@XmlAccessorType(XmlAccessType.FIELD)
84
+@XmlType(name = "", propOrder = {
85
+    "signonRq",
86
+    "baseSvcRq",
87
+    "bankSvcRq"
88
+})
89
+@XmlRootElement(name = "Genesis")
90
+public class DeleteUserRequest {
91
+
92
+    @XmlElement(name = "SignonRq", required = true)
93
+    protected DeleteUserRequest.SignonRq signonRq;
94
+    @XmlElement(name = "BaseSvcRq", required = true)
95
+    protected DeleteUserRequest.BaseSvcRq baseSvcRq;
96
+    @XmlElement(name = "BankSvcRq", required = true)
97
+    protected DeleteUserRequest.BankSvcRq bankSvcRq;
98
+
99
+    /**
100
+     * Obtiene el valor de la propiedad signonRq.
101
+     * 
102
+     * @return
103
+     *     possible object is
104
+     *     {@link Genesis.SignonRq }
105
+     *     
106
+     */
107
+    public DeleteUserRequest.SignonRq getSignonRq() {
108
+        return signonRq;
109
+    }
110
+
111
+    /**
112
+     * Define el valor de la propiedad signonRq.
113
+     * 
114
+     * @param value
115
+     *     allowed object is
116
+     *     {@link Genesis.SignonRq }
117
+     *     
118
+     */
119
+    public void setSignonRq(DeleteUserRequest.SignonRq value) {
120
+        this.signonRq = value;
121
+    }
122
+
123
+    /**
124
+     * Obtiene el valor de la propiedad baseSvcRq.
125
+     * 
126
+     * @return
127
+     *     possible object is
128
+     *     {@link Genesis.BaseSvcRq }
129
+     *     
130
+     */
131
+    public DeleteUserRequest.BaseSvcRq getBaseSvcRq() {
132
+        return baseSvcRq;
133
+    }
134
+
135
+    /**
136
+     * Define el valor de la propiedad baseSvcRq.
137
+     * 
138
+     * @param value
139
+     *     allowed object is
140
+     *     {@link Genesis.BaseSvcRq }
141
+     *     
142
+     */
143
+    public void setBaseSvcRq(DeleteUserRequest.BaseSvcRq value) {
144
+        this.baseSvcRq = value;
145
+    }
146
+
147
+    /**
148
+     * Obtiene el valor de la propiedad bankSvcRq.
149
+     * 
150
+     * @return
151
+     *     possible object is
152
+     *     {@link Genesis.BankSvcRq }
153
+     *     
154
+     */
155
+    public DeleteUserRequest.BankSvcRq getBankSvcRq() {
156
+        return bankSvcRq;
157
+    }
158
+
159
+    /**
160
+     * Define el valor de la propiedad bankSvcRq.
161
+     * 
162
+     * @param value
163
+     *     allowed object is
164
+     *     {@link Genesis.BankSvcRq }
165
+     *     
166
+     */
167
+    public void setBankSvcRq(DeleteUserRequest.BankSvcRq value) {
168
+        this.bankSvcRq = value;
169
+    }
170
+
171
+
172
+    /**
173
+     * &lt;p&gt;Clase Java para anonymous complex type.
174
+     * 
175
+     * &lt;p&gt;El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
176
+     * 
177
+     * &lt;pre&gt;
178
+     * &amp;lt;complexType&amp;gt;
179
+     *   &amp;lt;complexContent&amp;gt;
180
+     *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
181
+     *       &amp;lt;sequence&amp;gt;
182
+     *         &amp;lt;element name="gnsIDUsuario" type="{http://www.w3.org/2001/XMLSchema}long"/&amp;gt;
183
+     *       &amp;lt;/sequence&amp;gt;
184
+     *     &amp;lt;/restriction&amp;gt;
185
+     *   &amp;lt;/complexContent&amp;gt;
186
+     * &amp;lt;/complexType&amp;gt;
187
+     * &lt;/pre&gt;
188
+     * 
189
+     * 
190
+     */
191
+    @XmlAccessorType(XmlAccessType.FIELD)
192
+    @XmlType(name = "", propOrder = {
193
+        "gnsIDUsuario"
194
+    })
195
+    public static class BankSvcRq {
196
+
197
+        protected long gnsIDUsuario;
198
+
199
+        /**
200
+         * Obtiene el valor de la propiedad gnsIDUsuario.
201
+         * 
202
+         */
203
+        public long getGnsIDUsuario() {
204
+            return gnsIDUsuario;
205
+        }
206
+
207
+        /**
208
+         * Define el valor de la propiedad gnsIDUsuario.
209
+         * 
210
+         */
211
+        public void setGnsIDUsuario(long value) {
212
+            this.gnsIDUsuario = value;
213
+        }
214
+
215
+    }
216
+
217
+
218
+    /**
219
+     * &lt;p&gt;Clase Java para anonymous complex type.
220
+     * 
221
+     * &lt;p&gt;El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
222
+     * 
223
+     * &lt;pre&gt;
224
+     * &amp;lt;complexType&amp;gt;
225
+     *   &amp;lt;complexContent&amp;gt;
226
+     *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
227
+     *       &amp;lt;sequence&amp;gt;
228
+     *         &amp;lt;element name="MsgRqHdr"&amp;gt;
229
+     *           &amp;lt;complexType&amp;gt;
230
+     *             &amp;lt;complexContent&amp;gt;
231
+     *               &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
232
+     *                 &amp;lt;sequence&amp;gt;
233
+     *                   &amp;lt;element name="Instance" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
234
+     *                   &amp;lt;element name="BankId" type="{http://www.w3.org/2001/XMLSchema}short"/&amp;gt;
235
+     *                   &amp;lt;element name="OriginatorName" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
236
+     *                   &amp;lt;element name="RequestCode" type="{http://www.w3.org/2001/XMLSchema}short"/&amp;gt;
237
+     *                   &amp;lt;element name="RequestName" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
238
+     *                 &amp;lt;/sequence&amp;gt;
239
+     *               &amp;lt;/restriction&amp;gt;
240
+     *             &amp;lt;/complexContent&amp;gt;
241
+     *           &amp;lt;/complexType&amp;gt;
242
+     *         &amp;lt;/element&amp;gt;
243
+     *       &amp;lt;/sequence&amp;gt;
244
+     *     &amp;lt;/restriction&amp;gt;
245
+     *   &amp;lt;/complexContent&amp;gt;
246
+     * &amp;lt;/complexType&amp;gt;
247
+     * &lt;/pre&gt;
248
+     * 
249
+     * 
250
+     */
251
+    @XmlAccessorType(XmlAccessType.FIELD)
252
+    @XmlType(name = "", propOrder = {
253
+        "msgRqHdr"
254
+    })
255
+    public static class BaseSvcRq {
256
+
257
+        @XmlElement(name = "MsgRqHdr", required = true)
258
+        protected DeleteUserRequest.BaseSvcRq.MsgRqHdr msgRqHdr;
259
+
260
+        /**
261
+         * Obtiene el valor de la propiedad msgRqHdr.
262
+         * 
263
+         * @return
264
+         *     possible object is
265
+         *     {@link Genesis.BaseSvcRq.MsgRqHdr }
266
+         *     
267
+         */
268
+        public DeleteUserRequest.BaseSvcRq.MsgRqHdr getMsgRqHdr() {
269
+            return msgRqHdr;
270
+        }
271
+
272
+        /**
273
+         * Define el valor de la propiedad msgRqHdr.
274
+         * 
275
+         * @param value
276
+         *     allowed object is
277
+         *     {@link Genesis.BaseSvcRq.MsgRqHdr }
278
+         *     
279
+         */
280
+        public void setMsgRqHdr(DeleteUserRequest.BaseSvcRq.MsgRqHdr value) {
281
+            this.msgRqHdr = value;
282
+        }
283
+
284
+
285
+        /**
286
+         * &lt;p&gt;Clase Java para anonymous complex type.
287
+         * 
288
+         * &lt;p&gt;El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
289
+         * 
290
+         * &lt;pre&gt;
291
+         * &amp;lt;complexType&amp;gt;
292
+         *   &amp;lt;complexContent&amp;gt;
293
+         *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
294
+         *       &amp;lt;sequence&amp;gt;
295
+         *         &amp;lt;element name="Instance" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
296
+         *         &amp;lt;element name="BankId" type="{http://www.w3.org/2001/XMLSchema}short"/&amp;gt;
297
+         *         &amp;lt;element name="OriginatorName" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
298
+         *         &amp;lt;element name="RequestCode" type="{http://www.w3.org/2001/XMLSchema}short"/&amp;gt;
299
+         *         &amp;lt;element name="RequestName" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
300
+         *       &amp;lt;/sequence&amp;gt;
301
+         *     &amp;lt;/restriction&amp;gt;
302
+         *   &amp;lt;/complexContent&amp;gt;
303
+         * &amp;lt;/complexType&amp;gt;
304
+         * &lt;/pre&gt;
305
+         * 
306
+         * 
307
+         */
308
+        @XmlAccessorType(XmlAccessType.FIELD)
309
+        @XmlType(name = "", propOrder = {
310
+            "instance",
311
+            "bankId",
312
+            "originatorName",
313
+            "requestCode",
314
+            "requestName"
315
+        })
316
+        public static class MsgRqHdr {
317
+
318
+            @XmlElement(name = "Instance", required = true)
319
+            protected String instance;
320
+            @XmlElement(name = "BankId")
321
+            protected short bankId;
322
+            @XmlElement(name = "OriginatorName", required = true)
323
+            protected String originatorName;
324
+            @XmlElement(name = "RequestCode")
325
+            protected short requestCode;
326
+            @XmlElement(name = "RequestName", required = true)
327
+            protected String requestName;
328
+
329
+            /**
330
+             * Obtiene el valor de la propiedad instance.
331
+             * 
332
+             * @return
333
+             *     possible object is
334
+             *     {@link String }
335
+             *     
336
+             */
337
+            public String getInstance() {
338
+                return instance;
339
+            }
340
+
341
+            /**
342
+             * Define el valor de la propiedad instance.
343
+             * 
344
+             * @param value
345
+             *     allowed object is
346
+             *     {@link String }
347
+             *     
348
+             */
349
+            public void setInstance(String value) {
350
+                this.instance = value;
351
+            }
352
+
353
+            /**
354
+             * Obtiene el valor de la propiedad bankId.
355
+             * 
356
+             */
357
+            public short getBankId() {
358
+                return bankId;
359
+            }
360
+
361
+            /**
362
+             * Define el valor de la propiedad bankId.
363
+             * 
364
+             */
365
+            public void setBankId(short value) {
366
+                this.bankId = value;
367
+            }
368
+
369
+            /**
370
+             * Obtiene el valor de la propiedad originatorName.
371
+             * 
372
+             * @return
373
+             *     possible object is
374
+             *     {@link String }
375
+             *     
376
+             */
377
+            public String getOriginatorName() {
378
+                return originatorName;
379
+            }
380
+
381
+            /**
382
+             * Define el valor de la propiedad originatorName.
383
+             * 
384
+             * @param value
385
+             *     allowed object is
386
+             *     {@link String }
387
+             *     
388
+             */
389
+            public void setOriginatorName(String value) {
390
+                this.originatorName = value;
391
+            }
392
+
393
+            /**
394
+             * Obtiene el valor de la propiedad requestCode.
395
+             * 
396
+             */
397
+            public short getRequestCode() {
398
+                return requestCode;
399
+            }
400
+
401
+            /**
402
+             * Define el valor de la propiedad requestCode.
403
+             * 
404
+             */
405
+            public void setRequestCode(short value) {
406
+                this.requestCode = value;
407
+            }
408
+
409
+            /**
410
+             * Obtiene el valor de la propiedad requestName.
411
+             * 
412
+             * @return
413
+             *     possible object is
414
+             *     {@link String }
415
+             *     
416
+             */
417
+            public String getRequestName() {
418
+                return requestName;
419
+            }
420
+
421
+            /**
422
+             * Define el valor de la propiedad requestName.
423
+             * 
424
+             * @param value
425
+             *     allowed object is
426
+             *     {@link String }
427
+             *     
428
+             */
429
+            public void setRequestName(String value) {
430
+                this.requestName = value;
431
+            }
432
+
433
+        }
434
+
435
+    }
436
+
437
+
438
+    /**
439
+     * &lt;p&gt;Clase Java para anonymous complex type.
440
+     * 
441
+     * &lt;p&gt;El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
442
+     * 
443
+     * &lt;pre&gt;
444
+     * &amp;lt;complexType&amp;gt;
445
+     *   &amp;lt;complexContent&amp;gt;
446
+     *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
447
+     *       &amp;lt;sequence&amp;gt;
448
+     *         &amp;lt;element name="SessionLoginId" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
449
+     *       &amp;lt;/sequence&amp;gt;
450
+     *     &amp;lt;/restriction&amp;gt;
451
+     *   &amp;lt;/complexContent&amp;gt;
452
+     * &amp;lt;/complexType&amp;gt;
453
+     * &lt;/pre&gt;
454
+     * 
455
+     * 
456
+     */
457
+    @XmlAccessorType(XmlAccessType.FIELD)
458
+    @XmlType(name = "", propOrder = {
459
+        "sessionLoginId"
460
+    })
461
+    public static class SignonRq {
462
+
463
+        @XmlElement(name = "SessionLoginId", required = true)
464
+        protected String sessionLoginId;
465
+
466
+        /**
467
+         * Obtiene el valor de la propiedad sessionLoginId.
468
+         * 
469
+         * @return
470
+         *     possible object is
471
+         *     {@link String }
472
+         *     
473
+         */
474
+        public String getSessionLoginId() {
475
+            return sessionLoginId;
476
+        }
477
+
478
+        /**
479
+         * Define el valor de la propiedad sessionLoginId.
480
+         * 
481
+         * @param value
482
+         *     allowed object is
483
+         *     {@link String }
484
+         *     
485
+         */
486
+        public void setSessionLoginId(String value) {
487
+            this.sessionLoginId = value;
488
+        }
489
+
490
+    }
491
+
492
+}

+ 533 - 0
src/GenesisRequest/UpdateUserRequest.java Ver arquivo

@@ -0,0 +1,533 @@
1
+//
2
+// Este archivo ha sido generado por Eclipse Implementation of JAXB v2.3.3 
3
+// Visite https://eclipse-ee4j.github.io/jaxb-ri 
4
+// Todas las modificaciones realizadas en este archivo se perder�n si se vuelve a compilar el esquema de origen. 
5
+// Generado el: 2021.10.08 a las 02:26:44 PM COT 
6
+//
7
+
8
+
9
+package com.vespot_UpdateUserRequest;
10
+
11
+import java.io.Serializable;
12
+import java.util.ArrayList;
13
+import java.util.List;
14
+import javax.xml.bind.JAXBElement;
15
+import javax.xml.bind.annotation.XmlAccessType;
16
+import javax.xml.bind.annotation.XmlAccessorType;
17
+import javax.xml.bind.annotation.XmlElement;
18
+import javax.xml.bind.annotation.XmlElementRef;
19
+import javax.xml.bind.annotation.XmlElementRefs;
20
+import javax.xml.bind.annotation.XmlMixed;
21
+import javax.xml.bind.annotation.XmlRootElement;
22
+import javax.xml.bind.annotation.XmlType;
23
+
24
+
25
+/**
26
+ * &lt;p&gt;Clase Java para anonymous complex type.
27
+ * 
28
+ * &lt;p&gt;El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
29
+ * 
30
+ * &lt;pre&gt;
31
+ * &amp;lt;complexType&amp;gt;
32
+ *   &amp;lt;complexContent&amp;gt;
33
+ *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
34
+ *       &amp;lt;sequence&amp;gt;
35
+ *         &amp;lt;element name="SignonRq"&amp;gt;
36
+ *           &amp;lt;complexType&amp;gt;
37
+ *             &amp;lt;complexContent&amp;gt;
38
+ *               &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
39
+ *                 &amp;lt;sequence&amp;gt;
40
+ *                   &amp;lt;element name="SessionLoginId" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
41
+ *                 &amp;lt;/sequence&amp;gt;
42
+ *               &amp;lt;/restriction&amp;gt;
43
+ *             &amp;lt;/complexContent&amp;gt;
44
+ *           &amp;lt;/complexType&amp;gt;
45
+ *         &amp;lt;/element&amp;gt;
46
+ *         &amp;lt;element name="BaseSvcRq"&amp;gt;
47
+ *           &amp;lt;complexType&amp;gt;
48
+ *             &amp;lt;complexContent&amp;gt;
49
+ *               &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
50
+ *                 &amp;lt;sequence&amp;gt;
51
+ *                   &amp;lt;element name="MsgRqHdr"&amp;gt;
52
+ *                     &amp;lt;complexType&amp;gt;
53
+ *                       &amp;lt;complexContent&amp;gt;
54
+ *                         &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
55
+ *                           &amp;lt;sequence&amp;gt;
56
+ *                             &amp;lt;element name="Instance" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
57
+ *                             &amp;lt;element name="BankId" type="{http://www.w3.org/2001/XMLSchema}short"/&amp;gt;
58
+ *                             &amp;lt;element name="OriginatorName" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
59
+ *                             &amp;lt;element name="RequestCode" type="{http://www.w3.org/2001/XMLSchema}short"/&amp;gt;
60
+ *                             &amp;lt;element name="RequestName" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
61
+ *                           &amp;lt;/sequence&amp;gt;
62
+ *                         &amp;lt;/restriction&amp;gt;
63
+ *                       &amp;lt;/complexContent&amp;gt;
64
+ *                     &amp;lt;/complexType&amp;gt;
65
+ *                   &amp;lt;/element&amp;gt;
66
+ *                 &amp;lt;/sequence&amp;gt;
67
+ *               &amp;lt;/restriction&amp;gt;
68
+ *             &amp;lt;/complexContent&amp;gt;
69
+ *           &amp;lt;/complexType&amp;gt;
70
+ *         &amp;lt;/element&amp;gt;
71
+ *         &amp;lt;element name="BankSvcRq"&amp;gt;
72
+ *           &amp;lt;complexType&amp;gt;
73
+ *             &amp;lt;complexContent&amp;gt;
74
+ *               &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
75
+ *                 &amp;lt;sequence&amp;gt;
76
+ *                   &amp;lt;element name="gnsIDUsuario" type="{http://www.w3.org/2001/XMLSchema}long"/&amp;gt;
77
+ *                   &amp;lt;element name="gnsIDRol" type="{http://www.w3.org/2001/XMLSchema}long"/&amp;gt;
78
+ *                   &amp;lt;element name="gnsContrasena" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
79
+ *                   &amp;lt;element name="gnsCodigoSucursal" type="{http://www.w3.org/2001/XMLSchema}long"/&amp;gt;
80
+ *                   &amp;lt;element name="gnsIDSupervisor" type="{http://www.w3.org/2001/XMLSchema}long"/&amp;gt;
81
+ *                 &amp;lt;/sequence&amp;gt;
82
+ *               &amp;lt;/restriction&amp;gt;
83
+ *             &amp;lt;/complexContent&amp;gt;
84
+ *           &amp;lt;/complexType&amp;gt;
85
+ *         &amp;lt;/element&amp;gt;
86
+ *       &amp;lt;/sequence&amp;gt;
87
+ *     &amp;lt;/restriction&amp;gt;
88
+ *   &amp;lt;/complexContent&amp;gt;
89
+ * &amp;lt;/complexType&amp;gt;
90
+ * &lt;/pre&gt;
91
+ * 
92
+ * 
93
+ */
94
+@XmlAccessorType(XmlAccessType.FIELD)
95
+@XmlType(name = "", propOrder = {
96
+    "signonRq",
97
+    "baseSvcRq",
98
+    "bankSvcRq"
99
+})
100
+@XmlRootElement(name = "Genesis")
101
+public class UpdateUserRequest {
102
+
103
+    @XmlElement(name = "SignonRq", required = true)
104
+    protected UpdateUserRequest.SignonRq signonRq;
105
+    @XmlElement(name = "BaseSvcRq", required = true)
106
+    protected UpdateUserRequest.BaseSvcRq baseSvcRq;
107
+    @XmlElement(name = "BankSvcRq", required = true)
108
+    protected UpdateUserRequest.BankSvcRq bankSvcRq;
109
+
110
+    /**
111
+     * Obtiene el valor de la propiedad signonRq.
112
+     * 
113
+     * @return
114
+     *     possible object is
115
+     *     {@link Genesis.SignonRq }
116
+     *     
117
+     */
118
+    public UpdateUserRequest.SignonRq getSignonRq() {
119
+        return signonRq;
120
+    }
121
+
122
+    /**
123
+     * Define el valor de la propiedad signonRq.
124
+     * 
125
+     * @param value
126
+     *     allowed object is
127
+     *     {@link Genesis.SignonRq }
128
+     *     
129
+     */
130
+    public void setSignonRq(UpdateUserRequest.SignonRq value) {
131
+        this.signonRq = value;
132
+    }
133
+
134
+    /**
135
+     * Obtiene el valor de la propiedad baseSvcRq.
136
+     * 
137
+     * @return
138
+     *     possible object is
139
+     *     {@link Genesis.BaseSvcRq }
140
+     *     
141
+     */
142
+    public UpdateUserRequest.BaseSvcRq getBaseSvcRq() {
143
+        return baseSvcRq;
144
+    }
145
+
146
+    /**
147
+     * Define el valor de la propiedad baseSvcRq.
148
+     * 
149
+     * @param value
150
+     *     allowed object is
151
+     *     {@link Genesis.BaseSvcRq }
152
+     *     
153
+     */
154
+    public void setBaseSvcRq(UpdateUserRequest.BaseSvcRq value) {
155
+        this.baseSvcRq = value;
156
+    }
157
+
158
+    /**
159
+     * Obtiene el valor de la propiedad bankSvcRq.
160
+     * 
161
+     * @return
162
+     *     possible object is
163
+     *     {@link Genesis.BankSvcRq }
164
+     *     
165
+     */
166
+    public UpdateUserRequest.BankSvcRq getBankSvcRq() {
167
+        return bankSvcRq;
168
+    }
169
+
170
+    /**
171
+     * Define el valor de la propiedad bankSvcRq.
172
+     * 
173
+     * @param value
174
+     *     allowed object is
175
+     *     {@link Genesis.BankSvcRq }
176
+     *     
177
+     */
178
+    public void setBankSvcRq(UpdateUserRequest.BankSvcRq value) {
179
+        this.bankSvcRq = value;
180
+    }
181
+
182
+
183
+    /**
184
+     * &lt;p&gt;Clase Java para anonymous complex type.
185
+     * 
186
+     * &lt;p&gt;El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
187
+     * 
188
+     * &lt;pre&gt;
189
+     * &amp;lt;complexType&amp;gt;
190
+     *   &amp;lt;complexContent&amp;gt;
191
+     *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
192
+     *       &amp;lt;sequence&amp;gt;
193
+     *         &amp;lt;element name="gnsIDUsuario" type="{http://www.w3.org/2001/XMLSchema}long"/&amp;gt;
194
+     *         &amp;lt;element name="gnsIDRol" type="{http://www.w3.org/2001/XMLSchema}long"/&amp;gt;
195
+     *         &amp;lt;element name="gnsContrasena" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
196
+     *         &amp;lt;element name="gnsCodigoSucursal" type="{http://www.w3.org/2001/XMLSchema}long"/&amp;gt;
197
+     *         &amp;lt;element name="gnsIDSupervisor" type="{http://www.w3.org/2001/XMLSchema}long"/&amp;gt;
198
+     *       &amp;lt;/sequence&amp;gt;
199
+     *     &amp;lt;/restriction&amp;gt;
200
+     *   &amp;lt;/complexContent&amp;gt;
201
+     * &amp;lt;/complexType&amp;gt;
202
+     * &lt;/pre&gt;
203
+     * 
204
+     * 
205
+     */
206
+    @XmlAccessorType(XmlAccessType.FIELD)
207
+    @XmlType(name = "", propOrder = {
208
+        "content"
209
+    })
210
+    public static class BankSvcRq {
211
+
212
+        @XmlElementRefs({
213
+            @XmlElementRef(name = "gnsIDUsuario", type = JAXBElement.class),
214
+            @XmlElementRef(name = "gnsIDRol", type = JAXBElement.class),
215
+            @XmlElementRef(name = "gnsContrasena", type = JAXBElement.class),
216
+            @XmlElementRef(name = "gnsCodigoSucursal", type = JAXBElement.class),
217
+            @XmlElementRef(name = "gnsIDSupervisor", type = JAXBElement.class)
218
+        })
219
+        @XmlMixed
220
+        protected List<Serializable> content;
221
+
222
+        /**
223
+         * Gets the value of the content property.
224
+         * 
225
+         * &lt;p&gt;
226
+         * This accessor method returns a reference to the live list,
227
+         * not a snapshot. Therefore any modification you make to the
228
+         * returned list will be present inside the JAXB object.
229
+         * This is why there is not a &lt;CODE&gt;set&lt;/CODE&gt; method for the content property.
230
+         * 
231
+         * &lt;p&gt;
232
+         * For example, to add a new item, do as follows:
233
+         * &lt;pre&gt;
234
+         *    getContent().add(newItem);
235
+         * &lt;/pre&gt;
236
+         * 
237
+         * 
238
+         * &lt;p&gt;
239
+         * Objects of the following type(s) are allowed in the list
240
+         * {@link JAXBElement }{@code <}{@link Long }{@code >}
241
+         * {@link JAXBElement }{@code <}{@link Long }{@code >}
242
+         * {@link JAXBElement }{@code <}{@link String }{@code >}
243
+         * {@link JAXBElement }{@code <}{@link Long }{@code >}
244
+         * {@link JAXBElement }{@code <}{@link Long }{@code >}
245
+         * {@link String }
246
+         * 
247
+         * 
248
+         */
249
+        public List<Serializable> getContent() {
250
+            if (content == null) {
251
+                content = new ArrayList<Serializable>();
252
+            }
253
+            return this.content;
254
+        }
255
+
256
+    }
257
+
258
+
259
+    /**
260
+     * &lt;p&gt;Clase Java para anonymous complex type.
261
+     * 
262
+     * &lt;p&gt;El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
263
+     * 
264
+     * &lt;pre&gt;
265
+     * &amp;lt;complexType&amp;gt;
266
+     *   &amp;lt;complexContent&amp;gt;
267
+     *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
268
+     *       &amp;lt;sequence&amp;gt;
269
+     *         &amp;lt;element name="MsgRqHdr"&amp;gt;
270
+     *           &amp;lt;complexType&amp;gt;
271
+     *             &amp;lt;complexContent&amp;gt;
272
+     *               &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
273
+     *                 &amp;lt;sequence&amp;gt;
274
+     *                   &amp;lt;element name="Instance" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
275
+     *                   &amp;lt;element name="BankId" type="{http://www.w3.org/2001/XMLSchema}short"/&amp;gt;
276
+     *                   &amp;lt;element name="OriginatorName" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
277
+     *                   &amp;lt;element name="RequestCode" type="{http://www.w3.org/2001/XMLSchema}short"/&amp;gt;
278
+     *                   &amp;lt;element name="RequestName" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
279
+     *                 &amp;lt;/sequence&amp;gt;
280
+     *               &amp;lt;/restriction&amp;gt;
281
+     *             &amp;lt;/complexContent&amp;gt;
282
+     *           &amp;lt;/complexType&amp;gt;
283
+     *         &amp;lt;/element&amp;gt;
284
+     *       &amp;lt;/sequence&amp;gt;
285
+     *     &amp;lt;/restriction&amp;gt;
286
+     *   &amp;lt;/complexContent&amp;gt;
287
+     * &amp;lt;/complexType&amp;gt;
288
+     * &lt;/pre&gt;
289
+     * 
290
+     * 
291
+     */
292
+    @XmlAccessorType(XmlAccessType.FIELD)
293
+    @XmlType(name = "", propOrder = {
294
+        "msgRqHdr"
295
+    })
296
+    public static class BaseSvcRq {
297
+
298
+        @XmlElement(name = "MsgRqHdr", required = true)
299
+        protected UpdateUserRequest.BaseSvcRq.MsgRqHdr msgRqHdr;
300
+
301
+        /**
302
+         * Obtiene el valor de la propiedad msgRqHdr.
303
+         * 
304
+         * @return
305
+         *     possible object is
306
+         *     {@link Genesis.BaseSvcRq.MsgRqHdr }
307
+         *     
308
+         */
309
+        public UpdateUserRequest.BaseSvcRq.MsgRqHdr getMsgRqHdr() {
310
+            return msgRqHdr;
311
+        }
312
+
313
+        /**
314
+         * Define el valor de la propiedad msgRqHdr.
315
+         * 
316
+         * @param value
317
+         *     allowed object is
318
+         *     {@link Genesis.BaseSvcRq.MsgRqHdr }
319
+         *     
320
+         */
321
+        public void setMsgRqHdr(UpdateUserRequest.BaseSvcRq.MsgRqHdr value) {
322
+            this.msgRqHdr = value;
323
+        }
324
+
325
+
326
+        /**
327
+         * &lt;p&gt;Clase Java para anonymous complex type.
328
+         * 
329
+         * &lt;p&gt;El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
330
+         * 
331
+         * &lt;pre&gt;
332
+         * &amp;lt;complexType&amp;gt;
333
+         *   &amp;lt;complexContent&amp;gt;
334
+         *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
335
+         *       &amp;lt;sequence&amp;gt;
336
+         *         &amp;lt;element name="Instance" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
337
+         *         &amp;lt;element name="BankId" type="{http://www.w3.org/2001/XMLSchema}short"/&amp;gt;
338
+         *         &amp;lt;element name="OriginatorName" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
339
+         *         &amp;lt;element name="RequestCode" type="{http://www.w3.org/2001/XMLSchema}short"/&amp;gt;
340
+         *         &amp;lt;element name="RequestName" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
341
+         *       &amp;lt;/sequence&amp;gt;
342
+         *     &amp;lt;/restriction&amp;gt;
343
+         *   &amp;lt;/complexContent&amp;gt;
344
+         * &amp;lt;/complexType&amp;gt;
345
+         * &lt;/pre&gt;
346
+         * 
347
+         * 
348
+         */
349
+        @XmlAccessorType(XmlAccessType.FIELD)
350
+        @XmlType(name = "", propOrder = {
351
+            "instance",
352
+            "bankId",
353
+            "originatorName",
354
+            "requestCode",
355
+            "requestName"
356
+        })
357
+        public static class MsgRqHdr {
358
+
359
+            @XmlElement(name = "Instance", required = true)
360
+            protected String instance;
361
+            @XmlElement(name = "BankId")
362
+            protected short bankId;
363
+            @XmlElement(name = "OriginatorName", required = true)
364
+            protected String originatorName;
365
+            @XmlElement(name = "RequestCode")
366
+            protected short requestCode;
367
+            @XmlElement(name = "RequestName", required = true)
368
+            protected String requestName;
369
+
370
+            /**
371
+             * Obtiene el valor de la propiedad instance.
372
+             * 
373
+             * @return
374
+             *     possible object is
375
+             *     {@link String }
376
+             *     
377
+             */
378
+            public String getInstance() {
379
+                return instance;
380
+            }
381
+
382
+            /**
383
+             * Define el valor de la propiedad instance.
384
+             * 
385
+             * @param value
386
+             *     allowed object is
387
+             *     {@link String }
388
+             *     
389
+             */
390
+            public void setInstance(String value) {
391
+                this.instance = value;
392
+            }
393
+
394
+            /**
395
+             * Obtiene el valor de la propiedad bankId.
396
+             * 
397
+             */
398
+            public short getBankId() {
399
+                return bankId;
400
+            }
401
+
402
+            /**
403
+             * Define el valor de la propiedad bankId.
404
+             * 
405
+             */
406
+            public void setBankId(short value) {
407
+                this.bankId = value;
408
+            }
409
+
410
+            /**
411
+             * Obtiene el valor de la propiedad originatorName.
412
+             * 
413
+             * @return
414
+             *     possible object is
415
+             *     {@link String }
416
+             *     
417
+             */
418
+            public String getOriginatorName() {
419
+                return originatorName;
420
+            }
421
+
422
+            /**
423
+             * Define el valor de la propiedad originatorName.
424
+             * 
425
+             * @param value
426
+             *     allowed object is
427
+             *     {@link String }
428
+             *     
429
+             */
430
+            public void setOriginatorName(String value) {
431
+                this.originatorName = value;
432
+            }
433
+
434
+            /**
435
+             * Obtiene el valor de la propiedad requestCode.
436
+             * 
437
+             */
438
+            public short getRequestCode() {
439
+                return requestCode;
440
+            }
441
+
442
+            /**
443
+             * Define el valor de la propiedad requestCode.
444
+             * 
445
+             */
446
+            public void setRequestCode(short value) {
447
+                this.requestCode = value;
448
+            }
449
+
450
+            /**
451
+             * Obtiene el valor de la propiedad requestName.
452
+             * 
453
+             * @return
454
+             *     possible object is
455
+             *     {@link String }
456
+             *     
457
+             */
458
+            public String getRequestName() {
459
+                return requestName;
460
+            }
461
+
462
+            /**
463
+             * Define el valor de la propiedad requestName.
464
+             * 
465
+             * @param value
466
+             *     allowed object is
467
+             *     {@link String }
468
+             *     
469
+             */
470
+            public void setRequestName(String value) {
471
+                this.requestName = value;
472
+            }
473
+
474
+        }
475
+
476
+    }
477
+
478
+
479
+    /**
480
+     * &lt;p&gt;Clase Java para anonymous complex type.
481
+     * 
482
+     * &lt;p&gt;El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
483
+     * 
484
+     * &lt;pre&gt;
485
+     * &amp;lt;complexType&amp;gt;
486
+     *   &amp;lt;complexContent&amp;gt;
487
+     *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
488
+     *       &amp;lt;sequence&amp;gt;
489
+     *         &amp;lt;element name="SessionLoginId" type="{http://www.w3.org/2001/XMLSchema}string"/&amp;gt;
490
+     *       &amp;lt;/sequence&amp;gt;
491
+     *     &amp;lt;/restriction&amp;gt;
492
+     *   &amp;lt;/complexContent&amp;gt;
493
+     * &amp;lt;/complexType&amp;gt;
494
+     * &lt;/pre&gt;
495
+     * 
496
+     * 
497
+     */
498
+    @XmlAccessorType(XmlAccessType.FIELD)
499
+    @XmlType(name = "", propOrder = {
500
+        "sessionLoginId"
501
+    })
502
+    public static class SignonRq {
503
+
504
+        @XmlElement(name = "SessionLoginId", required = true)
505
+        protected String sessionLoginId;
506
+
507
+        /**
508
+         * Obtiene el valor de la propiedad sessionLoginId.
509
+         * 
510
+         * @return
511
+         *     possible object is
512
+         *     {@link String }
513
+         *     
514
+         */
515
+        public String getSessionLoginId() {
516
+            return sessionLoginId;
517
+        }
518
+
519
+        /**
520
+         * Define el valor de la propiedad sessionLoginId.
521
+         * 
522
+         * @param value
523
+         *     allowed object is
524
+         *     {@link String }
525
+         *     
526
+         */
527
+        public void setSessionLoginId(String value) {
528
+            this.sessionLoginId = value;
529
+        }
530
+
531
+    }
532
+
533
+}

+ 5 - 0
src/META-INF/jax-ws-catalog.xml Ver arquivo

@@ -20,5 +20,10 @@
20 20
     <system systemId="file:/C:/Users/DESKTOP-IM6KTIJ/Documents/JAVA/GenesisAPI/../response/UserListResponse.xsd" uri="xml-resources/jaxb/UserListResponse/UserListResponse.xsd"/>
21 21
     <system systemId="file:/C:/Users/DESKTOP-IM6KTIJ/Documents/JAVA/GenesisAPI/../response/WorkstationByBranchListResponse.xsd" uri="xml-resources/jaxb/WorkstationByBranchListResponse/WorkstationByBranchListResponse.xsd"/>
22 22
     <system systemId="file:/C:/Users/DESKTOP-IM6KTIJ/Documents/JAVA/GenesisAPI/../response/WorkstationMoveResponse.xsd" uri="xml-resources/jaxb/WorkstationMoveResponse/WorkstationMoveResponse.xsd"/>
23
+<<<<<<< HEAD
23 24
     <system systemId="file:/C:/VP/GenesisServiceService.wsdl" uri="wsdl/GenesisServiceService.wsdl"/>
25
+=======
26
+    <system systemId="file:/E:/genesisapi/GenesisAPI/../../JAVA/request/DeleteUserRequest.xsd" uri="xml-resources/jaxb/DeleteUserRequest/DeleteUserRequest.xsd"/>
27
+    <system systemId="file:/E:/GenesisServiceService.wsdl" uri="wsdl/GenesisServiceService.wsdl"/>
28
+>>>>>>> a06876ca44e8f3ad471ba7475c52e9f8eb53f708
24 29
 </catalog>

+ 149 - 0
src/com/vespot/Genesis.java Ver arquivo

@@ -1,5 +1,6 @@
1 1
 package com.vespot;
2 2
 
3
+<<<<<<< HEAD
3 4
 import cl.servipag.genesis.webservices.GenesisServiceService;
4 5
 import cl.servipag.genesis.webservices.GenesisServiceDelegate;
5 6
 import com.vespot.utils.Utils;
@@ -17,11 +18,29 @@ import com.vespot_UpdateUserResponse.UpdateUserResponse;
17 18
 import com.vespot_UserListRequest.UserListRequest;
18 19
 import com.vespot_UserListResponse.UserListResponse;
19 20
 /*Jhonatan*/
21
+=======
22
+import cl.servipag.genesis.webservices.GenesisServiceDelegate;
23
+import cl.servipag.genesis.webservices.GenesisServiceService;
24
+import com.vespot.utils.Utils;
25
+import com.vespot_AssignUpdateRoleByUserRequest.AssignUpdateRoleByUserRequest;
26
+import com.vespot_AssignUpdateRoleByUserResponse.AssignUpdateRoleByUserResponse;
27
+
28
+import com.vespot_DeleteUserRequest.DeleteUserRequest;
29
+import com.vespot_DeleteUserResponse.DeleteUserResponse;
30
+import com.vespot_UserBlockRequest.UserBlockRequest;
31
+import com.vespot_UserBlockResponse.UserBlockResponse;
32
+import com.vespot_UserListRequest.UserListRequest;
33
+import com.vespot_WorkstationByBranchListRequest.WorkstationByBranchListRequest;
34
+import com.vespot_WorkstationByBranchListResponse.WorkstationByBranchListResponse;
35
+import com.vespot_WorkstationMoveRequest.WorkstationMoveRequest;
36
+import com.vespot_WorkstationMoveResponse.WorkstationMoveResponse;
37
+>>>>>>> a06876ca44e8f3ad471ba7475c52e9f8eb53f708
20 38
 
21 39
 import java.net.MalformedURLException;
22 40
 import java.net.URL;
23 41
 import java.util.List;
24 42
 import java.util.logging.Level;
43
+<<<<<<< HEAD
25 44
 import java.util.logging.Logger;
26 45
 
27 46
 public class Genesis {
@@ -254,3 +273,133 @@ public class Genesis {
254 273
 }
255 274
  
256 275
 
276
+=======
277
+
278
+
279
+public class Genesis {
280
+    
281
+    public Genesis(String URL){
282
+        this.URL=URL;
283
+    }
284
+
285
+private String URL;
286
+   
287
+    public String WorkstationMove(String gnsCodigoSucursalOrigen, String gnsCodigoSucursalDestino, String gnsNumeroEstacion) 
288
+    {
289
+        WorkstationMoveRequest stationM = new WorkstationMoveRequest();
290
+        
291
+        WorkstationMoveRequest.SignonRq signonR = new WorkstationMoveRequest.SignonRq();
292
+        signonR.setSessionLoginId(URL);
293
+        stationM.setSignonRq(signonR);
294
+        
295
+        WorkstationMoveRequest.BankSvcRq banqS = new WorkstationMoveRequest.BankSvcRq();
296
+        banqS.setGnsCodigoSucursalOrigen(Long.parseLong(gnsCodigoSucursalOrigen));
297
+        banqS.setGnsCodigoSucursalDestino(Long.parseLong(gnsCodigoSucursalDestino));
298
+        banqS.setGnsNumeroEstacion(Long.parseLong(gnsNumeroEstacion));
299
+        stationM.setBankSvcRq(banqS);
300
+        
301
+        try {
302
+            GenesisServiceService gservice = new GenesisServiceService(new URL(this.URL));
303
+            GenesisServiceDelegate gDelegate = gservice.getGenesisServicePort();
304
+            WorkstationMoveResponse responceMove = (WorkstationMoveResponse) Utils.xmlToObject(gDelegate.genesisMethod(Utils.objectToXml(stationM,WorkstationMoveRequest.class)), WorkstationMoveResponse.class);
305
+            return responceMove.getBankSvcRs().getStatus().getStatusCode();
306
+        } catch (MalformedURLException ex) {
307
+           java.util.logging.Logger.getLogger(Genesis.class.getName()).log(Level.SEVERE, null, ex);
308
+        return null;
309
+        }
310
+    }
311
+    
312
+    public List<WorkstationByBranchListResponse.BankSvcRs.WSRs.EstacionTrabajo> WorkstationByBranchList(String gnsCodigoSucursal)
313
+    {
314
+        WorkstationByBranchListRequest branchL = new WorkstationByBranchListRequest();
315
+        
316
+        WorkstationByBranchListRequest.SignonRq signonR = new WorkstationByBranchListRequest.SignonRq();
317
+        signonR.setSessionLoginId(URL);
318
+        branchL.setSignonRq(signonR);
319
+        
320
+        WorkstationByBranchListRequest.BankSvcRq banqS = new WorkstationByBranchListRequest.BankSvcRq();
321
+        banqS.setGnsCodigoSucursal(Long.parseLong(gnsCodigoSucursal));
322
+        branchL.setBankSvcRq(banqS);
323
+        
324
+        try {
325
+            GenesisServiceService gservice = new GenesisServiceService(new URL(this.URL));
326
+            GenesisServiceDelegate gDelegate = gservice.getGenesisServicePort();
327
+            WorkstationByBranchListResponse responceWorbe = (WorkstationByBranchListResponse) Utils.xmlToObject(gDelegate.genesisMethod(Utils.objectToXml(branchL,WorkstationByBranchListRequest.class)), WorkstationByBranchListResponse.class);
328
+            return (List<WorkstationByBranchListResponse.BankSvcRs.WSRs.EstacionTrabajo>) responceWorbe.getBankSvcRs().getStatus();
329
+        } catch (MalformedURLException ex) {
330
+           java.util.logging.Logger.getLogger(Genesis.class.getName()).log(Level.SEVERE, null, ex);
331
+        return null;
332
+        }
333
+    }
334
+    
335
+    public String UserBlock(String gnsIDUsuario, String gnsBloqueado) 
336
+    {
337
+        UserBlockRequest userB = new UserBlockRequest();
338
+        
339
+        UserBlockRequest.SignonRq signonR = new UserBlockRequest.SignonRq();
340
+        signonR.setSessionLoginId(URL);
341
+        userB.setSignonRq(signonR);
342
+        
343
+        UserBlockRequest.BankSvcRq banqS = new UserBlockRequest.BankSvcRq();
344
+        banqS.setGnsIDUsuario(Long.parseLong(gnsIDUsuario));
345
+        banqS.setGnsBloqueado(gnsBloqueado);
346
+        userB.setBankSvcRq(banqS);
347
+        
348
+        try {
349
+            GenesisServiceService gservice = new GenesisServiceService(new URL(this.URL));
350
+            GenesisServiceDelegate gDelegate = gservice.getGenesisServicePort();
351
+            UserBlockResponse responceBl = (UserBlockResponse) Utils.xmlToObject(gDelegate.genesisMethod(Utils.objectToXml(userB,UserListRequest.class)), UserBlockResponse.class);
352
+            return responceBl.getBankSvcRs().getStatus().getStatusDesc();
353
+        } catch (MalformedURLException ex) {
354
+           java.util.logging.Logger.getLogger(Genesis.class.getName()).log(Level.SEVERE, null, ex);
355
+        return null;
356
+        }
357
+    }
358
+    
359
+    public String DeleteUser(String gnsIDUsuario)
360
+    {
361
+        DeleteUserRequest deleteU = new DeleteUserRequest();
362
+        
363
+        DeleteUserRequest.SignonRq signonR = new DeleteUserRequest.SignonRq();
364
+        signonR.setSessionLoginId(URL);
365
+        deleteU.setSignonRq(signonR);
366
+        
367
+        DeleteUserRequest.BankSvcRq banqS = new DeleteUserRequest.BankSvcRq();
368
+        banqS.setGnsIDUsuario(Long.parseLong(gnsIDUsuario));
369
+        deleteU.setBankSvcRq(banqS);
370
+        
371
+        try {
372
+            GenesisServiceService gservice = new GenesisServiceService(new URL(this.URL));
373
+            GenesisServiceDelegate gDelegate = gservice.getGenesisServicePort();
374
+            DeleteUserResponse responceDu = (DeleteUserResponse) Utils.xmlToObject(gDelegate.genesisMethod(Utils.objectToXml(deleteU,DeleteUserRequest.class)), DeleteUserResponse.class);
375
+            return responceDu.getBankSvcRs().getStatus().getStatusDesc();
376
+        } catch (MalformedURLException ex) {
377
+           java.util.logging.Logger.getLogger(Genesis.class.getName()).log(Level.SEVERE, null, ex);
378
+        return null;
379
+        }
380
+    }
381
+    
382
+    public String AssignUpdateRoleByUser(String gnsIDUsuario, String gnsIDRol){
383
+        AssignUpdateRoleByUserRequest asignUr = new AssignUpdateRoleByUserRequest();
384
+        
385
+        AssignUpdateRoleByUserRequest.SignonRq signonR = new AssignUpdateRoleByUserRequest.SignonRq();
386
+        signonR.setSessionLoginId(URL);
387
+        asignUr.setSignonRq(signonR);
388
+        
389
+        AssignUpdateRoleByUserRequest.BankSvcRq banqS = new AssignUpdateRoleByUserRequest.BankSvcRq();
390
+        banqS.setGnsIDRol(Long.parseLong(gnsIDRol));
391
+        banqS.setGnsIDUsuario(Long.parseLong(gnsIDUsuario));
392
+        asignUr.setBankSvcRq(banqS);
393
+        
394
+        try {
395
+            GenesisServiceService gservice = new GenesisServiceService(new URL(this.URL));
396
+            GenesisServiceDelegate gDelegate = gservice.getGenesisServicePort();
397
+            AssignUpdateRoleByUserResponse responceAs = (AssignUpdateRoleByUserResponse) Utils.xmlToObject(gDelegate.genesisMethod(Utils.objectToXml(asignUr,AssignUpdateRoleByUserRequest.class)), AssignUpdateRoleByUserResponse.class);
398
+            return responceAs.getBankSvcRs().getStatus().getStatusDesc();
399
+        } catch (MalformedURLException ex) {
400
+           java.util.logging.Logger.getLogger(Genesis.class.getName()).log(Level.SEVERE, null, ex);
401
+        return null;
402
+        }
403
+    }
404
+}
405
+>>>>>>> a06876ca44e8f3ad471ba7475c52e9f8eb53f708