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

Re: help with proxy error



   Hello Gatti Fabio,
   In your example, you put http_setproxy('proxy':3128).   That means that
   'proxy' will be the host that it needs to find in DNS or the host
   table.
   Your proxy is simply named 'proxy'?   Are you sure that's correct?   At
   the command line, if you type PING RMTSYS(PROXY) does it work?  or does
   it say "Unknown host, PROXY"?
   -SK
   On 8/6/2014 4:52 AM, Gatti Fabio wrote:

   Hi Mr Klement

   First i apollogize for my terrible English and i hope to be able to
   explain my problem


   I have developed and esasy connection that have to pass throught a
   proxy. The DNS must be solved by the proxy server but my PGM does not
   work


   Ehere the example

        err=http_setproxy('proxy':3128);

          url='[1]http://USFTCTL001.INTERNAL.UNICREDITGROUP.EU/eh/service'+

              '/EventHandlerService';

          call_back=%paddr('RITORNO');

          $return_code = http_url_post_xml(

                            url

                            : %addr($soap_i) + 2

                            : %len($soap_i)

                            : *null

                            : call_back

                            : *NULL

                            : HTTP_TIMEOUT

                            : HTTP_USERAGENT

                            : 'text/xml');



   My society have a private connection with a bank and our proxy should
   redirect the connection to the DNS of the bank private network. The ip
   is an internal ip of the bank

   I tried to change the dns and the host table ma nothing change

   The error is always :  SetError() #2: Host name look up failed.


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

References

   1. http://USFTCTL001.INTERNAL.UNICREDITGROUP.EU/eh/service'+
   2. 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
-----------------------------------------------------------------------