jQuery.POST截断“数据”值?
|
我正在尝试使用jQuery ajax库。
一切正常,除了数据被截断。
变成become0ѭ
(其余的丢失)。任何的想法?
//var soap contain as following
<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:asi=\"http://siebel.com/asi/\"><soapenv:Header/><soapenv:Body><asi:SiebelAccountQueryById> <PrimaryRowId>3-2A2-3235</PrimaryRowId></asi:SiebelAccountQueryById></soapenv:Body></soapenv:Envelope>
jQuery.ajax({
type: \'POST\',
url: url,
data: soap,
success: function() {
console.log(\"success calling web service\");
},
dataType: \'xml\'
});
进一步更新
我在以下这些属性处更改了soap值:
xmlns:soapenv
xmlns:asi
就像111 = \“ 222 \” aaa = \“ bbb \”
它仍会在SECOND属性处被截断。
如果删除其中一个属性,则所有属性都不会被截断,并且将发送整个SOAP XML。
没有找到相关结果
已邀请:
3 个回复
bab
旅牢斯讲
肺鬼耙扮群