jQuery SOAP Client

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-14 11:14:00

软件介绍

This is a jQuery implementation of SOAP Client and it is based on another jQuery plug-in called xmlObjectifier.

This library provides an easy way to communicate with SOAP web services from the client-side javascript (all domain restrictions are still there). SOAPClient supports complex/nested request objects as well as attributes and values within request object nodes. You can also set Header objects as well.

Practical example of how to use SOAPClient can be found on my site by following Demo link. I also have included a simple ASP.NET Proxy example that will resolve Cross-Browser Restrictions (if you're running IIS w/ ASP.NET)

Example
var soapBody = new SOAPObject("testObject"); //Create a new request object
soapBody.attr("type","test"); //Setting attributes of that object
soapBody.val("Hello World"); //Setting value of that object

//You can also use chained method that looks like this:
// var soapBody = new SOAPObject("testObject").attr("type","test").val("Hello World");

//Create a new SOAP Request
var sr = new SOAPRequest("MyAction", soapBody); //Request is ready to be sent

//Lets send it
SOAPClient.Proxy = "http://my-ws.com/webservice/"; //Specify web-service address or a proxy file
SOAPClient.SendRequest(sr, processResponse); //Send request to server and assign a callback

function processResponse(respObj) {
//respObj is a JSON equivalent of SOAP Response XML (all namespaces are dropped)
//... do something with response
}

本文地址:https://codercto.com/soft/d/23353.html

移动Web手册

移动Web手册

Peter-Paul Koch(彼得-保罗 科赫) / 奇舞团 / 电子工业出版社 / 2015-4 / 65.00元

《移动Web手册(双色)》主要讲解了移动Web开发和传统PC网站开发的不同之处。作者首先对移动互联网相关的运营商、设备、操作系统和软件进行了简单的介绍,让读者理解移动开发的复杂之处。接下来对移动设备上的各种浏览器进行了详细介绍,以及这些浏览器的市场占有率、特性支持等。《移动Web手册(双色)》为那些想进入移动Web开发领域的人提供了一些指导性的建议并对移动Web开发的未来进行了展望。 《移动......一起来看看 《移动Web手册》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具