[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
EXAMPLE18 fails in LIBHTTP 1.17 and 1.18
Scott --
I came across this problem while reviewing some of the web services
examples in LIBHTTP.
I have 1.15, 1.17 and your 1.18 beta on one of my servers.
Under 1.15, EXAMPLE18 runs without error.
However, under 1.17 and 1.18 it errors out with CPF2479. Below is the
joblog.
*NONE Request 04/24/07 15:51:53
QUOCMD QSYS 0193 QUOCMD QSYS 0193
Message . . . . : -CALL
EXAMPLE18 PARM('USD' 'JPY' 12.00)
CPF2479 Escape 40 04/24/07 15:51:54
QMHSNDPM QSYS 0A9D QRNXIE QSYS *STMT
To module . . . . . . . . . :
QRNXMSG
To procedure . . . . . . . :
SignalException
Statement . . . . . . . . . :
20
Message . . . . : Call stack
entry not found.
Cause . . . . . : Call stack
entry HTTPXMLR4, specified for the send,
receive, move or delete message
operation, could not be found in the call
stack. Recovery . . . :
Change the call stack entry name or be sure the
specified entry is in the call
stack when doing the requested operation.
RNQ0202 Sender copy 99 04/24/07 15:51:54
QRNXIE QSYS *STMT QRNXIE QSYS *STMT
From module . . . . . . . . :
QRNXMSG
From procedure . . . . . . :
InqMsg
Statement . . . . . . . . . :
3
To module . . . . . . . . . :
QRNXMSG
To procedure . . . . . . . :
InqMsg
Statement . . . . . . . . . :
3
Message . . . . : The call to
HTTP_URL_P ended in error (C G D F).
Cause . . . . . : RPG procedure
EXAMPLE18 in program LIBHTTP/EXAMPLE18 at
statement 1613 called program
or procedure HTTP_URL_P, which ended in error.
If the name is *N, the call was
a bound call by procedure pointer. Recovery
. . . : Check the job log for
more information on the cause of the error
and contact the person
responsible for program maintenance. Possible choices
for replying to message . . . .
. . . . . . . . . . . : D -- Obtain RPG
formatted dump. S -- Obtain
system dump. G -- Continue processing at *GETIN.
C -- Cancel. F -- Obtain full
formatted dump.
RNQ0202 Inquiry 99 04/24/07 15:51:54
QRNXIE QSYS *STMT *EXT *N
From module . . . . . . . . :
QRNXMSG
From procedure . . . . . . :
InqMsg
Statement . . . . . . . . . :
3
Message . . . . : The call to
HTTP_URL_P ended in error (C G D F).
Cause . . . . . : RPG procedure
EXAMPLE18 in program LIBHTTP/EXAMPLE18 at
statement 1613 called program
or procedure HTTP_URL_P, which ended in error.
If the name is *N, the call was
a bound call by procedure pointer. Recovery
. . . : Check the job log for
more information on the cause of the error
and contact the person
responsible for program maintenance. Possible choices
for replying to message . . . .
. . . . . . . . . . . : D -- Obtain RPG
formatted dump. S -- Obtain
system dump. G -- Continue processing at *GETIN.
C -- Cancel. F -- Obtain full
formatted dump.
*NONE Reply 04/24/07 15:51:57
QMHDSEXT QSYS 0166 *EXT *N
Message . . . . :
C
*NONE Reply 04/24/07 15:51:57
QMHDSEXT QSYS 0166 QRNXIE QSYS *STMT
To module . . . . . . . . . :
QRNXMSG
To procedure . . . . . . . :
InqMsg
Statement . . . . . . . . . :
3
Message . . . . :
C
CEE9901 Escape 30 04/24/07 15:51:57
QLEAWI QSYS *STMT QUOCMD QSYS 01E1
From module . . . . . . . . :
QLEDEH
From procedure . . . . . . : Q
LE leDefaultEh
Statement . . . . . . . . . :
235
Message . . . . : Application
error. CPF2479 unmonitored by QRNXIE at
statement 0000000020,
instruction X'0000'.
Cause . . . . . : The
application ended abnormally because an exception
occurred and was not handled.
The name of the program to which the
unhandled exception is sent is
QRNXIE QRNXMSG SignalException. The program
was stopped at the high-level
language statement number(s) 0000000020 at the
time the message was sent. If
more than one statement number is shown, the
program is an optimized ILE
program. Optimization does not allow a single
statement number to be
determined. If *N is shown as a value, it means the
real value was not available.
Recovery . . . : See the low level messages
previously listed to locate the
cause of the exception. Correct any errors,
and then try the request
again.
I modified EXAMPLE18 to turn on debug also. I attached the
httpapi_debug.txt file.
-----
Scott A. Schollenberger
Director, R&D
Schools Division
[signature.jpg] [sm50best.gif]
2011 Renaissance Blvd., Suite 100
King of Prussia, PA 19406
Phone: 610-239-9988 x305
Fax: 610-239-9995
Email: [1]sschollenberger@xxxxxxxxxxxxxxxxxx
References
1. mailto:sschollenberger@xxxxxxxxxxxxxxxxxx
HTTPAPI Ver 1.17 released 2006-09-23
New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
http_persist_open(): entered
http_long_ParseURL(): entered
http_persist_post(): entered
http_long_ParseURL(): entered
do_post(): entered
POST /CurrencyConvertor.asmx HTTP/1.1
Host: www.webservicex.net
User-Agent: http-api/1.17
Content-Type: text/xml
SOAPAction: http://www.webserviceX.NET/ConversionRate
Expect: 100-continue
Content-Length: 365
recvresp(): entered
HTTP/1.1 100 Continue
SetError() #13: HTTP/1.1 100 Continue
senddoc(): entered
<?xml version="1.0" encoding="US-ASCII" standalone="no"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tns="http://www.webserviceX.NET/"><SOAP-ENV:Body> <tns:ConversionRate> <tns:FromCurrency>USD</tns:FromCurrency> <tns:ToCurrency>JPY</tns:ToCurrency> </tns:ConversionRate></SOAP-ENV:Body></SOAP-ENV:Envelope>
recvresp(): entered
HTTP/1.1 200 OK
Date: Tue, 24 Apr 2007 19:52:41 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Cache-Control: private, max-age=0
Content-Type: text/xml; charset=utf-8
Content-Length: 382
SetError() #13: HTTP/1.1 200 OK
recvdoc parms: identity 382
header_load_cookies() entered
recvdoc(): entered
SetError() #0:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ConversionRateResponse xmlns="http://www.webserviceX.NET/"><ConversionRateResult>118.56</ConversionRateResult></ConversionRateResponse></soap:Body></soap:Envelope>
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------