tag:blogger.com,1999:blog-30658773633902686262024-03-14T11:43:08.991+05:30Oracle Fusion Middleware BlogSOA, OSB, BAM, B2B, SOA Suite 12c BlogVivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.comBlogger185125tag:blogger.com,1999:blog-3065877363390268626.post-26112824184775863162020-10-11T18:40:00.000+05:302020-10-11T18:40:49.739+05:30Blockchain | Hyperledger Fabric | Package Chaincode - Chaincode LifeCycle<p><span style="font-family: Arial, sans-serif; font-size: medium;">In Hyperledger Fabric chaincode Lifecyle, package of chaincode is very important step so I will show you how to package your chaincode in chaincode LifeCycle.</span></p><p><span style="font-family: Arial, sans-serif; font-size: medium;">You need to ensure that you have chaincode development and compiled. You can develop your chaincode in Go Lang, Java, Node, Type Script, Java Script.</span></p><p><span style="font-family: Arial, sans-serif; font-size: medium;">In ideal scenario, packaging of chaincode is done by only one organization in network rather that need to be done by each organization. One of the organization can package the chaincode and then send that package to all other organizations.</span></p><p><span style="font-family: Arial, sans-serif; font-size: medium;">When you package the chaincode, it create a file with extension .tar.gz.</span></p><p><span style="font-family: Arial, sans-serif; font-size: medium;">Now let's see what steps you need to follow for chaincode packaging. </span></p><p><span style="font-family: Arial, sans-serif; font-size: medium;">First you need to ensure that your network is up & running and channel is also created.</span></p><p><span style="font-family: Arial, sans-serif; font-size: medium;">Before you package the chaincode, you need to set some variable so you can simply run below commands for that.</span></p><p><i><span style="font-family: Arial, sans-serif;"><span style="color: #2b00fe; font-size: medium;">export
CORE_PEER_TLS_ENABLED=true</span></span></i></p><p><i><span style="font-family: Arial, sans-serif;"><span style="color: #2b00fe; font-size: medium;">export
CORE_PEER_LOCALMSPID="Org1MSP"</span></span></i></p><p><i><span style="font-family: Arial, sans-serif;"><span style="color: #2b00fe; font-size: medium;">export
CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt</span></span></i></p><p><i><span style="font-family: Arial, sans-serif;"><span style="color: #2b00fe; font-size: medium;">export
CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp</span></span></i></p><p><i><span style="font-family: Arial, sans-serif;"><span style="color: #2b00fe; font-size: medium;">export
CORE_PEER_ADDRESS=localhost:7051</span></span></i></p><p><span style="font-family: Arial, sans-serif;"><span style="font-size: medium;">Now run below command to package your chaincode. You need to ensure that you are under fabric-samples/test-network folder.</span></span></p><p><i><span style="font-family: Arial, sans-serif;"><span style="color: #2b00fe; font-size: medium;">peer
lifecycle chaincode package car.tar.gz --path ../chaincode/car/go/
--lang golang --label car_1</span></span></i></p><p><span style="font-family: Arial, sans-serif;"><span style="font-size: medium;">Here</span></span></p><p><span style="font-family: Arial, sans-serif;"><span style="font-size: medium;">car.tar.gz is your packaged chaincode</span></span></p><p><span style="font-family: Arial, sans-serif; font-size: medium;">../chaincode/car/go is the path of your compiled chaincode</span></p><p><span style="font-family: Arial, sans-serif; font-size: medium;">golang is chaincode language </span></p><p><span style="font-family: Arial, sans-serif;"><span style="font-size: medium;">car_1 is label of your chaincode package</span></span></p><p><span style="font-family: Arial, sans-serif;"><span style="font-size: medium;"><br /></span></span></p><p><span style="font-family: Arial, sans-serif;"><br /></span></p>Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com0tag:blogger.com,1999:blog-3065877363390268626.post-55180388025357283212020-10-11T18:26:00.000+05:302020-10-11T18:26:38.698+05:30Blockchain: Hyperledger Fabric 2.2 Setup on Ubuntu<p></p><p class="Default"><span style="font-family: Arial, sans-serif;"><span style="font-size: 11pt;">This post explains how to setup Hyperledger Fabric 2.2 on </span><span style="font-size: 14.6667px;">Linux</span><span style="font-size: 11pt;"> operating system.<o:p></o:p></span></span></p><p class="Default"><span style="font-family: Arial, sans-serif;"><span style="font-size: 11pt;">Before you install Hyperledger Fabric, you need to do </span><span style="font-size: 14.6667px;">prerequisites</span><span style="font-size: 11pt;"> setup where you will install</span></span></p>
<p class="Default"><b><u><span style="font-family: Arial, sans-serif; font-size: 11pt;">Curl , </span><span style="font-family: Arial, sans-serif; font-size: 11pt;">NodeJs, </span><span style="font-family: Arial, sans-serif; font-size: 11pt;">Git, </span><span style="font-family: Arial, sans-serif; font-size: 11pt;">Python, </span><span style="font-family: Arial, sans-serif; font-size: 11pt;">Go Language, </span><span style="font-family: Arial, sans-serif; font-size: 11pt;">Libtool, </span><span style="font-family: Arial, sans-serif; font-size: 11pt;">Docker CE & </span><span style="font-family: Arial, sans-serif; font-size: 11pt;">Docker Compose</span></u></b></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> Now let's see how to install all these one by one.</o:p></span></p><p class="Default"><a name="_Toc48479534"><b><u><span style="font-family: Arial, sans-serif; font-size: 11pt;">Curl Installation</span></u></b></a></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><span style="font-family: Arial, sans-serif; font-size: 11pt;">Run
below command to install Curl.</span></p>
<p class="Default"><span style="color: #2b00fe;"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><i><span style="font-family: Arial, sans-serif; font-size: 10pt;">sudo
apt-get install curl</span></i></span></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><span style="font-family: Arial, sans-serif; font-size: 11pt;">To verify the installation, run below command.</span></p><p class="Default"><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;"> curl
--version</span></span></i></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><a name="_Toc48479535"><b><u><span style="font-family: Arial, sans-serif; font-size: 11pt;">NodeJs Installation</span></u></b></a></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><span style="font-family: Arial, sans-serif; font-size: 11pt;">Open
the terminal window and run below command to download and execute the nodejs
file.</span></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">curl
-sL https://deb.nodesource.com/setup_10.x | sudo -E bash –</span></span></i></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><span style="font-family: Arial, sans-serif; font-size: 11pt;">Then
run below command.</span></p>
<p class="Default"><span style="color: #2b00fe;"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><i><span style="font-family: Arial, sans-serif; font-size: 10pt;">sudo
apt-get update</span></i></span></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><span style="font-family: Arial, sans-serif; font-size: 11pt;">Run
below command to start the installation for NodeJs.</span></p>
<p class="Default"><span style="color: #2b00fe;"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><i><span style="font-family: Arial, sans-serif; font-size: 10pt;">sudo
apt-get install nodejs</span></i></span></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><span style="font-family: Arial, sans-serif; font-size: 11pt;">Run
below command to check if Nodejs is successfully installed or not. This should
return the version of NodeJs.</span></p>
<p class="Default"><span style="color: #2b00fe;"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><i><span style="font-family: Arial, sans-serif; font-size: 10pt;">node
--version</span></i></span></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><a name="_Toc48479536"></a><a name="_Toc48479535"><b><u><span style="font-family: Arial, sans-serif; font-size: 11pt;">Git Installation</span></u></b></a></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><span style="font-family: Arial, sans-serif; font-size: 11pt;">Open
the terminal window and run below command. This will start the installation for
Git.</span></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">sudo
apt-get install git</span></span></i></p>
<p class="Default"><span style="font-family: Arial, sans-serif; font-size: 11pt;">Run
below command to check if Git is successfully installed or not. This should
return the version of Git.</span></p>
<p class="Default"><span style="color: #2b00fe;"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><i><span style="font-family: Arial, sans-serif; font-size: 10pt;">git
--version</span></i></span></p>
<p class="Default"><span style="font-family: Arial, sans-serif; font-size: 11pt;"> </span><a name="_Toc48479536"></a><a name="_Toc48479535"><b><u><span style="font-family: Arial, sans-serif; font-size: 11pt;">Python Installation</span></u></b></a></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><span style="font-family: Arial, sans-serif; font-size: 11pt;">In
the terminal window, run below command to install Python.</span></p>
<p class="Default"><span style="color: #2b00fe;"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><i><span style="font-family: Arial, sans-serif; font-size: 10pt;">sudo
apt-get install python</span></i></span></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><span style="font-family: Arial, sans-serif; font-size: 11pt;">Verify
the installation by running below command and that should return the version of
Python.</span></p>
<p class="Default"><span style="color: #2b00fe;"><i><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span></i><i><span style="font-family: Arial, sans-serif; font-size: 10pt;">python
--version</span></i></span></p>
<p class="Default"><b><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span></b><a name="_Toc48479535"><b><u><span style="font-family: Arial, sans-serif; font-size: 11pt;">Go </span></u></b></a><span style="font-family: Arial, sans-serif;"><span style="font-size: 14.6667px;"><b><u>Language</u></b></span></span></p>
<p class="Default"><span style="font-family: Arial, sans-serif; font-size: 11pt;">Step
1: Very first step is to download the installer, for that go to </span><u style="font-family: Arial, sans-serif; font-size: 11pt;">https://golang.org/</u><span style="font-family: Arial, sans-serif; font-size: 11pt;">
site. Click on "Download Go" button and that should take you to next
page.</span></p>
<p class="Default"><span style="font-family: Arial, sans-serif; font-size: 11pt;">Step
2: Click on Linux tar file which is Linux installer and that should download
the installer for you.</span></p>
<p class="Default"><span style="font-family: Arial, sans-serif; font-size: 11pt;">Step
3: First untar the downloaded file. Since the file is downloaded in Downloads
folder so first you need to go to that folder and then run below command.</span></p>
<p class="Default"><span style="color: #2b00fe;"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><i><span style="font-family: Arial, sans-serif; font-size: 10pt;">cd
Downloads</span></i></span></p><p class="Default"><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">sudo
tar -xvf go1.13.4.linux-amd64.tar.gz</span></span></i></p>
<p class="Default"><span style="font-family: Arial, sans-serif; font-size: 11pt;">Step
4: You should be able to see newly created "go" folder under
Downloads folder, to verify that run "ls" command.</span></p>
<p class="Default"><span style="font-family: Arial, sans-serif; font-size: 11pt;">Step
5: Move the go folder from Downloads to /usr/local folder using below command.</span></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">sudo
mv go /usr/local</span></span></i></p>
<p class="Default"><span style="font-family: Arial, sans-serif; font-size: 11pt;">Step
6: Next step is to set few variables and update the PATH variables. There are
two ways to do that.</span></p>
<p class="Default"><span style="font-family: Arial, sans-serif; font-size: 11pt;">First
way is to set is temporary and second way is to set permanent variables so that
you need not to do the same steps again and again.</span></p>
<p class="Default"><i><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;">If you want to go with first step then
follow below steps.</span></i></p>
<p class="Default"><i style="mso-bidi-font-style: normal;"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p><span style="color: #2b00fe;"> </span></o:p></span></i><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">export GOROOT=/usr/local/go</span></span></i></p><p class="Default"><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;"> cd $HOME</span></span></i></p><p class="Default"><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">mkdir gowork</span></span></i></p><p class="Default"><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">export GOPATH=$HOME/gowork</span></span></i></p><p class="Default"><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">export PATH=$PATH:$GOROOT/bin</span></span></i></p><p class="Default"><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">export PATH=$PATH:$GOPATH/bin</span></span></i></p>
<p class="Default"><i style="mso-bidi-font-style: normal;"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p><span style="color: #2b00fe;"> </span></o:p></span></i></p>
<p class="Default"><i style="mso-bidi-font-style: normal;"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;">If you want to go with second step
which I recommend then follow below steps.<o:p></o:p></span></i></p>
<p class="Default"><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">go
to home location and press " ctrl+H" to see the hidden files</span></span></i></p><p class="Default"><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">open
.profile file and add below entries</span></span></i></p><p class="Default"><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">GOROOT=/usr/local/go</span></span></i></p><p class="Default"><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">GOPATH=$HOME/gowork</span></span></i></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-family: "Courier New"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";"><o:p> </o:p></span></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;">Update
the PATH variable to append both GOROOT and GOPATH bin folders and your PATH
variable should look like below.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="font-family: "Courier New"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";"><o:p> </o:p></span><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">PATH="$HOME/bin:$HOME/.local/bin:/usr/local/go/bin:$HOME/gowork/bin:$PATH"</span></span></i></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><span style="font-family: Arial, sans-serif; font-size: 11pt;">Step
7: Validate if golang is successfully installed in your system by running below
command. This command should return version of go language installed.</span></p>
<p class="Default"><span style="color: #2b00fe;"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><i><span style="font-family: Arial, sans-serif; font-size: 10pt;">go
version</span></i></span></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><a name="_Toc48479535"><b><u><span style="font-family: Arial, sans-serif; font-size: 11pt;">Lib Tools Installation</span></u></b></a><span style="font-family: Arial, sans-serif; font-size: 11pt;"> </span></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;">Install
Lib tools using below command. <o:p></o:p></span></p>
<p class="Default"><span style="color: #2b00fe;"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><i><span style="font-family: Arial, sans-serif; font-size: 10pt;">sudo
apt-get install libltdl-dev</span></i></span></p>
<p class="Default"><i><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span></i><a name="_Toc48479535"><b><u><span style="font-family: Arial, sans-serif; font-size: 11pt;">Docker CE (Community Edition) Installation</span></u></b></a><span style="font-family: Arial, sans-serif; font-size: 11pt;"> </span></p>
<p class="Default"><span style="font-family: Arial, sans-serif; font-size: 11pt;">Download
and install it using below commands.</span></p>
<p class="Default"><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">wget
https://download.docker.com/linux/ubuntu/dists/xenial/pool/stable/amd64/docker-ce_17.06.2~ce-
0~ubuntu_amd64.deb</span></span></i></p><p class="Default"><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">sudodpkg
-i<file></span></span></i></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><span style="font-family: Arial, sans-serif; font-size: 11pt;">Check
the version of docker using below command and this should return the version of
docker.</span></p>
<p class="Default"><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">docker
--version</span></span></i></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span></p><p class="Default"><a name="_Toc48479535"><b><u><span style="font-family: Arial, sans-serif; font-size: 11pt;">Docker Compose Installation</span></u></b></a></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><span style="font-family: Arial, sans-serif; font-size: 11pt;">Run
below commands to setup Docker compose.</span></p>
<p class="Default"><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">sudo
apt-get install python-pip</span></span></i></p><p class="Default"><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">pip
--version</span></span></i></p><p class="Default"><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">sudo
pip install docker-compose</span></span></i></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p><span style="color: #2b00fe;"> </span></o:p></span><span style="font-family: Arial, sans-serif; font-size: 11pt;">Verify
the installation and check the version from below command.</span></p>
<p class="Default"><span style="font-family: "Arial","sans-serif"; font-size: 11.0pt;"><o:p> </o:p></span><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">docker-compose
version</span></span></i></p>
<p class="MsoNormal"><span style="font-family: Arial, sans-serif; font-size: 11pt;"><br /></span></p><p class="MsoNormal"><span style="font-family: Arial, sans-serif; font-size: 11pt;">One you perform all above </span><span style="font-family: Arial, sans-serif; font-size: 14.6667px;">prerequisites</span><span style="font-family: Arial, sans-serif; font-size: 11pt;"> then you need to perform below steps to complete fabric 2.2 setup.</span></p><p class="MsoNormal"><a name="_Toc48479535"><b><u><span style="font-family: Arial, sans-serif; font-size: 11pt;">Hyperledger Fabric Setup</span></u></b></a></p>
<p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman";">Run below command to download and setup Fabric.</span></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">curl
-sSL https://bit.ly/2ysbOFE | bash -s</span></span></i></p>
<p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman";">You may encounter below issue when you run above command.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="color: #e36c0a; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-themecolor: accent6; mso-themeshade: 191;">failed
to get default registry endpoint from daemon (Got permission denied while
trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: <o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman";">To fix this you need run below command.</span></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><i><span style="font-family: Arial, sans-serif; font-size: 10pt;"><span style="color: #2b00fe;">sudo
chmod 666 /var/run/docker.sock</span></span></i></p>
<p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman";">After running this command, run the command that is
mentioned in previous step again and you should be able to download and setup
on your system.<o:p></o:p></span></p><br /><p></p>Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com0tag:blogger.com,1999:blog-3065877363390268626.post-91757558164178064092020-06-26T16:39:00.000+05:302020-06-26T16:39:07.892+05:30Ethereum Blockchain - Understand Ganache Blockchain User InterfaceIn <a href="https://www.soawork.com/2020/06/ethereum-blockchain-how-to-install.html" target="_blank">Previous post</a>, I have explained how to install Ganache Blockchain on Windows system. Next step for you is to understand the Ganache Blockchain user interface once you complete the installation. This post will help you to understand that.<div><br /></div><div>Let's try to understand different options that you see on Ganache Blockchain.</div><div><br /></div><div>Let's first understand the below header that you see below menu bar.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4lfH6xN1vo5mDxh7msL5iuV3fhwKrjwR0uKYXBEhYl4kP0Iw51iBiVd6jFwdYHw9yNweXKIgrx-T_JKEuU7VMn2cUWN_Vj-xMdVRakPtgi8nuGrch21szjlDtuYKoAgmm59JvXbLAsgCg/s1184/Ganache_Blockchain_UserInterface.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="62" data-original-width="1184" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4lfH6xN1vo5mDxh7msL5iuV3fhwKrjwR0uKYXBEhYl4kP0Iw51iBiVd6jFwdYHw9yNweXKIgrx-T_JKEuU7VMn2cUWN_Vj-xMdVRakPtgi8nuGrch21szjlDtuYKoAgmm59JvXbLAsgCg/d/Ganache_Blockchain_UserInterface.png" /></a></div><div><br /></div><div><b><u>Current Block:</u></b> </div><div>As you are aware, Blockchain is chain of block so whenever you perform any transaction, it gets added to block so this field show the current block number in that blockchain. It's value will be always zero when you perform fresh installation and when you restart your ganache blockchain.</div><div><br /></div><div>E.g. If you see value 145 here that means total 145 blocks are there in Blockchain and latest block number is 145.</div><div><br /></div><div><b><u>Gas Price and Gas Limit</u></b></div><div><br /></div><div>These two parameters are related to Ethereum gas. For now, you remember that when ever you perform any action in Ethereum blockchain then need to pay some amount (money) and that amount is measured in Gas. we will discuss about these two parameters in details in upcoming posts.</div><div><br /></div><div><b><u>HardFork</u></b></div><div><br /></div><div>There is concept of fork in Blockchain and there are two types of Fork, one is soft fork and other is hard fork. At very high level, when we perform fork that means you break the blockchain and create a new chain from existing chain so you may have two versions running of same blockchain at given time.</div><div><br /></div><div><b><u>Network Id</u></b></div><div><br /></div><div>This is network Id of this Ganache Blockchain network. The default value for this is 5777.</div><div><br /></div><div>Every network in Ethereum has unique network Id so you can't have two networks with same network Id.</div><div><br /></div><div><b><u>RPC Server</u></b></div><div><br /></div><div>The default value of this field is http://localhost:7545. This helps clients to connect to Ganache network. Suppose, you install this ganache blockchain on one machine and you need to access that ganache blockchain from another machine that is in network then you will use this URL to connect to blockchain.</div><div><br /></div><div>7545 is the default port but this can be changed by clicking on setting option.</div><div><br /></div><div><b><u>Mining Status</u></b></div><div><br /></div><div>In Production ethereum blockchain network, mining is done by miner but for ganache blockchain mining is always set to automatic as this is your local blockchain that means all your transactions gets automatically mined in ganache blockchain.</div><div><br /></div><div><b><u>Switch</u></b></div><div><br /></div><div>This button helps you to switch from current environment to another environment.</div><div><br /></div><div><b><u>Settings</u></b></div><div><br /></div><div>Under setting, you find different options but the main thing that you can do here is to change your RPC server details and network Id as shown below.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbcYiQPRmYzKNmc2cCxigCcYaf6hMMg-MlygZe2EycETVOoPcVl1rc3G3iad7nsIgqHfZRgFUzkA01Oo8DHyG1SHYTCu-qV_0iY4VI0wYCDy-S438B6HwDwCX_8kFXgK6L3KQrc1P0_wK0/s575/Ganache_Blockchain_UserInterface_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="286" data-original-width="575" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbcYiQPRmYzKNmc2cCxigCcYaf6hMMg-MlygZe2EycETVOoPcVl1rc3G3iad7nsIgqHfZRgFUzkA01Oo8DHyG1SHYTCu-qV_0iY4VI0wYCDy-S438B6HwDwCX_8kFXgK6L3KQrc1P0_wK0/d/Ganache_Blockchain_UserInterface_2.png" /></a></div><div><br /></div><div> Now let's understand the Menu bar options.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxOE97SC_WnQcoTBPBROhItvp6bS851LKtpvh3KFqmeQdxYJXVht1tV4kAMIssQuVUJV4jMBVv7r9VmfLPeL-8PkS36d2MezHaGfS2MifX6WcZiQRiXWbo84xezS2T_3UZ_x30EZbJ9wXO/s1182/Ganache_Blockchain_UserInterface_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="66" data-original-width="1182" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxOE97SC_WnQcoTBPBROhItvp6bS851LKtpvh3KFqmeQdxYJXVht1tV4kAMIssQuVUJV4jMBVv7r9VmfLPeL-8PkS36d2MezHaGfS2MifX6WcZiQRiXWbo84xezS2T_3UZ_x30EZbJ9wXO/d/Ganache_Blockchain_UserInterface_3.png" /></a></div><div><br /></div><div><br /></div><div><b><u>Accounts</u></b></div><div><b><u><br /></u></b></div><div>In production ethereum network, you need to first create the account before you access that network but ganache blockchain provide some free account with the installation. You get 10 default accounts and each account has 100 ETH balance. </div><div><br /></div><div>Every account is indexed from 0 to 9 and every account has public and private keys. You will use these accounts when you will perform some transactions in ganache blockchain.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4kV3USBY2cr2bxxN0_eNvicqP-s7ZrxmvSWFegDWZS4MxPpnIcKl4Zjzvn79hu1QnTv8WhV8Mk_qcmKasSgOcrjIng-3tYC_mz1XJqTF5B9rQYGnljIUd_zy4KGIWG3dPiuF7bla_VwZr/s1173/Ganache_Blockchain_UserInterface_Accounts.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="334" data-original-width="1173" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4kV3USBY2cr2bxxN0_eNvicqP-s7ZrxmvSWFegDWZS4MxPpnIcKl4Zjzvn79hu1QnTv8WhV8Mk_qcmKasSgOcrjIng-3tYC_mz1XJqTF5B9rQYGnljIUd_zy4KGIWG3dPiuF7bla_VwZr/d/Ganache_Blockchain_UserInterface_Accounts.png" /></a></div><div><br /></div><div><u><br /></u></div><div><u><b>Blocks</b></u></div><div><u><br /></u></div><div>This shows the blockchain blocks, as you already learnt in above section that block gets created when you perform some transactions so you can that blocks in this window.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcj7ckVp4XikXhfCA23UuBVXL3719MpNXHSKmgJnlbQAhfM11DrpwQOyqXdGM6hoBf75l1lrBd7rWlSoJpYZB_v7UR3V0950sOELlPQlrareSqS6F0jQYU_WdoOnFsTnODJZMJJPUcaGMG/s982/Ganache_Blockchain_UserInterface_Blocks.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="175" data-original-width="982" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcj7ckVp4XikXhfCA23UuBVXL3719MpNXHSKmgJnlbQAhfM11DrpwQOyqXdGM6hoBf75l1lrBd7rWlSoJpYZB_v7UR3V0950sOELlPQlrareSqS6F0jQYU_WdoOnFsTnODJZMJJPUcaGMG/d/Ganache_Blockchain_UserInterface_Blocks.png" /></a></div><div><br /></div><div><b><u><br /></u></b></div><div><b><u>Transactions</u></b></div><div><b><u><br /></u></b></div><div>In this section, you see all the transactions performed. Initially it is blank but you started to see some data as you perform some transactions.</div><div><br /></div><div><b><u>Contracts</u></b></div><div> </div><div>Here you see list of all smart contracts deployed on ganache blockchain. Smart contract is new concept that we have in Ethereum blockchain where you write piece of code and deploy as application on blockchain.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJei_jx1ASK0FHGu-oXS91rAnsEmCZiLBYYHvp3wm6cwNcSrP6DCqc_bRzyd_c4-9-7WQ_wVwDRdMGYy3E874Kce72EuxxFpEZL-d0DLp8ZXzli88iIZg5eRqXXkeeLt3ryl4Zss8WZnJh/s815/Ganache_Blockchain_UserInterface_Contracts.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="262" data-original-width="815" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJei_jx1ASK0FHGu-oXS91rAnsEmCZiLBYYHvp3wm6cwNcSrP6DCqc_bRzyd_c4-9-7WQ_wVwDRdMGYy3E874Kce72EuxxFpEZL-d0DLp8ZXzli88iIZg5eRqXXkeeLt3ryl4Zss8WZnJh/d/Ganache_Blockchain_UserInterface_Contracts.png" /></a></div><div><br /></div><div><div><b><u>Events</u></b></div><div><br /></div><div>Events are defined in your smart contracts and get fired when certain conditions are met.</div></div><div><br /></div><div><b><u>Logs</u></b></div><div><br /></div><div>In this section, you see all the logs. Whatever action is perform, log of that action can be seen in this section.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiVHdbw_QTd469ueiK2AqnwbwzLdsToEYMqQi81eWD9f3ayRsKzNyNzb9HnWT2cDeK8vsMF3hwTFtQqhDaEfrQUsZCPLwA62pNQHz9O9xW_tHW9soOl5zpzkAuw608aO1llTarOQFay8CF/s670/Ganache_Blockchain_UserInterface_Logs.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="432" data-original-width="670" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiVHdbw_QTd469ueiK2AqnwbwzLdsToEYMqQi81eWD9f3ayRsKzNyNzb9HnWT2cDeK8vsMF3hwTFtQqhDaEfrQUsZCPLwA62pNQHz9O9xW_tHW9soOl5zpzkAuw608aO1llTarOQFay8CF/d/Ganache_Blockchain_UserInterface_Logs.png" /></a></div><div><br /></div>Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com0tag:blogger.com,1999:blog-3065877363390268626.post-40806990465015325152020-06-26T14:20:00.002+05:302020-06-26T16:39:49.675+05:30Ethereum Blockchain- How to Install Ganache Blockchain on Windows 10 ?<p class="MsoNormal"></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "times new roman", serif; font-size: 12pt;">As a technology beginner, you always look for something that you can
simply install on your local laptop or system and perform some hands-on to
learn that new technology.<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "times new roman", serif; font-size: 12pt;">If you are starting with Blockchain, mainly with Ethereum and you need
to perform some hands then you need to have local setup of Ethereum
blockchain network.<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "times new roman", serif; font-size: 12pt;">Ethereum does provide some test blockchain networks but it is always
best to have setup on your local system to start with.<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "times new roman", serif; font-size: 12pt;">In this post, we will see how you can install Ganache Blockchain on your
windows machine which acts your local ethereum blockchain network.<o:p></o:p></span></p><p class="MsoNormal">
</p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "times new roman", serif; font-size: 12pt;">Step 1: First of you all, you need to download the setup file. To do
that, go to below link and click on "Download Windows" option as
shown below.<o:p></o:p></span></p><blockquote style="border: none; margin: 0px 0px 0px 40px; padding: 0px;"><p class="MsoNormal" style="text-align: left;"><a href="https://www.trufflesuite.com/ganache" target="_blank">https://www.trufflesuite.com/ganache</a></p></blockquote><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto;"><tbody><tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHC6cnMKEbX3FIaB8yQVzFr4DZCUh_dPDeu8aVcbcX36Mpd5LY-gsb1-8kdSFAjhQft54sCOx6fBgarDwi2shP_Z3ojd_BliJu9WoXODKP8K83uvhsx5HMD29lUv6h6-lbXAuxHDI4Z7Tr/s1176/Ganache_Blockchain_Setup.png" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="244" data-original-width="1176" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHC6cnMKEbX3FIaB8yQVzFr4DZCUh_dPDeu8aVcbcX36Mpd5LY-gsb1-8kdSFAjhQft54sCOx6fBgarDwi2shP_Z3ojd_BliJu9WoXODKP8K83uvhsx5HMD29lUv6h6-lbXAuxHDI4Z7Tr/d/Ganache_Blockchain_Setup.png" /></a></td></tr><tr><td class="tr-caption" style="text-align: center;"><br /></td></tr></tbody></table><div>
<p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "times new roman", serif; font-size: 12pt;"><br />Step 2: Once you download the file, double click on that and it start the installation. <o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "times new roman", serif; font-size: 12pt;"> </span></p><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto;"><tbody><tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGg50dxDaJMIgt2cfOHDv2wiIZkY4o6ihh-r_NHRjTFsViYuMbenRtZrumdnwIY4MmJoRfpHYT8Kp-5k3POIeuhoWofIdnngm5PlLEM3uoQ2sLwjwpIpYUyxwTITfrMVsjZh5VTGU-5hLu/s833/Ganache_Setup_File.png" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="35" data-original-width="833" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGg50dxDaJMIgt2cfOHDv2wiIZkY4o6ihh-r_NHRjTFsViYuMbenRtZrumdnwIY4MmJoRfpHYT8Kp-5k3POIeuhoWofIdnngm5PlLEM3uoQ2sLwjwpIpYUyxwTITfrMVsjZh5VTGU-5hLu/d/Ganache_Setup_File.png" /></a></td></tr><tr><td class="tr-caption" style="text-align: center;"><br /></td></tr></tbody></table><p></p>
<p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "times new roman", serif; font-size: 12pt;">You see below Pop-Up where you need to click on "Install" button.</span></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "times new roman", serif; font-size: 12pt;"><br /></span></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKHAL47sQbxn29rwL8AB1UdqCFga1l3Qga8KqynTwdqjEz_iJEuiv7QCP43k8jA8FWb3qR5bzIEK2dEtXurncp3Iqzus6cKjdxgYCb7foIXMULhPM6k66e0-oJ5NMKqnsbz3s24zzsCfPh/s645/Ganache_Installation_Step_1.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="414" data-original-width="645" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKHAL47sQbxn29rwL8AB1UdqCFga1l3Qga8KqynTwdqjEz_iJEuiv7QCP43k8jA8FWb3qR5bzIEK2dEtXurncp3Iqzus6cKjdxgYCb7foIXMULhPM6k66e0-oJ5NMKqnsbz3s24zzsCfPh/d/Ganache_Installation_Step_1.png" /></a></div><span style="font-family: "times new roman", serif; font-size: 12pt;"><br /></span><p></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "times new roman", serif; font-size: 12pt;">It starts the installation and you can see the progress as shown below.</span><o:p></o:p></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "times new roman", serif; font-size: 12pt;"><br /></span></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqtGJqYPnKxYJvwVCKShEEkPSODB3iIz_JBcSckspaTfhrhk9Gm-tmUAaCB6McgxoTlfSq_628H7d9zLL9tMpi46q47BCAiOfwZ31VAA-zCEF6Ksrbn0MKl7ztSY95DDzmEoySTQSPtCwc/s651/Ganache_Installation_Step_2.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="414" data-original-width="651" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqtGJqYPnKxYJvwVCKShEEkPSODB3iIz_JBcSckspaTfhrhk9Gm-tmUAaCB6McgxoTlfSq_628H7d9zLL9tMpi46q47BCAiOfwZ31VAA-zCEF6Ksrbn0MKl7ztSY95DDzmEoySTQSPtCwc/d/Ganache_Installation_Step_2.png" /></a></div><font face=""><br /></font><p></p>
<p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "times new roman", serif; font-size: 12pt;"> </span><o:p></o:p><span style="font-family: "times new roman", serif; font-size: 12pt;">Click on Launch when</span><span style="font-family: "times new roman", serif; font-size: 12pt;"> installation </span>is completed. </p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><o:p></o:p></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "times new roman", serif; font-size: 12pt;">You see below window get opened once it launches the application.</span><o:p></o:p></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><o:p></o:p></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><br /></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><font face=""></font></p><div class="separator" style="clear: both; text-align: center;"><font face=""><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEietF2uW65ESHRjUCiu0NNbmaoyvWwxLLYwQa4_OGFcPtC2VbHgte1fu53i0znaIwTkj8G2T4UHtqSVGESnXjriMuU9sNrAwuP2ArOmJSu5eK42qbUAsHd_KdH11vCMzT7BO4lkJgczeEIg/s1184/Ganache_Installation_Step_3.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="640" data-original-width="1184" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEietF2uW65ESHRjUCiu0NNbmaoyvWwxLLYwQa4_OGFcPtC2VbHgte1fu53i0znaIwTkj8G2T4UHtqSVGESnXjriMuU9sNrAwuP2ArOmJSu5eK42qbUAsHd_KdH11vCMzT7BO4lkJgczeEIg/d/Ganache_Installation_Step_3.png" /></a></font></div><p></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "times new roman", serif; font-size: 12pt;"><br /></span></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "times new roman", serif; font-size: 12pt;">Click on "Continue" button and on next screen choose
"QuickStart Ethereum" option as that will set all default options for
you.</span><o:p></o:p></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "times new roman", serif; font-size: 12pt;"><br /></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAzyZl1M6PxZ6HYO3mDlk7vssBWJ3AK5NMZnQ5STK_TBXadvGjk72bvBruMdsU6fy-WAroxNqiZhuRqGvZZJwNY6IvbG-mgUoWtQyeOClaXqiYqkTY6qj1KMOYU_tKboRjmYCpH0JSF496/s812/Ganache_Installation_Step_4.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="286" data-original-width="812" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAzyZl1M6PxZ6HYO3mDlk7vssBWJ3AK5NMZnQ5STK_TBXadvGjk72bvBruMdsU6fy-WAroxNqiZhuRqGvZZJwNY6IvbG-mgUoWtQyeOClaXqiYqkTY6qj1KMOYU_tKboRjmYCpH0JSF496/d/Ganache_Installation_Step_4.png" /></a></div><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><br /></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "times new roman", serif; font-size: 12pt;">You will see below screen. If you are able to see below screen that
means your installation is successful. <o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFenwd64uS3tShD0NCbuVAE2xy4J8MyjU-1xQvRpB1lTq_qNLENvU-TBeRfqi8deh2V8GmxK4TqG2Ynpnphz69vSHRx9zJ6idUKb-HD9xlAyeHSxETLJIIKlYcJMe6jpAR-BK_39p6pCA7/s1186/Ganache_Installation_Step_5.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="633" data-original-width="1186" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFenwd64uS3tShD0NCbuVAE2xy4J8MyjU-1xQvRpB1lTq_qNLENvU-TBeRfqi8deh2V8GmxK4TqG2Ynpnphz69vSHRx9zJ6idUKb-HD9xlAyeHSxETLJIIKlYcJMe6jpAR-BK_39p6pCA7/d/Ganache_Installation_Step_5.png" /></a></div><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><br /></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "times new roman", serif; font-size: 12pt;">Thanks for reading this post.<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
</p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="font-family: "times new roman", serif; font-size: 12pt;">In <a href="https://www.soawork.com/2020/06/ethereum-blockchain-understand-ganache-blockchain-ui-options.html" target="_blank">Next post</a>, I will explain what all different options you have in
Ganache Blockchain.<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><br /></p></div><p></p>Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com0tag:blogger.com,1999:blog-3065877363390268626.post-48198520161248024932019-05-18T16:02:00.000+05:302019-05-18T16:02:56.680+05:30Docker- Setup Oracle Database in Docker Container<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div style="margin-bottom: .0001pt; margin: 0cm;">
</div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
</div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span style="color: black; font-family: "Arial","sans-serif"; font-size: 13.0pt;">In this post, I will show you how to setup and run Oracle database in Docker container. <o:p></o:p></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span style="color: black; font-family: "Arial","sans-serif"; font-size: 13.0pt;"><br /></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 13pt;">Before you proceed further in this blog post, there are 2 </span><span style="font-size: 17.3333px;">prerequisites</span><span style="font-size: 13pt;"> as mentioned below.</span></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 13pt;"><br /></span></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 13pt;">1. You need to have docker installed in your system. Click <a href="http://www.soawork.com/2019/05/docker-installation-on-windows.html" target="_blank">here </a>to read more about it.</span></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 13pt;">2. You need to have docker hub account. Click <a href="http://www.soawork.com/2019/05/docker-hub-introduction.html" target="_blank">here </a>to read about it.</span></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 13pt;"><br /></span></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 13pt;">No I assume that you have docker installed in your system and created account on docker hub. Follow below steps to install Oracle DB.</span></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 13pt;"><br /></span></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 13pt;"><b>Step 1</b>: Very first step is to open the Docker terminal by clicking on "Docker Quick start" desktop icon.</span></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 13pt;"><br /></span></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 13pt;">Once you open that terminal, you need to login to your docker hub account from that terminal. For that, run below command.</span></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 13pt;"><br /></span></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 13pt;">docker login</span></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 13pt;"><br /></span></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 13pt;">Then enter your username and password as shown below.</span></span></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 13pt;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVlw8Y7uZCVELnzUFCRf7ItflwbPhPZDvC9ikiCcJP3gkqRCfyCSEm73fVr-0EGp8eeyVP1b0tZRv4nsqtye9HHsdyfUI2F_UZuAd01r968JYSVNfAyT0Y81r3sJflFoigm6VkSDWqCHRl/s1600/Docker_Oracle_DB_Installation_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="169" data-original-width="642" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVlw8Y7uZCVELnzUFCRf7ItflwbPhPZDvC9ikiCcJP3gkqRCfyCSEm73fVr-0EGp8eeyVP1b0tZRv4nsqtye9HHsdyfUI2F_UZuAd01r968JYSVNfAyT0Y81r3sJflFoigm6VkSDWqCHRl/s1600/Docker_Oracle_DB_Installation_1.png" /></a></div>
<div style="margin-bottom: .0001pt; margin: 0cm;">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 13pt;"><br /></span></span></div>
<div style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; margin-bottom: .0001pt; margin: 0cm; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<br /></div>
<div style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; margin-bottom: .0001pt; margin: 0cm; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="color: black; font-family: "Arial","sans-serif"; font-size: 13.0pt;"><o:p><b>Step 2</b>: In this step, you need to go to docker hub site and get the command to download Oracle Database docker image.</o:p></span></div>
<div style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; margin-bottom: .0001pt; margin: 0cm; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="color: black; font-family: "Arial","sans-serif"; font-size: 13.0pt;"><o:p><br /></o:p></span></div>
<div style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; margin-bottom: .0001pt; margin: 0cm; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 17.3333px;">For that go to </span></span><a href="https://hub.docker.com/">https://hub.docker.com/</a></div>
<div style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; margin-bottom: .0001pt; margin: 0cm; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; margin-bottom: .0001pt; margin: 0cm; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;">Then in search box, enter Oracle Database and then choose very first option as shown below.</span></div>
<div style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; margin-bottom: .0001pt; margin: 0cm; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijwyJ-47Lw79rfq-ggS2ICHGPCCLK6u2Stsl4JI080ekBGzc9fdIaPT6Jytxp7iGdK0pZj-Ls574QH35t4bNJ75beI8q758yMKEBDqKUWMqGFteM6wyOOO8i9aWMo3o4VatIWx_envfRQi/s1600/Docker_Oracle_DB_Installation_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="170" data-original-width="559" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijwyJ-47Lw79rfq-ggS2ICHGPCCLK6u2Stsl4JI080ekBGzc9fdIaPT6Jytxp7iGdK0pZj-Ls574QH35t4bNJ75beI8q758yMKEBDqKUWMqGFteM6wyOOO8i9aWMo3o4VatIWx_envfRQi/s1600/Docker_Oracle_DB_Installation_2.png" /></a></div>
<div style="-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; margin-bottom: .0001pt; margin: 0cm; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2; word-spacing: 0px;">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 13.0pt; line-height: 115%;"><o:p> </o:p></span><span style="font-family: Arial, sans-serif; font-size: 17.3333px;">Now click on "Proceed to Checkout" option button at right side.</span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9NeTI51eN2EmAIJh0n8D3ftSRV-ZcWG7nKZSmMPRLefdXvuYrAhkaoozIRhrWqVSZ_2M9NmHiIckQIZ5EPnJhqu3n8KYErsT8W8aTgap_bDAGGipXcIiHEOosyswg8y5SSUt43O4k-XPB/s1600/Docker_Oracle_DB_Installation_3.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="433" data-original-width="1317" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9NeTI51eN2EmAIJh0n8D3ftSRV-ZcWG7nKZSmMPRLefdXvuYrAhkaoozIRhrWqVSZ_2M9NmHiIckQIZ5EPnJhqu3n8KYErsT8W8aTgap_bDAGGipXcIiHEOosyswg8y5SSUt43O4k-XPB/s1600/Docker_Oracle_DB_Installation_3.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;">It asks you to enter your details, enter the details and click on Get Content.</span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoFwjyAumTmIx1RvjSgeFKQSsAZ2Kejv-TkmfxS9PQpj7mLMBQOVd8kcIkEwp2OGole6K5qKwnNKd8abPaYmafmYzjmFP5N068n1YDTQSkJeody5K29Z_x3bq8BxP9gbBq4lXbtKTxvVs-/s1600/Docker_Oracle_DB_Installation_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="768" data-original-width="1366" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoFwjyAumTmIx1RvjSgeFKQSsAZ2Kejv-TkmfxS9PQpj7mLMBQOVd8kcIkEwp2OGole6K5qKwnNKd8abPaYmafmYzjmFP5N068n1YDTQSkJeody5K29Z_x3bq8BxP9gbBq4lXbtKTxvVs-/s1600/Docker_Oracle_DB_Installation_4.png" /></a></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;">It takes you to next screen where you see one command at right side.</span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEii2T_GaVK4ueVBt4PUldGQqcPe8OUMzKy5FTuAACZPFeUEi1dkmNnIQc3XjvwvNSyyra5ve_3no0CqTziCE_w1KDNLOyONDb1rva_zzFigXhi8NQFzsP8KEOCcR_gm6leq9KE40Utp3jtn/s1600/Docker_Oracle_DB_Installation_5.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="475" data-original-width="1320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEii2T_GaVK4ueVBt4PUldGQqcPe8OUMzKy5FTuAACZPFeUEi1dkmNnIQc3XjvwvNSyyra5ve_3no0CqTziCE_w1KDNLOyONDb1rva_zzFigXhi8NQFzsP8KEOCcR_gm6leq9KE40Utp3jtn/s1600/Docker_Oracle_DB_Installation_5.PNG" /></a></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;">Copy that command and past in your docker terminal as shown below.</span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmCQH300XAfAOu_mcrpHSSRFyPNEgLIzln5vIa7LQi357FGqqoe2VR23iYD_iZfdKyqUbrf4eDiZxSP9P_IicDLf6jpQ-khDwQqOpMot9QP1Eh06qCtzzfdmrJUXT76z-d_2fVuaU3GGay/s1600/Docker_Oracle_DB_Installation_6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="157" data-original-width="562" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmCQH300XAfAOu_mcrpHSSRFyPNEgLIzln5vIa7LQi357FGqqoe2VR23iYD_iZfdKyqUbrf4eDiZxSP9P_IicDLf6jpQ-khDwQqOpMot9QP1Eh06qCtzzfdmrJUXT76z-d_2fVuaU3GGay/s1600/Docker_Oracle_DB_Installation_6.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;">It download the required files for Oracle Database image. This may takes some time as it download the files that have size in gb's.</span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;">with this step, you have successfully downloaded Oracle database image from docker hub.</span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;">To validate that, you can run below command, that shows you all the images present in your docker.</span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;">docker images</span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;">once you run that command, you should see something like below.</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjP6JpWbBr-0juMFt7-UU9g3O6PfMpTrTE53TrC6RQkF8ZPuO4AqLPYikngo0Y6gxVbTpY5SWeKoZMqvkFlfsrBI-PCn6XfmjFEqkaC0sp6kwIJje531FaTh5wXu_q6MTIbHvrLz75v9i2A/s1600/Docker_Oracle_DB_Installation_7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="89" data-original-width="641" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjP6JpWbBr-0juMFt7-UU9g3O6PfMpTrTE53TrC6RQkF8ZPuO4AqLPYikngo0Y6gxVbTpY5SWeKoZMqvkFlfsrBI-PCn6XfmjFEqkaC0sp6kwIJje531FaTh5wXu_q6MTIbHvrLz75v9i2A/s1600/Docker_Oracle_DB_Installation_7.png" /></a></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><b>Steps 3</b>: In this step, you will see how to create docker container from the image that we downloaded in above step.</span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;">For that run below command in docker terminal. </span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;">$ docker run -d -it --name <oracle-db> store/oracle/database-enterprise:12.2.0.1</span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;">where <oracle-db> can be replaced with your container name.</span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY3KHJ_1tCnUCvJRWlQoVRyJeNwvOpkrWG4Tkjf2ngia43SJin0Ei4tWo2bmw0_KFqQZXwpMjR4kRs0vx7G4dc0_XMYzib2fesJ-_L2wFJhZwABwI56I4BaEXO-Cbjii9WMe4r9ExtSgA3/s1600/Docker_Oracle_DB_Installation_8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="62" data-original-width="644" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY3KHJ_1tCnUCvJRWlQoVRyJeNwvOpkrWG4Tkjf2ngia43SJin0Ei4tWo2bmw0_KFqQZXwpMjR4kRs0vx7G4dc0_XMYzib2fesJ-_L2wFJhZwABwI56I4BaEXO-Cbjii9WMe4r9ExtSgA3/s1600/Docker_Oracle_DB_Installation_8.png" /></a></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;">You can validate this by running below command.</span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;">$ docker ps</span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 17.3333px;">This list all the containers and you will see recently created database container.</span></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 17.3333px;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl2q1mvExrG2BhzX_oYdPiA7ig9PPYZ_5_dC0J2vRNLs0BQo2hpLDqrBNcoEXTfQrzuRuSfCxbaij6zAghNPhpEpO-erwzj9Rg5yQ1sjjca9zIFbBdKffn-FTwpTyK_Qg4LhG26DtHG32S/s1600/Docker_Oracle_DB_Installation_9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="127" data-original-width="645" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl2q1mvExrG2BhzX_oYdPiA7ig9PPYZ_5_dC0J2vRNLs0BQo2hpLDqrBNcoEXTfQrzuRuSfCxbaij6zAghNPhpEpO-erwzj9Rg5yQ1sjjca9zIFbBdKffn-FTwpTyK_Qg4LhG26DtHG32S/s1600/Docker_Oracle_DB_Installation_9.png" /></a></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 17.3333px;"><br /></span></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 17.3333px;">As you can see this database is running on port 1521.</span></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 17.3333px;"><br /></span></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 17.3333px;">You can connect to this database by using below details.</span></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 17.3333px;"><br /></span></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 17.3333px;">user: sys</span></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 17.3333px;">password: Oradoc_db1</span></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 17.3333px;">port: 1521</span></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 17.3333px;"><br /></span></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 17.3333px;"><br /></span></div>
<br />
<br />
</div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com0tag:blogger.com,1999:blog-3065877363390268626.post-40547159634962058032019-05-18T10:39:00.001+05:302019-05-18T10:39:26.610+05:30Docker Hub Introduction<div dir="ltr" style="text-align: left;" trbidi="on">
In last post, I have shown you how to install docker on windows machine. In this post, I will discuss about Docker hub.<br />
<br />
Docker hub in docker images repository on cloud where you can get any type of image to create required docker container.<br />
<br />
You can use below URL to access that.<br />
<br />
<a href="https://hub.docker.com/">https://hub.docker.com/</a><br />
<br />
Before we move to setting up Fusion Middleware on docker, we need to have account on docker hub and for that go to above URL and click on "Get Started".<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaU9nDNZMpI31ssDsaKygauTAhTB74DvlQUU_hlBTl0dWSpCcVlDPSL0COF9tB7VUkMDGn9ghvLouGj4Zy2k7b-WRnMO37ovjtURYIivLpLwqGjo_6CH2Rq-HqL03RcGv78jk0gxFg_U3K/s1600/Docker_Hub.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="193" data-original-width="1302" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaU9nDNZMpI31ssDsaKygauTAhTB74DvlQUU_hlBTl0dWSpCcVlDPSL0COF9tB7VUkMDGn9ghvLouGj4Zy2k7b-WRnMO37ovjtURYIivLpLwqGjo_6CH2Rq-HqL03RcGv78jk0gxFg_U3K/s1600/Docker_Hub.PNG" /></a></div>
<br />
<br />
Then enter all required details as shown below.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQRCNB7PNB3yBXpnLstmbmy5qPAI0qZNhKo8ZCy09SefC1lP6Wv0-NPl-ZBrX68U-xPpyO2YpEd1XZZty1NWz3_som2e8PvZJj3oTWdIVjNIIeTHJBBuOPNfNpkdj9cvv-oYIuPYxzkhW9/s1600/Docker_Hub_Registartion.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="560" data-original-width="658" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQRCNB7PNB3yBXpnLstmbmy5qPAI0qZNhKo8ZCy09SefC1lP6Wv0-NPl-ZBrX68U-xPpyO2YpEd1XZZty1NWz3_som2e8PvZJj3oTWdIVjNIIeTHJBBuOPNfNpkdj9cvv-oYIuPYxzkhW9/s1600/Docker_Hub_Registartion.PNG" /></a></div>
<br />
Click on continue and confirmation email will come to your inbox.<br />
<br />
Now login to Docker hub using your account and you will see something like below. Here you see all types of Docker images.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit89D_HK3iRysPtx9E8KXE2XB4HFcp1VYLrbLqA3jDy9dEVIcu3tM3qBENCmvKuXWt2fd_ljiXvWmOM1upjyK6znmIQClq-rXxsDteVmuPqmQuLwhAv8VuEzAw8fn39GotaHAbR8lBGT4T/s1600/Docker_Hub_Home.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="474" data-original-width="1310" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit89D_HK3iRysPtx9E8KXE2XB4HFcp1VYLrbLqA3jDy9dEVIcu3tM3qBENCmvKuXWt2fd_ljiXvWmOM1upjyK6znmIQClq-rXxsDteVmuPqmQuLwhAv8VuEzAw8fn39GotaHAbR8lBGT4T/s1600/Docker_Hub_Home.PNG" /></a></div>
<br /></div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com0tag:blogger.com,1999:blog-3065877363390268626.post-13782094004452525512019-05-18T10:28:00.002+05:302019-05-18T10:28:57.065+05:30Docker Installation on Windows<div dir="ltr" style="text-align: left;" trbidi="on">
In this post, I will show you how to install Docker on Windows 7 machine and then later will show you how to setup Fusion middleware on Docker.<br />
<br />
To install Docker on Windows, you need to download Docker toolbox and for that you need to go to below link.<br />
<br />
<a href="https://docs.docker.com/toolbox/overview/">https://docs.docker.com/toolbox/overview/</a><br />
<br />
Once you open that link, you see option to download that docker toolbox as shown below.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2ayvmtPNCoBocOMKD1TrgVeGY9WP88mlAyzfIk7t6M-8J_huVd5aC1OEBlOAQD7929AfaARsOS2uiTOn5YMcBGxIGmMoADs3V6KOhjZQwqfXp0UHafE6p5Mnm_fj_-bbcfZZw_ZhSzLIh/s1600/Docker_Tutorials_Installation_Docker_Toolbox.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="266" data-original-width="718" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2ayvmtPNCoBocOMKD1TrgVeGY9WP88mlAyzfIk7t6M-8J_huVd5aC1OEBlOAQD7929AfaARsOS2uiTOn5YMcBGxIGmMoADs3V6KOhjZQwqfXp0UHafE6p5Mnm_fj_-bbcfZZw_ZhSzLIh/s1600/Docker_Tutorials_Installation_Docker_Toolbox.PNG" /></a></div>
<br />
<br />
Download the file and then run that file.<br />
<br />
When you run that file, choose the default options and you may notice that this setup install other things as well as shown below.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZ7XeWHgQA7A7xl8NlLmfVQMYyAOCgyLMF69WQbwglV9H_w2epEeYrQqMk6eQD44kDgqlWUUKnDXurZgWNvo9FrvOYQYe3bYpntee0EvOlycMZnJCTLzuAoBvlSDeJFO9AYKzYZmnNLDQ0/s1600/Docker_Toolbox_Installation_3.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="396" data-original-width="511" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZ7XeWHgQA7A7xl8NlLmfVQMYyAOCgyLMF69WQbwglV9H_w2epEeYrQqMk6eQD44kDgqlWUUKnDXurZgWNvo9FrvOYQYe3bYpntee0EvOlycMZnJCTLzuAoBvlSDeJFO9AYKzYZmnNLDQ0/s1600/Docker_Toolbox_Installation_3.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
Click on next and then you also notice that this setup also install Virtual box as docker will run on that virtual box instead of Windows OS.<br />
<br />
Once the installation is complete. You notice 3 icons added to your desktop as shown below.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibQPmndh2eS9a-YynQFyLNr3LAAH3d65uWsn3uyhfr8rcHXVcxrSLv2rbkjYeDvkoNVEYJBjs_J0lU6r4YLVAukbSRpMWXP0RM1gxgdYiaCok3vkn_XxvccCGDIn6uPjZfF_21WsRJy8f_/s1600/Docker_Toolbox_Installation_61.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="230" data-original-width="209" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibQPmndh2eS9a-YynQFyLNr3LAAH3d65uWsn3uyhfr8rcHXVcxrSLv2rbkjYeDvkoNVEYJBjs_J0lU6r4YLVAukbSRpMWXP0RM1gxgdYiaCok3vkn_XxvccCGDIn6uPjZfF_21WsRJy8f_/s1600/Docker_Toolbox_Installation_61.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
This complete your setup.<br />
<br />
Now to run the docker, you can click on "Docker Quickstart" icon and that starts your docker.<br />
<br />
<br />
<br /></div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com0tag:blogger.com,1999:blog-3065877363390268626.post-36357974442691297492017-09-23T21:28:00.001+05:302017-09-23T21:28:52.367+05:30OSB 12c - Handle JSON message inside Pipeline using JavaScript Action<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;">Oracle
Service Bus 12c provide the feature to handle JSON messages inside pipeline,
although this feature was not there in first version of 12c but later version
provides full JSON support. In this post, I will show how to handle JSON
message inside pipeline. JavaScript is new action introduced inside message
flow that help us to read/write and manipulate JSON messages.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;">Let’s start
with this sample. I will show how to read below JSON message inside pipeline
using JavaScript action and how to generate below JSON response using
JavaScript action.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-size: 11.5pt; line-height: 107%;">Request JSON<o:p></o:p></span></b></div>
<div class="MsoNormal">
<b><span style="font-size: 11.5pt; line-height: 107%;"><br /></span></b></div>
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;">{
“inputVal" : "world" }<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;"><br /></span></div>
<div class="MsoNormal">
<b><span style="font-size: 11.5pt; line-height: 107%;">Response JSON<o:p></o:p></span></b></div>
<div class="MsoNormal">
<b><span style="font-size: 11.5pt; line-height: 107%;"><br /></span></b></div>
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;">{ "result": "Hello
world" }<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;">First of
all, create new OSB project under OSB application. Now create Rest proxy service that accept JSON message and send JSON as response, to do that right click and choose "REST" option and provide proxy name. In next screen you need to provide resource path for this rest proxy.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSZgRrU0XgZghKBLY2SjyKUVPw2qt1QMlolo62VTlNPhaNKSQBVdvQ3T3QQRUFAzn2NuaLI9Xpm2SQaY_kBHhla9Zd7qfGTfn_kPB8ZGfz99ymjQjassm0GiwQu5VRBqVX5hvIue_o3YV5/s1600/OSB12c_JavaScript_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB 12c JavaScript Action Create Proxy" border="0" data-original-height="414" data-original-width="470" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSZgRrU0XgZghKBLY2SjyKUVPw2qt1QMlolo62VTlNPhaNKSQBVdvQ3T3QQRUFAzn2NuaLI9Xpm2SQaY_kBHhla9Zd7qfGTfn_kPB8ZGfz99ymjQjassm0GiwQu5VRBqVX5hvIue_o3YV5/s1600/OSB12c_JavaScript_1.png" title="OSB 12c JavaScript Action Create Proxy" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfDxl0YjsomfrvbIaKUvJxW5QkKa4Y9GFr1TkvYLdrQyftEhRtBIu1s8MqqZ0X5xRhOcRqi4oDWNJNe8ga_RMPRmYZNreN8wSnA1UyqH2lpdgFjMTuqM5FWc5JQCSd7Udr7swroV-Hz09S/s1600/OSB12c_JavaScript_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB 12c JavaScript Action Proxy Resource Path" border="0" data-original-height="457" data-original-width="938" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfDxl0YjsomfrvbIaKUvJxW5QkKa4Y9GFr1TkvYLdrQyftEhRtBIu1s8MqqZ0X5xRhOcRqi4oDWNJNe8ga_RMPRmYZNreN8wSnA1UyqH2lpdgFjMTuqM5FWc5JQCSd7Udr7swroV-Hz09S/s1600/OSB12c_JavaScript_2.png" title="OSB 12c JavaScript Action Proxy Resource Path" /></a></div>
<span style="font-size: 15.3333px;"><br /></span>
<br />
<span style="font-size: 15.3333px;">Now click on "Add a new Rest Method" option. Provide method name in next screen and choose "POST: method. Also choose "JSON" option for both request and response as we are dealing with JSON message here.</span><br />
<span style="font-size: 15.3333px;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUJxNgsxBKD0TJFojR7Lo83-FVq22Ysk_HEAzsdve_Uug8-VzTn5k__4Maw_d36jlVh9tjZUwST9MzsA0e1ZfAUg3bkyncyyntGD2X8e8f5wchddzztbjo9QW5VDUgDBD9sLA8imhssRT/s1600/OSB12c_JavaScript_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB 12c JavaScript Action Proxy add rest method" border="0" data-original-height="239" data-original-width="829" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUJxNgsxBKD0TJFojR7Lo83-FVq22Ysk_HEAzsdve_Uug8-VzTn5k__4Maw_d36jlVh9tjZUwST9MzsA0e1ZfAUg3bkyncyyntGD2X8e8f5wchddzztbjo9QW5VDUgDBD9sLA8imhssRT/s1600/OSB12c_JavaScript_3.png" title="OSB 12c JavaScript Action Proxy add rest method" /></a></div>
<span style="font-size: 15.3333px;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiD1Htl_elKG76L5WVZmI1Fpds0TXAYHkYKKGmYGsInphJ5x2MWU-BZXCfWHtJvOFJ7gmze-LB3-yo_Bm6OfJxKbM9a8hupz3dLIKlY9MN2BRIetL8TjiE9QI7_qpec-xorGvKYvtW77Rng/s1600/OSB12c_JavaScript_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB 12c JavaScript Action Proxy Request and Response" border="0" data-original-height="561" data-original-width="846" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiD1Htl_elKG76L5WVZmI1Fpds0TXAYHkYKKGmYGsInphJ5x2MWU-BZXCfWHtJvOFJ7gmze-LB3-yo_Bm6OfJxKbM9a8hupz3dLIKlY9MN2BRIetL8TjiE9QI7_qpec-xorGvKYvtW77Rng/s1600/OSB12c_JavaScript_4.png" title="OSB 12c JavaScript Action Proxy Request and Response" /></a></div>
<span style="font-size: 15.3333px;">Add Pipeline where service type is REST and choose the proxy WADL file for the same. Ensure that expose as proxy option is unchecked.</span><br />
<span style="font-size: 15.3333px;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQpJfspPYlkxud4pDHRzCDaFzq4kjyahIOYUhrdmLA0Iicc6A54lCWC_EwviNB36xGaVz1B_0pX16v7dwMXqDj6oABoyV1WdiKMjPSow57buelWz2HL7K5tv6qs-cSKUfjty2zYrlTmoYJ/s1600/OSB12c_JavaScript_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB 12c JavaScript Action PipeLine" border="0" data-original-height="567" data-original-width="994" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQpJfspPYlkxud4pDHRzCDaFzq4kjyahIOYUhrdmLA0Iicc6A54lCWC_EwviNB36xGaVz1B_0pX16v7dwMXqDj6oABoyV1WdiKMjPSow57buelWz2HL7K5tv6qs-cSKUfjty2zYrlTmoYJ/s1600/OSB12c_JavaScript_5.png" title="OSB 12c JavaScript Action PipeLine" /></a></div>
<span style="font-size: 15.3333px;"><br /></span>
<span style="font-size: 15.3333px;">Link pipeline with proxy service. Inside pipeline, add pipeline node and first in request pipeline add one JavaScript action. Open the JavaScript action and click on Value expression.</span><br />
<span style="font-size: 15.3333px;"><br /></span>
<span style="font-size: 15.3333px;">In Expression, add below text.</span><br />
<span style="font-size: 15.3333px;"><br /></span>
<span style="font-size: 15.3333px;">var $request = process.body</span><br />
<span style="font-size: 15.3333px;">process.response= "Hello " + $request.inputVal</span><br />
<br />
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;">Here
$request is variable and process.body contains the request JSON data so I assign request JSON to request variable.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;">imputVal is the element name that we receive in request so to
access that I used $request.inputVal expression and "Hello " is
appended to that and assigned to process.response.<o:p></o:p></span></div>
<span style="font-size: 15.3333px;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQXQ_2-xu4_QbOKZPY9FEVvjhRIVMjH6mh7ym9d0IMpE44trn6bl8GbpFt_B6SFgK71R6o8PvK4zr1dB6P1G8MHSxVbWD72a3yUmAkF2VqzTkcuoFdBT8I6zfqLw_KM-g4VIvFSTCu23YY/s1600/OSB12c_JavaScript_7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB 12c JavaScript Action " border="0" data-original-height="439" data-original-width="651" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQXQ_2-xu4_QbOKZPY9FEVvjhRIVMjH6mh7ym9d0IMpE44trn6bl8GbpFt_B6SFgK71R6o8PvK4zr1dB6P1G8MHSxVbWD72a3yUmAkF2VqzTkcuoFdBT8I6zfqLw_KM-g4VIvFSTCu23YY/s1600/OSB12c_JavaScript_7.png" title="OSB 12c JavaScript Action " /></a></div>
<span style="font-size: 15.3333px;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguG4ZlsbXecWK3hoX4uCGOlA8NT-7P4HrU-cc0DF-c5V2DMCWlbMTH39VvUBdBzxKMYDJBMClU6ciqX6XaFOQAgdrVyzMb8wjAICeFAsHoWpvftUhTxB_X84mPtYuPVl4t9lo3K0V_hMXK/s1600/OSB12c_JavaScript_8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB12c JavaScript Action Expression" border="0" data-original-height="308" data-original-width="512" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguG4ZlsbXecWK3hoX4uCGOlA8NT-7P4HrU-cc0DF-c5V2DMCWlbMTH39VvUBdBzxKMYDJBMClU6ciqX6XaFOQAgdrVyzMb8wjAICeFAsHoWpvftUhTxB_X84mPtYuPVl4t9lo3K0V_hMXK/s1600/OSB12c_JavaScript_8.png" title="OSB12c JavaScript Action Expression" /></a></div>
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;">Now add
another JavaScript action in response pipeline to create response JSON, click
on Value expression and add below text.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;">process.body=<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;">{<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;">"result"
: process.response<o:p></o:p></span></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;">};<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;"><span style="font-size: small;"><br /></span></span></div>
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;"><span style="font-size: small;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgebXpf4cCv88WVihuxdXB-d7suON7ZLdAoZgio3uKwQJGzTs20Xu65U3wKgogmMm72LjsW0Tl4YFEnU6hsvLeC2u1mx5pC_7OMD_3zllJ1VZJBYDUFPCP9OFO24MyIkVylLYEADrRY-CQs/s1600/OSB12c_JavaScript_9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB 12c JavaScript Action Response" border="0" data-original-height="502" data-original-width="664" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgebXpf4cCv88WVihuxdXB-d7suON7ZLdAoZgio3uKwQJGzTs20Xu65U3wKgogmMm72LjsW0Tl4YFEnU6hsvLeC2u1mx5pC_7OMD_3zllJ1VZJBYDUFPCP9OFO24MyIkVylLYEADrRY-CQs/s1600/OSB12c_JavaScript_9.png" title="OSB 12c JavaScript Action Response" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Calibri",sans-serif; font-size: 11.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Calibri",sans-serif; font-size: 11.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;">Test
the flow by using the request JSON and you see the response JSON as shown below.</span></div>
<div class="MsoNormal">
<span style="font-family: "Calibri",sans-serif; font-size: 11.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Calibri",sans-serif; font-size: 11.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL7O0_BtcWG7gxdgivuCg-4BkcYcWL_i-rdjEI3Fu1ysRv55F6TUR1kufXorxGy9NuuMQMTychgeGlU3d-1ekS_UffCpjovgbfLxOd2wzPJGy0yG95EHBiV7lWQQrk5gOT6WDrb7vQjaL_/s1600/OSB12c_JavaScript_10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB12c JavaScript Action Testing" border="0" data-original-height="576" data-original-width="702" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL7O0_BtcWG7gxdgivuCg-4BkcYcWL_i-rdjEI3Fu1ysRv55F6TUR1kufXorxGy9NuuMQMTychgeGlU3d-1ekS_UffCpjovgbfLxOd2wzPJGy0yG95EHBiV7lWQQrk5gOT6WDrb7vQjaL_/s1600/OSB12c_JavaScript_10.png" title="OSB12c JavaScript Action Testing" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Calibri",sans-serif; font-size: 11.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Calibri",sans-serif; font-size: 11.5pt; line-height: 107%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"><br /></span></div>
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;"><span style="font-size: small;"><br /></span></span></div>
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;"><span style="font-size: small;"><br /></span></span></div>
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;"><span style="font-size: small;"><br /></span></span></div>
<div class="MsoNormal">
<span style="font-size: 11.5pt; line-height: 107%;"><span style="font-size: small;"><br /></span></span></div>
</div>
</div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com0tag:blogger.com,1999:blog-3065877363390268626.post-79067359434953495902016-10-25T09:36:00.000+05:302016-10-25T09:36:15.515+05:30Oracle Fusion Middleware New Version 12c (12.2.1.2.0) Released<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 6.25pt; margin-left: 0cm; margin-right: 0cm; margin-top: 6.25pt;">
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin: 6.25pt 0cm;">
<span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle announced the launch of new
version of Oracle Fusion Middleware (12.2.1.2.0) that includes the following
products:<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle WebLogic Server 12<i>c</i> (12.2.1.2.0)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle Coherence 12<i>c</i> (12.2.1.2.0)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle TopLink 12<i>c</i> (12.2.1.2.0)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle Fusion Middleware Infrastructure 12<i>c</i> (12.2.1.2.0)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle HTTP Server 12<i>c</i> (12.2.1.2.0)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle Traffic Director 12<i>c</i> (12.2.1.2.0)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle Fusion Middleware WebLogic Server Plug-In 12<i>c</i> (12.2.1.2.0)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><b><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle SOA Suite and Business Process Management 12<i>c</i> (12.2.1.2.0)</span></b><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><b><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle B2B and Healthcare 12<i>c</i> (12.2.1.2.0)</span></b><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><b><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle Service Bus 12<i>c</i> (12.2.1.2.0)</span></b><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><b><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle Stream Analytics 12<i>c</i> (12.2.1.2.0)</span></b><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><b><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle Managed File Transfer 12<i>c</i> (12.2.1.2.0)</span></b><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle MapViewer 12<i>c</i> (12.2.1.2.0) <o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle Data Integrator 12<i>c</i> (12.2.1.2.0)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle Enterprise Data Quality 12<i>c</i> (12.2.1.2.0)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle Enterprise Pack for Eclipse 12<i>c</i> (12.2.1.2.0)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle GoldenGate Studio 12<i>c</i> (12.2.1.2.0)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle GoldenGate Monitor 12<i>c</i> (12.2.1.2.0)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle GoldenGate Veridata 12<i>c</i> (12.2.1.2.0)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle JDeveloper Studio 12<i>c</i> (12.2.1.2.0)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle Forms and Reports 12<i>c</i> (12.2.1.2.0)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle WebCenter Portal 12<i>c</i> (12.2.1.2.0)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle WebCenter Content 12<i>c</i> (12.2.1.2.0)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle WebCenter Sites 12<i>c</i> (12.2.1.2.0)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin-left: 20.05pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="color: #555555; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Oracle Business Intelligence 12<i>c</i> (12.2.1.2.0)<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin: 6.25pt 0cm;">
<b><span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Get more details from below links.<o:p></o:p></span></b></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin: 6.25pt 0cm;">
<br /></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin: 6.25pt 0cm;">
<span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">https://blogs.oracle.com/soaproactive/entry/oracle_fusion_middleware_12c_12<o:p></o:p></span></div>
<br />
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin: 6.25pt 0cm;">
<span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">http://docs.oracle.com/middleware/12212/cross/getstartedtasks.htm<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin: 6.25pt 0cm;">
<span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><br /></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin: 6.25pt 0cm;">
<span style="color: #555555; font-family: "Arial","sans-serif"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><br /></span></div>
</div>
</div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com1tag:blogger.com,1999:blog-3065877363390268626.post-53055698625057133222016-09-16T17:53:00.000+05:302016-09-16T17:53:19.506+05:30SOA Cloud - Creating an Oracle SOA Cloud Service Instance<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span style="font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 115%;">Earlier to this post, I have written couple of posts to
get started with Oracle Cloud. In this post, I will show you how to create
instance of Oracle SOA Cloud Service.</span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">There are some pre-requisites that you need to fulfill as
mentioned below, before you proceed with this post.</span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 115%; text-indent: -0.25in;"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"><br /></span></span></div>
<div class="MsoNormal" style="text-indent: 0px;">
<span style="text-indent: -0.25in;"><span style="font-size: 15.3333px; font-stretch: normal; font-variant-numeric: normal; line-height: 17.6333px;"><span style="font-family: "arial" , sans-serif;">1. </span></span><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><span style="font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 115%; text-indent: -0.25in;">Create
Oracle Storage Service Container. Refer <a href="http://www.soawork.com/2016/09/soa-cloud-create-oracle-storage-cloud-service-container.html" target="_blank">this post</a> to create the container if
already not done.</span></div>
<div class="MsoNormal" style="text-indent: 0px;">
<span style="font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 115%; text-indent: -0.25in;">2.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><span style="font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 115%; text-indent: -0.25in;">Create
Oracle Database Cloud Service Instance. Refer <a href="http://www.soawork.com/2016/08/soa-cloud-create-oracle-database-cloud-service-instance.html" target="_blank">this post</a> to create the instance
for Oracle Database Cloud Service if already not done.</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
1:</span></b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"> Go to </span><a href="https://myservices.emea.oraclecloud.com/mycloud/faces/dashboard.jspx"><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">https://myservices.emea.oraclecloud.com/mycloud/faces/dashboard.jspx</span></a><span style="color: #1f497d; font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="color: #1f497d; font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Login with your credentials that you have received from
Oracle when you register for trial version.</span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRq9RG2GRXoQdsg1edw489CB07r2MdLzbFXOksjD-mFCFQ1lN2h7nMBZqMThH9YehyqMpCQfHWhxNcgI2AFCv7lxzxRozN0mIMwjf4ohOsTwfwY000LvZv1Qwi3sIrgt-_jThVh3zR9Qa5/s1600/SOA_Cloud_Service_Login.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Cloud Login" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRq9RG2GRXoQdsg1edw489CB07r2MdLzbFXOksjD-mFCFQ1lN2h7nMBZqMThH9YehyqMpCQfHWhxNcgI2AFCv7lxzxRozN0mIMwjf4ohOsTwfwY000LvZv1Qwi3sIrgt-_jThVh3zR9Qa5/s1600/SOA_Cloud_Service_Login.png" title="Oracle Cloud Login" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<v:shapetype coordsize="21600,21600" filled="f" id="_x0000_t75" o:preferrelative="t" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe" stroked="f">
<v:stroke joinstyle="miter">
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0">
<v:f eqn="sum @0 1 0">
<v:f eqn="sum 0 0 @1">
<v:f eqn="prod @2 1 2">
<v:f eqn="prod @3 21600 pixelWidth">
<v:f eqn="prod @3 21600 pixelHeight">
<v:f eqn="sum @0 0 1">
<v:f eqn="prod @6 1 2">
<v:f eqn="prod @7 21600 pixelWidth">
<v:f eqn="sum @8 21600 0">
<v:f eqn="prod @7 21600 pixelHeight">
<v:f eqn="sum @10 21600 0">
</v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:formulas>
<v:path gradientshapeok="t" o:connecttype="rect" o:extrusionok="f">
<o:lock aspectratio="t" v:ext="edit">
</o:lock></v:path></v:stroke></v:shapetype><v:shape alt="Description: C:\Users\vgarg1\Desktop\1\Oracle_Database_Cloud_Service_Login.png" id="Picture_x0020_11" o:spid="_x0000_i1035" style="height: 308.25pt; mso-wrap-style: square; visibility: visible; width: 468pt;" type="#_x0000_t75">
<v:imagedata o:title="Oracle_Database_Cloud_Service_Login" src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png">
</v:imagedata></v:shape><o:p></o:p></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Click on “Service Console” option as shown in below
screen shot in “Oracle SOA Cloud Service” section.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjFrx_UTgkk2h_qxtmQ_6bAU_HggAdos-3Y0uT4hxT3eORq7fwf5pWPwJF12M0Qthjg8BRt0GqL4vuWFzDhq8jMvUel64SFTICHiAd_ZS2eE_OvOWgbjBXrR_VgCYcc1EmEssLxSHEofqt/s1600/SOA_Cloud_Service_Service_Console.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle SOA Cloud Service Console" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjFrx_UTgkk2h_qxtmQ_6bAU_HggAdos-3Y0uT4hxT3eORq7fwf5pWPwJF12M0Qthjg8BRt0GqL4vuWFzDhq8jMvUel64SFTICHiAd_ZS2eE_OvOWgbjBXrR_VgCYcc1EmEssLxSHEofqt/s1600/SOA_Cloud_Service_Service_Console.png" title="Oracle SOA Cloud Service Console" /></a></div>
<div class="MsoNormal">
<o:p><br /></o:p></div>
<div class="MsoNormal">
<v:shape id="Picture_x0020_2" o:spid="_x0000_i1034" style="height: 116.25pt; mso-wrap-style: square; visibility: visible; width: 467.25pt;" type="#_x0000_t75">
<v:imagedata o:title="" src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image002.png">
</v:imagedata></v:shape><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Click on “Create Instance” button to initiate the process
of Instance creation.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-ZqdLLeC-C7k4iidx2jGwneW0Oh8xe2yFnKFBXolwwx7Ai6Elc_QzAicLRui8Mq7eRvcx2BI8c92YlT-VJ80UuPrtmd6SeOWsntZAgSv3pZuxqkGa_Kk-G1gS6q4UDjirxDVE3kje4u8D/s1600/SOA_Cloud_Service_Create_Instance.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle SOA Cloud Create Instance" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-ZqdLLeC-C7k4iidx2jGwneW0Oh8xe2yFnKFBXolwwx7Ai6Elc_QzAicLRui8Mq7eRvcx2BI8c92YlT-VJ80UuPrtmd6SeOWsntZAgSv3pZuxqkGa_Kk-G1gS6q4UDjirxDVE3kje4u8D/s1600/SOA_Cloud_Service_Create_Instance.png" title="Oracle SOA Cloud Create Instance" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<v:shape id="Picture_x0020_10" o:spid="_x0000_i1033" style="height: 157.5pt; mso-wrap-style: square; visibility: visible; width: 468pt;" type="#_x0000_t75">
<v:imagedata o:title="" src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png">
</v:imagedata></v:shape><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
2: </span></b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"> Services Type: Here you need to choose service
type that has multiple options. You can select SOA and OSB cluster if need to
use both the tool or choose any other option as per your requirement.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyvOS7crYlAwYUrEpYtj_2UEzcT-6e6X6SCoR7JrDagWDV4xeMgobhy1F11922d-zjn5VrsHilM38wYwmTx3JE4QqSgvu7FanZoJpMJ6JDI3oWjnlZF1k4G0kt5-Ge73nknK6bkJIK313O/s1600/SOA_Cloud_Service_Type.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle SOA Cloud Service Type" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyvOS7crYlAwYUrEpYtj_2UEzcT-6e6X6SCoR7JrDagWDV4xeMgobhy1F11922d-zjn5VrsHilM38wYwmTx3JE4QqSgvu7FanZoJpMJ6JDI3oWjnlZF1k4G0kt5-Ge73nknK6bkJIK313O/s1600/SOA_Cloud_Service_Type.png" title="Oracle SOA Cloud Service Type" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<v:shape id="Picture_x0020_1" o:spid="_x0000_i1032" style="height: 295.5pt; mso-wrap-style: square; visibility: visible; width: 468pt;" type="#_x0000_t75">
<v:imagedata o:title="" src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image004.png">
</v:imagedata></v:shape><o:p></o:p></div>
<div class="MsoNormal">
<b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
3: </span></b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Image:
Here you need to choose the version, for this post, I have selected latest
version which is 12.2.1.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh48uV_Joez-0g9T5TTZqS9kBH9DS1YDRxRlJqSyTUELf75BX9oQx8zS-1SXGLvp-ShmfLCUIIqmClRtsO9lwzZhWTwBPYjnQVD9S2mELgPZiDfVhGBTjMwIIjn6zzHKIflnh5xexEmVhLP/s1600/SOA_Cloud_Service_Instance.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle SOA Cloud Service Image" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh48uV_Joez-0g9T5TTZqS9kBH9DS1YDRxRlJqSyTUELf75BX9oQx8zS-1SXGLvp-ShmfLCUIIqmClRtsO9lwzZhWTwBPYjnQVD9S2mELgPZiDfVhGBTjMwIIjn6zzHKIflnh5xexEmVhLP/s1600/SOA_Cloud_Service_Instance.png" title="Oracle SOA Cloud Service Image" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<v:shape id="Picture_x0020_9" o:spid="_x0000_i1031" style="height: 191.25pt; mso-wrap-style: square; visibility: visible; width: 468pt;" type="#_x0000_t75">
<v:imagedata o:title="" src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image005.png">
</v:imagedata></v:shape><o:p></o:p></div>
<div class="MsoNormal">
<b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
4: </span></b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Details:
Here you need to fill all required details to create SOA cloud instance.<o:p></o:p></span><br />
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">First go to “Instance Configuration” and fill Instance
name along with description if needed. For this post, I have given “SOACloud”
as instance name.<o:p></o:p></span><br />
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span>
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><span style="font-family: arial, sans-serif; font-size: 15.3333px; line-height: 17.6333px;">Change the cluster size if needed as by default it will be “1” and change computer shape in needed.</span></span><br />
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><span style="font-family: arial, sans-serif; font-size: 15.3333px; line-height: 17.6333px;"><br /></span></span>
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><span style="font-family: arial, sans-serif; font-size: 15.3333px; line-height: 17.6333px;">You need to browse the public key file that you have created earlier.</span></span><br />
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlK5gOSxUZ0cu4EYkf5sCZN-xj558HN6EP2nkFzTCxIOmwxytqZp1HhhbouLqARFBOsk85ZbAwn57RIt1U1q2qLcedSZfci2KTzxS05Y0ridyjuo1-cZvRSNb8XnO_KllWPGZY8pmMRoAx/s1600/SOA_Cloud_Service_Instance_Configuration.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle SOA Cloud Instance Details" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlK5gOSxUZ0cu4EYkf5sCZN-xj558HN6EP2nkFzTCxIOmwxytqZp1HhhbouLqARFBOsk85ZbAwn57RIt1U1q2qLcedSZfci2KTzxS05Y0ridyjuo1-cZvRSNb8XnO_KllWPGZY8pmMRoAx/s1600/SOA_Cloud_Service_Instance_Configuration.png" title="Oracle SOA Cloud Instance Details" /></a></div>
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<v:shape id="Picture_x0020_3" o:spid="_x0000_i1030" style="height: 249.75pt; mso-wrap-style: square; visibility: visible; width: 467.25pt;" type="#_x0000_t75">
<v:imagedata o:title="" src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image006.png">
</v:imagedata></v:shape><o:p></o:p></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Now fill details for admin user credentials. In later
posts I will use same user to login to various consoles. <o:p></o:p></span><br />
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQpS8AH09T2QhjF7T6BAaynMLBMAEbZxSVr5NHGsh2E0SWr92q98uKYcKvVgVE-XrduaBqSrwF5lRF8EWKu7I58jQl3bbpBJKo_rBQFf6DMicpC0bP527KMUhyphenhyphenB4_pYBZJlLQwflYPtQpu/s1600/SOA_Cloud_Service_Weblogic_Admin.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle SOA Cloud Service Weblogic Admin Credentials" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQpS8AH09T2QhjF7T6BAaynMLBMAEbZxSVr5NHGsh2E0SWr92q98uKYcKvVgVE-XrduaBqSrwF5lRF8EWKu7I58jQl3bbpBJKo_rBQFf6DMicpC0bP527KMUhyphenhyphenB4_pYBZJlLQwflYPtQpu/s1600/SOA_Cloud_Service_Weblogic_Admin.png" title="Oracle SOA Cloud Service Weblogic Admin Credentials" /></a></div>
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<v:shape id="Picture_x0020_4" o:spid="_x0000_i1029" style="height: 135.75pt; mso-wrap-style: square; visibility: visible; width: 348pt;" type="#_x0000_t75">
<v:imagedata o:title="" src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image007.png">
</v:imagedata></v:shape><o:p></o:p></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Now enter required data base details like Database
Service Name, PDB name, user credentials. All these details you get when you
create Database cloud service instance. <o:p></o:p></span><br />
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyxGGsSOignMvwu7x_k6ek2dR23se6tCNUTQ_PSV5ZnKwWvlEcob60_fiDJylHx4BLaom72KfTNlPeS9CFAquPTLAvN1wvT6X_YViXVpeasyRCnXAP6s5jP7K5jGCol6lmNc7UTZQ13gL7/s1600/SOA_Cloud_Service_Instance_Database_Configuration.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle SOA Cloud Service Database Configuration" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyxGGsSOignMvwu7x_k6ek2dR23se6tCNUTQ_PSV5ZnKwWvlEcob60_fiDJylHx4BLaom72KfTNlPeS9CFAquPTLAvN1wvT6X_YViXVpeasyRCnXAP6s5jP7K5jGCol6lmNc7UTZQ13gL7/s1600/SOA_Cloud_Service_Instance_Database_Configuration.png" title="Oracle SOA Cloud Service Database Configuration" /></a></div>
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<v:shape id="Picture_x0020_5" o:spid="_x0000_i1028" style="height: 124.5pt; mso-wrap-style: square; visibility: visible; width: 336pt;" type="#_x0000_t75">
<v:imagedata o:title="" src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image008.png">
</v:imagedata></v:shape><o:p></o:p></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">You also need to enter details for Storage container and
you get these details when you create Oracle Storage Service Container.<o:p></o:p></span><br />
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrvlxzN6f0WnvKIaDCHmFECcKfNiXqRqicipxEHU6KknVC7ZFbWibe68fCk1sCHxZM2ZGQt5sevBNStWNyJp_m9gY9qSnsqwJVcs-v8VFp3EjbxIi-OL5I_r1sVE2jZnW8KzYmKA-sgRoW/s1600/SOA_Cloud_Service_Instance_Storage_Container_Configuration_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle SOA Cloud Service Storage Container" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrvlxzN6f0WnvKIaDCHmFECcKfNiXqRqicipxEHU6KknVC7ZFbWibe68fCk1sCHxZM2ZGQt5sevBNStWNyJp_m9gY9qSnsqwJVcs-v8VFp3EjbxIi-OL5I_r1sVE2jZnW8KzYmKA-sgRoW/s1600/SOA_Cloud_Service_Instance_Storage_Container_Configuration_1.png" title="Oracle SOA Cloud Service Storage Container" /></a></div>
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span>
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<v:shape alt="Description: C:\Users\vgarg1\Desktop\1\New folder\SOA_Cloud_Service_Instance_Storage_Container_Configuration_1.png" id="Picture_x0020_12" o:spid="_x0000_i1027" style="height: 127.5pt; mso-wrap-style: square; visibility: visible; width: 318.75pt;" type="#_x0000_t75">
<v:imagedata o:title="SOA_Cloud_Service_Instance_Storage_Container_Configuration_1" src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image009.png">
</v:imagedata></v:shape><o:p></o:p></div>
<div class="MsoNormal">
<b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
5: </span></b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Confirmation:
Review the detail and click on create to create to the instance.<o:p></o:p></span></div>
<div class="MsoNormal">
<v:shape id="Picture_x0020_7" o:spid="_x0000_i1026" style="height: 176.25pt; mso-wrap-style: square; visibility: visible; width: 467.25pt;" type="#_x0000_t75">
<v:imagedata o:title="" src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image010.png">
</v:imagedata></v:shape><o:p></o:p></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXPnWm440lnpgy68YdQ01rAYH5pHDkVs6hEeaRG9VykgLFXukvSz2Wt0WOdw8NymMIBCLooWhMY3kG3RXTvfDYgFlDz3ty-x9sVLGTXjcal9En-_gx2i25kxX9Oq31TMjAQp3x3UX-pj-U/s1600/SOA_Cloud_Service_Instance_Confirmation.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle SOA Cloud Service Confirmation" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXPnWm440lnpgy68YdQ01rAYH5pHDkVs6hEeaRG9VykgLFXukvSz2Wt0WOdw8NymMIBCLooWhMY3kG3RXTvfDYgFlDz3ty-x9sVLGTXjcal9En-_gx2i25kxX9Oq31TMjAQp3x3UX-pj-U/s1600/SOA_Cloud_Service_Instance_Confirmation.png" title="Oracle SOA Cloud Service Confirmation" /></a></div>
<br />
<div class="MsoNormal">
<v:shape alt="Description: C:\Users\vgarg1\Desktop\1\New folder\SOA_Cloud_Service_Instance_Complete_1.png" id="Picture_x0020_13" o:spid="_x0000_i1025" style="height: 108pt; mso-wrap-style: square; visibility: visible; width: 468pt;" type="#_x0000_t75">
<v:imagedata o:title="SOA_Cloud_Service_Instance_Complete_1" src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image011.png">
</v:imagedata></v:shape><o:p></o:p></div>
<br />
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Once you complete all above step, you see below screen.<o:p></o:p></span><br />
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span>
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEgsOX_MBAGT2rbcuvRYpWNoH2nqHFVz279CxE-TXYpBAdbYgjeVKgFYjkX1TM2IETxzbgDWKTsG9m2vCFQymxTllT1o4yx5bypxZ1fYtq2eWTz8BjU7C6pm-Z99r3S0DHN0DkSxPfXTVy/s1600/SOA_Cloud_Service_Instance_Complete_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle SOA Cloud Service Instance" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEgsOX_MBAGT2rbcuvRYpWNoH2nqHFVz279CxE-TXYpBAdbYgjeVKgFYjkX1TM2IETxzbgDWKTsG9m2vCFQymxTllT1o4yx5bypxZ1fYtq2eWTz8BjU7C6pm-Z99r3S0DHN0DkSxPfXTVy/s1600/SOA_Cloud_Service_Instance_Complete_1.png" title="Oracle SOA Cloud Service Instance" /></a></div>
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
</div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com1tag:blogger.com,1999:blog-3065877363390268626.post-80034716542016476882016-09-01T14:01:00.001+05:302016-09-01T14:14:28.906+05:30SOA Cloud - Create Oracle Storage Cloud Service Container<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span style="font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 115%;">In
this post, I will show how you can create container for Oracle Storage Cloud
Service.Oracle Storage Cloud Service container is required before we proceed
further with creation of Oracle Database Cloud Service and SOA Cloud Service.
You will not be able to configure SOA Cloud service until and unless we create
this container.</span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 115%;">Before you proceed to this post, you need to install OpenStack client. You can refer <a href="http://www.soawork.com/2016/09/soa-cloud-download-and-setup-openstack.html" target="_blank">this post </a>to see how to install it.</span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Follow
below steps to create the Oracle Storage Service Container.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><b><span lang="EN-US" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Step 1:</span></b><span lang="EN-US" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><i>Replication Policy:</i> Open your service
dashboard and go to Oracle Storage Cloud Service. By default replication policy
is not set so you need to set it first. To set it click on “Set Replication
Policy” option.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigld4FmFj5oud_N57RVsic3XlKfpw-K4VJl-ZPmLzdJQsqKYfXJJ9yZAKmpuVbq4i8jhefbB-eCJf3TcxvULCWLoHo5pKTwMCd6vA9zR7CMQUIJjrzc2pZiu3R1CkFOSIblTjljsQt0DAH/s1600/SOA_Cloud_Storage_Replication_Policy.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Create Oracle Storage Replication Policy" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigld4FmFj5oud_N57RVsic3XlKfpw-K4VJl-ZPmLzdJQsqKYfXJJ9yZAKmpuVbq4i8jhefbB-eCJf3TcxvULCWLoHo5pKTwMCd6vA9zR7CMQUIJjrzc2pZiu3R1CkFOSIblTjljsQt0DAH/s1600/SOA_Cloud_Storage_Replication_Policy.png" title="Create Oracle Storage Replication Policy" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shapetype
id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t"
path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="Picture_x0020_1" o:spid="_x0000_i1035" type="#_x0000_t75"
style='width:450.75pt;height:103.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Choose any one replication policy, for this post, we have
selected em2.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEircNscs5cYl1OYG232MfTKukmiSicVllKFab1glc9485y1SnMukvA8yO1_U1u8tRSx1A_sijr54RLrvuh7dnTcAiRqHplsoAY2PFpIt9r6KbOB8YGgIk3Fkt_Ay2MivDiveU-As3DLY1mt/s1600/SOA_Cloud_Storage_set_Replication_Policy.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Cloud Storage Choose Replication Policy" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEircNscs5cYl1OYG232MfTKukmiSicVllKFab1glc9485y1SnMukvA8yO1_U1u8tRSx1A_sijr54RLrvuh7dnTcAiRqHplsoAY2PFpIt9r6KbOB8YGgIk3Fkt_Ay2MivDiveU-As3DLY1mt/s1600/SOA_Cloud_Storage_set_Replication_Policy.png" title="Oracle Cloud Storage Choose Replication Policy" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_5" o:spid="_x0000_i1034" type="#_x0000_t75" style='width:450.75pt;
height:266.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
2: </span></b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><i>Download
and Install OpenStack client:</i> you can follow <a href="http://www.soawork.com/2016/09/soa-cloud-download-and-setup-openstack.html" target="_blank">this post </a>to check how to install
OpenStack client.</span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
3:</span></b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><i>Connect
to Storage Cloud:</i> Before you proceed with connection, you should be aware about
your data centre, you can check your data centre by clicking on <i>Oracle Storage Cloud Service</i> as shown
below.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8BbBNY5DqhuA0cUyfjvwE1TI71kRNonHeq9cz8JpUFp9ZOkJsIWKnBecDHfkDBlR6k9wflb44PbfFWcbiMULeYdPd88vEflFXTFlo9RSjpFCVX9wGj3IhMXYBZUecibsoXjpd_cTrYTwA/s1600/SOA_Cloud_Storage_Data_Centre.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Cloud Storage Data centre" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8BbBNY5DqhuA0cUyfjvwE1TI71kRNonHeq9cz8JpUFp9ZOkJsIWKnBecDHfkDBlR6k9wflb44PbfFWcbiMULeYdPd88vEflFXTFlo9RSjpFCVX9wGj3IhMXYBZUecibsoXjpd_cTrYTwA/s1600/SOA_Cloud_Storage_Data_Centre.png" title="Oracle Cloud Storage Data centre" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_26" o:spid="_x0000_i1033" type="#_x0000_t75" style='width:450.75pt;
height:126pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image005.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Open the CloudBerry explorer and go to File and select
“New Oracle Cloud Account “option.</span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHrwloytNDrNkStnga67ikuEf8KBmF56Lyy0rosTkjQ1WCH3709IZb13_pLj0nUJuUITgimyFkAO01LsXVjuNDCiongwKqoQpGOOR17fl6__W-hA-tkC2DZ0up20Uijy3x6W84Tbbvq92R/s1600/SOA_Cloud_Storage_OpenStack_Swift_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Cloud Storage New Oracle Cloud Account" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHrwloytNDrNkStnga67ikuEf8KBmF56Lyy0rosTkjQ1WCH3709IZb13_pLj0nUJuUITgimyFkAO01LsXVjuNDCiongwKqoQpGOOR17fl6__W-hA-tkC2DZ0up20Uijy3x6W84Tbbvq92R/s1600/SOA_Cloud_Storage_OpenStack_Swift_5.png" title="Oracle Cloud Storage New Oracle Cloud Account" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">In below window, enter required details as explained
below.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<i><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Display
Name:</span></i><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"> Name of the identity domain that includes your
cloud service instances.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<i><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">User
Name</span></i><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">: Enter
the name of the account in this format:
Storage-Identity_Domain:Oracle_Cloud_user. <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Identity_Domain is the
name of your identity domain and Oracle_Cloud_user is the user name of
your Oracle Cloud service.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<i><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Password:</span></i><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"> Enter
your Oracle Cloud service password.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<i><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Authentication
Service</span></i><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">: This will be based upon your data centre location
and comes by default when you select Account location.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<i><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Account
location:</span></i><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"> Use the value based on data centre.</span><span lang="EN-US" style="font-family: "helvetica" , sans-serif; font-size: 10.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; margin: 4.8pt 0cm;">
<i><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt;">Keystone
version:</span></i><span lang="EN-US" style="font-family: "helvetica" , sans-serif; font-size: 10.5pt;"> </span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt;">Use the default
value, which is Do not use.</span><span lang="EN-US" style="font-family: "helvetica" , sans-serif; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQk2P1qrm_-BiwCntPeuusqLZ82eN0zVGWpegzcFwvqTrMiAqoiquEF-J8RwPpexB_5ReO5fuzDH-XFzlUHxN94z5tKd6Zxl5VzD-Q5IVp5pRy-v5WHqZYQnuBIIMn8aSOQlAMh2GQdSez/s1600/SOA_Cloud_Storage_OpenStack_Swift_Connect.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Cloud Storage Account Details" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQk2P1qrm_-BiwCntPeuusqLZ82eN0zVGWpegzcFwvqTrMiAqoiquEF-J8RwPpexB_5ReO5fuzDH-XFzlUHxN94z5tKd6Zxl5VzD-Q5IVp5pRy-v5WHqZYQnuBIIMn8aSOQlAMh2GQdSez/s1600/SOA_Cloud_Storage_OpenStack_Swift_Connect.png" title="Oracle Cloud Storage Account Details" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_27" o:spid="_x0000_i1031" type="#_x0000_t75" style='width:304.5pt;
height:349.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image009.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Click on “Test Connection” to test the connectivity and
it should show connection successful message as shown below.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyNA6AWI7GLh52R2OUTfaDWqqCvQ3e6ZZZwu4suWOltyMoy43dDG4XmYtPtBFnxSMBQSuapZRwFgd_fK3-zIoMm7CBhP0XJCxZA2RPxkwmaA3lplSjutPImVdHNJyuUgybvFxker-5U8mM/s1600/SOA_Cloud_Storage_OpenStack_Swift_connect_test.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Cloud Storage Account Test Connection" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyNA6AWI7GLh52R2OUTfaDWqqCvQ3e6ZZZwu4suWOltyMoy43dDG4XmYtPtBFnxSMBQSuapZRwFgd_fK3-zIoMm7CBhP0XJCxZA2RPxkwmaA3lplSjutPImVdHNJyuUgybvFxker-5U8mM/s1600/SOA_Cloud_Storage_OpenStack_Swift_connect_test.png" title="Oracle Cloud Storage Account Test Connection" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_30" o:spid="_x0000_i1030" type="#_x0000_t75" style='width:302.25pt;
height:348.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image011.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
4:</span></b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">
<i>Create Container:</i> Once you connect to Oracle Storage Cloud Service, next step
is to create container, for that choose connection that you created in previous
step in source drop down.</span><br />
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhg3KB6qToOu6X1eJoT-Vx9in3p0DTX_NxuXEZfwfFJqEo1-3EV8Y5QYtdNjE-Dzl1UXRUQ70dgJJKcBsbXqO0QqgZGALAHoWNp14R74_7iThnOVhGBLsNiZxwN7TeemFox3xzqCOYdVbmH/s1600/SOA_Cloud_Storage_Container.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Cloud Storage Connection" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhg3KB6qToOu6X1eJoT-Vx9in3p0DTX_NxuXEZfwfFJqEo1-3EV8Y5QYtdNjE-Dzl1UXRUQ70dgJJKcBsbXqO0QqgZGALAHoWNp14R74_7iThnOVhGBLsNiZxwN7TeemFox3xzqCOYdVbmH/s1600/SOA_Cloud_Storage_Container.png" title="Oracle Cloud Storage Connection" /></a></div>
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span>
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 115%;">Click on “Create Container” icon as shown below.</span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_GnUnaPbQUwUq9YX32nt83BTqQSlFnMNOpcNk9oRkP16Cg5scEuX8bc0ALsRLp76Fwt6BloDtvgI-5DHTNs9ap48T3hp2yaeB40MvmHx52ftPYEOGxmy9wGPyFacYe88m1amzkSexqzwD/s1600/SOA_Cloud_Storage_New_Container.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Cloud Storage Create Container" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_GnUnaPbQUwUq9YX32nt83BTqQSlFnMNOpcNk9oRkP16Cg5scEuX8bc0ALsRLp76Fwt6BloDtvgI-5DHTNs9ap48T3hp2yaeB40MvmHx52ftPYEOGxmy9wGPyFacYe88m1amzkSexqzwD/s1600/SOA_Cloud_Storage_New_Container.png" title="Oracle Cloud Storage Create Container" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_34" o:spid="_x0000_i1028" type="#_x0000_t75" style='width:450.75pt;
height:203.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image015.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Enter the container name and choose container type as
“Standard”. <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfvwH7FUqoKQD0fSQiWAPf7lCC5qSfHJnxpFnUCG9NRzeNbGrXFiY3icAY1LeEcdpC9LFKi-zpHKyJtuN96jDLt4dix0Td4w3_S2Y6jKlit5Vbiy-hwCsXOxHI8-5OnAAo2AdGgwQrFT62/s1600/SOA_Cloud_Storage_Container_Name.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Cloud Storage Database Container" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfvwH7FUqoKQD0fSQiWAPf7lCC5qSfHJnxpFnUCG9NRzeNbGrXFiY3icAY1LeEcdpC9LFKi-zpHKyJtuN96jDLt4dix0Td4w3_S2Y6jKlit5Vbiy-hwCsXOxHI8-5OnAAo2AdGgwQrFT62/s1600/SOA_Cloud_Storage_Container_Name.png" title="Oracle Cloud Storage Database Container" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_35" o:spid="_x0000_i1027" type="#_x0000_t75" style='width:261pt;
height:126.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image017.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Similarly create another container for SOA cloud service.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4YaUJE0PjvSI_SMbT5pWrXRX_g7m9a4UrFHgAbSEwjFlP2Qf7yv7YKMsrNtUUE_FO-NfhKySK99LwOlyjHOeX4X03WMPXYTOOtKKkVcebaazW3geJfc34yZJP-0jd4HnNh00gNH0D_V08/s1600/SOA_Cloud_Storage_Backup_Soa.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Cloud Storage SOA Container" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4YaUJE0PjvSI_SMbT5pWrXRX_g7m9a4UrFHgAbSEwjFlP2Qf7yv7YKMsrNtUUE_FO-NfhKySK99LwOlyjHOeX4X03WMPXYTOOtKKkVcebaazW3geJfc34yZJP-0jd4HnNh00gNH0D_V08/s1600/SOA_Cloud_Storage_Backup_Soa.png" title="Oracle Cloud Storage SOA Container" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_38" o:spid="_x0000_i1026" type="#_x0000_t75" style='width:261.75pt;
height:129pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image019.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Once you create the container, you see list of all available
container as shown below.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_41" o:spid="_x0000_i1025" type="#_x0000_t75" style='width:451.5pt;
height:232.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image021.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHyWFlzMRWDBNR18pQZx6xYPrr-KBUDfU75oiwhW-CrMfkiFaNSHUYzFXozyrj6Nhffu3hK-Ii_x9zpJNyzdvX0RlqGcTLlxkgI5uXQDBdJZ6OFubOpQee3PhriuFpiHEsNs7CwYFG6ydW/s1600/SOA_Cloud_Storage_Container_list.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Cloud Storage Container List" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHyWFlzMRWDBNR18pQZx6xYPrr-KBUDfU75oiwhW-CrMfkiFaNSHUYzFXozyrj6Nhffu3hK-Ii_x9zpJNyzdvX0RlqGcTLlxkgI5uXQDBdJZ6OFubOpQee3PhriuFpiHEsNs7CwYFG6ydW/s1600/SOA_Cloud_Storage_Container_list.png" title="Oracle Cloud Storage Container List" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
</div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com0tag:blogger.com,1999:blog-3065877363390268626.post-37119464051142510022016-09-01T13:47:00.001+05:302016-09-01T13:47:32.086+05:30SOA Cloud - Download and setup OpenStack Swift Client for Wiindows<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">In this post, I will show how you can install OpenStack Swift Client on windows machine which
is freeware. This tool will be used to create container for SOA Cloud Service
Storage container.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Follow below steps to download and install
it.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<b><span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
1:</span></b><span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"> Download: Go to below link and click on
“Download Freeware” option.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-IN" style="background: white; font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 115%;">http://www.cloudberrylab.com/free-openstack-storage-explorer.aspx</span><br />
<span style="font-family: arial, sans-serif; font-size: 11.5pt; line-height: 115%;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYJgcbjk7svDU3IDOZL__qIsQyfudB2TbBKIv4FUGeAJruaCf96JJQ3zc0roYtY5u6wVlZsBpKlkdkzt7gaMMsCnHHtC2JcdCZvoq59oP-8P2BOcn-HZmg_LhqzjOwe4g8GOX4DGPbIsPM/s1600/SOA_Cloud_Storage_OpenStack_Swift.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OpenStack Freeware Tool Site" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYJgcbjk7svDU3IDOZL__qIsQyfudB2TbBKIv4FUGeAJruaCf96JJQ3zc0roYtY5u6wVlZsBpKlkdkzt7gaMMsCnHHtC2JcdCZvoq59oP-8P2BOcn-HZmg_LhqzjOwe4g8GOX4DGPbIsPM/s1600/SOA_Cloud_Storage_OpenStack_Swift.png" title="OpenStack Freeware Tool Site" /></a></div>
<span style="font-family: arial, sans-serif; font-size: 11.5pt; line-height: 115%;"><br /></span>
<span style="font-family: arial, sans-serif; font-size: 11.5pt; line-height: 115%;"><br /></span>
<span style="font-family: arial, sans-serif; font-size: 11.5pt; line-height: 115%;">Once you click on above option, it takes you
to next screen where you need to click on download to download the client.</span><br />
<span style="font-family: arial, sans-serif; font-size: 11.5pt; line-height: 115%;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirA1-Qz0riVz8xBYvO3PYY3snesQmmVVgSCSrb3vWJ7714IdTYcHP__MGNxW9cfC6OF0wTAkyPjMhfcTmp0uotUUMaZA0iLw-RCVb6TP4czwos-AHhd_k5wSDXmxLVAxPjRClujVcCQtWK/s1600/SOA_Cloud_Storage_OpenStack_Swift_download.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OpenStack Freeware Tool Site Download" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirA1-Qz0riVz8xBYvO3PYY3snesQmmVVgSCSrb3vWJ7714IdTYcHP__MGNxW9cfC6OF0wTAkyPjMhfcTmp0uotUUMaZA0iLw-RCVb6TP4czwos-AHhd_k5wSDXmxLVAxPjRClujVcCQtWK/s1600/SOA_Cloud_Storage_OpenStack_Swift_download.png" title="OpenStack Freeware Tool Site Download" /></a></div>
<span style="font-family: arial, sans-serif; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span>
<span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_7" o:spid="_x0000_i1029" type="#_x0000_t75" style='width:451.5pt;
height:152.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b><span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
2:</span></b><span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"> Install: Once you download the client, you
will have .exe file. Click on that file to run it.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">It opens the welcome window, click on next.<o:p></o:p></span><br />
<span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvQ4uZoyuhGDAFaZE3bvVXVc5PKgkFNSHrMCm7Ed_jlM9d85p2mdYfYKktsiLSvVFSY77eZ4maZbdB9tZ_Rl-zU7yOd-iX6Z8Unq8Abc-GkX2RuGtIxWNpbKb3fno_OvqIngtL3Yg1Fble/s1600/SOA_Cloud_Storage_OpenStack_Swift_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OpenStack Freeware Tool Welcome" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvQ4uZoyuhGDAFaZE3bvVXVc5PKgkFNSHrMCm7Ed_jlM9d85p2mdYfYKktsiLSvVFSY77eZ4maZbdB9tZ_Rl-zU7yOd-iX6Z8Unq8Abc-GkX2RuGtIxWNpbKb3fno_OvqIngtL3Yg1Fble/s1600/SOA_Cloud_Storage_OpenStack_Swift_1.png" title="OpenStack Freeware Tool Welcome" /></a></div>
<span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_10" o:spid="_x0000_i1028" type="#_x0000_t75" style='width:382.5pt;
height:297pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image005.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Accept the license agreement by clicking on
“I Agree” button.<o:p></o:p></span><br />
<span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE_Nt-ROEl8Gdh0XiwovjS5ayDw1ZIlWMBj0qffhAbsKx9sZpGAEiTpkCaJtJ6i88bPzj1PnmDi6C_rXlqW9gdTdVtk_MQaSi85Gh8Sm0qxh8pHIsKmfS7RQAZC5XoNygiN7l1RZzf_Y8d/s1600/SOA_Cloud_Storage_OpenStack_Swift_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OpenStack Freeware Tool Accept License " border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE_Nt-ROEl8Gdh0XiwovjS5ayDw1ZIlWMBj0qffhAbsKx9sZpGAEiTpkCaJtJ6i88bPzj1PnmDi6C_rXlqW9gdTdVtk_MQaSi85Gh8Sm0qxh8pHIsKmfS7RQAZC5XoNygiN7l1RZzf_Y8d/s1600/SOA_Cloud_Storage_OpenStack_Swift_2.png" title="OpenStack Freeware Tool Accept License " /></a></div>
<span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span>
<span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_13" o:spid="_x0000_i1027" type="#_x0000_t75" style='width:383.25pt;
height:296.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image007.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Choose the destination folder and click on Install.</span><br />
<span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://www.blogger.com/blogger.g?blogID=3065877363390268626" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh3-_VkQGhfyRoacs7mkCyA09T9lNoBvDDuIEeUrPwdw0Q5fo2l9TzQbRMarEma3eJJ1dJT7iVzJHvlJut9i56WPrhFH5TfPwQ4dWWSnceJQiUgzcWF91TwTv6xgltkKr8TEUFIDZPCMuj/s1600/SOA_Cloud_Storage_OpenStack_Swift_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OpenStack Freeware Tool Folder" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh3-_VkQGhfyRoacs7mkCyA09T9lNoBvDDuIEeUrPwdw0Q5fo2l9TzQbRMarEma3eJJ1dJT7iVzJHvlJut9i56WPrhFH5TfPwQ4dWWSnceJQiUgzcWF91TwTv6xgltkKr8TEUFIDZPCMuj/s1600/SOA_Cloud_Storage_OpenStack_Swift_3.png" title="OpenStack Freeware Tool Folder" /></a></div>
<span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br />
<br />
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_16" o:spid="_x0000_i1026" type="#_x0000_t75" style='width:382.5pt;
height:297pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image009.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Click on finish and check the run option if
need to open the client.<o:p></o:p></span><br />
<span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaKysKRw26cJXAqu8ssbblVK20H0XaMR9sUA5RmWPjoMrRXilwTC4Pe-ysCEgify5KCEZVAev0Rl2lq-EWoijLmqLqRL7sCFq8kHA2aW8JuypwOVoAOJ1o84CofLAuYY5uyBQ4iHI7MZ78/s1600/SOA_Cloud_Storage_OpenStack_Swift_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OpenStack Freeware Tool Success" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaKysKRw26cJXAqu8ssbblVK20H0XaMR9sUA5RmWPjoMrRXilwTC4Pe-ysCEgify5KCEZVAev0Rl2lq-EWoijLmqLqRL7sCFq8kHA2aW8JuypwOVoAOJ1o84CofLAuYY5uyBQ4iHI7MZ78/s1600/SOA_Cloud_Storage_OpenStack_Swift_4.png" title="OpenStack Freeware Tool Success" /></a></div>
<span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<br />
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_19" o:spid="_x0000_i1025" type="#_x0000_t75" style='width:383.25pt;
height:297pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image011.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span lang="EN-IN" style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
</div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com0tag:blogger.com,1999:blog-3065877363390268626.post-21648860625171174992016-08-22T16:09:00.000+05:302016-08-22T16:09:01.772+05:30SOA Cloud- Enable Outside Access to Oracle Database Cloud Service Instance<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">This post shows the steps that we need to follow to
connect Oracle Database Cloud service Instance from JDeveloper or SQL
developer. Before you start with this post, you need to have your Oracle
Database Cloud service Instance and it should be up and running. If you haven't
done already, you can visit below links.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><a href="http://www.soawork.com/2016/08/soa-cloud-create-oracle-database-cloud-service-instance.html" target="_blank">Create Service Instance of Oracle Database Cloud Service</a><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><a href="http://www.soawork.com/2016/08/soa-cloud-start-and-stop-service-instance-of-oracle-database-cloud-service.html" target="_blank"><br /></a></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><a href="http://www.soawork.com/2016/08/soa-cloud-start-and-stop-service-instance-of-oracle-database-cloud-service.html" target="_blank">Start and Stop Service Instance of Oracle Database CloudService</a><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Follow below steps to allow instance access from outside
to perform various operations.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<b><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
1: </span></b><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"> Go to your service instance that you have
setup earlier and click on the top icon as shown in below screen shot and
choose "Access Rules" option.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxuvuXUM7dWbzRJESNrqssR4uOI42x9FZKkAeX027Ip3FrkKfc5wGnKcMSYMvAtgcJV8PYBj0TGnHOSEbL6zjRrJX6a4cO3241P3VajPqJY033wYWsXP9U_DHz5WPVjE1JXZJiZcn_28J3/s1600/Database_Cloud_Service_Instance_Access.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Database Cloud Service Access Rule" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxuvuXUM7dWbzRJESNrqssR4uOI42x9FZKkAeX027Ip3FrkKfc5wGnKcMSYMvAtgcJV8PYBj0TGnHOSEbL6zjRrJX6a4cO3241P3VajPqJY033wYWsXP9U_DHz5WPVjE1JXZJiZcn_28J3/s1600/Database_Cloud_Service_Instance_Access.png" title="Oracle Database Cloud Service Access Rule" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shapetype
id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t"
path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="Picture_x0020_1" o:spid="_x0000_i1030" type="#_x0000_t75"
style='width:450.75pt;height:135pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
2:</span></b><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">
To enable outside access second rule (ora_p2_dblistener) should be enabled
which is disabled by default. <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">To enable it, click on the icon and choose
"Enable" option.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHeQpMuOCty8sztZJ1MaLASqK8jEqjUnrQRViFdqqB9n2KRnLQcLnbnA9-6apMLtUzf-JtwY3TfSv7aOi3yWwLV-O3XgeNf9VEIPj-9nqUDBjVyxAcTo8kHWVekvPQycZOcWjvSdEXmcvH/s1600/Database_Cloud_Service_Instance_Provide_Access.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Database Cloud Service Enable Access" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHeQpMuOCty8sztZJ1MaLASqK8jEqjUnrQRViFdqqB9n2KRnLQcLnbnA9-6apMLtUzf-JtwY3TfSv7aOi3yWwLV-O3XgeNf9VEIPj-9nqUDBjVyxAcTo8kHWVekvPQycZOcWjvSdEXmcvH/s1600/Database_Cloud_Service_Instance_Provide_Access.png" title="Oracle Database Cloud Service Enable Access" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_2" o:spid="_x0000_i1029" type="#_x0000_t75" style='width:450.75pt;
height:213.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Once you click on
"Enable" it open below pop-up window to confirm about it, click on
"Enable" to confirm it.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGBjt3kuxQfKt4sjMbMIgV1kt5OWoaNbcUYfQdHJ8ZV-xVfaf2dL7F_t2fFIeqJkpaL-sZzln5Ms33rmF5kqeBhZMCVOqtfWznT9aV7DshjAb_1ucoYpxIjkos_2U78Pf1okcaFeIgglAC/s1600/Database_Cloud_Service_Instance_Confirm_Access.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Database Cloud Service Enable Access Confirm" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGBjt3kuxQfKt4sjMbMIgV1kt5OWoaNbcUYfQdHJ8ZV-xVfaf2dL7F_t2fFIeqJkpaL-sZzln5Ms33rmF5kqeBhZMCVOqtfWznT9aV7DshjAb_1ucoYpxIjkos_2U78Pf1okcaFeIgglAC/s1600/Database_Cloud_Service_Instance_Confirm_Access.png" title="Oracle Database Cloud Service Enable Access Confirm" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_3" o:spid="_x0000_i1028" type="#_x0000_t75" style='width:280.5pt;
height:103.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image005.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Once you confirm it start processing your request and
after few seconds, you see below screen shot where second rule
(ora_p2_dblistener) gets enabled.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAago0MC3FwYtcdQkW6KOqdUgPB8JWoEP8PGhPvtgH7Qv3lWoY4P7PVJpEd4oV2rewdUvJbNe9FA6GM9Sv-HtavkRBdrPWOtdsqAY8LSUlg8dsGlKH4rBYrNut-d3eeHEUZveBROND_bBC/s1600/Database_Cloud_Service_Instance_Access_Processing.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Database Cloud Service Enable Access Processing" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAago0MC3FwYtcdQkW6KOqdUgPB8JWoEP8PGhPvtgH7Qv3lWoY4P7PVJpEd4oV2rewdUvJbNe9FA6GM9Sv-HtavkRBdrPWOtdsqAY8LSUlg8dsGlKH4rBYrNut-d3eeHEUZveBROND_bBC/s1600/Database_Cloud_Service_Instance_Access_Processing.png" title="Oracle Database Cloud Service Enable Access Processing" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_6" o:spid="_x0000_i1027" type="#_x0000_t75" style='width:243pt;
height:71.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image007.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_9" o:spid="_x0000_i1026" type="#_x0000_t75" style='width:451.5pt;
height:180pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image009.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
3: </span></b><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Now
you can test the connectivity, for this post, we have used JDeveloper but you
can either JDeveloper or SQL developer to test the connectivity.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Mention the public IP in host name and fill other
details. Once you click on test connection, it show success.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkF3XaPPXYwIHgvBkbqSkN9prQZM-NHMMNm1CT2_eO5yEcdJW7azxDIDlAvPcqX6Y92J7UbOeT4OGo0vx2kVvO1ihAB_efup0CXUkNY4Z0iXrdD8ojfI_j9j20DzZ_VoxwwpGQzYSKtmv-/s1600/Database_Cloud_Service_Instance_Create_Connection.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Database Cloud Service Enable Access Test" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkF3XaPPXYwIHgvBkbqSkN9prQZM-NHMMNm1CT2_eO5yEcdJW7azxDIDlAvPcqX6Y92J7UbOeT4OGo0vx2kVvO1ihAB_efup0CXUkNY4Z0iXrdD8ojfI_j9j20DzZ_VoxwwpGQzYSKtmv-/s1600/Database_Cloud_Service_Instance_Create_Connection.png" title="Oracle Database Cloud Service Enable Access Test" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<br />
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_10" o:spid="_x0000_i1025" type="#_x0000_t75" style='width:420pt;
height:416.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image011.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
</div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com0tag:blogger.com,1999:blog-3065877363390268626.post-36330043879357528652016-08-22T15:38:00.000+05:302016-08-22T15:38:13.187+05:30SOA Cloud- Start and Stop Service Instance of Oracle Database Cloud Service<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In my <a href="http://www.soawork.com/2016/08/soa-cloud-create-oracle-database-cloud-service-instance.html" target="_blank">last post</a>, I shown how to create service instance
of Oracle Database Cloud service. In this post, I will show how we can start
and stop that service instance.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">As mentioned in last post, once you create service
instance, status of that instance is in "In progress" and it take
around 30 minutes to get it ready. Once it is ready, you see something like
below.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKyBpomtpQHGAtTEVJ3jqt2EdByM4aSDNNqvGKw4g-mvBR73upxxEGxfxePji2_V2L0bs5S2pJV5WsNh0OMmMw84FAaMvdw6Y4uRO2LhcmsdFComNNJnJk8sw_THW3JrID8hDCc-QU35Wl/s1600/SOA_Cloud_Service_Console.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Database Cloud Service Instance" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKyBpomtpQHGAtTEVJ3jqt2EdByM4aSDNNqvGKw4g-mvBR73upxxEGxfxePji2_V2L0bs5S2pJV5WsNh0OMmMw84FAaMvdw6Y4uRO2LhcmsdFComNNJnJk8sw_THW3JrID8hDCc-QU35Wl/s1600/SOA_Cloud_Service_Console.png" title="Oracle Database Cloud Service Instance" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shapetype
id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t"
path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="Picture_x0020_2" o:spid="_x0000_i1029" type="#_x0000_t75"
style='width:450.75pt;height:81.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Click on your instance and it opens below window where
you can see the public IP of your instance that will be used to connect to this
Database instance from any IDE tool. It also show port number , SID or other
details.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYY1yMaRzuSgC1MaF3RLTMQL9MlgcC6kT3Tr_KU6E1RDSJdNGTlLD5eqdHiym27uMDTM0aHswEov5CQCcs9UbJOpuPwJOLpFdO9wAY4feG8ZafUvVz9TOTB4qi8cvs-cdZo7MhfN_Jm8o3/s1600/Database_Cloud_Service_Instance_Public_IP.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Database Cloud Service Instance Details" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYY1yMaRzuSgC1MaF3RLTMQL9MlgcC6kT3Tr_KU6E1RDSJdNGTlLD5eqdHiym27uMDTM0aHswEov5CQCcs9UbJOpuPwJOLpFdO9wAY4feG8ZafUvVz9TOTB4qi8cvs-cdZo7MhfN_Jm8o3/s1600/Database_Cloud_Service_Instance_Public_IP.png" title="Oracle Database Cloud Service Instance Details" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_6" o:spid="_x0000_i1028" type="#_x0000_t75" style='width:450.75pt;
height:207.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">To start the service instance, click on the right symbol
as shown in below screen shot and click on Start.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglG8ppHCQkXnSxX1B_TacaZqdtfwRBTiwZHnwPCgGoksvobdHfT7cwqRfI1IGQvlnp_rEerRIsvZ9taM2EFo6fqfMtlW_0pQaz-341SH3KB8ztyHti6CpLbWIItJ2kQbgejrQGJbe3T4Dg/s1600/Database_Cloud_Service_Start.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Database Cloud Service Instance Start" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglG8ppHCQkXnSxX1B_TacaZqdtfwRBTiwZHnwPCgGoksvobdHfT7cwqRfI1IGQvlnp_rEerRIsvZ9taM2EFo6fqfMtlW_0pQaz-341SH3KB8ztyHti6CpLbWIItJ2kQbgejrQGJbe3T4Dg/s1600/Database_Cloud_Service_Start.png" title="Oracle Database Cloud Service Instance Start" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_7" o:spid="_x0000_i1027" type="#_x0000_t75" style='width:450.75pt;
height:96.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image005.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">It opens below pop-up to confirm the start. Click on OK
to start it.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjWCZ7PFsWZVqUKN5DufRKyLOiG_Ug-n8ak8uBYZs2vjMy8gi4tSk-gWX50ZPDrkxy7rJjOsNEDdJTtJKxSXtNtAwXwjesu90Fglc7b51cibOYjyt9xS6CCZpK2uyWHQ0m1ksWihAgdYle/s1600/Database_Cloud_Service_Confirm_Start.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Database Cloud Service Instance Confirm Startup" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjWCZ7PFsWZVqUKN5DufRKyLOiG_Ug-n8ak8uBYZs2vjMy8gi4tSk-gWX50ZPDrkxy7rJjOsNEDdJTtJKxSXtNtAwXwjesu90Fglc7b51cibOYjyt9xS6CCZpK2uyWHQ0m1ksWihAgdYle/s1600/Database_Cloud_Service_Confirm_Start.png" title="Oracle Database Cloud Service Instance Confirm Startup" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_8" o:spid="_x0000_i1026" type="#_x0000_t75" style='width:241.5pt;
height:75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image007.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">You can track the status of this activity or other
activities also from below window where it show start and end time of start up
and stop.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhG_tTI-cjJQl-j2WISLOED3HTpabkRi0xtcBbJMy6hMiQ0HAJ49bHNRIzILVTtYsmjmFAy4138HDOLOkbRpo7eb676ot7Zsg7QLkjygIWMhG_FWpg87ZoGjgc485cSWJfFU5OG3FzhoQAw/s1600/Database_Cloud_Service_Start_Activity_LLog.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Database Cloud Service Instance Activity LOg" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhG_tTI-cjJQl-j2WISLOED3HTpabkRi0xtcBbJMy6hMiQ0HAJ49bHNRIzILVTtYsmjmFAy4138HDOLOkbRpo7eb676ot7Zsg7QLkjygIWMhG_FWpg87ZoGjgc485cSWJfFU5OG3FzhoQAw/s1600/Database_Cloud_Service_Start_Activity_LLog.png" title="Oracle Database Cloud Service Instance Activity LOg" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_9" o:spid="_x0000_i1025" type="#_x0000_t75" style='width:420pt;
height:162.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image009.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">You can follow the same steps to stop the running service
instance.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<br /></div>
</div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com0tag:blogger.com,1999:blog-3065877363390268626.post-80129989679793064002016-08-19T15:54:00.000+05:302016-08-30T17:18:05.236+05:30SOA Cloud - Create Oracle Database Cloud Service Instance<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span style="font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 115%;">Now days we hear lot about cloud and like to explore
more on it. Recently Oracle launched cloud services that we can use to create
service instances. This post is specific to Database Cloud service.</span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>DBaaS (Database as a Service)</b> is a service instance in
Oracle Database Cloud. On premises setup we use to install Oracle database
server on local hardware but in cloud, no need to have a setup, just need to
confirm some parameters and we are good to use it.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">In this post, we will show how you can create service
instance of Oracle Database Cloud. Follow below steps for the same. <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
1:</span></b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"> Go to </span><a href="https://myservices.emea.oraclecloud.com/mycloud/faces/dashboard.jspx"><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">https://myservices.emea.oraclecloud.com/mycloud/faces/dashboard.jspx</span></a><span style="color: #1f497d; font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="color: #1f497d; font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Login with your credentials that you have received from
Oracle when you register for trial version.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmczWCIpoqVZ84WcEaxk_cc1RqnXprCzlxRxSxB3ysdS17mew3sSbCNgZTccRvySFIzP5eTbgIKOHs5498mxuKuHgKhYKqh9NJk8cp1icTxRXIn1M6dTsnp0XKngFWt2bJS4hcYZWBNYxE/s1600/Oracle_Database_Cloud_Service_Login.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmczWCIpoqVZ84WcEaxk_cc1RqnXprCzlxRxSxB3ysdS17mew3sSbCNgZTccRvySFIzP5eTbgIKOHs5498mxuKuHgKhYKqh9NJk8cp1icTxRXIn1M6dTsnp0XKngFWt2bJS4hcYZWBNYxE/s1600/Oracle_Database_Cloud_Service_Login.png" /></a></div>
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shapetype id="_x0000_t75"
coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"
filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="Picture_x0020_2" o:spid="_x0000_i1038" type="#_x0000_t75"
style='width:468pt;height:342.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Click on “Service Console” option as shown in below
screen shot in “Oracle Database Cloud Service” section.<o:p></o:p></span></div>
<div class="MsoNormal">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlDJPl3Z2IdGlEI3Aq251BCKKe-M6IfgK5mRAX5AASrsFH2i14S0YPuZ0YX-qswj6u-xI0qQjDgGM1OjfZA3atnCpg7iiXdEkWDBoTarcdEIeNln6Ldx4ULu9dlOYDal1OLp_7hH1JKO6E/s1600/Oracle_Database_Cloud_Service.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Database Cloud Service Console" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlDJPl3Z2IdGlEI3Aq251BCKKe-M6IfgK5mRAX5AASrsFH2i14S0YPuZ0YX-qswj6u-xI0qQjDgGM1OjfZA3atnCpg7iiXdEkWDBoTarcdEIeNln6Ldx4ULu9dlOYDal1OLp_7hH1JKO6E/s1600/Oracle_Database_Cloud_Service.png" title="Oracle Database Cloud Service Console" /></a></div>
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape id="Picture_x0020_1"
o:spid="_x0000_i1037" type="#_x0000_t75" style='width:467.25pt;height:116.25pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Click on “Go to Console” to go to service console.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirKJHkfZxbFtsYOuG0aNz72Zl8-WC-HdEM_Mipp9Rz9W48Y6kSt-bj6cWfqU6PUF82er-uuekZyNEcgXqcPLem6wGsuX2cFEGzJEXQGADo5spXt3rSCeXTqEZwmBlg9lKpNs7qPcVosoDd/s1600/Database_Cloud_Instance_Console.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Database Cloud Service Console" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirKJHkfZxbFtsYOuG0aNz72Zl8-WC-HdEM_Mipp9Rz9W48Y6kSt-bj6cWfqU6PUF82er-uuekZyNEcgXqcPLem6wGsuX2cFEGzJEXQGADo5spXt3rSCeXTqEZwmBlg9lKpNs7qPcVosoDd/s1600/Database_Cloud_Instance_Console.png" title="Oracle Database Cloud Service Console" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Click on “Create Service” button to initiate the process
of service creation.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_0pb4bsAjenbYgdcKwgxmiz0KFVgjZguatNt1C9jaPNCj4BsazJ9S-ISr0S9wGA_r8ucBjcdZAmvHCRG-TU8IYuo2Xn3ZN8ZDH-5t3xcBMsPTWuRoG2h5b2VFi_30agFaKRMdCAincac2/s1600/Database_Cloud_Instance_Create_Instance.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Database Cloud Create Service" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_0pb4bsAjenbYgdcKwgxmiz0KFVgjZguatNt1C9jaPNCj4BsazJ9S-ISr0S9wGA_r8ucBjcdZAmvHCRG-TU8IYuo2Xn3ZN8ZDH-5t3xcBMsPTWuRoG2h5b2VFi_30agFaKRMdCAincac2/s1600/Database_Cloud_Instance_Create_Instance.png" title="Oracle Database Cloud Create Service" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape id="Picture_x0020_4"
o:spid="_x0000_i1035" type="#_x0000_t75" style='width:468pt;height:156pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image007.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
2: </span></b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"> Subscription: Here you need to choose
subscription type that cover Service Level and billing frequency. You can keep
the default values for now.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDfVaICySW1f8OhxMAhxavsL-8S4QarRjIgsEVR9UoNLRIQQzig_BoPfnF7v8TcN1eib2Fdpbkk2DddX2CTxSwB-Imw7HlpjediEOzJSV6rfjR3CbQrGCoT0w8VG3VyyCizeh2Zns-Ni4e/s1600/Database_Cloud_Instance_Subscription.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Database Cloud Service Subscription" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDfVaICySW1f8OhxMAhxavsL-8S4QarRjIgsEVR9UoNLRIQQzig_BoPfnF7v8TcN1eib2Fdpbkk2DddX2CTxSwB-Imw7HlpjediEOzJSV6rfjR3CbQrGCoT0w8VG3VyyCizeh2Zns-Ni4e/s1600/Database_Cloud_Instance_Subscription.png" title="Oracle Database Cloud Service Subscription" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape id="Picture_x0020_5"
o:spid="_x0000_i1034" type="#_x0000_t75" style='width:467.25pt;height:366pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image009.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
3: </span></b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Release:
Here you need to choose Database release version, keep the default option
(Oracle Database 12c release 1).<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIxWpvetLefHlpfk9RBgPKDtf6zVwojr3nKbGb1q6eEc87m9OAexdKj1DqNEP71CU5Pjzyj0Dtot80V0lC-CXvnKvJI45LBoPIqDfNNPRsh4Ro_YK8pevE0pY-Qz0W56WG6MsF7ZCj2CeS/s1600/Database_Cloud_Instance_Create_Release.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Database Cloud Service Release Version" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIxWpvetLefHlpfk9RBgPKDtf6zVwojr3nKbGb1q6eEc87m9OAexdKj1DqNEP71CU5Pjzyj0Dtot80V0lC-CXvnKvJI45LBoPIqDfNNPRsh4Ro_YK8pevE0pY-Qz0W56WG6MsF7ZCj2CeS/s1600/Database_Cloud_Instance_Create_Release.png" title="Oracle Database Cloud Service Release Version" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape id="Picture_x0020_6"
o:spid="_x0000_i1033" type="#_x0000_t75" style='width:467.25pt;height:200.25pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image011.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
4: </span></b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"> Edition: Here you need to choose the database
edition, again keep the default one selected (Enterprise Edition).<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcsit2lRpsWpsHHqeGGraj8nLJZrWwCIMXKEE9J1bGIBsfCF3SAuGgV3gdhOR_pC8K2DoWdNCx5OB0WjfiEH-UJMSG10zzzoD6-F-M6npl1krB7QPYleKY6FUvLQCbmF6qbM9WY1qlcEtd/s1600/Database_Cloud_Instance_Edition.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Database Cloud Service Edition" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcsit2lRpsWpsHHqeGGraj8nLJZrWwCIMXKEE9J1bGIBsfCF3SAuGgV3gdhOR_pC8K2DoWdNCx5OB0WjfiEH-UJMSG10zzzoD6-F-M6npl1krB7QPYleKY6FUvLQCbmF6qbM9WY1qlcEtd/s1600/Database_Cloud_Instance_Edition.png" title="Oracle Database Cloud Service Edition" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape id="Picture_x0020_7"
o:spid="_x0000_i1032" type="#_x0000_t75" style='width:467.25pt;height:323.25pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image013.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
5: </span></b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"> Details: Here you need to set some parameters
to get the service ready for use.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">First of all go to “Service Configuration” section and
set below parameters.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<i><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Service
Name: </span></i><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">cloudDB12c (you can set any name as per your standards)<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<i><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Time
Zone: </span></i><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Select the time zone.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<i><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">SSH
Public Key: </span></i><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Browse the public key file that you have
created in last. In case you don’t have that file, you can refer <a href="http://www.soawork.com/2016/08/soa-cloud-generate-ssh-key-pair-using-putty.html" target="_blank">this </a>post to
generate SSH public key. <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxPOBj0RDvecER1G-GMrJM3AgttWZ0DmpfHf7T2x3zLQcyneXNOQkL3sDf8pIklIC0L39uskA85TxRiPzOZazorXX1ngv0Y7GzaptXFpeYBjjlOE6EbiHdZNXwGvXKk94Gz8IUUPODf0Fj/s1600/Database_Cloud_Instance_ServiceName.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Database Cloud Service name" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxPOBj0RDvecER1G-GMrJM3AgttWZ0DmpfHf7T2x3zLQcyneXNOQkL3sDf8pIklIC0L39uskA85TxRiPzOZazorXX1ngv0Y7GzaptXFpeYBjjlOE6EbiHdZNXwGvXKk94Gz8IUUPODf0Fj/s1600/Database_Cloud_Instance_ServiceName.png" title="Oracle Database Cloud Service name" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape id="Picture_x0020_8"
o:spid="_x0000_i1031" type="#_x0000_t75" style='width:357.75pt;height:163.5pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image015.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape id="Picture_x0020_9"
o:spid="_x0000_i1030" type="#_x0000_t75" style='width:468pt;height:332.25pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image016.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpVVtXdgglRECxq7toAcuip_VeAiVZTkCOz-aCH5-4qhBtcSb0Di2ocjbqh7U5W3RFvsbynS5tl80Stxg5vuUM3qstyRM61Swc9NHHHU3O6QRjPQFXah9lQ3_lY3vIdODGcoB0kPRurGpJ/s1600/Database_Cloud_Instance_EnterPublicKey.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Database Cloud Service Public Key" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpVVtXdgglRECxq7toAcuip_VeAiVZTkCOz-aCH5-4qhBtcSb0Di2ocjbqh7U5W3RFvsbynS5tl80Stxg5vuUM3qstyRM61Swc9NHHHU3O6QRjPQFXah9lQ3_lY3vIdODGcoB0kPRurGpJ/s1600/Database_Cloud_Instance_EnterPublicKey.png" title="Oracle Database Cloud Service Public Key" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape id="Picture_x0020_10"
o:spid="_x0000_i1029" type="#_x0000_t75" style='width:373.5pt;height:190.5pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image018.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Then go to “Backup and Recovery Configuration”. In this
section, you need to choose the backup option. Refer Oracle Storage Cloud Service post if you haven't created Oracle Storage Cloud service already. <o:p></o:p></span><br />
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span>
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><i>Backup Description: </i>Choose Both Cloud Storage and Local Storage option.</span><br />
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Cloud Storage Container: Enter the details as per below syntax. For this post, it will be storage-garg/backupDB.</span><br />
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span>
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">storage-identitiy_domain/containerName</span><br />
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><i>Cloud Storage User Name</i>: Username configured while creating cloud storage container. </span><br />
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span>
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><i style="font-family: arial, sans-serif; font-size: 15.3333px; line-height: 17.6333px;">Cloud Storage Password</i><span style="font-family: "arial" , sans-serif; font-size: 15.3333px; line-height: 17.6333px;">: Password configured while creating cloud storage container. </span></span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHmcVi17FtWjKs7NcXkQ_VcioPjLyDCpa1ZCyc_PIkrkcGwfBDGhCpABiLSVqunyb1hXOSoHc5gpTQVt57WyIOURnk9e_jqsj7IWwyqzaXAZ78l1U1gUzj3y3ZtZK93GKK183cylcDdpL_/s1600/Oracle_Database_Cloud_Service_Backup.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Database Cloud Service Backup" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHmcVi17FtWjKs7NcXkQ_VcioPjLyDCpa1ZCyc_PIkrkcGwfBDGhCpABiLSVqunyb1hXOSoHc5gpTQVt57WyIOURnk9e_jqsj7IWwyqzaXAZ78l1U1gUzj3y3ZtZK93GKK183cylcDdpL_/s1600/Oracle_Database_Cloud_Service_Backup.png" title="Database Cloud Service Backup" /></a></div>
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape id="Picture_x0020_12"
o:spid="_x0000_i1028" type="#_x0000_t75" style='width:468pt;height:282.75pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image019.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Then move to “Database Configuration” section, where you
need to provide the password for SYS & SYSTEM accounts.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6BAHpHTS0w0uq_mWQUlOyH2uI0kE-C5yap-DhaNvqmOSq1UP8JWTfm6OMlz2STfvkMkCNYAJw6_jwScAt6BaW8EnE23ec6xuaJnHYzSB-CcQBo-SIWpJqrWeFGRhE6uk8sZx_XpwiLWuu/s1600/Database_Cloud_Instance_DatabaseConfiguration.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Database Cloud Service Database Configuration" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6BAHpHTS0w0uq_mWQUlOyH2uI0kE-C5yap-DhaNvqmOSq1UP8JWTfm6OMlz2STfvkMkCNYAJw6_jwScAt6BaW8EnE23ec6xuaJnHYzSB-CcQBo-SIWpJqrWeFGRhE6uk8sZx_XpwiLWuu/s1600/Database_Cloud_Instance_DatabaseConfiguration.png" title="Oracle Database Cloud Service Database Configuration" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape id="Picture_x0020_13"
o:spid="_x0000_i1027" type="#_x0000_t75" style='width:467.25pt;height:149.25pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image021.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
6: </span></b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"> Confirmation: Here you need to review the
summary and click on create to create the service.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaETe6HumMcwKhvayfXMfW1xOwAkEk1dVZ8he43_AMCWqKDV9S_nw6lidmZ_T2mbVzkpy7VHLs2_gYo6mcOsS61_B6cGmy3rZeohslLUA0gG9rFW1cdgx3PfboLHdnyGuIzWJCcQWy6000/s1600/Oracle_Database_Cloud_Service_Confirmation.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Database Cloud Service Summary" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaETe6HumMcwKhvayfXMfW1xOwAkEk1dVZ8he43_AMCWqKDV9S_nw6lidmZ_T2mbVzkpy7VHLs2_gYo6mcOsS61_B6cGmy3rZeohslLUA0gG9rFW1cdgx3PfboLHdnyGuIzWJCcQWy6000/s1600/Oracle_Database_Cloud_Service_Confirmation.png" title="Database Cloud Service Summary" /></a></div>
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape id="Picture_x0020_14"
o:spid="_x0000_i1026" type="#_x0000_t75" style='width:468pt;height:296.25pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image023.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
7: </span></b><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"> Once you create database cloud service, below
window show the status of that service. Status shows as “In Progress” and it
takes around 30 to 60 minutes to setup this service so you need to wait for
that much time to use it.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape id="Picture_x0020_15"
o:spid="_x0000_i1025" type="#_x0000_t75" style='width:467.25pt;height:212.25pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image025.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNV2ZZdw6S3-pSUpFuKhHyijBMlI2z0XGveZuJEQQuBO4TfB5EoCVe2SgCCHhnLMwzvvqOxRgkV-aVO-69SAXjy0LDR5-WlfMBLPeT0JH1ia_PaZNsurmaHjI8BkMlNV6mzfHvVJolSLnL/s1600/Database_Cloud_Instance_Inprogress.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Oracle Database Cloud Service Status" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNV2ZZdw6S3-pSUpFuKhHyijBMlI2z0XGveZuJEQQuBO4TfB5EoCVe2SgCCHhnLMwzvvqOxRgkV-aVO-69SAXjy0LDR5-WlfMBLPeT0JH1ia_PaZNsurmaHjI8BkMlNV6mzfHvVJolSLnL/s1600/Database_Cloud_Instance_Inprogress.png" title="Oracle Database Cloud Service Status" /></a></div>
<br />
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<br /></div>
</div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com0tag:blogger.com,1999:blog-3065877363390268626.post-40109783715785926332016-08-19T11:41:00.000+05:302016-08-19T11:41:11.947+05:30SOA Cloud- Generate SSH Key Pair using Putty<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In Oracle Cloud, we need to have public key when we need
to create a service instance and private key is also required when we need to
access it using SSH utility. In this post, we will show how we can create key
pair (private and public keys).<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">For this post, we will use PUTTY to generate these keys
as it is available for both windows and Linux. <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Follow the below steps to generate key pair.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<b><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
1:</span></b><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">
Download the Putty key generator from </span><a href="http://www.putty.org/"><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">www.putty.org</span></a><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">
link as shown in below screen shots.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeMmRYKBxahur6DWdSzEJleCTm11Qm5f22LowpEXx1GysVXZhY2FmTSfHG0b-TnYaZCwC8tetsLM-e6FR-Un4-_ff4UbN-nCsVkFSJL1n2z5SalShuKxIQr9OdbFZ79TUgR8XBjoWCjsfC/s1600/SOA_Cloud_SSH_Key_Download_Putty.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="SOA Cloud Download Putty" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeMmRYKBxahur6DWdSzEJleCTm11Qm5f22LowpEXx1GysVXZhY2FmTSfHG0b-TnYaZCwC8tetsLM-e6FR-Un4-_ff4UbN-nCsVkFSJL1n2z5SalShuKxIQr9OdbFZ79TUgR8XBjoWCjsfC/s1600/SOA_Cloud_SSH_Key_Download_Putty.png" title="SOA Cloud Download Putty" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shapetype id="_x0000_t75"
coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"
filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="Picture_x0020_1" o:spid="_x0000_i1031" type="#_x0000_t75"
style='width:442.5pt;height:178.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_2"
o:spid="_x0000_i1030" type="#_x0000_t75" style='width:465.75pt;height:202.5pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image002.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXO_Do-b-Thrw8kRrcw2Qg91_6b37M-tzoKsfn_n1lFwxZWpogY9luWSYJg6cRnIwr72yRDzmR5a2MNNBzBdJCD9uzskYsZvmwgoa27dssbxuL5n075r-56RyNf6E1ak3lOcYg4PXjc2SY/s1600/SOA_Cloud_SSH_Key_Download_Putty_Gen_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="SOA Cloud Download Puttygen.exe" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXO_Do-b-Thrw8kRrcw2Qg91_6b37M-tzoKsfn_n1lFwxZWpogY9luWSYJg6cRnIwr72yRDzmR5a2MNNBzBdJCD9uzskYsZvmwgoa27dssbxuL5n075r-56RyNf6E1ak3lOcYg4PXjc2SY/s1600/SOA_Cloud_SSH_Key_Download_Putty_Gen_2.png" title="SOA Cloud Download Puttygen.exe" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<b><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Step
2:</span></b><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">
Open the puttygen.exe file and it opens another window as shown below. In parameters,
select “SSH-2 RSA” and “2048” in <i>Number
of bits in the generated key</i> as SSH 2 is most recent version of SSH.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitUyDIW484hFOcGfSbiuhFKvJY5fhxUhjxDMBJ8NnuDocA4GVAbxYjnBHIWohBhvDWe5jIfM8f4qx9JfYciyiIzInI9003uJ02cJEtvuXEG_SpXEnFF6_qxgAMBEpB5j6XRDRx9fSI579i/s1600/SOA_Cloud_SSH_Key_Putty_SSH2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="SOA Cloud Set SSH2 and Bits" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitUyDIW484hFOcGfSbiuhFKvJY5fhxUhjxDMBJ8NnuDocA4GVAbxYjnBHIWohBhvDWe5jIfM8f4qx9JfYciyiIzInI9003uJ02cJEtvuXEG_SpXEnFF6_qxgAMBEpB5j6XRDRx9fSI579i/s1600/SOA_Cloud_SSH_Key_Putty_SSH2.png" title="SOA Cloud Set SSH2 and Bits" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_4"
o:spid="_x0000_i1029" type="#_x0000_t75" style='width:364.5pt;height:353.25pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Click on generate button to generate the keys and it
opens the below window where you need to move the mouse in empty area as
highlighted in red box in below screen shot to generate the key. You need to
keep the mouse moving until key generation is successful. <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6OjRZqg_0Jqsjt5avUIZIrprnWJtUfgwWB-4n6ubZcRRt9Tye6lOLQ5jnEgNK-W1zKEuYqUlRZecvl__PS6W1rrkJkPrjjc484-JXNod8HD0DL6XZk8c_mxrpvjiKuIVPAbwuFnzbR3cP/s1600/SOA_Cloud_SSH_Key_Putty_Generate_Key.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="SOA Cloud Generate Key" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6OjRZqg_0Jqsjt5avUIZIrprnWJtUfgwWB-4n6ubZcRRt9Tye6lOLQ5jnEgNK-W1zKEuYqUlRZecvl__PS6W1rrkJkPrjjc484-JXNod8HD0DL6XZk8c_mxrpvjiKuIVPAbwuFnzbR3cP/s1600/SOA_Cloud_SSH_Key_Putty_Generate_Key.png" title="SOA Cloud Generate Key" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_5"
o:spid="_x0000_i1028" type="#_x0000_t75" style='width:369pt;height:357pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image004.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">You see public key gets generated as highlighted in below
screen shot along with Key comment; you can update the key comment name as per
your naming standards if required.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">You can also secure this key by entering the password in
Key passphrase but for now we keep it blank. <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihErGLTOXAgY0gmOj1LPDcovowomPmrJxgsUDaC7I5Eknr_6WPUY_eIIF8n25DVHu2050v2sCh1aZ2CtqlCherLCWEWqsLvb6hvrawKUDszsIHFU_evZkr4oSBsKoUJFzFcjocVP-wy0aq/s1600/SOA_Cloud_SSH_Key_Putty_PublicKey.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="SOA Cloud Generated Public Key" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihErGLTOXAgY0gmOj1LPDcovowomPmrJxgsUDaC7I5Eknr_6WPUY_eIIF8n25DVHu2050v2sCh1aZ2CtqlCherLCWEWqsLvb6hvrawKUDszsIHFU_evZkr4oSBsKoUJFzFcjocVP-wy0aq/s1600/SOA_Cloud_SSH_Key_Putty_PublicKey.png" title="SOA Cloud Generated Public Key" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_6"
o:spid="_x0000_i1027" type="#_x0000_t75" style='width:366pt;height:196.5pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image005.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Copy the text for public key and put it to notepad and
save it with .pub extension as we need this public key file to create service
instance later.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2Mr12BXMdn5ZkdUWA-PlW2V9wdop29C86w1i7iOwwd33DVLcx7TeidLP25FZQH2emPQGYuvQkvhJ2tzjXgcf1ljrdFgzGbJxWN2KUvJjFDOl4dNcFUgTjnO7Uw3mDSABKaO5tjsZfk6ev/s1600/SOA_Cloud_SSH_Key_Save_Public_key%2527.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="SOA Cloud save Generated Public Key" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2Mr12BXMdn5ZkdUWA-PlW2V9wdop29C86w1i7iOwwd33DVLcx7TeidLP25FZQH2emPQGYuvQkvhJ2tzjXgcf1ljrdFgzGbJxWN2KUvJjFDOl4dNcFUgTjnO7Uw3mDSABKaO5tjsZfk6ev/s1600/SOA_Cloud_SSH_Key_Save_Public_key%2527.png" title="SOA Cloud save Generated Public Key" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_3"
o:spid="_x0000_i1026" type="#_x0000_t75" style='width:468pt;height:278.25pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image006.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Now, save the private key by clicking on “Save Private
Key” button. Once you click it, it opens a pop up showing that you are going to
save the key without any password, click on yes to save it.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI-Yvof4yvfxZPl4qxZcUN-YDrOr0_2K1WY3BWwe1RJ2KSobJ7xh4EfRbwLR5n8P1vMStF3gk6wpg5zvrVtvuRt_lQxGWqbPOPogAyTOJKUyNC5DjSjWR-ty9kXs0HscwBKHew-PXi43cf/s1600/SOA_Cloud_SSH_Key_Save_Private_Key.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="SOA Cloud save Generated Private Key" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI-Yvof4yvfxZPl4qxZcUN-YDrOr0_2K1WY3BWwe1RJ2KSobJ7xh4EfRbwLR5n8P1vMStF3gk6wpg5zvrVtvuRt_lQxGWqbPOPogAyTOJKUyNC5DjSjWR-ty9kXs0HscwBKHew-PXi43cf/s1600/SOA_Cloud_SSH_Key_Save_Private_Key.png" title="SOA Cloud save Generated Private Key" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_8"
o:spid="_x0000_i1025" type="#_x0000_t75" style='width:468pt;height:270pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image008.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<br /></div>
</div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com0tag:blogger.com,1999:blog-3065877363390268626.post-10851476019908514162016-08-18T14:54:00.000+05:302016-08-18T18:17:09.946+05:30SOA Cloud - How to register for SOA Cloud Service Trial Version<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">In this post, I will show you how you can register for
trial version of SOA Cloud Services. <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">You need to follow below steps in sequence for trail
registration.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Step 1:</b> Go to URL: <a href="https://cloud.oracle.com/tryit">https://cloud.oracle.com/tryit</a> and
you notice there are mainly two categories as mentioned below.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 115%; text-indent: -0.25in;">1. Oracle's
Platform (PaaS) and Infrastructure (IaaS) Cloud Services</span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 115%; text-indent: -0.25in;">2. Application
(SaaS) and Data (DaaS)</span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , sans-serif; font-size: 11.5pt; line-height: 115%; text-indent: -0.25in;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Under each category there are multiple options available.
Since we are working with Oracle SOA Cloud Services and that comes under Paas
and IaaS category. So go to that category and select very first option as
highlighted in below screen shot.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9ujSTT0fwb2fbwhGWoISczVKsg4_nCGFEqcRvHADqJZiSty3s6nhHXv74u_dPyqVcYHYy5Q750QUsx0RGXgQvifiCS7q-_tHWF67NDy7EMnC03SSx42ELZ0DeYsB7hi_-Ldtio2A7uJyR/s1600/SOA_Cloud_Setup_Register.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="SOA Cloud Service Registartion" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9ujSTT0fwb2fbwhGWoISczVKsg4_nCGFEqcRvHADqJZiSty3s6nhHXv74u_dPyqVcYHYy5Q750QUsx0RGXgQvifiCS7q-_tHWF67NDy7EMnC03SSx42ELZ0DeYsB7hi_-Ldtio2A7uJyR/s1600/SOA_Cloud_Setup_Register.png" title="SOA Cloud Service Registartion" /></a></div>
<br />
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shapetype id="_x0000_t75"
coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"
filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="Picture_x0020_2" o:spid="_x0000_i1029" type="#_x0000_t75"
style='width:449.25pt;height:254.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Step 2:</b> Once you click on “Try It” option, it take you to
Oracle login page where you need to enter your credentials.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><i>Note:</i> You need to have Oracle account setup before you
proceed to this step, if don’t have Oracle account then you can create it.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Once you enter your credentials, it takes you to next
page where you need to enter your details like First Name, Last Name and
Company Name etc. You also need to
verify your phone number by entering the verification code.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifWj5jaAjGb_E3yJ6FG9j9r0fql2Z7sSo7eLBg0hBv2Rnut6T6qgtZ6I6GIlQkTYx_I0znbS1fYnMgTQ4jmbowsOaRK-3SYxrHDIyrKiefHim8vgRfsrUYs1plfE_OkBHpyAlmMN6RL2gv/s1600/SOA_Cloud_Setup_Register_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="SOA Cloud Service Registartion" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifWj5jaAjGb_E3yJ6FG9j9r0fql2Z7sSo7eLBg0hBv2Rnut6T6qgtZ6I6GIlQkTYx_I0znbS1fYnMgTQ4jmbowsOaRK-3SYxrHDIyrKiefHim8vgRfsrUYs1plfE_OkBHpyAlmMN6RL2gv/s1600/SOA_Cloud_Setup_Register_2.png" title="SOA Cloud Service Registartion" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape id="Picture_x0020_3"
o:spid="_x0000_i1028" type="#_x0000_t75" style='width:467.25pt;height:203.25pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image002.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">You need to mention “Identity domain” value, you can
choose any value as that will get appended to your service URL as shown below
in the screen shot.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">Accept the Terms and Conditions and click on Sign Up.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5LWQSXfhLVN8VLn2gEfKzJ6yH9vTiD8NBmx6PLfCZd7uOybly2fIKF7MC99QgSBjm4QkDPjOoO_5G8uzUS_TY49DLjJJwPPpkSGvJivcDTDMfx3qJTn41QTWSGLXaCd2iTXyvPCZ4nziJ/s1600/SOA_Cloud_Setup_Register_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="SOA Cloud Service Registration Identity Domain" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5LWQSXfhLVN8VLn2gEfKzJ6yH9vTiD8NBmx6PLfCZd7uOybly2fIKF7MC99QgSBjm4QkDPjOoO_5G8uzUS_TY49DLjJJwPPpkSGvJivcDTDMfx3qJTn41QTWSGLXaCd2iTXyvPCZ4nziJ/s1600/SOA_Cloud_Setup_Register_3.png" title="SOA Cloud Service Registration Identity Domain" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape id="Picture_x0020_4"
o:spid="_x0000_i1027" type="#_x0000_t75" style='width:467.25pt;height:165pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image004.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;">After Sign up, you see below success message. Now you
should receive email from Oracle within 7 days with your username and password
to access SOA Cloud Services and with setup instructions.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi46GXsCK0CBB5ckVq-2oNuMLFOVXxtUrFt9loy7kmgBVnv8BeCHWKfwIrhiUdAIOJopsFhatQ0wYd3GrX41nhjhyDum03un-8ty-OTzLnb_JgqEDdOng1mqIJTAk7K2FbZnlNB1HYZTG25/s1600/SOA_Cloud_Setup_Register_Complete.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="SOA Cloud Service Registration Success" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi46GXsCK0CBB5ckVq-2oNuMLFOVXxtUrFt9loy7kmgBVnv8BeCHWKfwIrhiUdAIOJopsFhatQ0wYd3GrX41nhjhyDum03un-8ty-OTzLnb_JgqEDdOng1mqIJTAk7K2FbZnlNB1HYZTG25/s1600/SOA_Cloud_Setup_Register_Complete.png" title="SOA Cloud Service Registration Success" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape id="Picture_x0020_5"
o:spid="_x0000_i1026" type="#_x0000_t75" style='width:467.25pt;height:186pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image006.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Step 3:</b> You receive email from Oracle with all required
details and credential for login.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY1SunQ-S_KZCiT1-WTLAAxG36-InbSSTIGqJfQLxFfHh_7ViBGY2DDHNc5dQ5jIa1yCocz29MrjrmLHX4OZONHs2lEFYrHEPy6U1lrFHS8YOzbYO73j02IXFQ9eOSgGT9qtZ7VEe69O2R/s1600/SOA_Cloud_Setup_Registeration_Email.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="SOA Cloud Service Registration Email" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY1SunQ-S_KZCiT1-WTLAAxG36-InbSSTIGqJfQLxFfHh_7ViBGY2DDHNc5dQ5jIa1yCocz29MrjrmLHX4OZONHs2lEFYrHEPy6U1lrFHS8YOzbYO73j02IXFQ9eOSgGT9qtZ7VEe69O2R/s1600/SOA_Cloud_Setup_Registeration_Email.png" title="SOA Cloud Service Registration Email" /></a></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><!--[if gte vml 1]><v:shape id="Picture_x0020_6"
o:spid="_x0000_i1025" type="#_x0000_t75" style='width:468pt;height:256.5pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image008.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "arial" , "sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
</div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com2tag:blogger.com,1999:blog-3065877363390268626.post-25939057573010914342015-10-08T19:50:00.001+05:302015-10-08T19:50:24.388+05:30OSB 12c - Database Polling using DB adapter<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Oracle introduced couple of new features in 12c version
which is recently launched. For OSB, the major shift that we saw in 12c is that
now we can use Jdeveloper to do the development which we use to do through OEPE
(Eclipse). With that change, we can leverage the existing technology adapter in
OSB as well which we use to have in SOA. In OSB 11g version, in case of
Database interaction, we use to create DB adapter in Jdeveloper and later
import all required files to OEPE and generate required services from that, but
in this new version-12c as we development in Jdeveloper itself so we need not
to follow same steps again, we can add the DB adapter directly in OSB project
and do required operations.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In this post, we show you how to use DB adapter in OSB
project. For that we have created a table in database, we poll the data from
that table and write that information to one file.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">First of all we need to create a new OSB project, so
first create a new project and then in composite.xml file, right click on proxy
service lane, choose “Insert Adapters” and select Database to add DB adapter.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6znWbChEhnjT2xWsvi3g1wVRnk0uGJSs0hf49qT1SY499keuREYF43Jnyb7MAflpDAesd9Ypp6oCCwfOUI23Vcp7qwBeZY2KZF2FXJeiH5HiUNOk-HN7w7rmoeX1hx-fSvk9gdpEKPBVR/s1600/OSB12c_DBAdapter_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Database Adapter add adapter" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6znWbChEhnjT2xWsvi3g1wVRnk0uGJSs0hf49qT1SY499keuREYF43Jnyb7MAflpDAesd9Ypp6oCCwfOUI23Vcp7qwBeZY2KZF2FXJeiH5HiUNOk-HN7w7rmoeX1hx-fSvk9gdpEKPBVR/s1600/OSB12c_DBAdapter_1.png" title="OSB Database Adapter add adapter" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shapetype id="_x0000_t75"
coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"
filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="Picture_x0020_1" o:spid="_x0000_i1031" type="#_x0000_t75"
alt="Description: C:\Users\vgarg1\Desktop\12c\DB\OSB12c_DBAdapter_1.png"
style='width:225.75pt;height:249pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"
o:title="OSB12c_DBAdapter_1"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Provide name to adapter and click on next. In next
window, choose DB connection (In our case it is local as we read the data from
local table) and click on browse button to select the outbound connection pool
created earlier for DB adapter. This search feature is a new feature that is
introduced in 12c, with this feature we can go to server and select the
outbound connection pool; we can even create new connection pool with this
option.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_2"
o:spid="_x0000_i1030" type="#_x0000_t75" alt="Description: C:\Users\vgarg1\Desktop\12c\DB\OSB12c_DBAdapter_Add_Adapter_2.png"
style='width:468pt;height:351.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image002.png"
o:title="OSB12c_DBAdapter_Add_Adapter_2"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZ4qpfao7r99EKXHPGDhuEGvkiOxCLTmkuk9qO4kDRDMvrw1s4Nn2v1r40RPueZ-bjv79miAc8tn8V9nJ7O4acpDqPP94kb3DslVXu0YUYkdS73iI2PCYAIPsEearnLOamWZ7ObwbOSvb9/s1600/OSB12c_DBAdapter_Add_Adapter_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Configure OSB Database Adapter" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZ4qpfao7r99EKXHPGDhuEGvkiOxCLTmkuk9qO4kDRDMvrw1s4Nn2v1r40RPueZ-bjv79miAc8tn8V9nJ7O4acpDqPP94kb3DslVXu0YUYkdS73iI2PCYAIPsEearnLOamWZ7ObwbOSvb9/s1600/OSB12c_DBAdapter_Add_Adapter_2.png" title="Configure OSB Database Adapter" /></a></div>
<br />
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In next window, choose “Poll for new or changed records
in table” operation type as we need to poll the new or updated records then
select the table from where we need to poll the record and also select primary
key column. Also choose the column based upon that we need to read the record
and select read & unread column values.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_3"
o:spid="_x0000_i1029" type="#_x0000_t75" alt="Description: C:\Users\vgarg1\Desktop\12c\DB\OSB12c_DBAdapter_Add_Adapter_3.png"
style='width:403.5pt;height:465.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image004.png"
o:title="OSB12c_DBAdapter_Add_Adapter_3"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhR98uboT1b3HWOuL3_i94JYaFHw2KkIxTqnUL9UfzY1ti5oIOhKiv3m0hJvdngarzfXSUzC6mA6q79euhjAj7RlxCeDWUj5HdcwDtyLGCxck7EoS69o_mBlr-jv27r4Kh0kBX2FZMScyu/s1600/OSB12c_DBAdapter_Add_Adapter_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Configure OSB Database Adapter" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhR98uboT1b3HWOuL3_i94JYaFHw2KkIxTqnUL9UfzY1ti5oIOhKiv3m0hJvdngarzfXSUzC6mA6q79euhjAj7RlxCeDWUj5HdcwDtyLGCxck7EoS69o_mBlr-jv27r4Kh0kBX2FZMScyu/s1600/OSB12c_DBAdapter_Add_Adapter_3.png" title="Configure OSB Database Adapter" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrlov0S9W6BvB9UiQBhARvyqdxRX-YbGXFnH7o3H-qCwCrlAvTSSkiVjAu5Zz1w-ME8svb3fSQZzeKqcTRtLlhgzLSOsA0-yDa7vTuNE5Ccme6pAiygXIJuexYpKDgjYAqUhZt4FwRlKWy/s1600/OSB12c_DBAdapter_Add_Adapter_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Configure OSB Database Adapter" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrlov0S9W6BvB9UiQBhARvyqdxRX-YbGXFnH7o3H-qCwCrlAvTSSkiVjAu5Zz1w-ME8svb3fSQZzeKqcTRtLlhgzLSOsA0-yDa7vTuNE5Ccme6pAiygXIJuexYpKDgjYAqUhZt4FwRlKWy/s1600/OSB12c_DBAdapter_Add_Adapter_4.png" title="Configure OSB Database Adapter" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_4"
o:spid="_x0000_i1028" type="#_x0000_t75" alt="Description: C:\Users\vgarg1\Desktop\12c\DB\OSB12c_DBAdapter_Add_Adapter_4.png"
style='width:449.25pt;height:465.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image005.png"
o:title="OSB12c_DBAdapter_Add_Adapter_4"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Once you complete all above steps, then you see DB
adapter gets added to the composite but you see one issue in that adapter as we
haven’t added the pipeline yet. To add pipeline, right click on middle pane
choose Insert </span><span style="font-family: Wingdings; font-size: 11.5pt; line-height: 115%; mso-ascii-font-family: Arial; mso-bidi-font-family: Arial; mso-char-type: symbol; mso-hansi-font-family: Arial; mso-symbol-font-family: Wingdings;">à</span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">
Pipeline.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYGmkjjr84bsR6FDC19-i6ivU45R-8BTkO2oR6vvFebtYObWTjW4a5K9gz4lrTXb_0NcyPgRbhV0NjGT9SikeFGRgs4ct8Mhj23VSnjsu6M8HqR2G7h1Sjvkgkjntu73wdnXaq-ToQPrlM/s1600/OSB12c_DBAdapter_Composite_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Database Adapter Composite" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYGmkjjr84bsR6FDC19-i6ivU45R-8BTkO2oR6vvFebtYObWTjW4a5K9gz4lrTXb_0NcyPgRbhV0NjGT9SikeFGRgs4ct8Mhj23VSnjsu6M8HqR2G7h1Sjvkgkjntu73wdnXaq-ToQPrlM/s1600/OSB12c_DBAdapter_Composite_5.png" title="OSB Database Adapter Composite" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_5"
o:spid="_x0000_i1027" type="#_x0000_t75" alt="Description: C:\Users\vgarg1\Desktop\12c\DB\OSB12c_DBAdapter_Composite_5.png"
style='width:468pt;height:182.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image006.png"
o:title="OSB12c_DBAdapter_Composite_5"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Provide pipeline name and in service type choose “Any
SOAP” as we will get the data in soap format from DB adapter. Ensure that
“Expose as a proxy service” checkbox is unchecked as we already have proxy service
created using DB adapter, if you keep that checked then you will notice that it
will add one more proxy in the same composite.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhULz72ofZ-HKvNH0rleQuSDkn2WmbZEGUHYN4HwhD5jRtewiIY1ZibeNCu7pyiUhR5wFbQ0j7CqGVdWHEBx2gjakVb5ODmvSK9_VW1aOTAbsCEmj42ptufYzVFRL3uTTJUQjK4DgfgznCk/s1600/OSB12c_DBAdapter_Composite_Pipeline_6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Database Adapter add pipeline" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhULz72ofZ-HKvNH0rleQuSDkn2WmbZEGUHYN4HwhD5jRtewiIY1ZibeNCu7pyiUhR5wFbQ0j7CqGVdWHEBx2gjakVb5ODmvSK9_VW1aOTAbsCEmj42ptufYzVFRL3uTTJUQjK4DgfgznCk/s1600/OSB12c_DBAdapter_Composite_Pipeline_6.png" title="OSB Database Adapter add pipeline" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_7"
o:spid="_x0000_i1026" type="#_x0000_t75" alt="Description: C:\Users\vgarg1\Desktop\12c\DB\OSB12c_DBAdapter_Composite_Pipeline_6.png"
style='width:503.25pt;height:332.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image008.png"
o:title="OSB12c_DBAdapter_Composite_Pipeline_6"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Now you can add wire DB adapter with pipeline. Then add
file adapter to write the file and wire it to pipeline. Now go inside the
pipeline and add route node after the start node in message flow. Add routing
action inside route node, in routing select the
write file adapter business service .<!--[if gte vml 1]><v:shape id="Picture_x0020_6"
o:spid="_x0000_i1025" type="#_x0000_t75" alt="Description: C:\Users\vgarg1\Desktop\12c\DB\OSB12c_DBAdapter_Composite_7.png"
style='width:510pt;height:260.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image010.png"
o:title="OSB12c_DBAdapter_Composite_7"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi_4q5K6AtZMY2iuqdffJmpcfLKhDnH183c3FY-mz1WTMCeNGZGsyxctP8QJT9uEL307JCmwNF6kBgB4_8unFmLWr-VIX5Wn67w6EgE8aEiK_ulVv6EFJBiw_lY44-GGpxhrCWO7xr0y-D/s1600/OSB12c_DBAdapter_Composite_7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Database Adapter" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi_4q5K6AtZMY2iuqdffJmpcfLKhDnH183c3FY-mz1WTMCeNGZGsyxctP8QJT9uEL307JCmwNF6kBgB4_8unFmLWr-VIX5Wn67w6EgE8aEiK_ulVv6EFJBiw_lY44-GGpxhrCWO7xr0y-D/s1600/OSB12c_DBAdapter_Composite_7.png" title="OSB Database Adapter" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><br /></span></div>
<br />
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 11.5pt; line-height: 115%;">Add new record to source table and you
notice that data </span><span style="font-size: 15.3333px; line-height: 17.6333px;">successfully</span><span style="font-size: 11.5pt; line-height: 115%;"> picked from that table and written to target file.</span></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 11.5pt; line-height: 115%;"><br /></span></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 11.5pt; line-height: 115%;"><br /></span></span></div>
</div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com2tag:blogger.com,1999:blog-3065877363390268626.post-89740562175524726182015-09-24T06:38:00.003+05:302015-09-24T06:38:53.829+05:30OSB 11g - JMS Message Selector<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In our <a href="http://www.soawork.com/2015/07/osb-11g-read-jms-custom-header.html" target="_blank">previous post</a>, we discussed about how to add and
read custom header properties for JMS. In couple of scenario’s we need to use
Message selector property for JMS. Let’s first understand what this property is
and where this can be implemented.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In some cases our starting point is JMS queue/topic,
where source system put the message to JMS queue/topic and OSB picks the
message from that queue and process the message. Sometimes same queue/topics is
used to process different messages e.g. source system put both “Sales Order”
and “Shipment” messages to same JMS queue/topics but that messages should be
picked by different OSB proxies as we have different logic for each message.
This “Message Selector” property helps there, in Sales Order proxy service we mention
that we pick only Sales Order message and in Shipment proxy we mention that we
pick only shipment messages. Now let’s see how to implement this.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">First create an OSB project and add required folder
structure. Create proxy service that read the message from JMS queue, to create
that right click on the proxy folder and click on new and choose proxy service
option. Choose “Messaging service” as Service Type.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In Message Type configuration, select “Text” as Request
Message Type as we will read simple text message to test this use case and
choose “None” as Response Message Type as we are not sending any response back
once we read the message from JMS queue.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlce5Y_etEsixMuX4SG4bQ4U6CENVARr6VVVhoaBCinSPhsR4iFB2a2R8ddDKqqhqyJczJC27yiYGADCtRjsa5BE3OFO52wueNFkX6D5wIal01G22DOBK5ZsEFafWAfLvUANl2FMBalwA9/s1600/OSB_JMSMessageSelector_Project_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="JMS Message Selector Create Project" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlce5Y_etEsixMuX4SG4bQ4U6CENVARr6VVVhoaBCinSPhsR4iFB2a2R8ddDKqqhqyJczJC27yiYGADCtRjsa5BE3OFO52wueNFkX6D5wIal01G22DOBK5ZsEFafWAfLvUANl2FMBalwA9/s1600/OSB_JMSMessageSelector_Project_1.png" title="JMS Message Selector Create Project" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhn4PpdZGCIWslg7K-oYnZPWZDc9u1mgIzD77gE1SPqHP3_R89PUQLjy81d6fSTOVcL0n9oU-vLIdy2X1c2UBWinErOWqZIYdKuap8iJOGl44kIoW-aUK71SAYKbWji4HzYLOXY7-zlVDgl/s1600/OSB_JMSMessageSelector_CreateProxy_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="JMS Message Selector Create Proxy" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhn4PpdZGCIWslg7K-oYnZPWZDc9u1mgIzD77gE1SPqHP3_R89PUQLjy81d6fSTOVcL0n9oU-vLIdy2X1c2UBWinErOWqZIYdKuap8iJOGl44kIoW-aUK71SAYKbWji4HzYLOXY7-zlVDgl/s1600/OSB_JMSMessageSelector_CreateProxy_2.png" title="JMS Message Selector Create Proxy" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shapetype id="_x0000_t75"
coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"
filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="Picture_x0020_1" o:spid="_x0000_i1032" type="#_x0000_t75"
alt="Description: C:\Users\vgarg1\Desktop\JMS_MesssageSelector\OSB_JMSMessageSelector_Project_1.png"
style='width:156.75pt;height:1in;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"
o:title="OSB_JMSMessageSelector_Project_1"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><!--[if gte vml 1]><v:shape id="Picture_x0020_2"
o:spid="_x0000_i1031" type="#_x0000_t75" alt="Description: C:\Users\vgarg1\Desktop\JMS_MesssageSelector\OSB_JMSMessageSelector_CreateProxy_2.png"
style='width:468pt;height:210pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image002.png"
o:title="OSB_JMSMessageSelector_CreateProxy_2"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_3"
o:spid="_x0000_i1030" type="#_x0000_t75" alt="Description: C:\Users\vgarg1\Desktop\JMS_MesssageSelector\OSB_JMSMessageSelector_CreateProxy_3.png"
style='width:468pt;height:336.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image004.png"
o:title="OSB_JMSMessageSelector_CreateProxy_3"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkOpMtyrtsKRw4aOOXzql992WAojssaum3ddEi16I1bugMiFEKkna91hVmao0xIt8hgdbvQtptoEuwdwHlLo0QNNCRvYoBx-D8lx2brAwCsQ4zFNuQilSaX7NWj5Z7e1uSPMW4j1CVLn5R/s1600/OSB_JMSMessageSelector_CreateProxy_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="JMS Message Selector Proxy Message Type" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkOpMtyrtsKRw4aOOXzql992WAojssaum3ddEi16I1bugMiFEKkna91hVmao0xIt8hgdbvQtptoEuwdwHlLo0QNNCRvYoBx-D8lx2brAwCsQ4zFNuQilSaX7NWj5Z7e1uSPMW4j1CVLn5R/s1600/OSB_JMSMessageSelector_CreateProxy_3.png" title="JMS Message Selector Proxy Message Type" /></a></div>
<br />
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In Transport tab, choose jms from protocol drop-down as
we are dealing with JMS queue i.e. we need to read the message from JMS queue.
In Endpoint URI text box fill the required values for JMS endpoint URI, for
this use case we use default connection factory and TargetQueue JMS queue.
Choose default settings for all other tabs and save the business service.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Make sure that “Get All Header” option is set to yes as
we need to read JMS header properties. If we don’t select this option then we
not able to read the custom header property from JMS queue.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgw6dGzbrP01BCZOtPSQ5aiaLGeu1kC3kKhppEZDafL-in2rxdkrkjZvfMyJRqtH8IZJEHEEgbjOsFQSOFkLMNwcsTtIMnr8fn_1zeFskZvSY41dm6SpUo66YYaa-JpB20pafFuvC5-DXdm/s1600/OSB_JMSMessageSelector_CreateProxy_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="JMS Message Selector Proxy Transport" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgw6dGzbrP01BCZOtPSQ5aiaLGeu1kC3kKhppEZDafL-in2rxdkrkjZvfMyJRqtH8IZJEHEEgbjOsFQSOFkLMNwcsTtIMnr8fn_1zeFskZvSY41dm6SpUo66YYaa-JpB20pafFuvC5-DXdm/s1600/OSB_JMSMessageSelector_CreateProxy_4.png" title="JMS Message Selector Proxy Transport" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_4"
o:spid="_x0000_i1029" type="#_x0000_t75" alt="Description: C:\Users\vgarg1\Desktop\JMS_MesssageSelector\OSB_JMSMessageSelector_CreateProxy_4.png"
style='width:468pt;height:162.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image006.png"
o:title="OSB_JMSMessageSelector_CreateProxy_4"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Go to next tab and open the advanced settings. Under that
enter the value for “Message Selector”. E.g. in this case source system put the
message to JMS queue with custom header property (“MessageType”), if this
property value is “Valid” then only we need to pick the message from JMS queue otherwise not. <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhG-PTcllyqOkhwBWz0zPDAE9nqEWTPuQDK7aH6F5Gt5W_IiaN0fAhg8BG7Uz9rxnUxkitD7qxt9gU7D43Enr2lZIvn-Ly9DTKSiMALllLrWaqur7dzO1CCy0oF3-7t89euM45ldQBfF_QH/s1600/OSB_JMSMessageSelector_CreateProxy_MessageSelector_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="JMS Message Selector Proxy property" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhG-PTcllyqOkhwBWz0zPDAE9nqEWTPuQDK7aH6F5Gt5W_IiaN0fAhg8BG7Uz9rxnUxkitD7qxt9gU7D43Enr2lZIvn-Ly9DTKSiMALllLrWaqur7dzO1CCy0oF3-7t89euM45ldQBfF_QH/s1600/OSB_JMSMessageSelector_CreateProxy_MessageSelector_5.png" title="JMS Message Selector Proxy property" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_6"
o:spid="_x0000_i1028" type="#_x0000_t75" alt="Description: C:\Users\vgarg1\Desktop\JMS_MesssageSelector\OSB_JMSMessageSelector_CreateProxy_MessageSelector_5.png"
style='width:407.25pt;height:360.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image008.png"
o:title="OSB_JMSMessageSelector_CreateProxy_MessageSelector_5"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In the message flow tab of proxy service, add pipeline
pair after start node. Add stage node in request pipeline and inside stage add
log action. We added log action to log request message.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZDuzUQuku4LN5F8f-QjR-hyaNxfXGxYzAiWSit_zVDUN29M36ntUMxvPg5AlPFvfGcphiX3ZzZIf_P0U3dqpArOj4YDBqDmFytTQ2yi2lJdwxwGDqTio9OVIND-laWzeV43ecL3XZj7Yw/s1600/OSB_JMSMessageSelector_MessageFlow_5_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="JMS Message Selector Proxy Message Flow" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZDuzUQuku4LN5F8f-QjR-hyaNxfXGxYzAiWSit_zVDUN29M36ntUMxvPg5AlPFvfGcphiX3ZzZIf_P0U3dqpArOj4YDBqDmFytTQ2yi2lJdwxwGDqTio9OVIND-laWzeV43ecL3XZj7Yw/s1600/OSB_JMSMessageSelector_MessageFlow_5_1.png" title="JMS Message Selector Proxy Message Flow" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_8"
o:spid="_x0000_i1027" type="#_x0000_t75" alt="Description: C:\Users\vgarg1\Desktop\JMS_MesssageSelector\OSB_JMSMessageSelector_MessageFlow_5_1.png"
style='width:276pt;height:334.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image009.png"
o:title="OSB_JMSMessageSelector_MessageFlow_5_1"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Click on log action and then click on expression and put
$body variable to log the request message.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Save your proxy service and deploy it to server. Now put
message to JMS queue with custom header property “MessageType” equal to “Valid”.
Proxy picks the message and do the check based on Message Selector property,
since that is true so it process the message.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_16"
o:spid="_x0000_i1026" type="#_x0000_t75" alt="Description: C:\Users\vgarg1\Desktop\JMS_MesssageSelector\OSB_JMSMessageSelector_Testing_6.png"
style='width:822pt;height:312.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image010.png"
o:title="OSB_JMSMessageSelector_Testing_6"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhabU8UCcWR1sTMaTpIcqQpdPhBDijA8VR1W7pxEzodKCoXqYUe4_89rewISsHwNjVzNJvRn7cnQ0LgVLyeR8yLjlrJO9LmwM5rNZ1Np9drOMZJiT_Gh1ZYjtWl6YvWVDfBKKOruO4-5L-b/s1600/OSB_JMSMessageSelector_Testing_6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="JMS Message Selector Success Testing" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhabU8UCcWR1sTMaTpIcqQpdPhBDijA8VR1W7pxEzodKCoXqYUe4_89rewISsHwNjVzNJvRn7cnQ0LgVLyeR8yLjlrJO9LmwM5rNZ1Np9drOMZJiT_Gh1ZYjtWl6YvWVDfBKKOruO4-5L-b/s1600/OSB_JMSMessageSelector_Testing_6.png" title="JMS Message Selector Success Testing" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Now repeat the above test case but put the message to JMS
queue with custom header property “MessageType” equal to “Invalid”. Proxy does
the check based on Message Selector property, since that is false so it will
not process the message and message will remain in queue itself.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEYbHPHI_eJWoj9qcqYw0K2fQYfZDZdfn2XIdelSvAhZy4t1olAIPNqU5NxSYGPF5Z5LpDopYnoGfMEO6l5JQ-aseh7NTyUIvrn1ESDG0sVsgN_FJ4sJxJrKEdd6ilO9gi_bEHtiQBoRcN/s1600/OSB_JMSMessageSelector_Testing_7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="JMS Message Selector ErrorTesting" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEYbHPHI_eJWoj9qcqYw0K2fQYfZDZdfn2XIdelSvAhZy4t1olAIPNqU5NxSYGPF5Z5LpDopYnoGfMEO6l5JQ-aseh7NTyUIvrn1ESDG0sVsgN_FJ4sJxJrKEdd6ilO9gi_bEHtiQBoRcN/s1600/OSB_JMSMessageSelector_Testing_7.png" title="JMS Message Selector ErrorTesting" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_9"
o:spid="_x0000_i1025" type="#_x0000_t75" alt="Description: C:\Users\vgarg1\Desktop\JMS_MesssageSelector\OSB_JMSMessageSelector_Testing_7.png"
style='width:426.75pt;height:323.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image011.png"
o:title="OSB_JMSMessageSelector_Testing_7"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
</div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com0tag:blogger.com,1999:blog-3065877363390268626.post-56356277572808163092015-07-16T21:41:00.005+05:302015-07-16T21:41:56.548+05:30OSB 11g - Read JMS Custom Header Properties<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">JMS queue and Topics are mainly used for persistence and
reliability, we use JMS adapter to connect to JMS queue or topic in SOA Suite
but in OSB we use jms protocol to connect to JMS queue and topic, we can also
use JCA adapter but jms protocol is always preferred. We usually deals with XML or Non-XML content
while working with JMS queue and topic and there are some pre-defined header
properties for JMS queue and topic that are used for specific purpose. <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Sometime we come across a requirement where we need to read
extra parameters from JMS queue/topic, these extra parameters are custom JMS
header properties. We can read custom header property for JMS queue in OSB. <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In this post, we show how to read custom JMS header
properties in OSB. For this post, we created one sample queue (TargetQueue) on
local server and we put the message to this queue along with custom header
property. We created one OSB project in eclipse under OSB configuration and
created required folder structures.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In previous post, we see how we see set custom header
property for JMS queue. Click here to read that post.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">First create proxy service that will read the message from
JMS queue, to create that right click on the proxy folder and click on new and
choose proxy service option. Choose “Messaging service” as Service Type.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In Message Type configuration, select “Text” as Request
Message Type as we will read simple text message to test this use case and
choose “None” as Response Message Type as we are not sending any response back
once we read the message from JMS queue.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5yPuSXdW4b4hZgF9vwmlMDb3-q3mDpXdzM_cYab0Yln2qjlUZkGbLEJyedP_2UKryn23O4FCPRuabXYIejisajazA-ebr3dFSc1PGTUJkwdyLa8dEejyFARHTWfQJgZ9ItO7ZJa2Qoovg/s1600/OSB_ReadJMSHeaderProperty_CreateProject_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB_ReadCustomHeaderProperty_CreateProject" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5yPuSXdW4b4hZgF9vwmlMDb3-q3mDpXdzM_cYab0Yln2qjlUZkGbLEJyedP_2UKryn23O4FCPRuabXYIejisajazA-ebr3dFSc1PGTUJkwdyLa8dEejyFARHTWfQJgZ9ItO7ZJa2Qoovg/s1600/OSB_ReadJMSHeaderProperty_CreateProject_1.png" title="OSB_ReadCustomHeaderProperty_CreateProject" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDQn2I9aRZ126V6GL6oo_8cT7Z8zhtyNNnytrFqOcdsrr3dNEGCGlPLQ2GdAWcwVnsYs_UzJZfNJ4oPVsHpUUtFCCOzuGcf5SLCB2MU0Sb_lXUoXhLg6jdUwKcF7dU_q5Bf0dW28V-i1MQ/s1600/OSB_ReadJMSHeaderProperty_CreateProxy_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB_ReadCustomHeaderProperty_CreateProxy" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDQn2I9aRZ126V6GL6oo_8cT7Z8zhtyNNnytrFqOcdsrr3dNEGCGlPLQ2GdAWcwVnsYs_UzJZfNJ4oPVsHpUUtFCCOzuGcf5SLCB2MU0Sb_lXUoXhLg6jdUwKcF7dU_q5Bf0dW28V-i1MQ/s1600/OSB_ReadJMSHeaderProperty_CreateProxy_2.png" title="OSB_ReadCustomHeaderProperty_CreateProxy" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJNcPzcvlJQAe6le2w7MK1mKDiRXcYt2W6UUj5V_-OO7BuOewbdxEEtoo9liJbKtLy7uEmlPSRxhd6HE4dRHlfVrk8hikAxQhuXNsgDLvsWGzt7YCkEmDYZpG74FiRIxK6RhouuaoFSmJU/s1600/OSB_ReadJMSHeaderProperty_CreateProxy_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB_ReadCustomHeaderProperty_serviceType" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJNcPzcvlJQAe6le2w7MK1mKDiRXcYt2W6UUj5V_-OO7BuOewbdxEEtoo9liJbKtLy7uEmlPSRxhd6HE4dRHlfVrk8hikAxQhuXNsgDLvsWGzt7YCkEmDYZpG74FiRIxK6RhouuaoFSmJU/s1600/OSB_ReadJMSHeaderProperty_CreateProxy_4.png" title="OSB_ReadCustomHeaderProperty_serviceType" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shapetype id="_x0000_t75"
coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"
filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="Picture_x0020_10" o:spid="_x0000_i1031" type="#_x0000_t75"
alt="Description: C:\Users\vgarg1\Desktop\JMS_Header\OSB_ReadJMSHeaderProperty_CreateProject_1.png"
style='width:184.5pt;height:69pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"
o:title="OSB_ReadJMSHeaderProperty_CreateProject_1"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><!--[if gte vml 1]><v:shape id="Picture_x0020_7"
o:spid="_x0000_i1030" type="#_x0000_t75" alt="Description: C:\Users\vgarg1\Desktop\JMS_Header\OSB_ReadJMSHeaderProperty_CreateProxy_2.png"
style='width:568.5pt;height:240.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image002.png"
o:title="OSB_ReadJMSHeaderProperty_CreateProxy_2"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_11"
o:spid="_x0000_i1029" type="#_x0000_t75" alt="Description: C:\Users\vgarg1\Desktop\JMS_Header\OSB_ReadJMSHeaderProperty_CreateProxy_4.png"
style='width:468pt;height:327.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png"
o:title="OSB_ReadJMSHeaderProperty_CreateProxy_4"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In Transport tab, choose jms from protocol drop-down as
we are dealing with JMS queue i.e. we need to read the message from JMS queue.
In Endpoint URI text box fill the required values for JMS endpoint URI, for
this use case we use default connection factory and TargetQueue JMS queue.
Choose default settings for all other tabs and save the business service.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Make sure that “Get All Header” option is set to yes as
we need to read JMS header properties. If we don’t select this option then we
not able to read the custom header property from JMS queue.<o:p></o:p></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4dy6lSq5o_9YhdM5EpKyoEvcX3Hc6aH-FlV_fXgk9MdsK-wvh2FmC_vUhriVMMAh2yUHLbBGjNnKCeDQIB3tYrGVdYqQMepRDUCGGGIMa9MCF_no1MC8duk-imMxI9oygiZ2EIakffNo6/s1600/OSB_ReadJMSHeaderProperty_CreateProxy_Protocol_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB_ReadCustomHeaderProperty_Transport" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4dy6lSq5o_9YhdM5EpKyoEvcX3Hc6aH-FlV_fXgk9MdsK-wvh2FmC_vUhriVMMAh2yUHLbBGjNnKCeDQIB3tYrGVdYqQMepRDUCGGGIMa9MCF_no1MC8duk-imMxI9oygiZ2EIakffNo6/s1600/OSB_ReadJMSHeaderProperty_CreateProxy_Protocol_5.png" title="OSB_ReadCustomHeaderProperty_Transport" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_12"
o:spid="_x0000_i1028" type="#_x0000_t75" alt="Description: C:\Users\vgarg1\Desktop\JMS_Header\OSB_ReadJMSHeaderProperty_CreateProxy_Protocol_5.png"
style='width:468pt;height:168.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image005.png"
o:title="OSB_ReadJMSHeaderProperty_CreateProxy_Protocol_5"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In the message flow tab of proxy service, add pipeline
pair after start node. Add stage node in request pipeline and inside stage add
log action. We added log action to log custom jms header property value.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHv_giL0qKjGGSFptxHIAWx1jYuCj67ir-NmHmCDhBIsgdWN49gBiWQr1HJ1tgAmQjMI8OEG7jeoeCUf3dfkKxwjVfJReUetshT_KYGo9Mg1h2aXEt0CYgXWMyWDdNT1FdOzja8HNajFCm/s1600/OSB_ReadJMSHeaderProperty_MessageFlow_6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB_ReadCustomHeaderProperty_MessageFlow" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHv_giL0qKjGGSFptxHIAWx1jYuCj67ir-NmHmCDhBIsgdWN49gBiWQr1HJ1tgAmQjMI8OEG7jeoeCUf3dfkKxwjVfJReUetshT_KYGo9Mg1h2aXEt0CYgXWMyWDdNT1FdOzja8HNajFCm/s1600/OSB_ReadJMSHeaderProperty_MessageFlow_6.png" title="OSB_ReadCustomHeaderProperty_MessageFlow" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_13"
o:spid="_x0000_i1027" type="#_x0000_t75" alt="Description: C:\Users\vgarg1\Desktop\JMS_Header\OSB_ReadJMSHeaderProperty_MessageFlow_6.png"
style='width:369pt;height:374.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image007.png"
o:title="OSB_ReadJMSHeaderProperty_MessageFlow_6"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Click on log action and then click on expression. We read
the JMS custom header property from inbound variable, you can read the custom header
property value using below syntax.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">$inbound/ctx:transport/ctx:request/tp:headers/tp:user-header[@name='MessageType']/@value<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Here MessageType is custom header property name.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqXJx49U6__vdko1mb3rzBVAKuq7NjkXV_f2TThibWbnV8E5IxCWZe_FH5do66fXR0fcxK-xBVpEaZpmgj9IrkBPXA0ZFrntI9aiLeKpyxdWus-nGUKq0MKspDJpQ5hohL60Go4lxoPiPO/s1600/OSB_ReadJMSHeaderProperty_Get_CustomProperty_7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB_ReadCustomHeaderProperty" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqXJx49U6__vdko1mb3rzBVAKuq7NjkXV_f2TThibWbnV8E5IxCWZe_FH5do66fXR0fcxK-xBVpEaZpmgj9IrkBPXA0ZFrntI9aiLeKpyxdWus-nGUKq0MKspDJpQ5hohL60Go4lxoPiPO/s1600/OSB_ReadJMSHeaderProperty_Get_CustomProperty_7.png" title="OSB_ReadCustomHeaderProperty" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_14"
o:spid="_x0000_i1026" type="#_x0000_t75" alt="Description: C:\Users\vgarg1\Desktop\JMS_Header\OSB_ReadJMSHeaderProperty_Get_CustomProperty_7.png"
style='width:468pt;height:156pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image008.png"
o:title="OSB_ReadJMSHeaderProperty_Get_CustomProperty_7"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Save your proxy service and deploy it to server. Now put
message to JMS queue along with custom header property. Proxy picks the message
and writes custom header property value in log file.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjliCHHlu_ytdqnJrIcmK8UyCmXlhQwF9gQexctOSK7MJ9aEJQ6q2ZmD6T1-DTsiEMaMX75N7K2iwkQPBH-cj_GoeZpx0loDnBygmfmKB_ROFj_GmlmvNqvM-qeJAStDMi2jiLaCGd3iTHF/s1600/OSB_ReadJMSHeaderProperty_Get_Testing_8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB_ReadCustomHeaderProperty_Testing" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjliCHHlu_ytdqnJrIcmK8UyCmXlhQwF9gQexctOSK7MJ9aEJQ6q2ZmD6T1-DTsiEMaMX75N7K2iwkQPBH-cj_GoeZpx0loDnBygmfmKB_ROFj_GmlmvNqvM-qeJAStDMi2jiLaCGd3iTHF/s1600/OSB_ReadJMSHeaderProperty_Get_Testing_8.png" title="OSB_ReadCustomHeaderProperty_Testing" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<br />
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_15"
o:spid="_x0000_i1025" type="#_x0000_t75" alt="Description: C:\Users\vgarg1\Desktop\JMS_Header\OSB_ReadJMSHeaderProperty_Get_Testing_8.png"
style='width:467.25pt;height:49.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vgarg1\AppData\Local\Temp\msohtmlclip1\01\clip_image010.png"
o:title="OSB_ReadJMSHeaderProperty_Get_Testing_8"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
</div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com1tag:blogger.com,1999:blog-3065877363390268626.post-66065225336012170982015-07-02T22:36:00.000+05:302015-07-02T22:36:09.191+05:30OSB 11g - Set JMS Custom Header Properties<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">JMS queue and Topics are mainly used for
persistence and reliability, we use JMS adapter to connect to JMS queue or
topic in SOA Suite but in OSB we use jms protocol to connect to JMS queue and
topic, we can also use JCA adapter but jms protocol is always preferred. We usually deals with XML or Non-XML content
while working with JMS queue and topic and there are some pre-defined header
properties for JMS queue and topic that are used for specific purpose. <o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Sometime we come across a requirement where
we need to send extra parameters to system through JMS queue/topic but we don’t
want to send that in message content so to achieve that we can use custom JMS
header properties. We can set custom header property for JMS queue along with
value and that can further read by target system and get required parameter
value. <o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In this post, we show how to set custom JMS
header properties in OSB. For this post, we created one sample queue
(TargetQueue) on local server and we put the message to this queue along with
custom header property. We created one OSB project in eclipse under OSB
configuration and created required folder structures.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">First create business service that will put
the message to JMS queue, to create that right click on the business folder and
click on new and choose business service option. Choose “Messaging service” as Service
Type.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcITzlkrHHpYzSpzwqA9w6iQ50C0r-n9a57ys7m6UXf01rOEiGCxQPPUictTx6G9pqwsBERhs7bNdyonX7u09y1igqA04RrSeXXy4MnxBX-cyb0og6Lh2ONyRdYyo1MXU0-59gBvm0jSi7/s1600/OSB_JMSCustomHeaderProperties_Create_BusinessService_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Set JMS Custom Header Properties Create Business Service" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcITzlkrHHpYzSpzwqA9w6iQ50C0r-n9a57ys7m6UXf01rOEiGCxQPPUictTx6G9pqwsBERhs7bNdyonX7u09y1igqA04RrSeXXy4MnxBX-cyb0og6Lh2ONyRdYyo1MXU0-59gBvm0jSi7/s1600/OSB_JMSCustomHeaderProperties_Create_BusinessService_1.png" title="OSB Set JMS Custom Header Properties Create Business Service" /></a></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-ansi-language: EN-IN; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600"
o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f"
stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="Picture_x0020_1" o:spid="_x0000_i1032" type="#_x0000_t75"
style='width:468pt;height:194.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"
o:title="OSB_JMSCustomHeaderProperties_Create_BusinessService_1"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In Message Type configuration, select “Text”
as Request Message Type as we will send simple text message to test this use
case and choose “None” as Response Message Type as we are not expecting any
response back once we put the message to JMS queue.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLtT-pVpxwxiPcSMz_B6PX_NWXB45umOc3rwuic_AmDd2UjEpCd9Di9D-tJaUT-x08-JyoZGVbtX8Oyaqd6GURzD7XilxwIw3YCmvF8AlywNJtSFFjlsjPaZ6hjBwm3CW6JUPlW4DXTjdh/s1600/OSB_JMSCustomHeaderProperties_Create_BusinessService_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Set JMS Custom Header Properties Create Business Service" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLtT-pVpxwxiPcSMz_B6PX_NWXB45umOc3rwuic_AmDd2UjEpCd9Di9D-tJaUT-x08-JyoZGVbtX8Oyaqd6GURzD7XilxwIw3YCmvF8AlywNJtSFFjlsjPaZ6hjBwm3CW6JUPlW4DXTjdh/s1600/OSB_JMSCustomHeaderProperties_Create_BusinessService_2.png" title="OSB Set JMS Custom Header Properties Create Business Service" /></a></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-ansi-language: EN-IN; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_2" o:spid="_x0000_i1031"
type="#_x0000_t75" style='width:468pt;height:248.25pt;visibility:visible;
mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png"
o:title="OSB_JMSCustomHeaderProperties_Create_BusinessService_2"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In Transport tab, choose jms from protocol
drop-down as we are dealing with JNS queue i.e. we need to send that message to
JMS queue. In Endpoint URI text box fill the required values for JMS endpoint
URI, for this use case we use default connection factory and TargetQueue JMS
queue. Choose default settings for all other tabs and save the business
service.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8JItpjurXnYjMdvh7UkFhRxVIilLyRDo9tE8YemX5CryN6uJX7UOvwnYilwxBlKnnALv00cpsYiHrHe0HIcjK1bp6sPVJUC0rwKZJSnu6oUwQeBWWCam_CdWL0qYhivqId0FTyvWhSEkp/s1600/OSB_JMSCustomHeaderProperties_Create_BusinessService_JMSEndpoint_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Set JMS Custom Header Properties JMS Endpoint URI" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8JItpjurXnYjMdvh7UkFhRxVIilLyRDo9tE8YemX5CryN6uJX7UOvwnYilwxBlKnnALv00cpsYiHrHe0HIcjK1bp6sPVJUC0rwKZJSnu6oUwQeBWWCam_CdWL0qYhivqId0FTyvWhSEkp/s1600/OSB_JMSCustomHeaderProperties_Create_BusinessService_JMSEndpoint_3.png" title="OSB Set JMS Custom Header Properties JMS Endpoint URI" /></a></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-ansi-language: EN-IN; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_3" o:spid="_x0000_i1030"
type="#_x0000_t75" style='width:468pt;height:241.5pt;visibility:visible;
mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image005.png"
o:title="OSB_JMSCustomHeaderProperties_Create_BusinessService_JMSEndpoint_3"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Now let’s create proxy service, for that
right click on newly created business service, click on Oracle Service Bus and
then choose Generate Proxy service option. This will create the proxy service.
Open the proxy service and open the message flow tab.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiamyrNwmMWwF7rDkXIbDe30B29azcshHJ2g6uLOtSrJWmhUpMI425og5xHBmXUBKsAT9gArSgKvbOSF_Ue-gcpoaxlnmK0h_QN7DfneplVmauOmjmhTbiysVZkK68OZ0yJnhKpMiB6a4SH/s1600/OSB_JMSCustomHeaderProperties_Create_Proxy_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Set JMS Custom Header Properties Create proxy Service" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiamyrNwmMWwF7rDkXIbDe30B29azcshHJ2g6uLOtSrJWmhUpMI425og5xHBmXUBKsAT9gArSgKvbOSF_Ue-gcpoaxlnmK0h_QN7DfneplVmauOmjmhTbiysVZkK68OZ0yJnhKpMiB6a4SH/s1600/OSB_JMSCustomHeaderProperties_Create_Proxy_4.png" title="OSB Set JMS Custom Header Properties Create proxy Service" /></a></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-ansi-language: EN-IN; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_4" o:spid="_x0000_i1029"
type="#_x0000_t75" style='width:468pt;height:275.25pt;visibility:visible;
mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image007.png"
o:title="OSB_JMSCustomHeaderProperties_Create_Proxy_4"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In the message flow tab of proxy service, you
see route node is added as we created proxy service directly from business
service. Since we need to set custom header property for JMS queue so we need
to add Transport Header action in the request action of route node.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8_cQx4_QXeho3P51xxW0LxrKxZkidlneJOqIcCX0HPOApOO7eltNtRf78KMJxN_EhxrUS4-W1EjdFw1X2nBZB4PBD6IYr7Ik5ZnE7L-ifLR1N4zJH-LPMktonPLsR4QusuPCt4wZH3fHu/s1600/OSB_JMSCustomHeaderProperties_MessageFlow_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Set JMS Custom Header Properties Proxy Message Flow" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8_cQx4_QXeho3P51xxW0LxrKxZkidlneJOqIcCX0HPOApOO7eltNtRf78KMJxN_EhxrUS4-W1EjdFw1X2nBZB4PBD6IYr7Ik5ZnE7L-ifLR1N4zJH-LPMktonPLsR4QusuPCt4wZH3fHu/s1600/OSB_JMSCustomHeaderProperties_MessageFlow_5.png" title="OSB Set JMS Custom Header Properties Proxy Message Flow" /></a></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-ansi-language: EN-IN; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_5" o:spid="_x0000_i1028"
type="#_x0000_t75" style='width:434.25pt;height:366pt;visibility:visible;
mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image009.png"
o:title="OSB_JMSCustomHeaderProperties_MessageFlow_5"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Open the Transport header action and in first
tab (Transport Header) click on “Add Header” button, this will add one header
in below window. To set custom header property for JMS, choose “Other” and
mention custom header property name, for this use case we set “MessageType” as
custom header property for JMS queue. Then choose “Set Header to:” and click on
<Expression> and assign value to custom header property.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4JuaW7ZUQ-zVNFpQ1JqrooVsffJvKEFeK_YjWF11EjY7BvB0_Wdi5UVP6Y82m_riLIy2vIYD8JSnU2y33-bPAqpYFijtxUzldltfrC5wxm-rbN-dwVQzxNybrLR_qEuLbYP3-LCGAHS48/s1600/OSB_JMSCustomHeaderProperties_MessageFlow_Set_JMSCustomHeader_Property_6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Set JMS Custom Header Properties" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4JuaW7ZUQ-zVNFpQ1JqrooVsffJvKEFeK_YjWF11EjY7BvB0_Wdi5UVP6Y82m_riLIy2vIYD8JSnU2y33-bPAqpYFijtxUzldltfrC5wxm-rbN-dwVQzxNybrLR_qEuLbYP3-LCGAHS48/s1600/OSB_JMSCustomHeaderProperties_MessageFlow_Set_JMSCustomHeader_Property_6.png" title="OSB Set JMS Custom Header Properties" /></a></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-ansi-language: EN-IN; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_6" o:spid="_x0000_i1027"
type="#_x0000_t75" style='width:468pt;height:148.5pt;visibility:visible;
mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image010.png"
o:title="OSB_JMSCustomHeaderProperties_MessageFlow_Set_JMSCustomHeader_Property_6"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Save your proxy service and deploy it to
server. Now test the proxy service, to test it open OSB test console and send
text message. Then go to JMS queue and open the message, you see custom header
property showing in the JMS queue.<a href="https://www.blogger.com/null" name="_GoBack"></a><o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghDy6KSBU6eUxsqqzr80M4XZ8eFn2kstYGcJA0W5sbRpjZBDZoc7YXBltMNCoDIoQPjD_LOGZcIoM6fd2Fy8K-K_nlXO0px-PtVE7KEVwuWVVgyMusAxQBoIepIi7pnRTIUgyRr_HHm1cU/s1600/OSB_JMSCustomHeaderProperties_Testing_7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Set JMS Custom Header Properties Testing" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghDy6KSBU6eUxsqqzr80M4XZ8eFn2kstYGcJA0W5sbRpjZBDZoc7YXBltMNCoDIoQPjD_LOGZcIoM6fd2Fy8K-K_nlXO0px-PtVE7KEVwuWVVgyMusAxQBoIepIi7pnRTIUgyRr_HHm1cU/s1600/OSB_JMSCustomHeaderProperties_Testing_7.png" title="OSB Set JMS Custom Header Properties Testing" /></a></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUQQkRZu9Pc1GtHSuTxHghJaTOM2STYsAvGFVaaJhm9IwEFCdhPpLHwgc2uaBuGhcGaVKHPDmE8eG89tXy3hoGsSj8OmQjuBSMk6AMcr8HfKlrjLQgMydh8THTmhVnX0OMzjwo1C4dhCUW/s1600/OSB_JMSCustomHeaderProperties_Testing_8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Set JMS Custom Header Properties Testing" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUQQkRZu9Pc1GtHSuTxHghJaTOM2STYsAvGFVaaJhm9IwEFCdhPpLHwgc2uaBuGhcGaVKHPDmE8eG89tXy3hoGsSj8OmQjuBSMk6AMcr8HfKlrjLQgMydh8THTmhVnX0OMzjwo1C4dhCUW/s1600/OSB_JMSCustomHeaderProperties_Testing_8.png" title="OSB Set JMS Custom Header Properties Testing" /></a></div>
<div class="MsoNormal">
<span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-ansi-language: EN-IN; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_8" o:spid="_x0000_i1026"
type="#_x0000_t75" style='width:450pt;height:255pt;visibility:visible;
mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image012.png"
o:title="OSB_JMSCustomHeaderProperties_Testing_7"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-ansi-language: EN-IN; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_9" o:spid="_x0000_i1025"
type="#_x0000_t75" style='width:468pt;height:163.5pt;visibility:visible;
mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image013.png"
o:title="OSB_JMSCustomHeaderProperties_Testing_8"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span lang="EN-US" style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
</div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com0tag:blogger.com,1999:blog-3065877363390268626.post-84050819600559220662015-06-05T10:20:00.001+05:302015-06-05T10:20:59.290+05:30OSB 11g - Debug Proxy Service Message Flow In Eclipse<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 11.5pt; line-height: 115%;">As we know,
we can do Oracle Service Bus development by two ways, either we can use SB
Console or we can use Eclipse IDE. There are many features </span><span style="font-size: 15.3333330154419px; line-height: 17.6333332061768px;">available</span><span style="font-size: 11.5pt; line-height: 115%;"> in Eclipse
that we don't see in SB console and one of it is Debugger. In Eclipse there is
visual debugger available that helps us to debug the proxy service message
flow. In this post, we see how to use Eclipse debugger and debug simple proxy
service message flow. For this post, we have prepared one sample project, that
contains one business service that </span><span style="font-size: 15.3333330154419px; line-height: 17.6333332061768px;">further</span><span style="font-size: 11.5pt; line-height: 115%;"> invokes external service and we have created a </span><span style="font-size: 15.3333330154419px; line-height: 17.6333332061768px;">wrapper</span><span style="font-size: 11.5pt; line-height: 115%;"> proxy service for that business service. In the message
flow, we have used route node to route the message to business service and
added log activity to log the request message.<o:p></o:p></span></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyXX_asccObyXzx5S7oHP_xyEsenMirXaRlYnGsM3xFixuiT6QHIrEONAXTbxCb6I6ae7Q5OkdW_e1bu4zY56-fSrvAzOiiGbOcSyZ-s9i7kOsTojsSb3dTtdnBVQcCTx9LZS_zE32XZ-M/s1600/Eclipse_debugger_Project_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Eclipse Debugger Sample Project" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyXX_asccObyXzx5S7oHP_xyEsenMirXaRlYnGsM3xFixuiT6QHIrEONAXTbxCb6I6ae7Q5OkdW_e1bu4zY56-fSrvAzOiiGbOcSyZ-s9i7kOsTojsSb3dTtdnBVQcCTx9LZS_zE32XZ-M/s1600/Eclipse_debugger_Project_1.png" title="OSB Eclipse Debugger Sample Project" /></a></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif;"><span style="font-size: 11.5pt; line-height: 115%;"><br /></span></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shapetype
id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t"
path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="Picture_x0020_1" o:spid="_x0000_i1034" type="#_x0000_t75"
style='width:264.75pt;height:250.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"
o:title="Eclipse_debugger_Project_1"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Before we start debugging proxy service message flow, we
need to ensure that server is running in debug mode. If it not then we need to
restart it in debug mode, for that first open the server view by going to
Window -> Show View -> Servers. This opens the server view, to restart server
in debug mode, right click on the server and click on "Restart in
Debug" option. Once server restart complete , you notice server state is "Debugging,
Synchronized".<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsk-jU5kb3xrBrF5Kg1DxA5_FIO6IuQXdH___b0TUPfotGnEmnYT7X0udOkl4JDENeF221iRvCbQ1cO3UuuhiWkqY7errwoh5Mqd86NvQBRwqF0auqK3zOYMFRPS-KyCwQtfLEW1rUbTv-/s1600/Eclipse_debugger_ServerWindow_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Eclipse Debugger Server View" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsk-jU5kb3xrBrF5Kg1DxA5_FIO6IuQXdH___b0TUPfotGnEmnYT7X0udOkl4JDENeF221iRvCbQ1cO3UuuhiWkqY7errwoh5Mqd86NvQBRwqF0auqK3zOYMFRPS-KyCwQtfLEW1rUbTv-/s1600/Eclipse_debugger_ServerWindow_2.png" title="OSB Eclipse Debugger Server View" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtQeEsabWXtYgM4_ug-N_DNQHD0IY8CaEXyRHt6MnVXWqy2i9rXOcy2tUCm0gAEUu82RMlZD4RCBO6Jw7CLPnHzJxVLUS-8voemXJqYt0JpbTqYSBDPpT9e4eQaQ2yqM1sKXmYb10_MlyB/s1600/Eclipse_debugger_Start_Server_In_Debug_mode_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Eclipse Debugger Start Server in Debug Mode" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtQeEsabWXtYgM4_ug-N_DNQHD0IY8CaEXyRHt6MnVXWqy2i9rXOcy2tUCm0gAEUu82RMlZD4RCBO6Jw7CLPnHzJxVLUS-8voemXJqYt0JpbTqYSBDPpT9e4eQaQ2yqM1sKXmYb10_MlyB/s1600/Eclipse_debugger_Start_Server_In_Debug_mode_3.png" title="OSB Eclipse Debugger Start Server in Debug Mode" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_2" o:spid="_x0000_i1033" type="#_x0000_t75" style='width:450.75pt;
height:217.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png"
o:title="Eclipse_debugger_ServerWindow_2"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_3" o:spid="_x0000_i1032" type="#_x0000_t75" style='width:451.5pt;
height:356.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image005.png"
o:title="Eclipse_debugger_Start_Server_In_Debug_mode_3"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 11.5pt; line-height: 115%;">Next step is to add toggle breakpoints, toggle
breakpoints are added in the message flow where we want to stop our flow and
validate it. We add two toggle breakpoint in this flow, one for Log action and
other for routing action. To add toggle breakpoint for log action, right click
on Log action and choose "Toggle Breakpoint" and repeat same step for
routing action.</span><span style="font-family: Arial, sans-serif; font-size: 11.5pt; line-height: 115%;"> </span><span style="font-family: Arial, sans-serif; font-size: 11.5pt; line-height: 115%;">Once done we see two
toggle breakpoints in message flow as highlighted in below diagram. There is no
limit, we can add as many as toggle breakpoints in your message as per need.</span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl_WGVJOsaFby-lQpguUbO0PBmvBTg-CcVg0cd9RTbI3l8jpCePCe6_Iz0vkKdTE7X8HxCfHNse8vRp5PGQQHaVwabUj9rCbQVU2voHL-Tf2FW2FaxSrkf_YQQkhBnfFtw8D2F847WaHDb/s1600/Eclipse_debugger_Add_BreakPoint_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Eclipse Debugger Add Toggle Breakkpoint" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl_WGVJOsaFby-lQpguUbO0PBmvBTg-CcVg0cd9RTbI3l8jpCePCe6_Iz0vkKdTE7X8HxCfHNse8vRp5PGQQHaVwabUj9rCbQVU2voHL-Tf2FW2FaxSrkf_YQQkhBnfFtw8D2F847WaHDb/s1600/Eclipse_debugger_Add_BreakPoint_4.png" title="OSB Eclipse Debugger Add Toggle Breakkpoint" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVqPu0P6EAeEBMWQ-6OwsyGnl52mve-woog9Emcl6n0CzkVpiPjQau4dsEDDtgcq8EOV1XaqaxSZnWrzgmRxBv_dcRbQ9lie6W3E8xHey7-bS-BRYdes5YYKaLPAbyzzH94zGn7E90eHLg/s1600/Eclipse_debugger_MessageFlow_With_BreakPoints_6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Eclipse Debugger Message Flow with Toggle Breakpoint" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVqPu0P6EAeEBMWQ-6OwsyGnl52mve-woog9Emcl6n0CzkVpiPjQau4dsEDDtgcq8EOV1XaqaxSZnWrzgmRxBv_dcRbQ9lie6W3E8xHey7-bS-BRYdes5YYKaLPAbyzzH94zGn7E90eHLg/s1600/Eclipse_debugger_MessageFlow_With_BreakPoints_6.png" title="OSB Eclipse Debugger Message Flow with Toggle Breakpoint" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_4" o:spid="_x0000_i1031" type="#_x0000_t75" style='width:450.75pt;
height:297pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image007.png"
o:title="Eclipse_debugger_Add_BreakPoint_4"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_6" o:spid="_x0000_i1030" type="#_x0000_t75" style='width:270.75pt;
height:282.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image009.png"
o:title="Eclipse_debugger_MessageFlow_With_BreakPoints_6"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Now we test the proxy service from Eclipse and debug the
proxy service message flow. To do that right click on proxy service , click on
"Run As" and choose "Run on Server" and then later click on
finish to start the testing. You can also run this proxy service from SB
console or SOAP UI.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnnt7EX0F0dNuh20s0CSqjDWC1V2VkXoGiCI9VwvG35KNj3mhvTVD8zcHjsNZoARthWcS22vSpsnHYmAZXzZ2R61osMjxEEWyW1Z9cdUmhzEY9O8LZ5DqzyLsHK9u59r6QQiBmCc1WbxX5/s1600/Eclipse_debugger_Test_Proxy_7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Eclipse Debugger Test proxy Service" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnnt7EX0F0dNuh20s0CSqjDWC1V2VkXoGiCI9VwvG35KNj3mhvTVD8zcHjsNZoARthWcS22vSpsnHYmAZXzZ2R61osMjxEEWyW1Z9cdUmhzEY9O8LZ5DqzyLsHK9u59r6QQiBmCc1WbxX5/s1600/Eclipse_debugger_Test_Proxy_7.png" title="OSB Eclipse Debugger Test proxy Service" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_7" o:spid="_x0000_i1029" type="#_x0000_t75" style='width:450.75pt;
height:276.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image011.png"
o:title="Eclipse_debugger_Test_Proxy_7"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Once we click on finish, below window will come, in that
window choose last option "Continue in the current mode".<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixix_q2U77pED2fcnJdfRKZrbZLVhH07atxnKYNdiU8JLLG-MhQHfwutpV8S2jPt8HJNEE4IlzhJXrDLFbwnFt7_kQUBpzsL9fkEue_fCp-XOwZ_hsbVOqwKHWTQMMIVA-oLW831gtPIB_/s1600/Eclipse_debugger_Server_Mode_8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Eclipse Debugger Choose Server Mode" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixix_q2U77pED2fcnJdfRKZrbZLVhH07atxnKYNdiU8JLLG-MhQHfwutpV8S2jPt8HJNEE4IlzhJXrDLFbwnFt7_kQUBpzsL9fkEue_fCp-XOwZ_hsbVOqwKHWTQMMIVA-oLW831gtPIB_/s1600/Eclipse_debugger_Server_Mode_8.png" title="OSB Eclipse Debugger Choose Server Mode" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_8" o:spid="_x0000_i1028" type="#_x0000_t75" style='width:396.75pt;
height:185.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image013.png"
o:title="Eclipse_debugger_Server_Mode_8"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">This opens the Test console window and it asks you to
confirm the perspective switch, confirm it and click on "remember my
decision". Enter the request message and click on execute, once you click
on execute, flow stops at first toggle breakpoint in the message flow and that
toggle breakpoint highlighted by green arrow as shown in below diagram. You see
options to toggle in , out and resume as shown in below diagram.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxlma7NlJo7dV9RGga8WrwOrUH5Xyj_LD65PcPCW_14c9jQlJts0_I7st4h6yIcjak0q0bULjQnbGfYDMYTolFEAlhJ-UNZXhZ-1SJwytKF-RPq3ZqV5KbTJiRzT3wCf9zAawrjmW5E2hP/s1600/Eclipse_debugger_9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Eclipse Debugger Proxy Testing" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxlma7NlJo7dV9RGga8WrwOrUH5Xyj_LD65PcPCW_14c9jQlJts0_I7st4h6yIcjak0q0bULjQnbGfYDMYTolFEAlhJ-UNZXhZ-1SJwytKF-RPq3ZqV5KbTJiRzT3wCf9zAawrjmW5E2hP/s1600/Eclipse_debugger_9.png" title="OSB Eclipse Debugger Proxy Testing" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUm-fti6N8xFTXCkSGksr4O6baJdsdAOxGkNdNpo3IaeRiyJNNkf8GZ8KUOdIiPLHGDy08spwApc2fy-FlkKdoSrCIuolAkZxfIT-uUxf10_XujxBYWkwNe4BH5GXOs16H-tJUWB2DLxng/s1600/Eclipse_debugger_Options10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Eclipse Debugger Options" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUm-fti6N8xFTXCkSGksr4O6baJdsdAOxGkNdNpo3IaeRiyJNNkf8GZ8KUOdIiPLHGDy08spwApc2fy-FlkKdoSrCIuolAkZxfIT-uUxf10_XujxBYWkwNe4BH5GXOs16H-tJUWB2DLxng/s1600/Eclipse_debugger_Options10.png" title="OSB Eclipse Debugger Options" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_9" o:spid="_x0000_i1027" type="#_x0000_t75" style='width:445.5pt;
height:284.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image015.png"
o:title="Eclipse_debugger_9"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_10" o:spid="_x0000_i1026" type="#_x0000_t75" style='width:450.75pt;
height:251.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image017.png"
o:title="Eclipse_debugger_Options10"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">You can also check the content of the variable during
this debugging and even though we can also change the content of the variable.
Once you run all toggle breakpoints , you will see response of test console.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj77AlVh6GzX5n8UnMtaR1kNeoXlVkLBhfCwhuEMstalL6TcCRJ8iBQWpEIM9oWDLQ5GBA1R8COLnBeWevpwpceYS0kWG-jjPjXVBj9T_LEpIIo3F-PmGpbM5gLF4kVxrNgqSJUeqI4hdF_/s1600/Eclipse_debugger_Variable_Values_11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="OSB Eclipse DebuggerVariables" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj77AlVh6GzX5n8UnMtaR1kNeoXlVkLBhfCwhuEMstalL6TcCRJ8iBQWpEIM9oWDLQ5GBA1R8COLnBeWevpwpceYS0kWG-jjPjXVBj9T_LEpIIo3F-PmGpbM5gLF4kVxrNgqSJUeqI4hdF_/s1600/Eclipse_debugger_Variable_Values_11.png" title="OSB Eclipse DebuggerVariables" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-fareast-language: EN-IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_12" o:spid="_x0000_i1025" type="#_x0000_t75" style='width:450.75pt;
height:159.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image019.png"
o:title="Eclipse_debugger_Variable_Values_11"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
</div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com0tag:blogger.com,1999:blog-3065877363390268626.post-44755626509374610362015-05-24T17:16:00.000+05:302015-05-24T17:16:05.510+05:30Oracle Service Bus Interview Question and Answers Part-7 <div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: What is
Message Flow ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: Message Flow is OSB component which is part of
proxy service. We define our business logic in message flow.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: Can we delete Start Node in Message flow ?.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: Start Node comes default in message flow once we
create a proxy service. Every message flow will always have a start node and we
can't delete the start node in message flow.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: Can we add multiple pipeline pair in one
message flow ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: Yes, we can add more than one pipeline pair in
one message flow.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: Can we directly add actions under request or
response pipeline ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: No, we can't add actions directly under request
or response pipeline, we need to add stage node in request or response pipeline
and inside that stage, we can add all required actions.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: Can we have more than one route node in message
flow ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: No, we can't add more than one route node in
message flow.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: Which node you will use when you need to route
the message based on content ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: We will use Conditional Branch to route the
message to different business services based upon content, this is also called
content based routing.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: Which node you will use to route the message
based upon operations ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: We will
use operation Branch to route the message to different business services based upon operation.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: Can we delete the default branch in conditional
or operational branch ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: No, we can't delete the default branch in
conditional or operational branch.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: Can we add more than one route in one
conditional or operation branch ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: Yes, if we more than one branch then we add one
route node in each branch as each branch will be independent and only one
branch will execute at one time.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: Can we add stage node under route node ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: No, we can't add stage node under route node.
Stage node can be added only under request and response pipeline or in error
handlers.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: What is
Dynamic Routing action ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: This action is used when we need to route the
message to business service dynamically that means at design time we don't know
to which business service we have to route the message and that is determined
at run time.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: Which
action we use to throw fault/error in message flow ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: We use
"raise-error" action to throw business fault in message flow.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: What is
reply action ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: It specify that immediate reply is sent to
invoker.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: What
actions we use for OSB reporting ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: We use Alert, Log and Report for OSB reporting.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: Can we change the file name in message flow at
runtime ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: Yes, we can change file name at runtime using
Transport Header action.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: Can we change the endpoint URI of the external
service that we invoke using business service ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: Yes, we can do it by using routing option action.<o:p></o:p></span></div>
<br />
<div class="MsoNormal">
<br /></div>
</div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com1tag:blogger.com,1999:blog-3065877363390268626.post-87903010534821379132015-05-24T15:44:00.001+05:302015-05-24T15:44:27.735+05:30Oracle Service Bus Interview Question and Answer Part-6 <div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: By how
many ways we can do OSB development ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: We can do development in OSB by two ways. Either
we can use Eclipse which is IDE tool for OSB or we can use SB console for the
development.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: Will you prefer Eclipse or SB console for OSB
development ?.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: It is simple to work with SB console as compared
to eclipse, so during initial phase we can opt for SB console and later go for
eclipse. When we work at enterprise level, Eclipse is always recommended.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: Do we need to create a session when we develop
projects in Eclipse ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: No, we need not to create a session when we
develop projects in Eclipse, session will only come into picture when we deploy
the project to server from eclipse.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: Can multiple users work on SB console at one
time?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Answer: Yes, multiple users with different users can work
on SB console at same time as session will be created for each users
individually.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: Can we
test the proxy service from Eclipse ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: Yes, we can test the proxy service from Eclipse,
for that we need right click on the proxy service and then click on Run As and
run it on server.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: Can we create Xquery transformation in design
mode in SB Console ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: No, we have to write Xquery in source mode. We
can create Xquery transformation in Eclipse.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: Do we have the option to test the Xquery
Transformation ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: Yes, we can test the Xquery transformation.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Question</b>: Can we use XSLT file in OSB ?<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><b>Answer</b>: Yes, OSB support both Xquery and XSLT.<o:p></o:p></span></div>
<br />
<div class="MsoNormal">
<br /></div>
</div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com0tag:blogger.com,1999:blog-3065877363390268626.post-44014036011556680692015-04-05T11:08:00.000+05:302015-04-05T11:08:30.884+05:30OSB 11g - Use XSLT file in Oracle Service Bus<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">eXtensible Stylesheet
Language Transformation (XSLT) is used to map source XML to target XML. XSLT
files are used in Oracle SOA Suite to transform the message from one format to
another format. In Oracle Service Bus to achieve same (transformation from one
format to another format) we have two choices , either we can use Xquery
transformation or we can use XSLT files.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In this post, we will see
how to use XSLT files in Oracle Service Bus. we have developed a use case to
show how to use XSLT file in Oracle service Bus. In this use case source will
send request message (XML) to Oracle Service Bus proxy service, in OSB proxy
service message flow we use XSLT file and transform that request message (XML)
to target message (XML) format and invoke business service which further call
target. We have built one XSLT file that transform data from request message
XML format to target message XML format.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCsnEdUtNXDp56wXfDbvKfm4p7O-yVcEVDURLgS9X8ktjsRld6cbayLLx1wADLmaao6TyQKtan3vo1bQ97FBDDAv4VDrPSnKPETQDuOQsTQsdjlHIBV_NeoZcIiB6twV7dtbrJPU8FXES5/s1600/Main.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Use XSLT in OSB" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCsnEdUtNXDp56wXfDbvKfm4p7O-yVcEVDURLgS9X8ktjsRld6cbayLLx1wADLmaao6TyQKtan3vo1bQ97FBDDAv4VDrPSnKPETQDuOQsTQsdjlHIBV_NeoZcIiB6twV7dtbrJPU8FXES5/s1600/Main.png" title="Use XSLT in OSB" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shapetype
id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t"
path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="Object_x0020_1" o:spid="_x0000_i1037" type="#_x0000_t75"
style='width:450.75pt;height:314.25pt;visibility:visible' o:gfxdata="UEsDBBQABgAIAAAAIQC75UiUBQEAAB4CAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbKSRvU7DMBSF
dyTewfKKEqcMCKEmHfgZgaE8wMW+SSwc27JvS/v23KTJgkoXFsu+P+c7Ol5vDoMTe0zZBl/LVVlJ
gV4HY31Xy4/tS3EvRSbwBlzwWMsjZrlprq/W22PELHjb51r2RPFBqax7HCCXIaLnThvSAMTP1KkI
+gs6VLdVdad08ISeCho1ZLN+whZ2jsTzgcsnJwldluLxNDiyagkxOquB2Knae/OLUsyEkjenmdzb
mG/YhlRnCWPnb8C898bRJGtQvEOiVxjYhtLOxs8AySiT4JuDystlVV4WPeM6tK3VaILeDZxIOSsu
ti/jidNGNZ3/J08yC1dNv9v8AAAA//8DAFBLAwQUAAYACAAAACEArTA/8cEAAAAyAQAACwAAAF9y
ZWxzLy5yZWxzhI/NCsIwEITvgu8Q9m7TehCRpr2I4FX0AdZk2wbbJGTj39ubi6AgeJtl2G9m6vYx
jeJGka13CqqiBEFOe2Ndr+B03C3WIDihMzh6RwqexNA281l9oBFTfuLBBhaZ4ljBkFLYSMl6oAm5
8IFcdjofJ0z5jL0MqC/Yk1yW5UrGTwY0X0yxNwri3lQgjs+Qk/+zfddZTVuvrxO59CNCmoj3vCwj
MfaUFOjRhrPHaN4Wv0VV5OYgm1p+LW1eAAAA//8DAFBLAwQUAAYACAAAACEAagalBfgHAACBXwAA
HwAAAGNsaXBib2FyZC9kcmF3aW5ncy9kcmF3aW5nMS54bWzsXFtv2kgUfl9p/4Pl11UL4ytEJVWT
bauVsm0UEqmvU3sAq2bMjgdK9tfvmZsNFDIlbdalnZfEMBef+XxszjffOX7xcj0vvRVhdVHRkY+e
932P0KzKCzod+Xe3b54NfK/mmOa4rCgZ+fek9l+e//7bC3w2ZXgxKzIPZqD1GR75M84XZ71enc3I
HNfPqwWh0Dap2Bxz+MimvZzhzzDzvOwF/X7Sm+OC+uftVH9ijr0lKx4xVVlln0h+iekK1zBlmZ1t
fqNtLLNvnxmf0dVbthgvrpmwPHu3umZekY98QI7iOUDk93SD7gYfezujpu0E6wmbi/7VZOKt5Sz3
4q+cg6y5l8GXg34f9ePE9zJoi+M0QEmkzzJ7r8YFA/gaTIAOSRQM0cC0v7bMAaYpE+Bgw6x6IYyi
qy/XGZl13pAMHGNaEi9sliy6m/WaobWGamelGxYL28NATWLWjMI4DYNArxlFYRwmokdjLz5bsJq/
JdXcEwcjn4E90pvw6qrmqqvpIscZQ/h6LFfH1xdVfi/W+RH+w2VkvLysSnkRMM1mFRv5GWfKrrLm
Y35fEtE9J5Nrdfnh6AYGloDDyCf02d1Y29h2KVclAgS8OWZXaupyCrda6XvQ5xZ/HP878ocoivpw
9cAA2YXgK3rBPsEN6cPcvKD6I3SZwangFrpe0gzWjOSCtRU1zITAV3zvE2HiboabTLbXVVnkb4qy
FMbL25NclsxbYThbyZE2eauXPKvH7xdkgjNw6j/m9FnJFRQE7zQQrBqyeqchq1s4ACd5FTQewhQ4
DFpoIuHBYDz+5fERoGh8whYf4yQOHwGKxidq8UFhihLnQOKuEqhogOINgAbBQD4enAcJVDRASQtQ
EAzAgdwjCDxIoKIBSjcASqPQPaPlD5dARQM0aAES6MhfcneLCVQ0QMMNgJI4dQ9p6UECFRURbYSW
MjAVcCkHasJPCSXbDDX/egcRZMG4pAtePeeXJcEQ9WnuwM/H1ZJlRATMXJ5GTkFofo0Z3gpat2bS
cbMc0QbIy5qMFyLgV80mgq5NRFzSGzIBGiQZjLjqO1EmzjJCm0hT9ha9JhCTNgND3zpQ9xf9yGQC
5hwzuBkhz1zRdvC8oBXbd/Y2OJ6o/hIWvWoAVrGkw1wp/pIrGeL2TlIrBWdLswxF2eFKyTAYRjEw
L7jYKbCloZ7FkSX4sXZk6Zcmk44saXp+gGw7smT2Lw4A5MiSBSBHliwAObJkAciRJQtAjixZAHpq
snSL2ZTwH4ksSVEFOMbRZMkMfBRZMoM7IEugbykB7aZa0pzkXiswxVpfOIo0hf0U1BBQkHY0MUOa
ggi2Q4dGYWpVtQcUJmGYsEpyRSczOZnppGU4x5wcc9oSeI/VcR1zskQtjjlZAHLMyQKQY04WgBxz
sgB0FHN6enlIZSztlYdMftfRjMcMPMx4gn3qjhKlzOAOGE9qGM8tcJKLau1JW2RS4VhogEJ/A0XN
JGhZZaIwQFGSQsYmMJ59OXXQHKIIJBORRxgmw1Al3T1AeB7kOpAfWL0BBU+JWEa6MtpgKx7q7LrP
kC868ut/lpgRmeqmc+2k6rd4teQwmdYX1QjR8LOm3fG1uaou7W5fWmIX+JwSH+oCn5NSkroA6KT4
UBcAnRQf6gKgk+JDXQB0UnyoC4BOig91AdBhPsREwHlcjt17hjMogBkTtioy4l0s6yeUkJqEs2xN
VQULXV2KQ5Vo2ZYiIQjxlZQy5gwX0xn3XjFWffYuK0ohpK+YN2wUlY0Zag4fZDETpJrJZD4pB0Gy
Hc1NC6g0ssWEr3DWZgYwcMsiQwl2stmgeinsR0qYCaFYSaRcA4eA0+haJQTKDGSJKp6C4oEsZjrM
Umq9yGZ1imPu1WeEniZOxXFRvqa5rFcZ+Vigo0tVRLtEWqG6L8XxKzIV93NYXY4jCuTaCpzt3MhH
cVhzMR7BYdtbcH+KY2Z8rTnYusQbTtcUhh10OqTdqfUZk//YuJDIqVTA7zhNHEPFIOQ9Cm4bQp4+
CnZzIE/XaYzoerTTmIGPchoz+Cmd5nBqLGpyY83mB9pOjT1+9wM8BB4s0kOCFCo5Yl0E2TxWUhTF
SAu+SZSEoblvjK+ZcsGvqih02x+y9vFRVYftU8dtf7jtj+OrVrvwH7f9YVEa3PaHBSC3/WEByG1/
WABy2x8WgNz2hwWg77r9ccswrdULXuD9Md5dDW+m8D6Mr27/j12QB7hFk0racIvtDNKjuQUC6hAN
NLcAaTUaaqm25RaDeBjrLQsnrXb5RpMuYkPxhhcpV5/AG026wMdJqz9RqmkXDuS4heV33XELC0CO
W1gActzCApDjFhaAviu3UK8v8T78fdUxmfgiSxN9Y5qmfIMjpF4KKStI03BoJnRkAgjUj/XmpC5i
HUcmHg6WHZl4GB8nVFh+pxyZsADkyIQFIEcmLAA5MmEB6PTIxH8AAAD//3SOQYsCMQyF/0rpdRG9
7uDMQWVBcJfB8eA1tHG2mOmUNivOv9+mgyCClySPL3kvzXoJVRrJ2S9H1KyhImDnFU8BL2Cw1h+D
XxDrpTCEF4AwA5NegEkCsrfFy7GNZaQbfYbHnLjjiVBcg5S8kksbFYHva41+sf/RyrrIU61XWqWB
t4TgRZRfuDlB7JHV+fsgQVwyig1620KEnPvGbX4t58rdfTPaSdL/EnbhiIZnzPdu3kjSyFQ0miva
LfgbpHLaRwi/zuyA4Vk3/wAAAP//AwBQSwMEFAAGAAgAAAAhAOFRNx/PBgAA5hsAABoAAABjbGlw
Ym9hcmQvdGhlbWUvdGhlbWUxLnhtbOxZzW/cRBS/I/E/jHxvs9/NRt1U2c1uA23aKNkW9Thrz9rT
jD3WzGzSvaH2iISEKIgDlbhxQEClVuJS/ppAERSp/wJvZmyvJ+uQtI2gguaQtZ9/877fm6/LV+7F
DB0QISlPel79Ys1DJPF5QJOw590ajy6sekgqnASY8YT0vDmR3pX199+7jNd8RtMJxyIYRyQmCBgl
cg33vEipdG1lRfpAxvIiT0kC36ZcxFjBqwhXAoEPQUDMVhq1WmclxjTx1oGj0oyGDP4lSmqCz8Se
ZkNQgmOQfnM6pT4x2GC/rhFyLgdMoAPMeh7wDPjhmNxTHmJYKvjQ82rmz1tZv7yC17JBTJ0wtjRu
ZP6ycdmAYL9hZIpwUgitj1rdS5sFfwNgahk3HA4Hw3rBzwCw74OlVpcyz9Zotd7PeZZA9nGZ96DW
rrVcfIl/c0nnbr/fb3czXSxTA7KPrSX8aq3T2mg4eAOy+PYSvtXfGAw6Dt6ALL6zhB9d6nZaLt6A
IkaT/SW0DuholHEvIFPOtirhqwBfrWXwBQqyocguLWLKE3VSrsX4LhcjAGggw4omSM1TMsU+5OQA
xxNBsRaA1wgufbEkXy6RtCwkfUFT1fM+THHilSAvn33/8tkTdHT/6dH9n44ePDi6/6Nl5IzawklY
HvXi28/+fPQx+uPJNy8eflGNl2X8rz988svPn1cDoXwW5j3/8vFvTx8//+rT3797WAHfEHhSho9p
TCS6QQ7RLo/BMOMVV3MyEa82YhxhWh6xkYQSJ1hLqeA/VJGDvjHHLIuOo0efuB68LaB9VAGvzu46
Cu9FYqZoheRrUewAtzlnfS4qvXBNyyq5eTxLwmrhYlbG7WJ8UCV7gBMnvsNZCn0zT0vH8EFEHDV3
GE4UDklCFNLf+D4hFdbdodTx6zb1BZd8qtAdivqYVrpkTCdONi0GbdEY4jKvshni7fhm+zbqc1Zl
9SY5cJFQFZhVKD8mzHHjVTxTOK5iOcYxKzv8OlZRlZJ7c+GXcUOpINIhYRwNAyJl1ZibAuwtBf0a
ho5VGfZtNo9dpFB0v4rndcx5GbnJ9wcRjtMq7B5NojL2A7kPKYrRDldV8G3uVoh+hzjg5MRw36bE
Cffp3eAWDR2VFgmiv8yEjiW0aqcDxzT5u3bMKPRjmwPn146hAT7/+lFFZr2tjXgD5qSqStg61n5P
wh1vugMuAvr299xNPEt2CKT58sTzruW+a7nef77lnlTPZ220i94KbVevG+yi2CyR4xNXyFPK2J6a
M3JdmkWyhHkiGAFRjzM7QVLsmNIIHrO+7uBCgc0YJLj6iKpoL8IpLLDrnmYSyox1KFHKJWzsDLmS
t8bDIl3ZbWFbbxhsP5BYbfPAkpuanO8LCjZmtgnN5jMX1NQMziqseSljCma/jrC6VurM0upGNdPq
HGmFyRDDZdOAWHgTFiAIli3g5Q7sxbVo2JhgRgLtdzv35mExUTjPEMkIBySLkbZ7OUZ1E6Q8V8xJ
AORORYz0Ju8Ur5WkdTXbN5B2liCVxbVOEJdH702ilGfwIkq6bo+VI0vKxckSdNjzuu1G20M+Tnve
FPa08BinEHWp13yYhXAa5Cth0/7UYjZVvohmNzfMLYI6HFNYvy8Z7PSBVEi1iWVkU8N8ylKAJVqS
1b/RBreelwE2019Di+YqJMO/pgX40Q0tmU6Jr8rBLlG07+xr1kr5TBGxFwWHaMJmYhdD+HWqgj0B
lXA0YTqCfoFzNO1t88ltzlnRlU+vDM7SMUsjnLVbXaJ5JVu4qeNCB/NWUg9sq9TdGPfqppiSPydT
ymn8PzNFzydwUtAMdAR8OJQVGOl67XlcqIhDF0oj6o8ELBxM74BsgbNY+AxJBSfI5leQA/1ra87y
MGUNGz61S0MkKMxHKhKE7EBbMtl3CrN6NndZlixjZDKqpK5MrdoTckDYWPfAjp7bPRRBqptukrUB
gzuef+57VkGTUC9yyvXm9JBi7rU18E+vfGwxg1FuHzYLmtz/hYoVs6odb4bnc2/ZEP1hscxq5VUB
wkpTQTcr+9dU4RWnWtuxlixutHPlIIrLFgOxWBClcN6D9D+Y/6jwmb1t0BPqmO9Cb0Vw0aCZQdpA
Vl+wCw+kG6QlTmDhZIk2mTQr69ps6aS9lk/W57zSLeQec7bW7CzxfkVnF4szV5xTi+fp7MzDjq8t
7URXQ2SPlyiQpvlGxgSm6tZpG6doEtZ7Htz8QKDvwRPcHXlAa2haQ9PgCS6EYLFkb3F6XvaQU+C7
pRSYZk5p5phWTmnllHZOgcVZdl+SUzrQqfQVB1yx6R8P5bcZsILLbj/ypupcza3/BQAA//8DAFBL
AwQUAAYACAAAACEAnGZGQbsAAAAkAQAAKgAAAGNsaXBib2FyZC9kcmF3aW5ncy9fcmVscy9kcmF3
aW5nMS54bWwucmVsc4SPzQrCMBCE74LvEPZu0noQkSa9iNCr1AcIyTYtNj8kUezbG+hFQfCyMLPs
N7NN+7IzeWJMk3ccaloBQae8npzhcOsvuyOQlKXTcvYOOSyYoBXbTXPFWeZylMYpJFIoLnEYcw4n
xpIa0cpEfUBXNoOPVuYio2FBqrs0yPZVdWDxkwHii0k6zSF2ugbSL6Ek/2f7YZgUnr16WHT5RwTL
pRcWoIwGMwdKV2edNS1dgYmGff0m3gAAAP//AwBQSwECLQAUAAYACAAAACEAu+VIlAUBAAAeAgAA
EwAAAAAAAAAAAAAAAAAAAAAAW0NvbnRlbnRfVHlwZXNdLnhtbFBLAQItABQABgAIAAAAIQCtMD/x
wQAAADIBAAALAAAAAAAAAAAAAAAAADYBAABfcmVscy8ucmVsc1BLAQItABQABgAIAAAAIQBqBqUF
+AcAAIFfAAAfAAAAAAAAAAAAAAAAACACAABjbGlwYm9hcmQvZHJhd2luZ3MvZHJhd2luZzEueG1s
UEsBAi0AFAAGAAgAAAAhAOFRNx/PBgAA5hsAABoAAAAAAAAAAAAAAAAAVQoAAGNsaXBib2FyZC90
aGVtZS90aGVtZTEueG1sUEsBAi0AFAAGAAgAAAAhAJxmRkG7AAAAJAEAACoAAAAAAAAAAAAAAAAA
XBEAAGNsaXBib2FyZC9kcmF3aW5ncy9fcmVscy9kcmF3aW5nMS54bWwucmVsc1BLBQYAAAAABQAF
AGcBAABfEgAAAAA=
">
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"
o:title="" croptop="-401f" cropbottom="-391f" cropleft="-138f" cropright="-153f"/>
<o:lock v:ext="edit" aspectratio="f"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Below is the source XML,
target XML structure and XSLT file screen shot.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Source XML Structure<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_1" o:spid="_x0000_i1036" type="#_x0000_t75" style='width:342pt;
height:204.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png"
o:title="OSB11g_Use_XSLT_Source_Structure_1"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p><br /></o:p></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWu3gGA4W4kZxQuDpBVBxhd19KikPK8oM4oyY2uDBI020sieliZYHt8uDcvH5ztHensgZ-OvKusNv7BPYsKiksmXtMyDmt9t6YGcgfdr1oFDRTiBy3A3rvnTHUq7UGLR9ax_nIIg_yA35n/s1600/OSB11g_Use_XSLT_Source_Structure_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="XSLT in OSB Source Structure" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWu3gGA4W4kZxQuDpBVBxhd19KikPK8oM4oyY2uDBI020sieliZYHt8uDcvH5ztHensgZ-OvKusNv7BPYsKiksmXtMyDmt9t6YGcgfdr1oFDRTiBy3A3rvnTHUq7UGLR9ax_nIIg_yA35n/s1600/OSB11g_Use_XSLT_Source_Structure_1.png" title="XSLT in OSB Source Structure" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p><br /></o:p></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Target XML Structure<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjv4qyLMOb4Aif0hP3MdOBoQr48hNnNdJdFj3FnLEzI0wuC8t-dhVElXGt3bi-GMaf7-Fc2hhEhSf-3RAaqhqrl4pDZwEYO6TD1aX0dHOdv_qkAyphMGSOSTcSEJCzAWjCNVr7jShFK0zI3/s1600/OSB11g_Use_XSLT_Target_Structure_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="XSLT in OSB target Structure" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjv4qyLMOb4Aif0hP3MdOBoQr48hNnNdJdFj3FnLEzI0wuC8t-dhVElXGt3bi-GMaf7-Fc2hhEhSf-3RAaqhqrl4pDZwEYO6TD1aX0dHOdv_qkAyphMGSOSTcSEJCzAWjCNVr7jShFK0zI3/s1600/OSB11g_Use_XSLT_Target_Structure_2.png" title="XSLT in OSB target Structure" /></a></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="_x0000_i1035" type="#_x0000_t75" style='width:351pt;height:204.75pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image005.png"
o:title="OSB11g_Use_XSLT_Target_Structure_2"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">XSLT File<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqHKK_yMXzRG8LSz4Vva5jkKo0mLnzsoMclNG52VhMem7E63SSVn7nQLo-fUurFmKxmrEA8HME9ZFj3rx3Ys_cWGlwufwl_qGo3fWHIciCpuorlpzpPj6C4FZc5eFtYlQaAJjkBl_8MicZ/s1600/OSB11g_Use_XSLT_Create_XSLT_File_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="XSLT in OSB" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqHKK_yMXzRG8LSz4Vva5jkKo0mLnzsoMclNG52VhMem7E63SSVn7nQLo-fUurFmKxmrEA8HME9ZFj3rx3Ys_cWGlwufwl_qGo3fWHIciCpuorlpzpPj6C4FZc5eFtYlQaAJjkBl_8MicZ/s1600/OSB11g_Use_XSLT_Create_XSLT_File_4.png" title="XSLT in OSB" /></a></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_3" o:spid="_x0000_i1034" type="#_x0000_t75" style='width:450.75pt;
height:102pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image007.png"
o:title="OSB11g_Use_XSLT_Create_XSLT_File_4"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Now create a new project
in Oracle Service Bus, to create new project first of all create a session and
click on Projects links. Add a new project with the name
"UseXSLTSample". Create three folders (proxy, business and resources)
folders under this project. Click on resources folder and import source and
target WSDL & schema files as these files are required to create proxy and
business services.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBbQxY6gV83vC64HlPb8NWUqBtU-ZfMILewMn_h44aYuHTc2zWX1BtL-Z_-B-nor5INxEMcjzy8rdyN1Stzaw1604X3_uTMMO54NqbINAD1FF8S8vPBnL-hpbb5PowuyLOaocE-LlvT1js/s1600/OSB11g_Use_XSLT_Create_OSB_Project_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Create OSB Project and Import Resources" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBbQxY6gV83vC64HlPb8NWUqBtU-ZfMILewMn_h44aYuHTc2zWX1BtL-Z_-B-nor5INxEMcjzy8rdyN1Stzaw1604X3_uTMMO54NqbINAD1FF8S8vPBnL-hpbb5PowuyLOaocE-LlvT1js/s1600/OSB11g_Use_XSLT_Create_OSB_Project_3.png" title="Create OSB Project and Import Resources" /></a></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_4" o:spid="_x0000_i1033" type="#_x0000_t75" style='width:451.5pt;
height:114pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image009.png"
o:title="OSB11g_Use_XSLT_Create_OSB_Project_3"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Now import the XSLT file
that we generated for this sample. To import XSLT file, click on resources
folder, choose "XSLT" option from create resource drop down and
browse the XSLT file.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWc4Ye97tctQvSGfgD271fEcxWCi0ZCobBGDRvPgB3APWQxA5qFh1O6Mvqu6VyMhldmhw-uJvTfeRkFZonGPyy0QFl8rxFQStJbGEZtelf22_8_7r4C1IeFHlhXPMhjSHVGwpmv2inPDdz/s1600/OSB11g_Use_XSLT_Import_XSLT_File_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Import XSLT File" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWc4Ye97tctQvSGfgD271fEcxWCi0ZCobBGDRvPgB3APWQxA5qFh1O6Mvqu6VyMhldmhw-uJvTfeRkFZonGPyy0QFl8rxFQStJbGEZtelf22_8_7r4C1IeFHlhXPMhjSHVGwpmv2inPDdz/s1600/OSB11g_Use_XSLT_Import_XSLT_File_5.png" title="Import XSLT File" /></a></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"> <!--[if gte vml 1]><v:shape
id="Picture_x0020_5" o:spid="_x0000_i1032" type="#_x0000_t75" style='width:333pt;
height:327pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image011.png"
o:title="OSB11g_Use_XSLT_Import_XSLT_File_5"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Now create business
service using target WSDL and Schema file, to create it click on business
folder, choose "Business Service" from create resource drop down.
Mention business service name and choose "WSDL Web Service" as
service type, click on browse to browse the target WSDL and click on WSDL port
and click on last and save the business service.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Same way create proxy
service using source WSDL and Schema file, to create it click on proxy folder,
choose "Proxy Service" from create resource drop down. Mention proxy
service name and choose "WSDL Web Service" as service type, click on
browse to browse the source WSDL and click on WSDL port and click on last and
save the proxy service.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background: white; color: #222222; font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_6"
o:spid="_x0000_i1031" type="#_x0000_t75" style='width:252.75pt;height:245.25pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image013.png"
o:title="OSB11g_Use_XSLT_Create_BusinessService_6"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmvV_nevxKADrxIJmtmihdiXZOxEiUytfViu7HZJbMNW70UyeiiJgmGar3hWnJ-fOc-jBneqg2_gYQFdhO2aNnp10KeJQD2S9iBDiKJLejoRzzyDNSgEt4RTUHxGyk9MXNyGLsYpKJvhFe/s1600/OSB11g_Use_XSLT_Create_BusinessService_6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Create Proxy and Business Service" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmvV_nevxKADrxIJmtmihdiXZOxEiUytfViu7HZJbMNW70UyeiiJgmGar3hWnJ-fOc-jBneqg2_gYQFdhO2aNnp10KeJQD2S9iBDiKJLejoRzzyDNSgEt4RTUHxGyk9MXNyGLsYpKJvhFe/s1600/OSB11g_Use_XSLT_Create_BusinessService_6.png" title="Create Proxy and Business Service" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Now go to message flow of proxy service and after start
node, add pipeline pair. In request pipeline, add stage node.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoZFt2B55FD40nnSdNOqBTKWGufpGphofwOjIWg0MAwpQIzjiVsmIsSptf6w4C9_59tndCvAkNepVo5EhC0o0eqdNjA-87gz7gIP3EPY1FBWaV2gtjlxlzx2SF7T4nphl2zd_A0_rgSCz_/s1600/OSB11g_Use_XSLT_Build_MessageFlow_7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Add Pipeline pair in Message flow" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoZFt2B55FD40nnSdNOqBTKWGufpGphofwOjIWg0MAwpQIzjiVsmIsSptf6w4C9_59tndCvAkNepVo5EhC0o0eqdNjA-87gz7gIP3EPY1FBWaV2gtjlxlzx2SF7T4nphl2zd_A0_rgSCz_/s1600/OSB11g_Use_XSLT_Build_MessageFlow_7.png" title="Add Pipeline pair in Message flow" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_7"
o:spid="_x0000_i1030" type="#_x0000_t75" style='width:451.5pt;height:244.5pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image015.png"
o:title="OSB11g_Use_XSLT_Build_MessageFlow_7"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Go Inside stage node and click on "Add an
Action", choose Message Processing --> Assign action. Click on
expression and in Xquery/XSLT expression editor, go to variables link which you
can find at right bottom end of the screen. Choose body variable from drop down
and select the request message. Assign request message to variable (inVar) in
assign activity.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8dQSUlSN5fRoy5zp0fBMIJS0Dz401pLSz0WywYKpeJa7lv_oAN7CeW2CjqKozUGpLknZXw7KsHNu1clNhRz9fG337DNhv32BlGNu1pbmjO4KPYKYRV8vJuNysZzK5r0ER5PYn4s7uahau/s1600/OSB11g_Use_XSLT_Build_MessageFlow_8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Add Assign Inside Pipleline pair" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8dQSUlSN5fRoy5zp0fBMIJS0Dz401pLSz0WywYKpeJa7lv_oAN7CeW2CjqKozUGpLknZXw7KsHNu1clNhRz9fG337DNhv32BlGNu1pbmjO4KPYKYRV8vJuNysZzK5r0ER5PYn4s7uahau/s1600/OSB11g_Use_XSLT_Build_MessageFlow_8.png" title="Add Assign Inside Pipleline pair" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_8"
o:spid="_x0000_i1029" type="#_x0000_t75" style='width:451.5pt;height:313.5pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image017.png"
o:title="OSB11g_Use_XSLT_Build_MessageFlow_8"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Now add one more assign activity, click on expression
link of that activity. In Xquery/XSLT expression editor, click on "XSLT
Resources" and click on browse to browse the XSLT file.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEher5R_M47XLCltyz2Gv6qs8HEJKvlviDwwBBL7UaLPUKyworxwBkMy8fFCf6HT6pGxUl8lwduf_i0LEB8eInHAc8h17x59Xe55XagNky06sTKlkxWtXIybL3wKdLyFgpicwYYu_N1Ctzty/s1600/OSB11g_Use_XSLT_Build_MessageFlow_Add_XSLT_9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Add Assign for XSLT" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEher5R_M47XLCltyz2Gv6qs8HEJKvlviDwwBBL7UaLPUKyworxwBkMy8fFCf6HT6pGxUl8lwduf_i0LEB8eInHAc8h17x59Xe55XagNky06sTKlkxWtXIybL3wKdLyFgpicwYYu_N1Ctzty/s1600/OSB11g_Use_XSLT_Build_MessageFlow_Add_XSLT_9.png" title="Add Assign for XSLT" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_9"
o:spid="_x0000_i1028" type="#_x0000_t75" style='width:451.5pt;height:313.5pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image019.png"
o:title="OSB11g_Use_XSLT_Build_MessageFlow_Add_XSLT_9"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In Bind Input, we need to map the request message
variable as XSLT will transform that request message to target message format.
So in Input document, mention variable name that we assigned in above assign
action ($inVar).<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmjZJOWtAqfV8bprqACrucREbkX9vyIbDU96KYV3McJmDuGy1L8Or7JjWK72vfUbjzGjhlEwZVCtIgd6nYbOuGOJeeRBJ_8EGnmXdk-mZnVOKBgJPpwalN70VXPjMmCP8pK_yt2Qq4CIel/s1600/OSB11g_Use_XSLT_Build_MessageFlow_Add_XSLT_10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Assign Request Message to XSLT" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmjZJOWtAqfV8bprqACrucREbkX9vyIbDU96KYV3McJmDuGy1L8Or7JjWK72vfUbjzGjhlEwZVCtIgd6nYbOuGOJeeRBJ_8EGnmXdk-mZnVOKBgJPpwalN70VXPjMmCP8pK_yt2Qq4CIel/s1600/OSB11g_Use_XSLT_Build_MessageFlow_Add_XSLT_10.png" title="Assign Request Message to XSLT" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_10"
o:spid="_x0000_i1027" type="#_x0000_t75" style='width:451.5pt;height:276pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image021.png"
o:title="OSB11g_Use_XSLT_Build_MessageFlow_Add_XSLT_10"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">In second assign, assign the XSLT outcome to another
variable (outVar). Now add replace action to assign outvar content to body
variable. for that add replace action and replace body content with outVar
content.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8zPJ6Ij7tW4zGG5SyuGnRwoCsutH98cDXGgBRI01IPdeSw6-HrdPEFrq_hHvbPt2zL7MpcfSRqda0aeus03NETgNNfD0LIzyfpuojk6OlDZcXnpRzkPPO-gXDwavsHTeFNpog7ut3jAkA/s1600/OSB11g_Use_XSLT_Build_MessageFlow_Add_XSLT_11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Assign outcome of XSLT to Body" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8zPJ6Ij7tW4zGG5SyuGnRwoCsutH98cDXGgBRI01IPdeSw6-HrdPEFrq_hHvbPt2zL7MpcfSRqda0aeus03NETgNNfD0LIzyfpuojk6OlDZcXnpRzkPPO-gXDwavsHTeFNpog7ut3jAkA/s1600/OSB11g_Use_XSLT_Build_MessageFlow_Add_XSLT_11.png" title="Assign outcome of XSLT to Body" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_11"
o:spid="_x0000_i1026" type="#_x0000_t75" style='width:450.75pt;height:372pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image023.png"
o:title="OSB11g_Use_XSLT_Build_MessageFlow_Add_XSLT_11"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Now after pipeline pair add route node to route the
message to business service. Inside route node, add routing action and browse
business service to route the message to it. Below is screen shot which shows
how's your message flow look like.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-bNnIkkPUjn3kXGPosCJMIAJklZ6k2peQacGcezw9Q-e6wPpJd-DzBnqTpxve8fGs6ZpY0mpM1Hj7RlV1o2OTwRmLnatey_NpwEngGcx13NKbOjPVJpf85b4awkCO-wHEcxFxtXfncpYt/s1600/OSB11g_Use_XSLT_Build_MessageFlow_Add_XSLT_12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Final Message Flow" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-bNnIkkPUjn3kXGPosCJMIAJklZ6k2peQacGcezw9Q-e6wPpJd-DzBnqTpxve8fGs6ZpY0mpM1Hj7RlV1o2OTwRmLnatey_NpwEngGcx13NKbOjPVJpf85b4awkCO-wHEcxFxtXfncpYt/s1600/OSB11g_Use_XSLT_Build_MessageFlow_Add_XSLT_12.png" title="Final Message Flow" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape id="Picture_x0020_2"
o:spid="_x0000_i1025" type="#_x0000_t75" style='width:426.75pt;height:377.25pt;
visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Vivek\AppData\Local\Temp\msohtmlclip1\01\clip_image025.png"
o:title="OSB11g_Use_XSLT_Build_MessageFlow_Add_XSLT_12"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<span style="font-family: "Arial","sans-serif"; font-size: 11.5pt; line-height: 115%;">Now test this sample and you see that XSLT file transform
the source XML message to target XML message and route it to target.<o:p></o:p></span></div>
</div>
Vivek Garghttp://www.blogger.com/profile/11365664605422383327noreply@blogger.com1