Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-101642

The Configuring Endpoints And Extenders Programmatically does not work

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 7.2.0 GA1
    • Fix Version/s: None
    • Component/s: Portal Configuration
    • Labels:
      None
    • OS:
      Mac OS X 10.9
    • JDK:
      Oracle Sun JDK 8
    • Application Servers:
      Apache Tomcat 9.0.x

      Description

      Following the documentation Liferay 7.2 - Configuring Endpoints And Extenders Programmatically I tried to configure a SOAP endpoint but I can't get it to work. If I do the configuration from the control panel it works.

       

      I also noticed in documentation that the pid

      com.liferay.portal.remote.soap.extender.configuration.SoapExtenderConfiguration

      on 7.2 no longer exists, has been moved to

      com.liferay.portal.remote.soap.extender.internal.configuration.SoapExtenderConfiguration
      

       

      I also tried to rename the properties file with the new PID name but the same result: the endpoint configuration is not applied.

       

      I preferred to use the config extension for configuration files. Management of this extension is planned, see ConfiguratorExtender

       

      Furthermore, the format of the jaxWsHandlerFilterStrings property is not indicated in the case in which I have multiple values. I used the format used by the export function of the control panel configuration.

       

      contextPaths=/custom-user
      jaxWsHandlerFilterStrings=[ \
       "(mac.address.validator.jax.ws.handler.filters\=true)", \
       "(audit.log.jax.ws.handler.filters\=true)", \
       ]
      jaxWsServiceFilterStrings=(custom.user.jax.ws.service=true)

       

      You will find the source code on my GitHub repository liferay-72-soap-client-examples

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                support-lep@liferay.com SE Support
                Reporter:
                amusarra Antonio Musarra
                Participants of an Issue:
                Recent user:
                Antonio Musarra
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  8 weeks, 5 days ago

                  Packages

                  Version Package