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 » Web Service Router

Post new topic  Reply to topic
 Web Service Router « View previous topic :: View next topic » 
Author Message
JoseR
PostPosted: Wed Apr 12, 2006 11:51 am    Post subject: Web Service Router Reply with quote

Novice

Joined: 23 Feb 2006
Posts: 24

Hello,

I have WMB v6 fp1 running on AIX. I recently run into the following request:

1) Developer from his/her Application server (WAS/WPS v6) calls a web service (SOAP request)
2) If the App from a Dev environment requests the web service (Broker web service router). The Broker should route the request to the development web service.
3) But if the same App from a Production environment requests the web service (Broker web service router). The Broker should route the request to the production web service.

The routing mechanisim is the request.
The reason for this is that the Application developer would not have to change his/her code when moving it from Dev to Prod.

Me challenge is the following:
Identify from which server (Dev or Prod) the request is coming from and route the SOAP request to the correct web service according to this finding. Hence using the broker as a web service router.
_________________
Jose R
WWJD
<))><<
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
wschutz
PostPosted: Wed Apr 12, 2006 11:53 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

yuck... mixing production and test environments is always asking for trouble. IMHO.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
jefflowrey
PostPosted: Wed Apr 12, 2006 12:04 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It'd be easier to use hosts files to fake the service address to point to a dev broker or a prod broker in different environments.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JoseR
PostPosted: Wed Apr 12, 2006 12:25 pm    Post subject: Reply with quote

Novice

Joined: 23 Feb 2006
Posts: 24

The idea behind this request is that the developer would only have to create one Application which would then get promoted to QA and later PROD with no new developer intervention.

The current scenario works as follows:
<no broker involved>
AppServer1 [from DEV]->(soap request http://mydevsoap)->WebService[DEV]
AppServer1 [from PROD]->(soap request http://myprodsoap)->WebService[PROD]

Note: to promote this Application to QA and Prod the developer needs to make an application update to point to the Production WebService.

Proposed scenario:
AppServer1 [fromDEV]->Broker (soap request http://mybrokersoap)->(soap request http://mydevsoap)->WebService[DEV]
AppServer1 [from PROD]->Broker (soap request http://mybrokersoap)->(soap request http://myprodsoap)->WebService[PROD]

Allowing the developer to interface with a unique WebService (coming from the broker) and hidding the dev and prod web services from them.
_________________
Jose R
WWJD
<))><<
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Wed Apr 12, 2006 12:40 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

So the developer needs to use a properties file and read the URL to access from there - and have a different properties file for dev than for prod.

But you SHOULD NOT be running Dev and Prod on the same hardware.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JoseR
PostPosted: Wed Apr 12, 2006 1:09 pm    Post subject: Reply with quote

Novice

Joined: 23 Feb 2006
Posts: 24

It seems like a fear solution.

I want to thank you for all your input on this subject.
_________________
Jose R
WWJD
<))><<
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Wed Apr 12, 2006 1:31 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If you're in any kind of situation where your IT architecture is audited, you will get flagged *big time* for mixing environments.

There are also lesser things to worry about - like processing production customer data on a dev system.
_________________
I am *not* the model of the modern major general.
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 » Web Service Router
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.