Consultor Eletrônico



Kbase P60384: WService name is incorrect generating WebSpeed errors 6019 and 6383
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   22/04/2004
Status: Unverified

SYMPTOM(s):

WebSpeed

Getting errors 6019 and 6383 when running WebSpeed application

WebSpeed error from messenger process (6019)

WebSpeed Agent Error: Agent did not return an HTML page (6383)

Running a procedure within another larger procedure, procA within procB

procA saves, compiles and runs just fine

procB does not run

The procedure of procB can be saved and check syntax works

Errors 6019 and 6383 are returned when procB.p is run

procA reference WService name, WService=wsbroker1

procB references WService name, WService=devwsbroker1

CAUSE:

procB does not reference the same WService name as procA. The WService name for procB is devwsbroker1 while the WService name for procA is wsbroker1.

procB.p procedure below:

{src/web/method/cgidefs.i}
RUN OutputContentType IN web-utilities-hdl ("text/html").

{&OUT} '<HTML>~n'.

{&OUT} '<FRAMESET COLS="23%,*">~n'.
{&OUT} ' <FRAME NAME=LEFT SRC="http://localhost/scripts91d/cgiip.exe/WService=devwsbroker1/procb.p?PAGE=DEFAULT&FRAME=LEFT">~n'.
{&OUT} ' <FRAME NAME=RIGHT SRC="http://localhost/scripts91d/cgiip.exe/WService=devwsbroker1/procb.p?PAGE=DEFAULT&FRAME=RIGHT">~n'.
{&OUT} '</FRAMESET>~n'.

{&OUT} '</HTML>~n'.

FIX:

Reference the same WService name as listed within procA. Change the procB procedure to entail WService=wsbroker1.

Fixed procB.p procedure below:

{src/web/method/cgidefs.i}
RUN OutputContentType IN web-utilities-hdl ("text/html").

{&OUT} '<HTML>~n'.

{&OUT} '<FRAMESET COLS="23%,*">~n'.
{&OUT} ' <FRAME NAME=LEFT SRC="http://localhost/scripts91d/cgiip.exe/WService=wsbroker1/procb.p?PAGE=DEFAULT&FRAME=LEFT">~n'.
{&OUT} ' <FRAME NAME=RIGHT SRC="http://localhost/scripts91d/cgiip.exe/WService=wsbroker1/procb.p?PAGE=DEFAULT&FRAME=RIGHT">~n'.
{&OUT} '</FRAMESET>~n'.

{&OUT} '</HTML>~n'.