Multiple ABL Applications problem

Posted by lhgonzalez on 09-Jan-2019 18:03

Hi, hope someone can give me an idea, i just create two ABL Applications in PASOE. originally i had one (oepasdgctrn) , but now i have to test connection to other 2 databases. so  , i create 2 new abl applications (oepascmg with a web aplicattion webapp and oepasindtrn with a webapplication wacom), the first one works fine, when i test the last one , everything look fine except that somehow programs are trying to execute in webapp instead of wacom, im usin SOAP transport

this is my test program

DEFINE VARIABLE hWebService AS HANDLE NO-UNDO.
DEFINE VARIABLE hcmgindwebappObj AS HANDLE NO-UNDO.


CREATE SERVER hWebService.


hWebService:CONNECT("-WSDL 'http://111.111.111.158:8080/wacom/soap/wsdl?targetURI=cmgindwebapp'").

RUN cmgindwebappObj SET hcmgindwebappObj ON hWebService.


DEFINE VARIABLE p_cia AS CHARACTER NO-UNDO.
DEFINE VARIABLE p_cliente AS CHARACTER NO-UNDO.
DEFINE VARIABLE p_facturas AS CHARACTER NO-UNDO.
DEFINE VARIABLE result AS CHARACTER NO-UNDO.

DEFINE TEMP-TABLE tt_historia_pagos NO-UNDO
NAMESPACE-URI "urn:test-cmgindwebapp:cmgindwebapp"
FIELD facturacion AS DATE
FIELD folio AS CHARACTER
FIELD consumo AS DECIMAL
FIELD saldo AS DECIMAL
FIELD estatus AS CHARACTER .
DEFINE VARIABLE p_mensaje AS CHARACTER NO-UNDO.


FUNCTION ws_historia_pagos_com RETURNS CHARACTER
(INPUT p_cia AS CHARACTER,
INPUT p_cliente AS CHARACTER,
INPUT p_facturas AS CHARACTER,
OUTPUT TABLE tt_historia_pagos,
OUTPUT p_mensaje AS CHARACTER)
IN hcmgindwebappObj.

UPDATE p_cliente p_facturas WITH SIDE-LABELS THREE-D.


/* Function invocation of ws_historia_pagos_com operation. */
result = ws_historia_pagos_com(p_cia, p_cliente, p_facturas, TABLE tt_historia_pagos, p_mensaje).

MESSAGE p_mensaje
VIEW-AS ALERT-BOX INFO BUTTONS OK.

FOR EACH tt_historia_pagos :

DISP tt_historia_pagos.
END.

But i get this error:

And looking in the logs i just get this:

and of course the program was not found becose i was not ponting to that web application

This is my openedge.properties

[View:/cfs-file/__key/communityserver-discussions-components-files/26/openedge.properties:320:240]

Help! [:S]

All Replies

Posted by Irfan on 09-Jan-2019 18:53

As per your PROPATH, your code should be either in

${CATALINA_BASE}/webapps/wacom/WEB-INF/openedge,

or

${CATALINA_BASE}/openedge

Posted by lhgonzalez on 09-Jan-2019 20:11

Thanks Irfran, the problem is that it is looking for in ${CATALINA_BASE}/webapps/webapp/WEB-INF/openedge

This thread is closed