Wsf4php extension supports reliable messaging protocol version 1.0 now. For the beta release, both 1.0 and 1.1 will be supported. One way reliablilty is available and two way messging reliability is supported through single channel (messages sent from the receiving rm endpoint will also be coming through the same channel).
A user can use following options to configure clients and services to use reliable messaging protocol.
WSClient Options for RM
Option | Data Type | Value Domain | Default Value | Description |
reliable | Boolean String, double | TRUE | 1.1 | Default RM version is 1.0 | Defines whether to enable reliable messaging or not. If specified TRUE, then RM will be enabled with rm version as 1.0.* For rm to be enabled, user must set the addressing action, so that addressing can be enabled with rm. |
sequenceExpiryTime | int | d+ | 60 seconds | The current sequence will expire in "sequenceExpiryTime" milliseconds from current time. |
sequenceKey | string | string | The sequence key property | |
"willContinueSequence" | boolean | TRUE | FALSE | FALSE | Default value is FALSE meaning that , sequence will be ended if user does not specify "willContinueSequence" => TRUE. |
Option | Data Type | Value Domain | Default Value | Description |
lastMessage | Boolean | TRUE | FALSE | FALSE |
If the user want to do multiple requests using the same sequence this option can
be used.
The client will check it's "willContinueSequence" option. If it is FALSE ( default value ) , it will send the message and terminate the sequence. If client's "willContinueSequence" property is TRUE, it will check the "lastMessage" property of WSMessage. If this is TRUE ( default is FALSE ) it will add the last message and terminate the sequence. |
Option | Data Type | Value Domain | Default Value | Description |
reliable | boolean | FALSE | TRUE | FALSE | When this option is specified, reliable messaging will be enabled for the corresponding service. |