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

As a Developer, I want remote web services to automatically pre-populate ServiceContext

Details

    • Story
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Web Services

    Description

      Right now, developers must provide fully initialized ServiceContext or an empty one is created.

      Moreover, this behavior is not consistent across web services implementation. JSONWS supports pre-populating of provided ServiceContext, but creates empty instance when not specified. SOAP (Axis) either deserializes sent ServiceContext or create empty one.

      Some portal services expects ServiceContext to be populated at least with portal context ("/c") and portal URL.

      ServiceContext object should be always created with ServiceContextFactory and provided values (if any) merged with defaults.

      Attachments

        Activity

          People

            support-lep@liferay.com SE Support
            tomas.polesovsky Tomáš Polešovský
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Packages

                Version Package