Bug 780994 (SOA-3471) - Please make WISE client properties available for variable substitutions
Summary: Please make WISE client properties available for variable substitutions
Keywords:
Status: VERIFIED
Alias: SOA-3471
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: 3rd Party
Version: 5.1.0 GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER1
: 5.3.0 GA
Assignee: Nobody
QA Contact: Gui Jospin
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-10 13:40 UTC by Rick Wagner
Modified: 2020-04-27 01:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
There was some inconsistency when using the WISE SOAPClient. The client used a properties file to specify configuration values in the same way as a working directory. Because of this, properties could not be substituted like in other XML configuration files. The user can now provide values in the file which will substitute the properties correctly.
Clone Of:
Environment:
All current SOA-P
Last Closed:
Type: Feature Request
Embargoed:


Attachments (Terms of Use)
customer_fix.zip (16.98 KB, application/zip)
2011-10-10 14:12 UTC, Rick Wagner
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBESB-3765 0 Major Closed Please make WISE client properties available for variable substitutions 2014-09-09 00:46:13 UTC
Red Hat Issue Tracker SOA-3471 0 Major Closed Please make WISE client properties available for variable substitutions 2014-09-09 00:46:13 UTC

Description Rick Wagner 2011-10-10 13:40:20 UTC
Help Desk Ticket Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A0000008SDZa&sfdc.override=1
project_key: SOA

The Wise SOAPClient currently uses a properties file to specify configuration values like a working directory.  These are not subject to property substitution like everything we have in our XML configuration files.  Please move the properties into XML configuration (perhaps in the Action configuration in jboss-esb.xml) so our customers will have a consistent substitution mechanism.

Comment 1 Rick Wagner 2011-10-10 14:12:27 UTC
Attached is a customer-provided fix, well documented and easy to read.  Please consider this as we build an implementation.

Comment 2 Rick Wagner 2011-10-10 14:12:27 UTC
Attachment: Added: customer_fix.zip


Comment 3 JBoss JIRA Server 2012-03-27 04:47:04 UTC
Tom Cunningham <tcunning> updated the status of jira JBESB-3765 to Resolved

Comment 4 JBoss JIRA Server 2012-03-27 04:47:04 UTC
Tom Cunningham <tcunning> made a comment on jira JBESB-3765

Incorporate fix.     Read in a wise-config property from the configTree that contains wise-property elements.    Subsitute based on values provided.

Comment 5 JBoss JIRA Server 2012-03-27 04:47:13 UTC
Tom Cunningham <tcunning> updated the status of jira JBESB-3765 to Closed

Comment 6 Suz 2012-06-13 01:39:38 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
There was some inconsistency when using the WISE SOAPClient. The client used a properties file to specify configuration values in the same way as a working directory. Because of this, properties could not be substituted like in other XML configuration files. The user can now provide values in the file which will substitute the properties correctly.

Comment 7 Jiri Pechanec 2012-06-18 14:19:28 UTC
JBossESB schema does not support wise-config and wise-property elements

Comment 8 Jiri Pechanec 2012-06-18 14:30:55 UTC
Disregard - misconfiguration

Comment 9 Jiri Pechanec 2012-06-20 06:33:53 UTC
The configuration is not implemented properly.

This snippet

<property name="wise-config">
<wise-property name="wise.tmpDir" value="/home/jpechane/workspace/soa/tests/quickstarts/webservice_consumer_wise_inline_properties/build/tmp"/>
<wise-property name="wise.forceImportObject" value="true"/>
<wise-property name="wise.keepGeneratedSources" value="true"/>
<wise-property name="wise.wsImporter.verbose" value="true"/>
</property>

is translated into
Breakpoint hit: "thread=pool-34-thread-1", org.jboss.soa.esb.actions.soap.wise.SOAPClient.<init>(), line=198 bci=51

pool-34-thread-1[1] print config
config = "<action EndPointName="HelloWorldPort" SOAPAction="sayHello" action="soapui-client-action" class="org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise_inline_properties.SOAPClientAction" get-payload-location="helloworld-request-parameters" serviceName="HelloWorldWS" set-payload-location="helloworld-response" wsdl="http://127.0.0.1:8080/Quickstart_webservice_consumer_wise_inline_properties/HelloWorldWS?wsdl">
<wise-property name="wise.tmpDir" value="/home/jpechane/workspace/soa/tests/quickstarts/webservice_consumer_wise_inline_properties/build/tmp"/>
<wise-property name="wise.forceImportObject" value="true"/>
<wise-property name="wise.keepGeneratedSources" value="true"/>
<wise-property name="wise.wsImporter.verbose" value="true"/>
</action>"

It means that the line ConfigTree[] wiseConfig = config.getChildren("wise-config"); will alway receive no element

Comment 10 Filip Elias 2012-07-12 08:14:44 UTC
Verified in SOA-P 5.3.ER4

Comment 11 PnT Account Manager 2017-12-07 23:54:34 UTC
Employee 'felias' has left the company.


Note You need to log in before you can comment on or make changes to this bug.