What is the size limit of a SOAP message's input parameter

拥有回忆 提交于 2019-12-23 15:18:18

问题


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.



来源:https://stackoverflow.com/questions/3121251/what-is-the-size-limit-of-a-soap-messages-input-parameter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!