[jbosstools-issues] [JBoss JIRA] (JBDS-2446) ESB Editor remove certains properties such as "http-client-property"
William Siqueira (JIRA)
jira-events at lists.jboss.org
Tue Jan 15 14:26:21 EST 2013
William Siqueira created JBDS-2446:
--------------------------------------
Summary: ESB Editor remove certains properties such as "http-client-property"
Key: JBDS-2446
URL: https://issues.jboss.org/browse/JBDS-2446
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: SOA Tooling / Platform
Affects Versions: 5.0.0.GA-SOA
Environment: RHEL 6.1
java version "1.6.0_25"
SOA-P 5.0
Reporter: William Siqueira
Assignee: Douglas Palmer
When editing an ESB file (jboss-esb.xml), we have two ways which are using the native XML editor or the visual way.
When we want to use the following property in the editor:
<?xml version="1.0"?>
<jbossesb parameterReloadSecs="5"
xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd">
<services>
<service name="some-service" category="" description="">
<actions>
<action class="org.jboss.soa.esb.actions.soap.SOAPClient"
name="client-action">
<property name="wsdl" value="{INSERT WSDL HERE}">
<http-client-property name="file"
value="httpclient.properties" />
</property>
</action>
</actions>
</service>
</services>
</jbossesb>
Notice the "http-client-property" in the action property element. The problem is that when using visual editor of this file and adding something new or editing existing thing, the code related to this property is deleted. In the example above, I have the following result, showing what the editor removed:
<?xml version="1.0"?>
<jbossesb parameterReloadSecs="5"
xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd">
<services>
<service category="" description="" name="some-service-edited">
<actions>
<action class="org.jboss.soa.esb.actions.soap.SOAPClient" name="client-action">
<property name="wsdl" value="{INSERT WSDL HERE}"/>
</action>
</actions>
</service>
</services>
</jbossesb>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list