ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to expose a REST API or a Webservice over internet?

Post new topic  Reply to topic
 How to expose a REST API or a Webservice over internet? « View previous topic :: View next topic » 
Author Message
rahulibm
PostPosted: Sat Apr 16, 2016 4:48 pm    Post subject: How to expose a REST API or a Webservice over internet? Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Sat Apr 16, 2016 9:00 pm    Post subject: Re: How to expose a REST API or a Webservice over internet? Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
rahulibm
PostPosted: Sat Apr 16, 2016 9:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
timber
PostPosted: Sun Apr 17, 2016 12:46 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

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
View user's profile Send private message
rahulibm
PostPosted: Sun Apr 17, 2016 3:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Sun Apr 17, 2016 4:22 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Sun Apr 17, 2016 10:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
ruimadaleno
PostPosted: Mon Apr 18, 2016 8:35 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Mon Apr 18, 2016 8:41 am    Post subject: Reply with quote

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
View user's profile Send private message
stoney
PostPosted: Mon Apr 18, 2016 8:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue Apr 19, 2016 4:41 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Tue Apr 19, 2016 4:46 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue Apr 19, 2016 7:15 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Tue Apr 19, 2016 7:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to expose a REST API or a Webservice over internet?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.