[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Pointer not set to location referenced problem in HTTPAPI
In reading this again - I was thinking of the ftpapi. <sheepish>
John B.
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of John Rusling
Sent: Tuesday, September 02, 2008 4:21 PM
To: HTTPAPI and FTPAPI Projects
Subject: RE: Pointer not set to location referenced problem in HTTPAPI
I haven't looked at this for a long time but one thing you may want to
check -- seems like I remember any programs using this had to be in *new
act group. Hth ( also, my memory has been wrong before ;-)
John B.
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Vikas M
Sent: Tuesday, September 02, 2008 4:10 PM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: Pointer not set to location referenced problem in HTTPAPI
Hi,
I am stuck up at this problem. Can somebody help?
I am Running this API. In debug log the data looks fine till it aborts
and control comes to "Incoming routine".
It aborts saying "Pointer not set to location referenced" after it has
received the data.
When I debug the API, It actually errors out at this statement in
HTTPAPIR4 in recvdoc() routine
eval rc = saveproc( peFD
: %addr(wwData)
: wwLen )
Here is my Post routine :
rc = http_url_post_xml(
'http://www.lyonsreg.com/webservices/atm/ATMService.asmx'
: %addr(SOAP) + 2
: %len(SOAP)
: *NULL
: %paddr(Incoming)
: %addr(ResponseCd)
: HTTP_TIMEOUT
: HTTP_USERAGENT
: 'text/xml' );
Here is my Incoming Routine
P Incoming B
D Incoming PI
D ResponseCd 10I 0 value
D depth 10I 0 value
D name 1024A varying const
D path 24576A varying const
D value 65535A varying const
D attrs * dim(32767)
D const options(*varsize)
/free
if (name = 'GetStatusCodeV2Result');
Responsecd = %dec(%trim(value):3:0);
endif;
/end-free
P E
-------------------------------------------------
Here is the debug log.
-------------------------
Cookie: $Version=0; asp.net_sessionid=mezpz0454yo3cv453yxnb455; $Path=/;
SOAPAction:
http://www.lyonsreg.com/WebService/ATMService/GetStatusCodeV2
recvresp(): entered
HTTP/1.1 100 Continue
SetError() #13: HTTP/1.1 100 Continue
senddoc(): entered
<?xml version="1.0" encoding="utf-8"?><SOAP:Envelope xmlns:SOAP="
http://schemas.xmlsoap.org/soap/envelope/" ......
recvresp(): entered
HTTP/1.1 200 OK
Date: Tue, 02 Sep 2008 20:16:06 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: 401
SetError() #13: HTTP/1.1 200 OK
recvdoc parms: identity 401
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>
http://www.w3.org/2001/XMLSchema"><soap:Body><GetStatusCodeV2Response
xmlns=" <http://www.lyonsreg.com/WebService/ATMService>
199http://www.lyonsreg.com/WebService/ATMService"><GetStatusCodeV2Result
>199</GetStatusCodeV2Result></GetStatusCodeV2Response></soap:Body></soap
:Envelope>
************End of Data********************
The WSDL of webservice for Reposne is :
<http://www.lyonsreg.com/webservices/atm/ATMService.asmx?wsdl#>
-<s:element name="GetStatusCodeV2Response">
<http://www.lyonsreg.com/webservices/atm/ATMService.asmx?wsdl#> -
<s:complexType>
<:sequence>
<s:element minOccurs="1" maxOccurs="1" name="GetStatusCodeV2Result"
type="s:int" />
</s:sequence>
</s:complexType>
</s:element>
Vikas Mishra
<outbind://63/vikasm@xxxxxxxxxx> vikasm@xxxxxxxxxx
IT Applications
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------