如何按节点肥皂选择端口

时间:2018-08-15 08:59:48

标签: node.js web-services wsdl node-soap

如果wsdl具有两个端口,如何选择名称http?使用了节点包https://www.npmjs.com/package/soap

 <wsdl:service name="ws">
    <wsdl:port name="http" binding="calcB">
      <soap:address location="http://localhost:8000/wscalc1"/>
    </wsdl:port>
    <wsdl:port name="https" binding="calcB">
      <soap:address location="https://localhost:8000/wscalc1"/>
    </wsdl:port>
  </wsdl:service>

0 个答案:

没有答案