Skip to content

Spring Framework SOAP Web Services, large file upload as SOAP client #1670

@raghavagithub

Description

@raghavagithub

It looks like it supports the file upload up to 1 GB only as a client App. Our team was trying to upload large files to consume a SOAP Web services Application using Spring Framework Web services implementation. To consume this SOAP Web services, the client needs to upload a file using MTOM/SOAP. The Spring Framework (as SOAP WS client) woks good only up to upload file size of 1GB. If the upload file size is over one GB, it does not work all. It looks like there is some forever infinite loop in the Spring Framework implementation. We did not see any exception thrown by the Framework. The JVM was increasing its heap memory. We even increased the heap to over 12GB, but nothing happens. The request waits for infinite time. We also used Wireshark to see the network packets activity. Wireshark did not show any packets going through. It is expected that the framework should throw an exception (so developers/programmers come to know the shortcomings of framework) if there is a bug or not capable of uploading large files, but does not do the expected. Please test as above with trying to consume a Web Services as SOAP WS client uploading a file of over one GB.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions