Using Oracle BPEL Process Manager with Oracle Service Bus part 2
- 14
- September
- 2010
- By admin
- ESB, OSB, SOA, Web Services
- 7 Comments.
Calling OSB service from BPEL process
In my previous post, I already talked about calling BPEL services from OSB. In this blog entry I will show you how to call an synchronous OSB proxy service from BPEL. If you have problems to get this working, please see my previous blog entry how to solve this. I got this working with OSB 10.3 and Soa Suite 10.1.3.4 MLR5.
First we need to have an OSB proxy service with an WSDL.
As transport protocol we will use the SB protocol
Export the WSDL of the OSB Proxy service and put the wsdl and xsd’s in your BPEL project.
When we take a look at the WSDL we can see that the OSB proxy service address is sb://xxx:70001/w..
In the BPEL project we can add a partnerlink, where we will use the OSB proxy wsdl.
Next step is to add an invoke process activity where we can select the OSB Partnerlink and we have to create an input and output variable here.
You only have to add some assign process activities to fill or retrieve the input and output variable.
Related
7 Responses so far.
Recent Posts
- 12.1.0.2 RAC Installation – Step by Step installation on VMware
- OSB FTP Poller continuously throwing exception – while no file pending on FTP Location
- Using JMS Transport with OSB
- Installing Spring Tool Suite and configuring Spring for a development PC
- Rest Enabling SOA using OSB in Oracle 12c
Recent Comments
- Nits on Installing Oracle SOA Suite 12c
- Rajesh Krishna on Installing Oracle SOA Suite 12c
- Nits on Installing Oracle SOA Suite 12c
- Rohinii on Installing Oracle SOA Suite 12c
- Mahitha on Oracle Service Bus (OSB) Development Best Practices.
Archives
- December 2015
- May 2015
- November 2014
- September 2014
- August 2014
- July 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- July 2013
- June 2013
- May 2013
- March 2013
- February 2013
- November 2012
- October 2012
- September 2012
- May 2012
- March 2012
- February 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- June 2011
- May 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- July 2010
- June 2010
- March 2010
- February 2010
- December 2009
- September 2009
- August 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- November 2008
- October 2008
- August 2008
- June 2008
- May 2008
Categories
- AIA
- AXIS2
- Best Practices
- BPEL
- BPM
- Budget
- Build
- Design Patterns
- ESB
- Hermes
- Hibernate
- Home Owners
- Java
- JMS
- JSR 168
- Maven
- Mediator
- Messaging
- Nitin
- OER
- OESB
- Oracle
- OSB
- OWSM
- Portlets
- SDLC
- Sequencing
- Singleton
- SOA
- SOAP
- Spring
- Struts
- UK
- Uncategorized
- Web Services
- WLST
Meta
To find out more, including how to control cookies, see here: Cookie Policy
Recent Posts
- 12.1.0.2 RAC Installation – Step by Step installation on VMware
- OSB FTP Poller continuously throwing exception – while no file pending on FTP Location
- Using JMS Transport with OSB
- Installing Spring Tool Suite and configuring Spring for a development PC
- Rest Enabling SOA using OSB in Oracle 12c
Recent Comments
- Nits on Installing Oracle SOA Suite 12c
- Rajesh Krishna on Installing Oracle SOA Suite 12c
- Nits on Installing Oracle SOA Suite 12c
- Rohinii on Installing Oracle SOA Suite 12c
- Mahitha on Oracle Service Bus (OSB) Development Best Practices.
Archives
- December 2015
- May 2015
- November 2014
- September 2014
- August 2014
- July 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- July 2013
- June 2013
- May 2013
- March 2013
- February 2013
- November 2012
- October 2012
- September 2012
- May 2012
- March 2012
- February 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- June 2011
- May 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- July 2010
- June 2010
- March 2010
- February 2010
- December 2009
- September 2009
- August 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- November 2008
- October 2008
- August 2008
- June 2008
- May 2008
Categories
- AIA
- AXIS2
- Best Practices
- BPEL
- BPM
- Budget
- Build
- Design Patterns
- ESB
- Hermes
- Hibernate
- Home Owners
- Java
- JMS
- JSR 168
- Maven
- Mediator
- Messaging
- Nitin
- OER
- OESB
- Oracle
- OSB
- OWSM
- Portlets
- SDLC
- Sequencing
- Singleton
- SOA
- SOAP
- Spring
- Struts
- UK
- Uncategorized
- Web Services
- WLST
I would to base my proxy on a wsdl to expose it but i haven’t got a simple wsdl …
So Do I write it manually ?
Thanks for your attention
You can use any IDE for this. Workshop is a good tool and you can knock one down fairly quickly
Linard, I understand that but can you confirm one thing, when you created your proxy service … in the general settings did you base it on a wsdl ?? XML or Any service etc what is it based on??? If it is based on a wsdl then you use that wsdl…..
by specifying the end point something like http://hostname:portname/yourproxy?wsdl
If its not a wsdl based proxy then there is a limitation in BPEL and also in OBPM that it can not consume proxy services which dont have a wsdl……. in the meantime can you confirm if you have a wsdl associated with the proxy service.
If its a non wsdl based proxy i would recommend to use a basic wsdl based adapter proxy which routes to the original proxy.
but the adapter proxy can be called from the BPEL.
Thanks Nits.
But i don’t have a wsdl, because with my dynamic routing i don’t know which business service will be called by my proxy. My proxy is a router, configured by a personel xml file which give to the proxy the business service to call.
Do i write manually a wsdl ?
Hello,
Thanks for your tutos. And sorry for my english, i’m french.
In my project, i want to call a proxy service from a process BPEL. I understand that i need a wsdl to expose my proxy. My proxy, in the message flow, make a dynamic routing, so i don’t know which webService we ‘re going to invoke, so i don’t know which wsdl to use for my proxy.
Have you an issue or an idea ?
thanks
Hi linard,
There is no problem in your situation you just have to use the wsdl on which your proxy is based. The dynamic routing is internal to your proxy and the bpm does not need to be aware of what it routes to at run time internally.
Hope I ve answered your issue
[…] Calling OSB service from BPEL process […]