Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4756

Standalone Axis2 server cannot handle multipart http requests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.5.1, nightly
    • None
    • kernel, transports
    • None

    Description

      When running a standalone Axis2 server and a multipart Http request is received, the org.apache.axis2.builder.MultipartFormDataBuilder will throw an exception: "Cannot create DocumentElement without HttpServletRequest".

      Reason for this is that the Axis2 Http server wraps the incoming http request into an AxisHttpRequest and there is no HttpServletRequest available.

      Attachments

        1. patch.txt
          18 kB
          Detelin Yordanov
        2. MultiPartHttpTest.zip
          16 kB
          Detelin Yordanov
        3. FileUploadService.aar
          4 kB
          Detelin Yordanov

        Issue Links

          Activity

            People

              Unassigned Unassigned
              detyo Detelin Yordanov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: