[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: WSDL2RPG and cookies
Hi Scott,
Been busy on another project, so here I'm again.
As you pointed out, the *INLR had no effect. How can I see the activation group situation? When I debug the program I think the 3 programs that I'm using is the same activation group, but I'm not sure. We're mainly using RPG III here so, some of this stuff is definatly new to us. I tried to use the cookie file, but I always get Pointer not set for location referenced. -1: Pointer not set for location referenced.
I pretty sure that I'm missing some basic stuff here.
a) How to let the program know that it must send the cookies to the webservice which is in the memory?
b) When I use the http_cookie_file, how do I let the program read the context and send it to the webservice?
Kjartan
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: 12. september 2011 16:35
To: HTTPAPI and FTPAPI Projects
Subject: Re: WSDL2RPG and cookies
Hi Kjartan,
I can definitely see the cookies being received here. Unfortunately, nothing in the debug file tells me why they aren't being sent -- which puts us back to square one.
As I mentioned before: By default, cookies are kept in the activation group's memory. If you change activation groups, end the activation group, etc, they'll be lost. I don't know anything about your activation group situation... can you please provide details?
I also mentioned that you can force cookies to persist, even across activation groups, by using a cookie file. Have you tried this? What was the result? Did it help?
On 9/12/2011 9:02 AM, Kjartan Þór Guðmundsson wrote:
> Hi Scott,
> Thank you very much for your reply. And I agree with you regarding
> the problem, why isn't the HTTPAPI sending the cookies back. I have
> no idea where to look. Following is the debuglist. When I debugged
> the program, all programs are running in the same actgrp, but can the
> actgrp not be active between calls?
>
-----------------------------------------------------------------------
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
-----------------------------------------------------------------------