Posted: Wed Apr 12, 2006 11:51 am Post subject: Web Service Router
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
<))><<
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.
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.
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
<))><<
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.
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