[
https://issues.jboss.org/browse/JBWS-3628?page=com.atlassian.jira.plugin....
]
Alessio Soldano commented on JBWS-3628:
---------------------------------------
Rebecca,
sure, the client has power to change this specific value, as well as using a completely
different wsdl contract. The JMS case here is probably also not a perfect fit for the new
feature request, as for pure JMS endpoints the wsdl contract is actually not published at
all (that's also why in the testcase you mentioned the client is retrieving the wsdl
from as a resource in the client jar).
This said, it could still be useful to support a server side property expansion mechanism;
the user could deploy a contract first endpoint with something like @foo@ in its wsdl,
then the jbossws deployer would expand that by reading the value of the "foo"
system property when publishing the endpoint wsdl. Do you see what I mean?
Add property expansion capability to .wsdl files
------------------------------------------------
Key: JBWS-3628
URL:
https://issues.jboss.org/browse/JBWS-3628
Project: JBoss Web Services
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: jbossws-cxf
Reporter: david.boeren
Assignee: Alessio Soldano
Priority: Minor
Fix For: jbossws-cxf-5.0
The customer is doing JMS-based webservices using the following declarations in their
wsdl file (referred to using the wsdllocation annotation):
<soapjms:jndiConnectionFactoryName>myqueue</soapjms:jndiConnectionFactoryName>
<soapjms:jndiInitialContextFactory>com.vendor.InitialContextFactory</soapjms:jndiInitialContextFactory>
<soapjms:jndiURL>$MY_URL</soapjms:jndiURL>
The $MY_URL is the url of the messaging server. Since property replacement does not work
for wsdl files they need to manually modify this before deploying and package separate
versions of their app for each environment. If property expansion worked in the .wsdl
this would no longer be necessary.
--
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