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

RE: Need Help for Currency Exchange Rate Web service



It would appear you have two problems...

1. The DNS servers configured on the IBMi don't appear to be valid, reachable from the IBMi DNS servers. Are they?

DNS server found: 148.173.250.201
DNS server found: 148.173.250.28

Usually, these could be set the same as on a PC in the same sub-net (ipconfig /all). If they are the external DNS servers...probably related to this problem...

2. The IBMi can't get out to the internet. Is it behind a firewall or been locked down so that it isn't reachable from or to the internet? If so, you will have to authenticate to the firewall or punch a hole through it. We found it easy to create a outbound rule that allowed the IBMi to talk to the internet directly. This avoided having to authenticate to the proxy and allowed ping to work to check connectivity. (also allowed DNS out, ftp (to download PTFs for example), http, https, and any other services we needed to run) If you have to authenticate, there is built-in support in V1.24 for basic and digest. Thomas Radditz has a patch available for NTLM authentication at his website: http://www.tools400.de/.  Even if you authenticate for http, I believe you will still need to get DNS resolution to work (hole in network or using internal DNS that will resolve the external references for you).


-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of M Mangal
Sent: Wednesday, October 31, 2012 5:00 AM
To: HTTPAPI and FTPAPI Projects
Subject: Re: Need Help for Currency Exchange Rate Web service

   Scott,



   I also tried pinging with IP address but no Luck



   3 > PING
   RMTSYS('173.201.44.188')
       Verifying connection to host system
   173.201.44.188.
       No response from host within 1 seconds for connection verification
   1.
       No response from host within 1 seconds for connection verification
   2.
       No response from host within 1 seconds for connection verification
   3.
       No response from host within 1 seconds for connection verification
   4.
       No response from host within 1 seconds for connection verification
   5.
       Connection verification statistics: 0 of 5 successful (0
   %).

   Thanks,

   Mohit Mangal
   Tata Consultancy Services
   Ph:- 9810115610
   Mailto: [1]m.mangal@xxxxxxx
   Website: [2]http://www.tcs.com
   ____________________________________________
   Experience certainty. IT Services
      Business Solutions
      Outsourcing


   -----M Mangal/DEL/TCS wrote: -----

     To: HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
     From: M Mangal/DEL/TCS
     Date: 10/31/2012 02:35PM
     Subject: Re: Need Help for Currency Exchange Rate Web service

   Hi Scott,



   It is saying "Unknown Host" see screen below...do I need to make any
   configuration on my machine(5250)?





                               Work with Members Using PDM
   AS4DEV1


   MAIN                           IBM i Main
   Menu
                                                               System:
   AS4DEV1
   Select one of the
   following:


        1. User
   tasks
        2. Office
   tasks
        3. General system
   tasks
        4. Files, libraries, and
   folders
        5.
   Programming
        6.
   Communications
        7. Define or change the
   system
        8. Problem
   handling
        9. Display a
   menu
       10. Information Assistant
   options
       11. IBM i Access
   tasks


       90. Sign
   off


   Selection or
   command
   ===> ping
   rmtsys('www.webservicex.net')


   F3=Exit   F4=Prompt   F9=Retrieve   F12=Cancel   F13=Information
   Assistant
   F23=Set initial
   menu
   Unknown host,
   [3]www.webservicex.net.


   Mohit Mangal
   Tata Consultancy Services
   Ph:- 9810115610
   Mailto: [4]m.mangal@xxxxxxx
   Website: [5]http://www.tcs.com
   ____________________________________________
   Experience certainty. IT Services
      Business Solutions
      Outsourcing


   -----ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx wrote: -----

     To: HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
     From: Scott Klement <sk@xxxxxxxxxxxxxxxx>
     Sent by: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
     Date: 10/31/2012 01:03PM
     Subject: Re: Need Help for Currency Exchange Rate Web service
     It seems it's having trouble performing a DNS lookup on
     www.webservicex.net.
     What does it say on the screen if you type (at a 5250 command
     prompt):
     ping rmtsys('www.webservicex.net')?
     I'm guessing that your DNS resolution isn't working.
     On 10/31/2012 12:46 AM, M Mangal wrote:
     >      ************Beginning of data**************
     >     HTTPAPI Ver 1.24 released 2012-01-23
     >     OS/400 Ver V7R1M0
     >
     >     http_url_post(): entered
     >     http_persist_open(): entered
     >     http_long_ParseURL(): entered
     >     DNS resolver retrans: 2
     >     DNS resolver retry  : 2
     >     DNS resolver options: x'00000136'
     >     DNS default domain: IPC.US.AEXP.COM
     >     DNS server found: 148.173.250.201
     >     DNS server found: 148.173.250.28
     >     SetError() #2: Host name look up failed.
     >     SetError() #66: XML parse failed at line 1, col 0: no element
     found
     >      ************End of Data********************
     >
     >
     --------------------------------------------------------------------
     ---
     This is the FTPAPI mailing list.  To unsubscribe, please go to:
     [6]http://www.scottklement.com/mailman/listinfo/ftpapi
     --------------------------------------------------------------------
     ---

   =====-----=====-----=====
   Notice: The information contained in this e-mail
   message and/or attachments to it may contain
   confidential or privileged information. If you are
   not the intended recipient, any dissemination, use,
   review, distribution, printing or copying of the
   information contained in this e-mail message
   and/or attachments to it are strictly prohibited. If
   you have received this communication in error,
   please notify us by reply e-mail or telephone and
   immediately and permanently delete the message
   and any attachments. Thank you

References

   1. mailto:m.mangal@xxxxxxx
   2. http://www.tcs.com/
   3. http://www.webservicex.net/
   4. mailto:m.mangal@xxxxxxx
   5. http://www.tcs.com/
   6. 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
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------