OCLOperators SoapCall
Created by Hans.karlsen on 2019-10-18 · Last edited by Vale.buyondo on 2026-02-27.
The SoapCall operator in MDriven allows you to execute SOAP (Simple Object Access Protocol) web service requests directly from your model using OCL (Object Constraint Language) or EAL (Executable Action Language).
It dynamically constructs a SOAP envelope, handles namespaces, and manages response data based on the structure of a specified ViewModel.
Syntax
selfVM.SoapCall(url, action, actionNamespace, user, password, nestingWithParams)
Parameters
| Parameter | Type | Description |
| url | String | The endpoint URL of the web service (e.g., http://www.webserviceX.NET/stockquote.asmx).
|
| action | String | The SOAP action to be performed (e.g., GetQuote). This is used in the SOAPAction header and the request body.
|
| actionNamespace | String | The primary namespace for the action (e.g., http://www.webserviceX.NET/).
|
| user | String | Username for basic authentication (if required). |
| password | String | Password for basic authentication (if required). |
| nestingWithParams | String | The name of a ViewModelClass within the current ViewModel that defines the request parameters. |
Please see this page on SOAP
