Wednesday, July 6, 2011

SOA Suite 11g: Test 2 Production via Config Plan

Scenario:
I have a simple SOA composite that calls a validation service.
I develop this in my test environment using the validation web service running on the test server. Now I'm deploying to production and need to leverage the web service running on the production server.

Create a new Application in JDev that will contain 2 web service projects -





Expose as web services



Deploy the web services to WLS.

Check the 2 URLS:

http://localhost:7001/Test-ValidatePerson/ValidationServicePort?WSDL
http://localhost:7001/Prod-ValidatePerson/ValidationServicePort?WSDL

Create a SOA composite with a sync BPEL process.
Invoke the test service from BPEL





Deploy & Test



back in JDev, right click on composite.xml and select Generate Config Plan



Here I can replace the Test with the Prod WSDL





Re-deploy, selecting the config plan



Re-test

No comments:

Post a Comment