我正在尝试集成一个PunchOut系统与一个PHP网站。
我能够从PunchOut读取CXML响应,但我无法将CXML数据发送回系统。
我的代码如下:
jQuery.ajax({
url: '/psc/fssnd/EMPLOYEE/ERP/c/PV_MAIN_MENU.PV_DC_CATCHER.GBL?Page=PV_DC_CATCHER^&MSGNODENAME=MY_NODE',
data: { cxml: cxml_data },
crossDomain: true,
type: 'POST',
contentType: "application/xml; charset=utf-8",
dataType: "xml",
cache: false,
error: function() {
alert("No data found.");
},
success: function(xml) {
alert("it works");
}
});发布于 2018-02-01 05:09:19
我的问题现在解决了,问题是:
https://stackoverflow.com/questions/48523587
复制相似问题