anonymous Log in
Search
Recents:
v3.0
java-l
Error al consumir WS Soap
10/12/19 15:05

Leonardo Terra

Replies: 1

Así se resolvió en mi caso:
Resuelto Marcelo.
Volví a descargar el certificado e instalarlo.
Se siguieron os pasos del sac
https://www.genexus.com/pt/developers/websac?data=17209;;
Ahora funcionó OK
========== Run With This Only started ==========
========== Target Environment update started ==========
Target Environment update Success
Building changed objects list
========== Specification started ==========
Specifying procconsumo (1 of 1) ...
warning: spc0087: Java language statements are used in this object.
(Procedure 'procconsumo'#1, Details#2)
Specifying stub procconsumo ...
Generating Resources...Success
Specification Success
========== Default (Java Web) Generation started ==========
Generating to JavaModel\web\gxcfg.js
Generating to JavaModel\web\com\consumorecibos\GXcfg.java
Generating to JavaModel\web\com\consumorecibos\client.cfg
Generating to JavaModel\web\gxmetadata\gxversion.json
Generating to JavaModel\web\gxmetadata\gx_entity_list.json
Generating to JavaModel\web\web.xml
Generating to JavaModel\web\bld12.info
Generating to JavaModel\web\DeveloperMenu.xml
Default (Java Web) Generation Success
Compressing static files...Success
========== procconsumo Compilation for Default (Java Web) started ==========
callmake.bat "C:\Models\consumorecibos\JavaModel\web\GXJMake.exe"
"C:\Program Files\Java\jdk1.8.0_144\bin\javac.exe" aprocconsumo
com\consumorecibos\ options: -O
GeneXus Java Make v1.0
Build succeeded.
procconsumo Compilation for Default (Java Web) Success
========== Execution started ==========
"C:\Program Files\Java\jdk1.8.0_144\bin\java.exe"
com.consumorecibos.aprocconsumo
SI
Execution Success
Run With This Only Success
Codigo:
java System.setProperty("javax.net.ssl.trustStore","C:\\Program Files
(x86)\\Java\\jre6\\almacen");
java System.setProperty("javax.net.ssl.trustStorePassword","123456");
&location = getlocation("ws_recibos")
&location.Host = "xxx"
&location.port = 443
&location.BaseUrl = "/ws_recibos/servlet/"
&location.secure = 1
&existe = &ws_recibos_test.Execute(param)
msg(&existe,status)
El mar., 10 dic. 2019 a las 11:53, Gustavo A. Centurión R. (<
acr.net1@gmail.com>) escribió:
> Buenas gente , espero estén bien
>
> Estoy teniendo un inconveniente al consumir un WS Soap, y las funciones
> GetSoapErr y GetSOAPErrMsg me devuelven lo siguiente:
>
> GetSoapErr : -10001
> GetSOAPErrMsg: Connection has been shutdown:
> javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target
>
>
> Alguna idea de que pueda ser? el código de error lo desconozco.
> Genexus 15, Java 8, DB2 for Iseries
>
> Todo aporte es bienvenido
> Saludos!
>
-----------------------------------------
Para Suscribirse/Desuscribirse:
http://www.gxtechnical.com/cgi-bin/hforum.exe?2,3,30,20
Por consultas owner-java-l@gxtech.com.uy
Replies

The Jocker

10/12/19 15:11
Gracias por tu respuesta Leonardo, y si, asi mismo, volví a generar el jks con un nuevo .cer y funciono Saludos! El mar., 10 de dic. de 2019 a la(s) 12:09, Leonardo Terra (lhterra@gmail.com)


Back to java-l