Requirement
SOA 10.1.3.4 MLR#10
OSB 10.3.1
jdeveloper 10.1.3.4
First of all i am not sure what is the version of SOA suite that works with OSB 10.3.1
but at my end i am using SOA Suite 10.1.3.4 with MLR#10.
============
To start with open up jdeveloper and create a synchronous BPEL process.
Drag and drop an assign activity and assign some manual value to output variable.
SO my BPEL process would look like this.
My assign activity is something like this.This is just an example you can make use of your own custom code.
NOw just deploy this process to your oc4j container and get the wsdl file for the process.In my case it is
http://localhost:80/orabpel/default/OSBBPELProcess/1.0/OSBBPELProcess?wsdl
Now log into osb console http://host:port/Sbconsole
Create a change center and add a new folder OSBTOBPEL
choose the folder and create a new resource--->Resources from URL
Now in the next page provide the wsdl file of the synchronous process give it some logical name.
Here arahi-lap is nothing but my local host
Say next and it will automatically pull the wsdl and the xsd file from the process as shown below and will create it within the local folder in OSB
now you can see the two files within the folder ,Again create a service account
Give it some logical name and make it static
Now provide the user id and password for BPEL console and save this configuration.
After doing that activate your changes.
Now again create change center and create a business process as shown
give some logical name to your process and choose the wsdl type,browse for the wsdl service and choose the one which you have created for this process.
check out its port and say submit.
Now once you will say sumbit you will get the following screen with a url already attached to it.
Say next in the authentication choose basic and then browse to find the service account that you have created for this business process.
Now keep on saying next and save this project,After that activate it.
now we will just test this business process
it will automatically come up with an input data
just say execute and you will get following output
As you can see the input is string and the output is Hello.
I have actually assigned "Hello" to my output variable not hello Arpit.
That was just for demo.
So this was just a simple example you can use this scenario for developing your own scenarion.If you face any issue keep me posted
No comments:
Post a Comment