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

    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

              melody.wu Melody Wu
              amusarra Antonio Musarra
              Kiyoshi Lee Kiyoshi Lee
              Sergio Alonso Sergio Alonso
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1 year, 36 weeks, 1 day ago

                Packages

                  Version Package
                  7.2.10 DXP FP16
                  7.2.X
                  7.3.10.3 DXP SP3
                  7.3.X
                  7.4.13 DXP GA1
                  7.4.3.4 CE GA4
                  Master