[jbossws-issues] [JBoss JIRA] (JBWS-3628) Add property expansion capability to .wsdl files

Alessio Soldano (JIRA) issues at jboss.org
Fri Jul 11 12:22:25 EDT 2014


     [ https://issues.jboss.org/browse/JBWS-3628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessio Soldano updated JBWS-3628:
----------------------------------

    Attachment: JBWS-3628.diff


Attaching JBWS-3628.diff patch file for adding a XMLStreamReaderWrapper into the CXF WSDLManagerImpl. The wrapper makes CXF use a custom StreamReaderDelegate to read wsdl docs before passing them to wsdl4j.
The delegate expands system properties in attribute and element values.
CXF 3.0.1 is required (CXF-5866).

We need a testcase for verification; if there's need to set a system property on server side for testing purpose, the RemoteDeployer should be extended to allow doing that. See https://docs.jboss.org/author/display/AS71/CLI+Recipes#CLIRecipes-Adding%2CreadingandremovingsystempropertyusingCLI for recipies on setting system props in the model.

> 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, JBWS-3628.diff
>
>
> 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)


More information about the jbossws-issues mailing list