[
https://issues.jboss.org/browse/JBWS-3628?page=com.atlassian.jira.plugin....
]
R Searls commented on JBWS-3628:
--------------------------------
The current proposed enhancement from cxf 2.7.11 will not work for CXF 3.0.0.
This version of CXF is blocking access to the value of any wsdl "extension"
stmt such as JndiConnectionFactoryNameType, JndiInitialContextFactoryType,
and JndiURLType. It is doing this by generating on the fly proprietary classes
using org.apache.cxf.common.util.ASMHelper, These classes
JndiConnectionFactoryNameTypeExtensibility,
JndiInitialContextFactoryTypeExtensibility, and JndiURLTypeExtensibility, provide
access to all "extension" information except the value.
WSDLManagerImpl loads from the bus an extension class ConfiguredBeanLocator.
JAXBExtensionHelper is eventually called. This class has method, createExtensionClass
which uses org.apache.cxf.common.util.ASMHelper to generate an alternate
"extension"
class on the fly. There is a serializer and deserializer associated with each
class preforms the read and write the xml element.
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
Attachments: JBWS-3628-JBossWS-WSDLFactory-tentative-patch.txt,
JBWS-3628-tentative-patch-from-Rebecca.txt
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.6#6264)