Comments on: Publishing PL/SQL "Services" as WebService using Oracle BPEL Friends of Oracle and Java Fri, 29 May 2015 11:00:21 +0000 hourly 1 By: Oracle » Blog Archives » PL/SQL Sun, 20 Aug 2006 18:09:42 +0000 /?p=504#comment-2042 […] Publishing a PL/SQL Business as WebService. The function … We may conclude that we have successfully deployed our PL/SQL function APP_SALES. … Similar Pages […]

By: Monique Jelmorini Fri, 07 Jul 2006 12:04:00 +0000 /?p=504#comment-2041 Hi Lucas,
I’m anxious to hear if you performed the next steps you describe, to establish the overhead of using the BPEL engine. What is your conclusion?

By: Harry Sat, 06 May 2006 00:00:18 +0000 /?p=504#comment-2040 Hi ,
I am new to Oracle BPEL and am trying to achieve the following using BPEL process manager:
1. Invoke a PL/SQL procedure which takes and input order number and return an XML with :
a. SOAP Header.
b. Request:
b1. Event Id.( One up sequence)
b2. Version Number.
b3. Request string:
b31: Order Number
b32: Order Status
b33: Order Status Description
2. The XML generated above needs to be sent an external system through a web service . The WSDL and the XSD definition for the external web service has been included and setup as a partner link.

I have successfullt executed the step 1 , but am unable to proceed with the invokation of the external webservice. Please be informed that I have been able to call the web services by invoking a Java procedure from the PL/SQL package. When I try invoking the same through BPEL The same ends with a message :


Failed get wsdl service definition. Failed to get a WSDL service that support the portType “{}EventSinkService_PortType” in WSDL definition “{}”. Please verify that WSDL portType “{}EventSinkService_PortType” is supported by a service in WSDL file.

By: Ivor D Tue, 21 Mar 2006 14:09:19 +0000 /?p=504#comment-2039 I am new to Oracle BPEL and I wanted to follow your example but to me there are gaps and it is assumed that one knows all the steps to take in the BPEL product. For example to do not say what sequence to create the variables for the PartnerLink. I only seem to be able to get Process Variables but your screen shots have Scope Variables. You then say about setting up Assign Invoke Assign activities but the screen shots go straight to the Invoke even though you are talking about the Assign process. It would be easier to follow if you told us (childlike) all the steps that are necessary as I am trying to understand it but am loosing it as certain bits of knowledge seem to be assumed.

By: Flemming Als Fri, 21 Oct 2005 09:06:24 +0000 /?p=504#comment-2038 I succeeded in using the describtion – so it is good. It has more details than the on line documentation in BPEL about “Stored Procedure and Function Support”. The describtion about the variables were a bit confusing.

By: Sandor Nieuwenhuijs Sun, 17 Apr 2005 20:08:30 +0000 /?p=504#comment-2037 You mention that currently you need to manually edit the .wsdl file of the process to modify it’s input (or output) structures. This is not true. There is a much better way:
1) Define your input (or output) structure as an XML Schema (xsd)
2) using the structure pane, modify the payload type of the input (or output) to the XML schema, either by adding this schema to your project before, or just adding it when you change the type.
The OrderBooking Tutorial (which in fact is an excellent new tutorial that leads you through creating a process, adding file and DB adapters and add Human Workflow), does exactly that, changing the input document to a PurchaseOrder, based on an XSD.

By: Olaf Heimburger Wed, 13 Apr 2005 07:03:57 +0000 /?p=504#comment-2036 Lucas, I agree that WebServices and BPEL are a good combination for publishing and combining services provided by different technologies. From my point, your approach suggested that you *need* BPEL to publish PL/SQL as WebService. This is misleading.

By: Lucas Tue, 12 Apr 2005 03:49:54 +0000 /?p=504#comment-2035 Olaf, thanks for your comment. I now realize I have not been explicit enough in this article: of course this is not the recommended way of publishing a PL/SQL program unit as a WebService! You are quite right in pointing out that if that is the only job at hand, the JDeveloper wizard that publishes a PL/SQL based WebServices (as I describe in some detail in the post Publishing PL/SQL Based WebServices) is far better suited for that task.

In this article I merely wanted to show how you can include a PL/SQL based service in a BPEL process. The publicstion of the APP_SALES.GET_QUOTE function as webservice certainly would never justify the use of BPEL. However, and that is the point that should have come across, if you are constructing more complex WebServices that build on several, probably technology overspanning, services or APIs and that themselves contain complex flow-logic and exception handlers, than Oracle BPEL PM is good candidate for designing and publishing such services. And this article shows just how easy it is to make a PL/SQL service part of such a WebService.

By: Olaf Heimburger Mon, 11 Apr 2005 15:28:43 +0000 /?p=504#comment-2034 Lucas, why so much fuss and why not using JDeveloper’s build-in support for PL/SQL WebServices? If I don’t need BPEL, why all this overkill? Just for technology’s sake? No, Sir.