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

JSON WS Service Client should not throw communication exception on HTTP ERROR 40x, 50x

    Details

      Description

      JSON WS client captures HTTP 400 and throws CommunicationException which is intended to be thrown due network/authentication issues

      We should take LCS Client approach where all 40x, 50x HTTP responses are processed - http body is returned as response:
      com.liferay.petra.json.web.service.client.BaseJSONWebServiceClientHandler
      is capable to detect error from body and convert it to more suitable Invocation exception.

        Attachments

          Activity

            People

            • Assignee:
              brian.chan Brian Chan
              Reporter:
              igor.beslic Igor Beslic
              Participants of an Issue:
              Recent user:
              Nicole Mak
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 22 weeks, 5 days ago