SoapCall
No edit summary
(Updated Edited template to July 12, 2025.)
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<message>Write the content here to display this box</message>
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 pwd are needed if the Soap service require them.  
* 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.


PasswordDigest - if pwd is sent as clear text or if nonce createtime and hash is used
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'


SOAPAction - the SOAPAction header attribute value
==== Example ====
 
Note that the namespace defined in the call will define the nsAction namespace.
When your soap request require the use of multiple namespaces you will need to provide those by a special notation.
[[Category:OCLOperators]]
 
{{Edited|July|12|2025}}
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'

Latest revision as of 06:02, 20 January 2025

This page was created by Hans.karlsen@mdriven.net on 2017-09-06. Last edited by Edgar on 2025-01-20.

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.