我已将 wsdl 导入 Delphi,但它不适用于服务器。我被告知我需要将结构更改为
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.service.api.xxxxxxx.com/">
<soapenv:Header/>
<soapenv:Body>
<api:openApiConnection>
<login>XXXXXXXXX</login>
<pwd>XXXXXXXX</pwd>
<key>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</key>
</api:openApiConnection>
</soapenv:Body>
</soapenv:Envelope>
而不是德尔福的
<?xml version="1.0"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<openApiConnection xmlns="http://api.service.api.xxxxx.com/">
<login xmlns="">XXXXXXXXXXXXXXXXX</login>
<pwd xmlns="">XXXXXXXXXXXX</pwd>
<key xmlns="">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</key>
</openApiConnection>
</soapenv:Body>
</soapenv:Envelope>
有任何想法吗?还是我必须自己动手?
谢谢