What is the size limit of a SOAP message's inp

2019-06-24 02:14发布

问题:

Is there a size limit on a SOAP message's input parameters?

I currently need to get a potentially large-ish string with the request, so I'm trying to decide if I will have to use SOAP attachments or not.

I am using Java Web Services.

Thanks, Alex

回答1:

There is no theoretical limit: I don't think there is anything in the specifications about maximum lengths, so this will be heavily dependent on your server. Have a look at the documentation for the server.

Obviously it depends upon what you're transmitting, but it may be easier to use attachments just to keep the thing simple. A word document encoded as a parameter may not be the most logical way to represent things.