Forum Discussion

sherington's avatar
sherington
Occasional Contributor
15 years ago

[SOLVED]Receive MTOM attachment sometimes hangs

Hi,

I've just started using soapui. I think it's superb by the way.

I have a test web service that simply serves binary files (PDF as it happens but that doesn't matter) as attachments.

My web service implementation uses Spring Web Services and I have MTOM enabled.

I have everything working from within soapui, it returns my binary files as attachments correctly and I can get to them from the soapui response tab.

My problem is that this only works for small files - e.g. 2k is ok, 3mb is not. For the 3mb case it will run for about 10 seconds and then totally hang with soapui at 100% CPU usage. No matter how long I leave it, soapui never comes back.

If I disable MTOM at the Spring Web Services side then an in-lined file comes back instead of an attachment and this works ok.

Anyone have any clues as to where I'm going wrong?

Thanks!

14 Replies