Friday, April 23, 2010

Specifying Physical and Logical Directory paths while using File Adapter.

Inbound / Outbound directory names while configuring read /write operation in File Adapter can be specified in either way:Physical Directory Path / Logical Directory Path

Physical paths are values such as c:\inputDir

Logical properties are specified in the inbound/outbound WSDL file and their logical-physical mapping is resolved using partner link properties. You specify the logical parameters once at design time, and you can later modify the physical directory name as needed.

Provide a logical name. For example, the generated inbound WSDL file looks as follows for the logical input directory name InputFileDir.


LogicalDirectory="InputFileDir"

In the BPEL partner link of the bpel.xml file, you then provide the physical parameter values (in this case, the directory path) of the corresponding logical ActivationSpec or InteractionSpec. This resolves the mapping between the logical directory name and actual physical directory name.


C:/deepak/InputDir/

No comments:

Post a Comment