Passing parameters to ora:processXSLT

When processing XML with XSLT you can easily pass values handled as global parameters to an XSLT script. The BPEL XPath extension function processXSLT offers the same kind of functionality, even though this is not obvious at first glance.

The BPEL Process Manager Developer’s Guide describes processXSLT as “a function that returns the result of an XSLT transformation” and defines the signature as

ora:processXSLT(template,input,properties?)

where template is the name of the XSLT file, input referes to the XML strcuture on which the transformation is run and properties are “The properties as defined in the bpel.xml file”.

That’s an information , isn’t it? I’m sure you’ve immediately understood what to do. Well, I was puzzled.

Read the rest of this entry »

Advertisements
Posted in BPEL, SOA. 3 Comments »

Testing your service with the BPEL console

Using default XML input

Have you ever tested a BPEL process through the BPEL console and had to replace the given XML input data with your actual data over and over again? After a while you can really become a copy&paste maniac. It was quite a relief when I found out that you can easily define a default input for your process test.

Read the rest of this entry »

WSDL – A quick walk-through

When working with webservices there is hardly a way to get arround WSDL, the Web Service Description Language. Still a lot of developers tend to think that they don’t need to know the interna, because tools like java2wsdl generate the WSDL file for them. So why bother with the details? Well, as long as you code first this might be true in parts, but the moment you have to hit a different development path, namely contract-first, things change. Now you have to create the WSDL file and respective XML schema first. Therefore it can’t be wrong to know how the WSDL clock ticks.

We will concentate on the WSDL 1.1 revision, even though version 2.0 is a W3C recommendation since March 2006 (but not wide spread one). After a short overview we will walk through the WSDL components by example. Please note, that you need to have a basic understanding of XML and XML schema for our walk.

Read the rest of this entry »

Posted in SOA. Tags: , , . 10 Comments »