Author |
Message
|
rahulibm |
Posted: Sat Apr 16, 2016 4:48 pm Post subject: How to expose a REST API or a Webservice over internet? |
|
|
 Novice
Joined: 26 Mar 2016 Posts: 19
|
Hi ,
I have been doing simple flows in IIB using SOAP nodes, HTTP nodes , REST API to understand how they work. Now the next question on my mind is how to expose them over the internet anybody can access the service running on my machine.
Any suggestions. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Apr 16, 2016 9:00 pm Post subject: Re: How to expose a REST API or a Webservice over internet? |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
rahulibm wrote: |
Hi ,
I have been doing simple flows in IIB using SOAP nodes, HTTP nodes , REST API to understand how they work. Now the next question on my mind is how to expose them over the internet anybody can access the service running on my machine.
Any suggestions. |
Your guess is as good as mine. How about making use of IBM API Management?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
rahulibm |
Posted: Sat Apr 16, 2016 9:56 pm Post subject: |
|
|
 Novice
Joined: 26 Mar 2016 Posts: 19
|
I did hear about the IBM API, will have to explore more about it.
Meanwhile, if anybody else has any other suggestion, please feel free to share. Thanks. |
|
Back to top |
|
 |
timber |
Posted: Sun Apr 17, 2016 12:46 pm Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
Quote: |
Now the next question on my mind is how to expose them over the internet |
That question could be interpreted in several ways. What exactly do you mean by 'expose them over the internet?'. What requirements are you concerned about? What options have you considered? |
|
Back to top |
|
 |
rahulibm |
Posted: Sun Apr 17, 2016 3:18 pm Post subject: |
|
|
 Novice
Joined: 26 Mar 2016 Posts: 19
|
I have a very simple requirement. To be able to expose the REST API I have developed and deployed on broker running on my local pc over Internet so anybody from the outside world can post a request to this service and get the response back.
In the first place i just requested my friend to access the service URI by replacing the "localhost" with my system IP. I was sure that this might not work and it did NOT work. I believe there is something I must do to push this service available over internet. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Apr 17, 2016 4:22 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
rahulibm wrote: |
I have a very simple requirement. To be able to expose the REST API I have developed and deployed on broker running on my local pc over Internet so anybody from the outside world can post a request to this service and get the response back.
In the first place i just requested my friend to access the service URI by replacing the "localhost" with my system IP. I was sure that this might not work and it did NOT work. I believe there is something I must do to push this service available over internet. |
It's called ip resolution and routing...
IBM API Connect anybody? _________________ MQ & Broker admin |
|
Back to top |
|
 |
smdavies99 |
Posted: Sun Apr 17, 2016 10:10 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
fjb_saper wrote: |
It's called ip resolution and routing...
IBM API Connect anybody? |
don't for get the little matter of
FIREWALLS
If you are in a corporate environment then this sort of thing is tightly controlled. Services that are accessible on the internet are often put in what is called the DMZ. (google for it).
Just so that the bad guys (hackers and the rest) don't get access to things they should not.
Even in a home situation you will need to redirect requests to your Internet IP port to the internal PC IP and port.
This is all very much outside the scope of this forum. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
ruimadaleno |
Posted: Mon Apr 18, 2016 8:35 am Post subject: |
|
|
Master
Joined: 08 May 2014 Posts: 274
|
In a corporate environment:
Use IBM API management produt
Use DataPower Product (from ibm)
Configure corporate firewall, load balancer, IHS, DMZ ,whatever_network_devices_in_use_to_route_http_traffice
don't forget to use https
 _________________ Best regards
Rui Madaleno |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Apr 18, 2016 8:41 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
ruimadaleno wrote: |
don't forget to use https |
And the change management paperwork. And the management approval. And the legal review. And the executive approval.
And the rest of the change management paperwork. And the set of change management meetings.
 _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
stoney |
Posted: Mon Apr 18, 2016 8:49 am Post subject: |
|
|
Centurion
Joined: 03 Apr 2013 Posts: 140
|
Since nobody has mentioned it so far - the Integration Bus on Cloud managed offering can also expose public endpoints  |
|
Back to top |
|
 |
Vitor |
Posted: Tue Apr 19, 2016 4:41 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
rahulibm wrote: |
I believe there is something I must do to push this service available over internet. |
Don't think of it as pushing the service to the Internet. Think of it as making the IP address of your broker available to the Internet. This is why my associates are talking about networks, firewalls and products like API Management. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Apr 19, 2016 4:46 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
my associates |
I suppose I have associated with you.
 _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
Vitor |
Posted: Tue Apr 19, 2016 7:15 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
Vitor wrote: |
my associates |
I suppose I have associated with you.
 |
You are indeed my most worthy associate. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Apr 19, 2016 7:35 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
You are indeed my most worthy associate. |
Which reminds me we should have some more bourbon sometime...  _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
|