[
https://issues.jboss.org/browse/JBWS-3524?page=com.atlassian.jira.plugin....
]
Alessio Soldano reopened JBWS-3524:
-----------------------------------
Sorry, erroneously closed, the ASIL for 7.x containers is still to be fixed.
Resolve system property references in jboss-webservices.xml
-----------------------------------------------------------
Key: JBWS-3524
URL:
https://issues.jboss.org/browse/JBWS-3524
Project: JBoss Web Services
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: jbossws-cxf, jbossws-integration
Reporter: Kyle Lape
Assignee: Jim Ma
Fix For: jbossws-cxf-4.2
It would be useful for jboss-webservices.xml to have the ability to resolve system
property references.
Here's a particular use case: You have an EJB name defined in jboss-ejb3.xml like
so:
{noformat}
<jboss:ejb-jar
xmlns:jboss="http://www.jboss.com/xml/ns/javaee"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:c="urn:clustering:1.0"
xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee
http://www.jboss.org/j2ee/schema/jboss-ejb3-2_0.xsd http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd" version="3.1"
impl-version="2.0">
<enterprise-beans>
<session>
<ejb-name>Hello-${app.env}</ejb-name>
<ejb-class>com.jboss.examples.ejb3.HelloBean</ejb-class>
<session-type>Stateless</session-type>
</session>
</enterprise-beans>
</jboss:ejb-jar>
{noformat}
And now you want to reference it in jboss-webservices.xml:
{noformat}
<webservices
xmlns="http://www.jboss.com/xml/ns/javaee">
<port-component>
<ejb-name>Hello-${app.env}</ejb-name>
<port-component-uri>test</port-component-uri>
</port-component>
</webservices>
{noformat}
This currently does not work.
--
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