[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: WSDL2RPG and cookies



Use Return instead of *Inlr = *on will allow the program to compile

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Kjartan Þór Guðmundsson
Sent: Monday, September 12, 2011 11:10 AM
To: HTTPAPI and FTPAPI Projects
Subject: RE: WSDL2RPG and cookies

If I remove the*INLR = *ON; then I get RNF7023 error, The Compiler cannot determine how the program can end when I do the CRTRPGMOD.  I compile the program as the WSDL2RPG generator suggest.  Is there another way?

Kjartn

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Mike Krebs
Sent: 12. september 2011 14:57
To: HTTPAPI and FTPAPI Projects
Subject: RE: WSDL2RPG and cookies

Two separate programs or one program with two procedures? One does the login, one does the send of data? Did you seton LR after logging in and then end the first program call?
 
I've been very confused sometimes about how initialization works (so I could be wrong) but I think if you set on LR, the static variables get initialized when you call the program a second time. ILE treats this the same as it did for RPG in the old days. I am not sure if that includes the service program HTTPAPI - though it appears to be the case.

So, don't set on LR the first time around and see if the program sends the cookies back.

Another easy thing to do would be to persist the cookies as suggested earlier and see if that solves problem. Then you at least know HTTPAPI and WSDL2RPG are not doing anything they shouldn't.


-----------------------------------------------------------------------
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
-----------------------------------------------------------------------

Notice: THIS DOCUMENT MAY CONTAIN CONFIDENTIAL OR PROPRIETARY INFORMATION, INCLUDING PATIENT HEALTH INFORMATION THAT IS PROTECTED UNDER HIPAA AND OTHER STATE AND FEDERAL CONFIDENTIALITY LAWS. PLEASE DELIVER IMMEDIATELY ONLY TO THE INTENDED RECIPIENT. IF THIS TRANSMISSION WAS RECEIVED IN ERROR, PLEASE CONTACT THE SENDER IMMEDIATELY AND DO NOT DISTRIBUTE THE INFORMATION TO ANY OTHER PERSON.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------