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

multipart/form-data problem at the RESTFul Service

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.3
    • None
    • None
    • None
    • 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. sample-files.zip
          2 kB
          takanori
        2. patch-files-20071220.zip
          4 kB
          takanori
        3. patch-files.zip
          8 kB
          takanori
        4. diff-files.zip
          8 kB
          takanori

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: