Creating XML facade from WSDL
It is possible to include the definitions of schema elements into WSDL. To overcome the extraction of XML schema content from the WSDL document, we would rather take the WSDL document and create XML facade for it. This recipe explains how to create XML facade out of the WSDL document.
Getting ready
To complete the recipe, we need the WSDL document with the XML schema definition. Luckily, we already have one automatically generated WSDL document, which we received during the Banking_BPEL project creation.
We will amend the already created project, so it is recommended to complete the Generating XML facade using ANT recipe before continuing with this recipe.
How to do it...
Here are the steps involved in creating XML façade from WSDL:
- Open the ANT configuration file (
build.xml
) in JDeveloper. - We first define the property which identifies the location of the WSDL document:
<property name="wsdl_file" location="../Banking_BPEL/Derivative_Cashflow...