[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Need Help for Currency Exchange Rate Web service
What Charles said... but I had started this before he said it!
At this point, it does not appear to be an authority problem.
Do you have a *DFTROUTE on the IBMi?
CFGTCP
2. Work with TCP/IP routes
(should have the *DFTROUTE set in there - most likely the next hop is a router)
(if not, look at a PC on the same sub-net and find the default gateway. Use that value and set up the *DFTROUTE)
If this is good...
Are the DNS servers valid DNS servers? I couldn't get to the servers using nslookup but maybe they are internal use only servers?
If so, I think your IBMi is probably good to go.
So it is general connectivity trouble shooting at this point...
You have to be able to get to the DNS servers from the IBMi to resolve addresses.
But let's check if they are good servers. From a PC on the same sub-net,
ipconfig /all
Do the DNS servers shown match the ones in the IBMi? If not, fix that.
From the IBMi, can you ping the DNS servers?
Can you ping the servers from your PC (assuming you are on same sub-net)?
Compare traceroute '148.173.250.201' (IBMi)
to tracert 148.173.250.201 (PC).
Do they look substantially the same?
I suspect in particular the traceroute information will be different. Your PC will complete and the IBMi will timeout within a couple of hops. The last "good" address will be your gateway device to the internet. If that is true, see your network administrator and talk about how to get to the internet from the IBMi. Something on the firewall will need to be configured or you will have to authenticate to the firewall. In either case, you will need specifics of how to do that.
There are lots of other tests you could try but it looks to me like the IBMi can't get out to the internet because of a firewall problem. Once you figure out how to get out of the network, you will be able to complete the rest pretty easily.
Be aware the webservicex.net has in the past been very unreliable and when you get to the point of using that service, you will want to trap for a timeout error and decide how to handle it. Yesterday it worked very well for me over an hour or two while testing but its past history is not good.
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of M Mangal
Sent: Wednesday, October 31, 2012 1:23 PM
To: HTTPAPI and FTPAPI Projects
Subject: RE: Need Help for Currency Exchange Rate Web service
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]m.mangal@xxxxxxx
Website: [2]http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
-----ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx wrote: -----
To: HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
From: Mike Krebs <mkrebs@xxxxxxxxxxxxxxxxxx>
Sent by: 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]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
[[4]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][5]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][6]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][7]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:m.mangal@xxxxxxx
2. [9]http://www.tcs.com/
3. [10]http://www.webservicex.net/
4. [11]mailto:m.mangal@xxxxxxx
5. [12]http://www.tcs.com/
6. [13]http://www.scottklement.com/mailman/listinfo/ftpapi
--------------------------------------------------------------------
---
This is the FTPAPI mailing list. To unsubscribe, please go to:
[14]http://www.scottklement.com/mailman/listinfo/ftpapi
--------------------------------------------------------------------
---
--------------------------------------------------------------------
---
This is the FTPAPI mailing list. To unsubscribe, please go to:
[15]http://www.scottklement.com/mailman/listinfo/ftpapi
--------------------------------------------------------------------
---
References
1. mailto:m.mangal@xxxxxxx
2. http://www.tcs.com/
3. http://www.tools400.de/
4. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
5. http://www.tcs.com/
6. http://www.tcs.com/
7. http://www.scottklement.com/mailman/listinfo/ftpapi
8. mailto:m.mangal@xxxxxxx
9. http://www.tcs.com/
10. http://www.webservicex.net/
11. mailto:m.mangal@xxxxxxx
12. http://www.tcs.com/
13. http://www.scottklement.com/mailman/listinfo/ftpapi
14. http://www.scottklement.com/mailman/listinfo/ftpapi
15. 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
-----------------------------------------------------------------------