Thursday, March 19, 2009

Developer Tools in AIA FP - Part 3

AIA Artifacts Generator

1) What is the tool?
Artifacts Generator is a utility script that would help generate much of the common code needed to create the ABC service implementation in BPEL. It would generate the artifacts as a BPEL project that can be easily opened, viewed and enhanced from the Jdeveloper studio. It generates artifacts like WSDL, transformation, project file & deployment descriptor.

2) Where to find?
The tool can be found under
AIA_HOME\Developer Tools\ AIAArtifactsGenerators


3) How to Execute?

  • Open a command window and navigate to the above location
  • Validate that the JDK is set to jdk 1.5 or above. If not, set the path
  • Validate the ant version is 1.6 or above by executing ant -version
  • Modify the build.properties file as below. Give the file for the input.xml where all the description of the bpel process is defined. In this case we have uncommented the below line
    ABCSConfig.inputXML=Requestor_SyncReqResp.xml
    Requestor_SyncReqResp.xml is available under AIA_HOME\Developer Tools\ AIAArtifactsGenerators\ AIAServiceGenerator\input Run the ant by the following script from the folder AIA_HOME\Developer Tools\ AIAArtifactsGenerators\Ant buildBPEL
  • The artifacts would be generated in the output folder as given in the build.properties
    Open the JDeveloper Studio and create a new project and add the above output folder to the project source code.
The new bpel project generated by the above script can be opened, viewed and further enhanced and then deployed to the corresponding server

4) Post Execute Steps
  • Rearrange service invocations, if necessary
  • Complete the business payload transformation
  • Configure the correlation properties for asynchronous application service invocation
  • Create invocations for other operations when a service is called multiple times
  • Alter deployment descriptor properties in the bpel.xml file
  • Alter policies in the fault policy
  • Alter properties in the configuration properties file snippet and add it to your properties
Binoy Gopinathan
Sierra Atlantic

No comments:

Post a Comment