MentDB  Mentalese Database Engine
Strong AI, Weak AI, Interoperability and Software Development
    Home  >  MQL Functions
External SOAP API

You can call remote web services from MentDB.
And trigger your SOAP web services in mental process executions.
HTTP or HTTPS.

soap http <url> <jsonHeader> <action> <contentType> <data>

Description

    To execute a SOAP request through HTTP protocol

Parameters

    url:   The url - string - required
    jsonHeader:   The JSON header - string - required
    action:   The action name - string - required
    contentType:   The content type (text/xml; charset=utf-8) - string - required
    data:   The data (an XML file...) - string - required
admin
soap http "http://www.dneonline.com/calculator.asmx" "{}" "" "text/xml; charset=utf-8" "<soap:Envelope xmlns:soap=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:tem=\"http://tempuri.org/\"> <soap:Header/> <soap:Body> <tem:Add> <tem:intA>3</tem:intA> <tem:intB>4</tem:intB> </tem:Add> </soap:Body> </soap:Envelope>"
mentdb
"<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope xmlns:soap=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"><soap:Body><AddResponse xmlns=\"http://tempuri.org/\"><AddResult>7</AddResult></AddResponse></soap:Body></soap:Envelope>"

soap https <url> <jsonHeader> <action> <contentType> <data>

Description

    To execute a SOAP request through HTTPS protocol

Parameters

    url:   The url - string - required
    jsonHeader:   The JSON header - string - required
    action:   The action name - string - required
    contentType:   The content type (text/xml; charset=utf-8) - string - required
    data:   The data (an XML file...) - string - required
admin
soap https "https://www.dneonline.com/calculator.asmx" "{}" "" "text/xml; charset=utf-8" "<soap:Envelope xmlns:soap=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:tem=\"http://tempuri.org/\"> <soap:Header/> <soap:Body> <tem:Add> <tem:intA>3</tem:intA> <tem:intB>4</tem:intB> </tem:Add> </soap:Body> </soap:Envelope>"
mentdb
"<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope xmlns:soap=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"><soap:Body><AddResponse xmlns=\"http://tempuri.org/\"><AddResult>7</AddResult></AddResponse></soap:Body></soap:Envelope>"
    Home  >  MQL Functions
MentDB © 2012 - 2019