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。     

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)