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

Sending big binary data fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • None
    • None
    • Ubuntu 7.04

    Description

      I used mtom sample in Axis2c.And i tried to send a file which is a size of 1GB.In client side it give this soap fault.
      I used this command to run mtom sample

      ./mtom http://localhost:8080/axis2/services/mtom resources//VTS_01_1.VOB

      <ns1:mtomSample xmlns:ns1="http://ws.apache.org/axis2/c/samples/mtom"><ns1:fileName>test.jpg</ns1:fileName><ns1:image><xop:Include href="cid:1.7796d028-b90c-1dc1-3797-0019d1a2067f@apache.org" xmlns:xop="http://www.w3.org/2004/08/xop/include"/></ns1:image></ns1:mtomSample>
      Recieved Fault : <soapenv:Fault><faultcode>env:Sender</faultcode><faultstring>NULL parameter was passed when a non NULL parameter was expected</faultstring><detail><EchoServiceError/></detail></soapenv:Fault>

      In server side It gives this output

      Echo client ERROR: attachment is missing.

      I've done the samething giving file which have the size of 700MB.It works fine with simple axis server.

      Attachments

        1. mime_parser.mod.c
          11 kB
          Manjula Peiris
        2. new_mime_parser.c
          13 kB
          Manjula Peiris

        Issue Links

          Activity

            People

              manjula peiris Manjula Peiris
              lahiru Lahiru Gunathilake
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: