1

nodejs を使用して特定のエンドポイントで SOAP リクエストを送信しようとしています。

私のリクエストは次のようになります。

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://company.com/nse/types">
   <soapenv:Header/>
   <soapenv:Body>
      <typ:Login>
         <!--You have a CHOICE of the next 2 items at this level-->
         <typ:Credential userName="x" password="y"/>
      </typ:Login>
   </soapenv:Body>
</soapenv:Envelope>

https エンドポイント(例: https://hostname.com/box/ ) とWSDLファイルもあります。

誰かがこれを行うための最良の方法を教えてもらえますか? milewise/node-soapを調べていたのですが、必要なエンドポイントに入る場所が見つからないようです。

4

1 に答える 1