Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-115

Client is not able to read long response

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0 RC1
    • Component/s: Core
    • Labels:
      None

      Description

      From the forum: http://forum.springframework.org/showthread.php?t=37937

      I'm using WebLogic for running Spring-WS.
      When responce of the service is quite long (in my case around 100 kb) WL is not using "Content-Length" http header.

      In this case on client side getResponseContentLength method will return -1.
      As a result AbstractHttpSendingWebServiceConnection.hasRespons e()==false.
      Finally returned value of service call is null.

      The same service call is working fine if the result is smaller (~5 kb).

      Seems to be client should not ignore the content of http responce just because of missing "Content-Length" value in the header.

        Attachments

          Activity

            People

            • Assignee:
              arjen.poutsma Arjen Poutsma
              Reporter:
              arjen.poutsma Arjen Poutsma
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: