【发布时间】:2015-12-17 19:15:25
【问题描述】:
我从 siebel 团队获得了一个 WSDL 文件。我需要从 Jquery $.soap 调用中调用此服务并解析值。
WSDL 文件内容如下所示
<?xml version="1.0" encoding="UTF-8" ?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsdLocal1="http://www.siebel.com/xml/GetAccountInfoReqData" targetNamespace="http://siebel.com/CustomUI" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsdLocal2="http://www.siebel.com/xml/GetAccountInfoReplyData" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://siebel.com/CustomUI">
<types>
<xsd:schema elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xsdLocal1="http://www.siebel.com/xml/GetAccountInfoReqData" targetNamespace="http://www.siebel.com/xml/GetAccountInfoReqData" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:annotation>
<xsd:documentation>Copyright (C) 2001-2004 Siebel Systems, Inc. All rights reserved. Siebel XSD Generation</xsd:documentation>
我使用 Jquery soap api 尝试了这种方式。提交肥皂服务后,无论我提交什么,我都会得到相同的 wsdl 文件内容。
$.soap({
url: 'http://localhost/soap/soapservices.wsdl?',
method: '',
success: function(soapResponse) {},
error: function(SOAPResponse) {}
});
这是正确的方法还是请给我一些建议,想法开始我的工作。
【问题讨论】:
-
你的服务器端语言是什么?
标签: javascript jquery soap wsdl