delphi7通过Import WSDL导入功能生成的接口单元文件,在调用其中的函数时发生以下错误
通过工具截取到的SOAP消息
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<GetClient xmlns="http://webservice.clini.org/">
<arg0>
<company>0001</company>
<PersonType>1</PersonType>
<Memo></Memo>
</arg0>
</GetClient>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
按要求应该是以下的格式
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<m:GetClient xmlns:m="http://webservice.clini.org/">
<arg0>
<company>0001</company>
<PersonType>1</PersonType>
<Memo></Memo>
</arg0>
</m:GetClient>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
红色部分就是区别,delphi要如何才能按这样的要求生成SOAP消息呢?