Tuesday, August 9, 2011

OSB: description getting lost in Import/Export process

If you create an XQuery in OSB Console, you assign a description to it,
and export it to a sbconfig.jar file, it is packaged this way:



<?xml version="1.0" encoding="UTF-8"?>
<con:xqueryEntry xmlns:con="http://www.bea.com/wli/sb/resources/config">
<con:description>la mia mamma</con:description>
<con:xquery><ciao/></con:xquery>
</con:xqueryEntry>


But if you import this sbconfig.jar into Eclipse, and export it again to another sbconfig.jar, the description is lost.

The same goes for Project-level descriptions - stored in the LocationData file.

Under certain circumstances the description goes into the ExportInfo file....
For instance for a MQConnection you have this entry in the ExportInfo file:
imp:property name="custom DESC" value="MQ connection to read messages from MQ Server"


Incidentally in the sbconfig.jar "description" can be stored as:

con:description where con="http://www.bea.com/wli/sb/resources/config" (in WSDL)

ser:description where ser="http://www.bea.com/wli/sb/services" (in Proxy Services)

proj:description where proj="http://www.bea.com/wli/config/project" (in LocationData)

aler:description where aler="http://www.bea.com/wli/monitoring/alert" (in Alerts)





No comments: