Database Reference
In-Depth Information
BAM and the webservice API
BAM provides a set of
web services (WS)
for a synchronous data feed:
•
http://host_name:7001/OracleBAMWS/WebServices/DataOb-
jectOperationsByID?WSDL
•
http://host_name:7001/OracleBAMWS/Services/DataObject/
DataObjectOperations.asmx?WSDL
•
http://host_name:7001/OracleBAMWS/WebServices/DataOb-
jectOperationsByName?WSDL
Here, 7001 is a port by default. For testing, you can start with the first one,
DataOb-
jectOperationsByID
(without WSDL), by opening it in your browser. The rules of
invocation are fairly simple, but strict; if you do not want to get 401 or 403 as a response,
please follow them and also refer to the documentation:
• The names of elements in your payload that you paste into the XML payload
should be exactly as the field of your data object
• The SOAP action can be from basic CRUD (see on the top), but formatted accord-
ing to the namespace as
http://xmlns.oracle.com/bam/insert
• HTTP authentication must be enabled, and you should provide your OFM user-
name/password
Just press
invoke
, and see what you will get in the BAM Architect in Active Data Cache.
You can perform these kinds of tests without a data provider, just by using a WS test page.
Finally, you can refer to the figure from the
EDN in SOA the stack - a practitioner's ap-
proach
section and replace the Event-Driven Business component with BAM, which is
connected to EDN using JMS. This will conclude this block diagram evolution and this
section.
Search WWH ::
Custom Search