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

Re: Need Help for Currency Exchange Rate Web service



   Your problems have nothing to do with consuming web services and
   everything to do with TCP/IP networking configuration.

   Go here:

   [1]http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/topic/rzai2/
   rzai2kickoff.htm

   If you don't understand the basics of TCP/IP, then you'll need to get
   with your network admin to answer the questions.  If you don't have
   one, you need to learn :)  I suggest googling for tcp ip network

   Midrange-L would be a more appropriate place to get help with basic
   TCP/IP config...

   Charles

   On Wed, Oct 31, 2012 at 2:22 PM, M Mangal <[2]m.mangal@xxxxxxx> wrote:

        Hi Mike,
        I am totally new to this world(Consuming web services on AS400)
        could you please tell me what command do I need to run on my
     AS400
        machine so that it starts communicating to outer world or any
     special
        authority required to my profile.
        I will get my operations team run that command and also get
     authority
        so that I can start consuming web services.

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

      -----[5]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx wrote: -----
        To: HTTPAPI and FTPAPI Projects <[6]ftpapi@xxxxxxxxxxxxxxxxxxxxxx>

          From: Mike Krebs <[7]mkrebs@xxxxxxxxxxxxxxxxxx>
          Sent by: [8]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
          Date: 10/31/2012 08:39PM
          Subject: 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: [3][9]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: [10]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx

        [[4]mailto:[11]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][12]m.mangal@xxxxxxx

             Website: [2][5][13]http://www.tcs.com

           ____________________________________________
           Experience certainty. IT Services
              Business Solutions
              Outsourcing
           -----M Mangal/DEL/TCS wrote: -----
             To: HTTPAPI and FTPAPI Projects
   <[14]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('[15]www.webservicex.net')
           F3=Exit   F4=Prompt   F9=Retrieve   F12=Cancel
   F13=Information
           Assistant
           F23=Set initial
           menu
           Unknown host,
           [3][16]www.webservicex.net.
           Mohit Mangal
           Tata Consultancy Services
           Ph:- 9810115610
           Mailto: [4][17]m.mangal@xxxxxxx

             Website: [5][6][18]http://www.tcs.com

           ____________________________________________
           Experience certainty. IT Services
              Business Solutions
              Outsourcing
           -----[19]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx wrote: -----
             To: HTTPAPI and FTPAPI Projects
   <[20]ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
             From: Scott Klement <[21]sk@xxxxxxxxxxxxxxxx>
             Sent by: [22]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
             [23]www.webservicex.net.
             What does it say on the screen if you type (at a 5250 command
             prompt):
             ping rmtsys('[24]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: [25]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][7][26]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. [8]mailto:[27]m.mangal@xxxxxxx
             2. [9][28]http://www.tcs.com/
             3. [10][29]http://www.webservicex.net/
             4. [11]mailto:[30]m.mangal@xxxxxxx
             5. [12][31]http://www.tcs.com/
             6.
     [13][32]http://www.scottklement.com/mailman/listinfo/ftpapi


   --------------------------------------------------------------------
        ---
        This is the FTPAPI mailing list.  To unsubscribe, please go to:

          [14][33]http://www.scottklement.com/mailman/listinfo/ftpapi

     --------------------------------------------------------------------
          ---


   --------------------------------------------------------------------
        ---
        This is the FTPAPI mailing list.  To unsubscribe, please go to:

          [15][34]http://www.scottklement.com/mailman/listinfo/ftpapi

     --------------------------------------------------------------------
          ---

   References
      1. mailto:[35]m.mangal@xxxxxxx
      2. [36]http://www.tcs.com/

        3. [37]http://www.tools400.de/
        4. mailto:[38]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
        5. [39]http://www.tcs.com/
        6. [40]http://www.tcs.com/
        7. [41]http://www.scottklement.com/mailman/listinfo/ftpapi
        8. mailto:[42]m.mangal@xxxxxxx
        9. [43]http://www.tcs.com/
       10. [44]http://www.webservicex.net/
       11. mailto:[45]m.mangal@xxxxxxx
       12. [46]http://www.tcs.com/
       13. [47]http://www.scottklement.com/mailman/listinfo/ftpapi
       14. [48]http://www.scottklement.com/mailman/listinfo/ftpapi
       15. [49]http://www.scottklement.com/mailman/listinfo/ftpapi

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

References

   1. http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/topic/rzai2/rzai2kickoff.htm
   2. mailto:m.mangal@xxxxxxx
   3. mailto:m.mangal@xxxxxxx
   4. http://www.tcs.com/
   5. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   6. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
   7. mailto:mkrebs@xxxxxxxxxxxxxxxxxx
   8. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   9. http://www.tools400.de/
  10. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
  11. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
  12. mailto:m.mangal@xxxxxxx
  13. http://www.tcs.com/
  14. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
  15. http://www.webservicex.net/
  16. http://www.webservicex.net/
  17. mailto:m.mangal@xxxxxxx
  18. http://www.tcs.com/
  19. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
  20. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
  21. mailto:sk@xxxxxxxxxxxxxxxx
  22. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
  23. http://www.webservicex.net/
  24. http://www.webservicex.net/
  25. http://IPC.US.AEXP.COM/
  26. http://www.scottklement.com/mailman/listinfo/ftpapi
  27. mailto:m.mangal@xxxxxxx
  28. http://www.tcs.com/
  29. http://www.webservicex.net/
  30. mailto:m.mangal@xxxxxxx
  31. http://www.tcs.com/
  32. http://www.scottklement.com/mailman/listinfo/ftpapi
  33. http://www.scottklement.com/mailman/listinfo/ftpapi
  34. http://www.scottklement.com/mailman/listinfo/ftpapi
  35. mailto:m.mangal@xxxxxxx
  36. http://www.tcs.com/
  37. http://www.tools400.de/
  38. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
  39. http://www.tcs.com/
  40. http://www.tcs.com/
  41. http://www.scottklement.com/mailman/listinfo/ftpapi
  42. mailto:m.mangal@xxxxxxx
  43. http://www.tcs.com/
  44. http://www.webservicex.net/
  45. mailto:m.mangal@xxxxxxx
  46. http://www.tcs.com/
  47. http://www.scottklement.com/mailman/listinfo/ftpapi
  48. http://www.scottklement.com/mailman/listinfo/ftpapi
  49. http://www.scottklement.com/mailman/listinfo/ftpapi
  50. 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
-----------------------------------------------------------------------