The Necessary Knowledge and Tools You Need to Have for SOA Suite 11g<br />Edwin Biemond<br />Whitehorses<br />http://biemo...
Topics in this presentation<br />MDS<br />Avoiding Invalid Composites<br />Deployment<br />Composites<br />Resource Adapte...
MDS MetaData Service<br />MDS = centralized storage for artifacts that can be accessed both at design time and at run-time...
Using MDS<br />Store your artifacts in a MDS apps folder<br />The SOA Suite DB MDS onlyallowsyou to addartifactsunder the ...
Use MDS in JDeveloper<br />Default File MDS is located at jdeveloper/integration/seed<br />Create an apps folder under see...
Use MDS in JDeveloper<br />Create a File MDS Connection<br />Lookupyourartifacts in the Resource Palette<br />
Move the MDS to your workspace<br />Is part of your workspace -> Versioning & No conflicts<br />Add an extra MDS /apps ent...
Avoiding Invalid Composites<br />Invalid Composites can happen when<br />A Web Service is used as a Composite Reference an...
Why does this happen?<br />When the Composite is started, it tries to load the remote WSDL & XSD in one of the following:<...
The Solution<br />The solution is MDS<br />Download the remote WSDL & XML schemas and put this in the MDS<br />Change the ...
Composite Import<br />Open the composite.xml in source mode and change the imports<br />
Composite Reference<br />Change the ui:wsdlLocation attribute<br />Binding.ws location attribute has the Endpoint URL<br />
ComponentType files<br />Open the Service componentType files ( Mediator, BPEL) and change the ui:wsdlLocation attribute<b...
Deployment Plan<br />Only need to change the location attribute of the binding.ws element<br />
Deployment<br />Ways to deploy your Composites<br />JDeveloper -> only for Development.<br />JDeveloper SOA ANT scripts. N...
Deployment ANT Scripts<br />Need the SOA plugin<br />Located in jdeveloperbin<br />Build your ANT deployment framework aro...
Manual configuration of Resource Adapters<br />Use unique file name -> DB_Plan.xml or JMS_Plan.xml<br />In cluster configu...
Your own Resource Adapter<br />Extract the WebLogic Resource Adapter ( Oracle_SOA1soaconnectors )<br />Remove the jars<br ...
Deployment with AIA<br />Can also be used in Non AIA Projects<br />Configure AIA Deployment file<br />Available Deployment...
AIA Deployment configuration<br />JDBC Datasource<br />JMS Queue<br />Update MDS<br />Shutdown Managed Server<br />Add an ...
Testing your Composites<br />SOAPUI<br />Test cases are flexible and can be scripted<br />Stress LoadTest<br />Simulate (M...
SOA Suite TestSuite<br />Create a TestSuite with some tests<br />
SOA Suite TestSuite 2<br />Initiate a Message on a Service<br />Verify a response on a Wire<br />Emulate a response on a W...
TestSuite in Enterprise Manager<br />Start Unit Tests<br />From ANT<br />From EM<br />
AIA Composite Application Validation System<br />What can CAVS do for you<br />Create tests and validate responses<br />Si...
CAVS Definitions<br />
CAVS Test<br />Load the WSDL and select the operation<br />Define 1 or more Requests<br />Define 1 or more Responses and G...
CAVS Simulator<br />Define the expected Request, Generate XPath and set its unique identifier  ( For matching the request ...
CAVS Routing<br />Activates CAVS Simulators, change the endpoints of the Compositereference to the simulators<br />Canbeus...
Continuous Integration with Hudson<br />Hudson easy to install and manage<br />Support for ANT<br />Integration with SubVe...
Hudson SOA Suite Job<br />Need to build your own ANT deployment<br />Checkout SVN<br />Compile <br />Package<br />Deploy <...
change<br />The Necessary Knowledge and Tools You Need to Have for SOA Suite 11g<br />Please Fill Out Your Evaluations<br ...
Upcoming SlideShare
Loading in …5
×

ODTUG The Necessary Knowledge and Tools You Need to Have for SOA Suite 11g

1,412 views
1,316 views

Published on

My ODTUG at Kscope 2011 about The Necessary Knowledge and Tools You Need to Have for SOA Suite 11g

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,412
On SlideShare
0
From Embeds
0
Number of Embeds
131
Actions
Shares
0
Downloads
36
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • This is your opening slide.
  • Use this template for all your content slides. There are also other layout slides you can feel free to use.
  • This is the final slide of the presentation.
  • ODTUG The Necessary Knowledge and Tools You Need to Have for SOA Suite 11g

    1. 1. The Necessary Knowledge and Tools You Need to Have for SOA Suite 11g<br />Edwin Biemond<br />Whitehorses<br />http://biemond.blogspot.com<br />
    2. 2. Topics in this presentation<br />MDS<br />Avoiding Invalid Composites<br />Deployment<br />Composites<br />Resource Adapters<br />AIA deployment framework<br />Testing<br />TestSuite of SOA Suite<br />AIA CAVS<br />Continuous Integration with Hudson<br />
    3. 3. MDS MetaData Service<br />MDS = centralized storage for artifacts that can be accessed both at design time and at run-time<br />Twoversions -> File MDS & Database MDS<br />Versioning in onlysupported in Database MDS<br />SOA Suite onlyuses the Database MDS<br />Compositescan have revisions<br />JDevelopercanuseboth<br />File MDS is the default<br />MDS is usedforvalidation and used in the creationprocess<br />
    4. 4. Using MDS<br />Store your artifacts in a MDS apps folder<br />The SOA Suite DB MDS onlyallowsyou to addartifactsunder the apps folder.<br />Useforexampleoramds://apps/DVM/countries.dvm<br />JDeveloper MDS references are located in adf-config.xml ( /.adf/META-INF/ )<br />
    5. 5. Use MDS in JDeveloper<br />Default File MDS is located at jdeveloper/integration/seed<br />Create an apps folder under seed<br />Createanapplicationorcompany folder under the apps folder<br />Addyourartifactsunderthisapplication folder<br />
    6. 6. Use MDS in JDeveloper<br />Create a File MDS Connection<br />Lookupyourartifacts in the Resource Palette<br />
    7. 7. Move the MDS to your workspace<br />Is part of your workspace -> Versioning & No conflicts<br />Add an extra MDS /apps entry to the adf-config.xml<br />
    8. 8. Avoiding Invalid Composites<br />Invalid Composites can happen when<br />A Web Service is used as a Composite Reference and this WS is not up while starting SOA Suite<br />The Composite Reference is a Composite and this Composite is not active while this Composite becomes active<br />
    9. 9. Why does this happen?<br />When the Composite is started, it tries to load the remote WSDL & XSD in one of the following:<br />Composite Imports<br />Composite References<br />Service Component componentType files <br />
    10. 10. The Solution<br />The solution is MDS<br />Download the remote WSDL & XML schemas and put this in the MDS<br />Change the XML Schema imports of the WSDL so it’s valid and points to the MDS <br />If the Composite Reference is a Composite try to re-use the XSD<br />
    11. 11. Composite Import<br />Open the composite.xml in source mode and change the imports<br />
    12. 12. Composite Reference<br />Change the ui:wsdlLocation attribute<br />Binding.ws location attribute has the Endpoint URL<br />
    13. 13. ComponentType files<br />Open the Service componentType files ( Mediator, BPEL) and change the ui:wsdlLocation attribute<br />
    14. 14. Deployment Plan<br />Only need to change the location attribute of the binding.ws element<br />
    15. 15. Deployment<br />Ways to deploy your Composites<br />JDeveloper -> only for Development.<br />JDeveloper SOA ANT scripts. Need some extra ANT scripting to make it useable<br />AIA has its own complete ANT deployment framework ( needs a license )<br />Resource Adapters & WebLogic artifacts<br />AIA deployment framework can do this<br />Your own WLST scripting & custom Resource Adapter Deployment<br />
    16. 16. Deployment ANT Scripts<br />Need the SOA plugin<br />Located in jdeveloperbin<br />Build your ANT deployment framework around these scripts<br />
    17. 17. Manual configuration of Resource Adapters<br />Use unique file name -> DB_Plan.xml or JMS_Plan.xml<br />In cluster configuration<br />Copy The Resource plan to every node of the cluster<br />Location of the plan must be the same on all servers<br />Update the plans on all server if there is a change<br />Put it on a shared storage<br />
    18. 18. Your own Resource Adapter<br />Extract the WebLogic Resource Adapter ( Oracle_SOA1soaconnectors )<br />Remove the jars<br />Edit the weblogic-ra.xml and add your own entries ( use unique names -> conflicts)<br />Pack the Resource Adapter<br />Deploy the Resource Adapter<br />Set the deployment order after the original adapter<br />
    19. 19. Deployment with AIA<br />Can also be used in Non AIA Projects<br />Configure AIA Deployment file<br />Available Deployment actions<br />JDBC DataSources<br />JMS Resources<br />MDS update<br />Start & shutdown WLS Server<br />Resource Adapters AQ, DB, JMS<br />EAR & WARS<br />Composites<br />
    20. 20. AIA Deployment configuration<br />JDBC Datasource<br />JMS Queue<br />Update MDS<br />Shutdown Managed Server<br />Add an entry to the DB<br />Resource adapter<br />Deploy a WAR<br />Deploy a Composite<br />
    21. 21. Testing your Composites<br />SOAPUI<br />Test cases are flexible and can be scripted<br />Stress LoadTest<br />Simulate (Mock) services but need to update your Composite References<br />SOA Suite TestSuite<br />Can’t test the Composite Service<br />Simulate Composite Reference<br />Bounded to 1 Composite<br />Unit Test output<br />AIA CAVS (CompositeApplicationValidation System)<br />Test and Simulate Services<br />Notbounded to 1 Composite<br />Combine Test cases withsimulation ( automatically updates endpoints )<br />Need a License<br />
    22. 22. SOA Suite TestSuite<br />Create a TestSuite with some tests<br />
    23. 23. SOA Suite TestSuite 2<br />Initiate a Message on a Service<br />Verify a response on a Wire<br />Emulate a response on a Wire <br />
    24. 24. TestSuite in Enterprise Manager<br />Start Unit Tests<br />From ANT<br />From EM<br />
    25. 25. AIA Composite Application Validation System<br />What can CAVS do for you<br />Create tests and validate responses<br />Simulate Adapter services in the ABCS Composites<br />Group tests<br />Combine Test and Simulators with Routing<br />Import / Export Definitions<br />
    26. 26. CAVS Definitions<br />
    27. 27. CAVS Test<br />Load the WSDL and select the operation<br />Define 1 or more Requests<br />Define 1 or more Responses and Generate XPATH<br />
    28. 28. CAVS Simulator<br />Define the expected Request, Generate XPath and set its unique identifier ( For matching the request with the response)<br />Provide the matching Response<br />
    29. 29. CAVS Routing<br />Activates CAVS Simulators, change the endpoints of the Compositereference to the simulators<br />Canbeused in a CAVS Test<br />
    30. 30. Continuous Integration with Hudson<br />Hudson easy to install and manage<br />Support for ANT<br />Integration with SubVersion, CVS<br />Unit Test support<br />Dashboard<br />
    31. 31. Hudson SOA Suite Job<br />Need to build your own ANT deployment<br />Checkout SVN<br />Compile <br />Package<br />Deploy <br />Unit Test<br />Evaluate<br />Report<br />
    32. 32. change<br />The Necessary Knowledge and Tools You Need to Have for SOA Suite 11g<br />Please Fill Out Your Evaluations<br />Edwin Biemond<br />Whitehorses<br />

    ×