Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-845

http provider processor - simple response content type check missing which can lead to errors.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2010.02
    • 2011.01
    • servicemix-http
    • None

    Description

      If an request is sended via the provider the http server can respond with non xml documents like http errors are. What happens is that the response is set as fault. The next component parsing the exchange fault content get's an error because the xml is not valid. There should be at least a small check if the content type contains the word "xml". If not an exception should be thrown which results to an error in the logfile and an exchange status error.

      Attachments

        Activity

          People

            tterm Thomas Termin
            tterm Thomas Termin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: