Wednesday, April 09, 2014

B2B calling BPEL Outbound

Let's create a host and a trading partner in B2B Console



For the trading partner define a channel which will write data to a JMS queue in your weblogic server as shown below



This is already created in the soa server



Now create an internal listening channel which will poll data from a local folder in your server.

Finally create an agreement and deploy it to server(All these steps are already covered in previous post hence not capturing again)

Now create a SOA process which will subscribe to the same queue which you have mentioned in the Channel of Trading partner.



Deploy your soa process.

Now copy the file in your internal listening channel directory and you will find a flow like this.


B2B Internal listening channel---> Trading Partner Channel (Queue)-->Soa Picked the message from queue and process it further.

this is normal approach that happens in most of the interfaces you can customize your soa code to process the data as per your requirement.