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

Standalone Axis2 server cannot handle multipart http requests

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.5.1, nightly
    • Fix Version/s: None
    • Component/s: kernel, transports
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: