[
https://issues.jboss.org/browse/JBWS-3628?page=com.atlassian.jira.plugin....
]
R Searls commented on JBWS-3628:
--------------------------------
The <soapjms:jndiURL> element is unmarshaled by JAXB and saved as a
org.apache.cxf.transport.jms.wsdl.JndiURLType object in the extensibilityElement
list of the corresponding ServiceImpl. This information is not available until
the call to super.doPublish(addr) in
org.jboss.wsf.stack.cxf.deployment.EndpointImpl#doPublish
returns. The JndiURLType object can be checked and altered any time after the return
of super.doPublish(addr) and before publishContractToFilesystem is called in
org.jboss.wsf.stack.cxf.deployment.EndpointImpl#doPublish.
Automated testing of the feature may be an issue. The system env in which the
server is running will require the appropriate system property (e.g.,
-DMyTestCase="mylocalhost")
for substitution be set. I am not aware of any way to set such a property on the
server from the test framework.
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: R Searls
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 was sent by Atlassian JIRA
(v6.2.3#6260)