Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-452

Attachment problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.95
    • 1.0.0
    • None
    • None
    • Linux

    Description

      1)send attachment
      for example, the client will attach three files to the web service.
      a) The first file exists and is not empty
      b) The second file doesn't exist or it is empty.
      c) The third file exists and is not empty

      when the server receives the SOAP message, it will try to detach
      these files. But the server only can detach the first file and can
      not detach the third file. When I used the TCP MONITOR to trace the
      SOAP message, the first MIME contains the content of the first file;
      the second MIME is empty; the third MIME contains the content of the
      third file. I also check what is the content in corresponding binary
      node, I found the binary node in both second and third attachment
      node are NULL.

      2)send back attachment
      If the server would like to send back the attachment to the client in case of SEND-AND-RECEIVE message pattern, it seems that the server can not attach these files. When I used the TCP monitor to trace the SOAP message, no any MIME in the SOAP reply even if I enable the MTOM options in the server program. When I read some doucments, it seems tha tthe OPTIONS only can associate with CLIENT. How can I associate the OPTIONS with the server as well?

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--image001.gif
          2 kB
          Styphinson Toms - TLS , Chennai
        2. axis2.c
          8 kB
          yong yang
        3. axis2.h
          0.9 kB
          yong yang
        4. client.c
          7 kB
          yong yang
        5. test.c
          12 kB
          yong yang

        Activity

          People

            xydinesh Dinesh Weerapurage
            donaldyy yong yang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: