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

RE: WSDL2RPG Proxy Server parameter



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