SoapCall
No edit summary |
(Automatically adding template at the end of the page.) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
SoapCall is an OCL operator on selfVM available in any ViewModel. | SoapCall is an OCL operator on selfVM available in any ViewModel. | ||
SoapCall(targeturl,action,actionnamespace, user, pwd, nestingWithParams,passwordDigest,SOAPAction) | SoapCall(targeturl,action,actionnamespace, user, pwd, nestingWithParams,passwordDigest,SOAPAction) | ||
* Calls Soap actionnamespace:action on targeturl - with params found in nesting. User and | * Calls Soap actionnamespace:action on targeturl - with params found in nesting. User and password are needed if the Soap service requires them. | ||
* PasswordDigest - if | * PasswordDigest - if the password is sent as a clear text or if nonce createtime and hash are used. | ||
* SOAPAction - the SOAPAction header attribute value | * SOAPAction - the SOAPAction header attribute value | ||
When your SOAP request requires the use of multiple namespaces, you will need to provide those by a special notation. | When your SOAP request requires the use of multiple namespaces, you will need to provide those by a special notation. | ||
Line 8: | Line 8: | ||
Add ViewModelColumns that denote a namespace by prefixing with ns - for example, nsTheNameSpace = 'http://something<nowiki/>'. You can then make SoapCall use this namespace on an element by prefixing with nsTheNameSpace_ for example, nsTheNameSpace_SomeElement='self.someattribute' | Add ViewModelColumns that denote a namespace by prefixing with ns - for example, nsTheNameSpace = 'http://something<nowiki/>'. You can then make SoapCall use this namespace on an element by prefixing with nsTheNameSpace_ for example, nsTheNameSpace_SomeElement='self.someattribute' | ||
Example | ==== Example ==== | ||
Note that the namespace defined in the call will define the nsAction namespace. | |||
Note that the namespace defined in the call will define nsAction namespace. | |||
[[Category:OCLOperators]] | [[Category:OCLOperators]] | ||
{{Edited|July|12|2024}} |
Latest revision as of 15:46, 10 February 2024
SoapCall is an OCL operator on selfVM available in any ViewModel.
SoapCall(targeturl,action,actionnamespace, user, pwd, nestingWithParams,passwordDigest,SOAPAction)
- Calls Soap actionnamespace:action on targeturl - with params found in nesting. User and password are needed if the Soap service requires them.
- PasswordDigest - if the password is sent as a clear text or if nonce createtime and hash are used.
- SOAPAction - the SOAPAction header attribute value
When your SOAP request requires the use of multiple namespaces, you will need to provide those by a special notation.
Add ViewModelColumns that denote a namespace by prefixing with ns - for example, nsTheNameSpace = 'http://something'. You can then make SoapCall use this namespace on an element by prefixing with nsTheNameSpace_ for example, nsTheNameSpace_SomeElement='self.someattribute'
Example
Note that the namespace defined in the call will define the nsAction namespace.
This page was edited more than 11 months ago on 02/10/2024. What links here