Thursday, June 5, 2008

How to utilize Logical Name Option in ESB

I used to get queries on how you can add logical names to different values used in a ESB application. I like editing files more than using UI . So I am adding this blog on how to manually enter property-value sets in ESB


In BPEL you can edit bpel.xml to add end point properties and its easy to do it from JDEVIn BPEL you can edit bpel.xml to add end point properties and its easy to do it from JDEV. In the case of ESB you need to open the ESBsvc file outside the JDEv and add the following tags . Hope it helps you.


The tag to be added

<endpointProperties>

<property name="Dir" value="c:\temp"/>

<property/>

</endpointProperties>

Sample ESBsvc file

<service name="TestService" …>

<serviceDefinition>

<wsdlURL> </wsdlURL>

<portType>tns:initiate_ppt</portType>

<endpointDefinition>

</endpointDefinition>

</serviceDefinition>

<operations>

<operationInfo>

<routingRules>

<routingRule ">

<targetOperation />

</routingRule>

</routingRules>

</operationInfo>

</operations>

<endpointProperties>

<property name="Dir" value="c:\temp"/>

</endpointProperties>

</service>

No comments: