- r - 以节省内存的方式增长 data.frame
- ruby-on-rails - ruby/ruby on rails 内存泄漏检测
- android - 无法解析导入android.support.v7.app
- UNIX 域套接字与共享内存(映射文件)
如何在 Flutter 中使用 SOAP Api 调用?我试过休息电话工作正常。我需要在 flutter 中构建 SOAP 调用。请分享如何在flutter中调用SOAP
最佳答案
引用此链接成功调用 SOAP https://dartpad.dartlang.org/2561dd3579e45d1eb730
void functionCall() async {
var envelope = '''
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetAllCity xmlns="http://tempuri.org/" />
</soap:Body>
</soap:Envelope>
''';
http.Response response = await http.post(
'http://www.i2isoftwares.com/SSKSService/sskss.asmx',
headers: {
"Content-Type": "text/xml; charset=utf-8",
"SOAPAction": "http://tempuri.org/GetAllCity",
"Host": "www.i2isoftwares.com"
//"Accept": "text/xml"
},
body: envelope);
var rawXmlResponse = response.body;
// Use the xml package's 'parse' method to parse the response.
xml.XmlDocument parsedXml = xml.parse(rawXmlResponse);
print("DATAResult=" + response.body);
}
关于dart - flutter 肥皂 : How to using SOAP in Flutter?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52752469/
我想了解哪种方法最适合管理以下情况。 例如,有 25 个应用程序主要使用 Java,并且基于 Web 部署在不同的平台 jboss、websphere 和 tomcat 上。每个应用程序公开 3 -5
我需要在函数中指定一个可为空的参数。这不起作用: 最佳答案 参见 w3.org XML Schema 关于c# - 使用 Null 肥皂 WSDL,我们在Stack Overflow上
如何在 Flutter 中使用 SOAP Api 调用?我试过休息电话工作正常。我需要在 flutter 中构建 SOAP 调用。请分享如何在flutter中调用SOAP 最佳答案 引用此链接成功调用
就像标题一样,我是cxf的新手。只是想知道 soap:address 和发布时在应用程序上下文中的 jaxws:endpoint 中指定的地址有什么区别? 此外,在jaxws:endpoint中,地址
我正在尝试使用 node-soap 连接到 SOAP 服务但收到403 - Forbidden。 我有一个 pfx 文件和密码,我正在尝试: var pfx = fs.readFileSync(pat
我是一名优秀的程序员,十分优秀!