curl witsml GetVersion

By | October 18, 2021
curl -X POST http://192.168.1.1/WMLS \
  -H 'Accept-Encoding: gzip,deflate' \
  -H 'Content-Type: text/xml' \
  -H 'SOAPAction: "http://www.witsml.org/action/120/Store.WMLS_GetVersion"' \
  -H 'Content-Length: 401' \
  -H 'Connection: Keep-Alive' \
  -H 'Authorization: Basic inibase64basinya=' \
  -d '
  <soapenv:Envelope 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:ns="http://www.witsml.org/message/120">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:WMLS_GetVersion soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
   </soapenv:Body>
</soapenv:Envelope>'