Posts

Showing posts with the label SOAP

Oracle SOA Suite 12c- IgnoreMissingFromData

Image
This post is focused on the magical attribute of oracle BPEL process manager i.e. IgnoreMissingFromData . Let me explain the business scenario- I have created a SOA service using a BPEL process and I am using an invoke activity inside BPEL process. However, I have a scenario where I have to map input schema (xsd) elements to external web service payload variable using assign activity but the problem is that sometimes my input schema elements are empty i.e. if input schema element contains 5 variables then sometimes 3 or 2 or 1 element is empty.  This is causing runtime error in BPEL " Selection Failure ". To solve this error, either I do transformation using XSL or if-else/switch in my BPEL process. Basically I would like to pass only available elements in input payload. So there is a magical attribute  IgnoreMissingFromData   that comes with assign activity. Once the variables assignment has been done, below s...

Oracle SOA Suite 12c Invoking External WebService Error- Invalid Reference

Image
Recently I had been working on some integration project where I need to invoke an external web service. Some strange thing happened with respect to SOA adapter configuration. Below are the steps-,  Add a SOAP adapter [BPEL1.1]  and configure the web service WSDL url. Add a BPEL component (in my case expose as a service) Do wiring of a BPEL process with SOAP adapter. Open the BPEL component and add invoke activity. Drag invoke activity to SOAP web service and DO configure it by selecting the operation and creating input/output variables. Do variables assignment. Build the project. Ohhh snap... Build failed with below error messages- ERROR XML Cause- The external Web Service WSDL (Which I am trying to invoke from BPEL) contains both import and element entries as part of different schema entries then the composite.xml is throwing 'Invalid reference' and 'message part undefined' errors as shown in the above thread. In a...