Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/cmake/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Xml 如何使用SOAP::Lite在Perl中的SOAP请求中创建参数?_Xml_Perl_Soap - Fatal编程技术网

Xml 如何使用SOAP::Lite在Perl中的SOAP请求中创建参数?

Xml 如何使用SOAP::Lite在Perl中的SOAP请求中创建参数?,xml,perl,soap,Xml,Perl,Soap,如何使用SOAP::Lite在perl中发出以下请求 <?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::Lite在perl中发出以下请求

<?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>
    <InsertVerbalRecording xmlns="xyz.abc.ws">
      <inVar>
        <VerbalPrefix>string</VerbalPrefix>
        <VerbalID>int</VerbalID>
        <ClientNo>int</ClientNo>
      </inVar>
    </InsertVerbalRecording>
  </soap:Body>
</soap:Envelope>

一串
int
int

非常感谢您的指点。

我想,它应该是这样工作的

my@params=SOAP::Data->name(“因瓦”=>\SOAP::Data->value((SOAP::Data->name(动词前缀=>'V'),
SOAP::Data->name(口头ID=>$口头ID),

添加参数后,调用实际方法


我的$res=$proxy->call('insertoralRecording'=>@params);

你能再显示一点代码吗?剩下的东西,即
insertoralRecording
来自哪里?