Integration Server 10.5 | Built-In Services Reference Guide | SOAP Folder | Summary of Elements in this Folder | pub.soap.handler:setProperty
 
pub.soap.handler:setProperty
WmPublic. Sets the value of a specific property in a message context.
Input Parameters
messageContext
Object Message context in which to set a property.
A message context contains properties for the SOAP message and provides access to the SOAP message. Integration Server creates the message context and passes it to the header handler. All handlers invoked by a given instance of a SOAP request or SOAP response use the same message context, which enables you to use the message context to pass information among handlers. For example, in a chain of request header handlers, the first request header handler could set a message property that the second request header handler retrieves.
key
String Name of the property to set.
value
Object Value to assign to the specified property.
Output Parameters
None.
Usage Notes
The SOAP message contains properties reserved for use by Integration Server. Do not use pub.soap.handler:setProperty to set any of these properties or use pub.soap.handler:removeProperty to remove any of these properties as it may result in unpredictable behavior. The reserved properties are:
ContentType
@MESSAGE_USER_FROM_USER_NAME_TOKEN
originalContext
@MESSAGE_USER_FROM_X509_TOKEN
servicePipeline
@TRANSPORT_URL
style
@TRANSPORT_USER
use
See Also
pub.soap.handler:getProperty
pub.soap.handler:removeProperty