Friday, November 4, 2011

Oracle SOA Suite 11g – Enabling the Test button in EM Console for the Composites initiated by the Polling Adapters (MQ, DB).

Oracle SOA Suite 11g – Enabling the Test button in EM Console for the Composites initiated by the Polling Adapters (MQ, DB).


In 11g the Test button in EM Console for the Composites initiated by the Polling Adapters like DB and MQ (Components that are initiated by DB/MQ Pollers) are not enabled by default but in 10g it was enabled by default.


In some scenarios we may need to test these (Composite initiated by polling) composites manually from EM console instead of polling the data from target.
By following the below steps the test button in EM console can be enabled for the Composites initiated by Poller.
1. Open the Composite.xml design view in JDeveloper.
2. Drag and drop web service from service Adapters to the Exposed Services section of the Composite.xml

3. Select the same Polling WSDL (WSDL got created for polling operation) available in the composite as the WSDL URL and also enter the service name and click OK then OK.
4. Connect the service created with the BPEL Component.


5. Go to the source view of the Composite.xml and change the wire as shown below(SOAP operation wire need to be changed as same as Polling operation wire)





6. Deploy the component and verify whether the test button has enabled as shown below.



1 comment:

  1. Good post, Albin very useful one.
    A small suggestion: In the step 4, if we wire the WS to the same interface of BPEL (to which DBPoller is already connected), then step 5 is not necessary.

    thank you
    srinivas

    ReplyDelete