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

RE: http_proxy_setauth and WSDL2RPG



Thanks, Thomas. 
Using the steps you suggested, I think I am past the proxy authorization
problem, but I am still getting a "415 - Unsupported Media Type" error.
I found a post from you on Apr 14, 2009 where you were getting this
error and you blanked out a string at the http_post_xml().  Is that
something you incorporated into WSDL2RPG or is that something I would
need to do in the generated stub?

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
thomas.raddatz@xxxxxx
Sent: Tuesday, June 09, 2009 2:30 AM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: http_proxy_setauth and WSDL2RPG



Hi,

I cannot give you a final solution because I cannot do any tests with
proxy
servers that need authentification. Our server does not need
authentification and I do not know any other proxy server that I could
use
for testing. However you may try to follow that idea:

a) Get into the generated stub module and add the authentification
parameters (authType, userID, password) to
YourWebServicePort_setProxy().
b) Add global variables for authType, userID and password and store the
values passed to YourWebServicePort_setProxy(..., authType, userID,
password) in that fields.
c) Insert a call to http_proxy_setauth() right before or after (I do not
know that exactly) the stub module calls http_setproxy().
d) Call YourWebServicePort_setProxy(server, port, authType, userID,
password) right before you call the actual web service.

Please let me know if that works for you. Perhaps change WS_STUB
accordingly and send it back to me.

Thomas.

ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx schrieb am 08.06.2009 22:37:52:

> Can someone tell me how to use http_proxy_setauth() (or its
equivalent)
> with WSDL2RPG.  I'm a newbie and I have been able to get it working ok
> using http_url_post_xml() directly, but when I try to call the
procedure
> in the stub generated by WSDL2RPG using http_proxy_setauth() in the
> calling program, it is ignored.  I did search the archives but could
not
> find any posts with both http_proxy_setauth() and WSDL2RPG in them.
>
>
************************************************************************
************************************************************************
************************************************************

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


--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offence. Please delete if obtained in error and email confirmation to
the sender.
-----------------------------------------------------------------------
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
-----------------------------------------------------------------------