Uploaded image for project: 'PHP_NETCURL'
  1. PHP_NETCURL
  2. NETCURL-73

On SOAP errors based on the "Unauthorized"-bug, break after first exception by default

    XMLWordPrintable

    Details

    • Sprint:
      netcurl-6.0.20

      Description

      According to LIB-165 and how it was built, the exception generated, is set to fill up with the next exception followed by the self catched one. This will render a longer exception message than sometimes necessary (see below). As of 6.0.20, these types of exception should be shortened down to the first message only, and if needed the use of a flag to extend it should be added instead.

       

      MODULE_CURL exception from soapClient: [401] HTTP-Request-Exception: 401 Unauthorized
      SoapClient::SoapClient(https://test.resurs.com/ecommerce-test/ws/V4/SimplifiedShopFlowService?wsdl): failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized

      SOAP-ERROR: Parsing WSDL: Couldn't load from '<url>' : failed to load external entity "<url>"

       

       

      !before.png|thumbnail!

      !after.png|thumbnail!

        Attachments

        1. after.png
          after.png
          20 kB
        2. before.png
          before.png
          41 kB

          Issue Links

            Activity

              People

              Assignee:
              Tornevall Tomas Tornevall
              Reporter:
              Tornevall Tomas Tornevall
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration