Purpose of the
Document
To show the steps needed to control the Web Services hosted on the Oracle
Service Bus
Steps
Take a backup of
the existing configuration (Take a backup of the fmwconfig folder in the Domain
Home Directory)
Login to the
service Bus console and configure the SMTP Server as per the below screen in
the System -> SMTP
Server -> smtp server section
Click on Create and then update the
values as per the following or the relevant values of the SMTP Server and the
Port Number in the Server URL and Port Number Section respectively
Save the changes
Create an Alert
Destination so that once the alert is triggered, it can be sent to the
respective destination. Alert Destination is the recipient of the alert
You can do it by Right clicking on the
Web Service -> Create -> Resource
Then select
Configure the destination and give it
a name
Enter the recipient names of the alert
In the alert destination setting, make
sure that you have selected Reporting
Once you have the
alert destination , go to the Business Service of the respective web service
for which you want to configure the notification
Follow the below screens to complete the alert
Search for the alert destination which you had created
earlier
Click Next
Select update the condition (two arrows)
Click Create to save
Save and activate the changes
Repeat through the above steps to create an another alert
(but this time for the notification if the WSDL is up)
Login to the em
console of the osb
In the Home Page
Select SOA -> Service Bus
Select Operations and click on Search
This will list all the web services
Select the web service which you wish to stop
Select Offline Endpoint URLs and select Monitoring enabled and click
apply
Got to the previous tab and click “toggle URL state” if it is not
appearing as offline and the state should be show as offline as below
Tip: It will be greyed out state.
You need to click on the state below (it will be online to begin with ) and
then you can toggle the URL state.
Vice versa also is true That is
if you wish to mark the URL online, click on the state and then click toggle
URL state.
This will make the WSDL unavailable and the recipient will receive an
email alert
To make the webservice available once again, you need to uncheck the
“Offline
Endpoint URLs” and select Monitoring enabled and click apply


















No comments:
Post a Comment