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
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.
精彩评论