nuSOAP 绑定操作 input/output 名称缺失
nuSOAP binding operation input/output name missing
我正在使用 PHP 和 nuSoap。我需要将名称参数添加到绑定 input/output 参数。有什么线索吗?
我有这个代码:
<binding name="serviceBinding" type="tns:servicePortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="ImportOrders">
<soap:operation soapAction="urn:service#ImportOrders" style="document"/>
<input>
<soap:body use="literal" namespace="urn:service"/>
</input>
<output>
<soap:body use="literal" namespace="urn:service"/>
</output>
</operation>
</binding>
我需要让它看起来像这样(注意 name="ImportOrders*" 在两个 input/output 标签中)
<binding name="serviceBinding" type="tns:servicePortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="ImportOrders">
<soap:operation soapAction="urn:service#ImportOrders" style="document"/>
<input name="ImportOrdersRequestType">
<soap:body use="literal" namespace="urn:service"/>
</input>
<output name="ImportOrdersResponseType">
<soap:body use="literal" namespace="urn:service"/>
</output>
</operation>
</binding>
这样做的唯一方法是硬编码 NuSoap 插件,nusoap.php 文件。
我正在使用 PHP 和 nuSoap。我需要将名称参数添加到绑定 input/output 参数。有什么线索吗?
我有这个代码:
<binding name="serviceBinding" type="tns:servicePortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="ImportOrders">
<soap:operation soapAction="urn:service#ImportOrders" style="document"/>
<input>
<soap:body use="literal" namespace="urn:service"/>
</input>
<output>
<soap:body use="literal" namespace="urn:service"/>
</output>
</operation>
</binding>
我需要让它看起来像这样(注意 name="ImportOrders*" 在两个 input/output 标签中)
<binding name="serviceBinding" type="tns:servicePortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="ImportOrders">
<soap:operation soapAction="urn:service#ImportOrders" style="document"/>
<input name="ImportOrdersRequestType">
<soap:body use="literal" namespace="urn:service"/>
</input>
<output name="ImportOrdersResponseType">
<soap:body use="literal" namespace="urn:service"/>
</output>
</operation>
</binding>
这样做的唯一方法是硬编码 NuSoap 插件,nusoap.php 文件。