Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3628

Add system property expansion capability to .wsdl files

XMLWordPrintable

      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.

              rhn-support-asoldano Alessio Soldano
              rhn-support-dboeren David Boeren
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: