[jbosstools-issues] [JBoss JIRA] (JBIDE-13381) ESB Editor removes "http-client-property" property (JBDS-2446)

Len DiMaggio (JIRA) jira-events at lists.jboss.org
Wed Feb 6 14:54:51 EST 2013


     [ https://issues.jboss.org/browse/JBIDE-13381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Len DiMaggio updated JBIDE-13381:
---------------------------------

    Attachment: JBIDE-13381_error_source.png
                JBIDE-13381_error.png


The January 28 build available here:  http://www.qa.jboss.com/binaries/RHDS/updates/development/5.0.3.GA.soa-tooling/

Results in the <http-client-property name="file" value="httpclient.properties" /> no longer being automatically deleted by the editor.

However, the editor is flagging this as an error with this error message:

ERROR:  Editor model does not support child element http-client-property of action

See screnshots

                
> ESB Editor removes "http-client-property" property (JBDS-2446)
> --------------------------------------------------------------
>
>                 Key: JBIDE-13381
>                 URL: https://issues.jboss.org/browse/JBIDE-13381
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: esb
>    Affects Versions: 3.3.0.Final-SOA
>            Reporter: Brian Fitzpatrick
>            Assignee: Viacheslav Kabanovich
>            Priority: Critical
>             Fix For: 3.3.x, 4.0.x
>
>         Attachments: JBIDE-13381-3.3.x.patch, jbide-13381.patch, JBIDE-13381_error.png, JBIDE-13381_error_source.png
>
>
> 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 property X. We created our service and our SOAPClient using the visual editor, then we have to add the "http-client-property" manually
> <?xml version="1.0"?>
> <jbossesb parameterReloadSecs="5"
>  xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.3.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.3.1.xsd http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.3.1.xsd">
>  <services>
>   <service category="c1" description="d1" name="s1">
>    <actions>
>     <action class="org.jboss.soa.esb.actions.soap.SOAPClient" name="client">
>      <property name="wsdl" value="someWsdl"/>
>      <property name="SOAPAction" value="noAction"/>
>      <property name="endpointUrl" value="http://host/servername">
>      	<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:  (in this case I just changed the service name from service-test to service-test-edited)
> <?xml version="1.0"?>
> <jbossesb parameterReloadSecs="5"
>  xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.3.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.3.1.xsd http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.3.1.xsd">
>  <services>
>   <service category="c1" description="d1" name="s1-edited">
>    <actions>
>     <action class="org.jboss.soa.esb.actions.soap.SOAPClient" name="client">
>      <property name="wsdl" value="someWsdl"/>
>      <property name="SOAPAction" value="noAction"/>
>      <property name="endpointUrl" value="http://host/servername"/>
>     </action>
>    </actions>
>   </service>
>  </services>
> </jbossesb>
> One test we have done is change the XSD used by the JBDS(1.3.1 to the one used in quickstars (1.0.1). The http-client-property worked fine, but other things stopped working. So we need to know what's wrong with the schema and what should make it works fine.

--
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