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

RE: WSDL2RPG Proxy Server parameter



Looks good. I had to add /copy Qwsdl2rpg,Pwsdl2r42 to my calling program
and change the pointer to a procedure pointer as in:
Namespaces_registerLoginCallback(
%addr(' WSDL2R42_getLoginData'));
To 
Namespaces_registerLoginCallback(
%paddr(' WSDL2R42_getLoginData'));

I haven't tried writing my own Namespaces_supplyLoginData() yet.

Have you written any other FAQ's?  It would be a good idea for us
newbies.

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Thomas
Raddatz
Sent: Thursday, June 11, 2009 12:20 PM
To: HTTPAPI and FTPAPI Projects
Subject: Re: WSDL2RPG Proxy Server parameter

Nelson,

Sometimes one feels somehow that it was a good thing to do something
without exactly knowing why. So I 
wrote a little FAQ document about server authentication. Now you are
asking right for that.

Please read the document (you are my beta reader) and let me know if
something is not clear enough or 
misspelled or what ever else. Any feedback will be greatly appreciated.

I wonder when I broke the http_post_xml() statement. Actually I thought
that I ran my test suite right 
before I created the new package. I must be wrong. I must getting old. I
will correct the statement.

Thomas.

Smith, Nelson (nsmith) schrieb:
> Wow, that was quick.  
> 
> I uploaded the beta and the local proxy authorization for the WSDL2RPG
> command itself worked great.  When I generated a new stub, I ran into
a
> couple of new problems. The http_post_xml() generated with a bad parm
> for the userdata:
> rc = http_post_xml(g_url                                 
>                    : %addr(request) + 2                  
>                    : %len(%trimR(request))               
>                    : %paddr('SOAPMessage_Envelope')      
>                    : *NULL                               
>                    : %(var:%addr[userData])              
>                    : HTTP_TIMEOUT                        
>                    : HTTP_USERAGENT                      
>                    : '');                                
> I corrected that to %addr(userData) and it compiled ok, however, I
still
> got "-1: This proxy  requires a user-id & password" error when calling
> the service.  
> 
> In debugging the call, I find that right after the first call to
> http_post_xml(), the err variable is 75 and g_getLoginData is *NULL so
> it gets out of the Do loop without ever trying to call getLoginData().
> When I change the line of code to " if (g_getLoginData <> *NULL);" I
get
> down to the getLoginData(), but it gets a " Pointer not set for
location
> referenced." error on the call.
> 
> We're getting close.  Thanks for your help.
> 
>     
> 
> -----Original Message-----
> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Thomas
> Raddatz
> Sent: Wednesday, June 10, 2009 3:45 PM
> To: HTTPAPI and FTPAPI Projects
> Subject: Re: WSDL2RPG Proxy Server parameter
> 
> Nelson,
> 
> The current beta of WSDL2RPG supports authentication for proxy
servers.
> If a proxy server requires 
> authentication, WSDL2RPG will prompt for the user ID and the password,
> now. The same thing is true if 
> a HTTP server requires login data.
> 
> You can download the current beta from here:
> 
>     http://www.tools400.de/beta/WSDL2RPG_20090610_2134.SAVF
> 
> Thomas.
> 
> ---------------------------------------------------------------------
>
************************************************************************
************************************************************************
************************************************************
> This message originates from Lincare Holdings Inc. It contains
information which may be confidential or privileged and is intended only
for the individual or entity named above.
> It is prohibited for anyone else to disclose, copy, distribute or use
the contents of this message. 
> All personal messages express views solely of the sender, which are
not to be attributed to Lincare Holdings Inc., and may not be copied or
distributed without this disclaimer. 
> If you received this message in error, please notify us immediately at
MailAdmin@xxxxxxxxxxx or (800) 284-2006.
>
************************************************************************
************************************************************************
************************************************************
> 
>
-----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
>
-----------------------------------------------------------------------
> 
************************************************************************************************************************************************************************************************************
This message originates from Lincare Holdings Inc. It contains information which may be confidential or privileged and is intended only for the individual or entity named above.
It is prohibited for anyone else to disclose, copy, distribute or use the contents of this message. 
All personal messages express views solely of the sender, which are not to be attributed to Lincare Holdings Inc., and may not be copied or distributed without this disclaimer. 
If you received this message in error, please notify us immediately at MailAdmin@xxxxxxxxxxx or (800) 284-2006.
************************************************************************************************************************************************************************************************************

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------