问题描述
SOAP消息的输入参数是否有大小限制?
Is there a size limit on a SOAP message's input parameters?
我目前需要获取一个带有请求的潜在大字符串,所以我正在尝试判断我是否必须使用SOAP附件。
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.
我正在使用Java Web服务。
I am using Java Web Services.
谢谢,
Alex
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.
显然这取决于你传输的内容,但是为了简单起见,使用附件可能更容易。编码为参数的word文档可能不是表示事物的最合理方式。
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.
这篇关于SOAP消息的输入参数的大小限制是多少的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!