THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
The SpringComponent successfully operates performs HelloWorld actions in the context of the configuration from the composite file.
Anchor | ||||
---|---|---|---|---|
|
The SpringComponent implementation remains the same but different bindings are chosen.
3a Working with SCA WebServices Binding
Declaring Service
Code Block |
---|
<component<composite name="SpringComponentStockQuote"> <implementation.spring location="META-INF/sca/SpringComponent-context.xml"/<service name="StockQuoteService" promote="StockQuoteServiceComponent"> <service<interface.java nameinterface="testServicebigbank.stockquote.StockQuoteService"/> <binding.ws> ws uri="http://localhost:8081/services/StockQuoteWebService"/> </service> <component <reference name="testReference" target="ReferenceComponentStockQuoteServiceComponent"> <binding.ws<implementation.spring location="META-INF/spring/StockQuoteService-context.xml"/> </reference> <property name="TestProperty">Hello</property> component> </component>composite> |
OrDeclaring Reference
Code Block |
---|
<component name="SpringComponentAccountServiceComponent"> <implementation.spring location="METAspring-INF/sca/SpringComponentcontext/Account-spring-context.xml"/> <service<reference name="testServicestockQuoteService"> <binding.jms> </service> <reference name="testReference" target="ReferenceComponent"> <binding.jmsws uri="http://localhost:8081/services/StockQuoteWebService"/> </reference> <property name="TestProperty">Hello</property> </component> |
Policy - Security
...