SoapCall
SoapCall is an OCL operator on selfVM available in any ViewModel.
SoapCall(targeturl,action,actionnamespace, user, pwd, nestingWithParams,passwordDigest,SOAPAction)
- Calls the Soap actionnamespace:action on targeturl with params found in nesting. User and password are needed if the Soap service requires them.
- PasswordDigest - specifies whether the password is sent as clear text or whether nonce, createtime, and hash are used.
- SOAPAction - specifies the SOAPAction header attribute value.
When your SOAP request requires the use of multiple namespaces, you will need to provide those by using a special notation.
Add ViewModelColumns that denote a namespace by prefixing them with ns - for example, nsTheNameSpace = 'http://something'. You can then make SoapCall use this namespace on an element by prefixing it with nsTheNameSpace_; for example, nsTheNameSpace_SomeElement='self.someattribute'
Example
Note that the namespace defined in the call will define the nsAction namespace.
