SoapCall
No edit summary
No edit summary
Line 10: Line 10:


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
[[File:Soapsn.png]] will render [[File:soapnsxml.png]]
Note that the namespace defined in the call will define nsAction namespace

Revision as of 06:53, 7 September 2017

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 pwd are needed if the Soap service require them.

PasswordDigest - if pwd is sent as clear text or if nonce createtime and hash is used

SOAPAction - the SOAPAction header attribute value

When your soap request require 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

File:Soapsn.png will render File:soapnsxml.png

Note that the namespace defined in the call will define nsAction namespace

This page was edited 78 days ago on 02/10/2024. What links here