Axis2
  1. Axis2
  2. AXIS2-4756

Standalone Axis2 server cannot handle multipart http requests

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • 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.

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

        Activity

        Detelin Yordanov created issue -
        Detelin Yordanov made changes -
        Field Original Value New Value
        Attachment FileUploadService.aar [ 12448311 ]
        Detelin Yordanov made changes -
        Attachment MultiPartHttpTest.zip [ 12448312 ]
        Detelin Yordanov made changes -
        Attachment patch.txt [ 12448315 ]

          People

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

            Dates

            • Created:
              Updated:

              Development