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

multipart/form-data problem at the RESTFul Service

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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)

        Attachments

        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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: