Axis2
  1. Axis2
  2. AXIS2-3394

multipart/form-data problem at the RESTFul Service

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Axis2 1.3,Tomcat 5.5,JDK 1.5.0

      Description

      If a enctype="multipart/form-data request is sent by HTTP POST,
      I get the following exception:

      java.lang.ClassCastException: [Ljava.lang.String;
      at org.apache.axis2.builder.BuilderUtil.createSOAPMessageWithoutSchema(BuilderUtil.java:183)
      at org.apache.axis2.builder.BuilderUtil.buildsoapMessage(BuilderUtil.java:130)
      at org.apache.axis2.builder.MultipartFormDataBuilder.processDocument(MultipartFormDataBuilder.java:56)
      at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:160)
      at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:111)

      1. patch-files-20071220.zip
        4 kB
        takanori
      2. diff-files.zip
        8 kB
        takanori
      3. sample-files.zip
        2 kB
        takanori
      4. patch-files.zip
        8 kB
        takanori

        Activity

        takanori created issue -
        takanori made changes -
        Field Original Value New Value
        Attachment patch-files.zip [ 12371305 ]
        takanori made changes -
        Attachment sample-files.zip [ 12371306 ]
        takanori made changes -
        Attachment diff-files.zip [ 12371429 ]
        Keith Godwin Chapman made changes -
        Assignee Keith Godwin Chapman [ keithgchapman ]
        Keith Godwin Chapman made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        takanori made changes -
        Attachment patch-files-20071220.zip [ 12372020 ]
        takanori made changes -
        Attachment patch-files-20071220.zip [ 12372020 ]
        takanori made changes -
        Attachment patch-files-20071220.zip [ 12372023 ]
        takanori made changes -
        Comment [ I create the original DataSource, because MultipartFormDataBuilder class has a problem that the cache file is deleted.
        ]
        takanori made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Keith Godwin Chapman made changes -
        Resolution Fixed [ 1 ]
        Status Reopened [ 4 ] Resolved [ 5 ]

          People

          • Assignee:
            Keith Godwin Chapman
            Reporter:
            takanori
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development