[wsf-c-dev] [wsf-php] RM API
Samisa Abeysinghe
samisa at wso2.com
Mon Feb 5 19:13:43 PST 2007
BTW, when documenting this API, much more details need to be added to
each option IMHO. The level of documentation in this details assumes a
great deal of knowledge on RM form users.
Samisa...
nandika wrote:
> hi all,
>
> For adding reliable messaging support to we need to add following.
>
> *Client Side*
>
> Additions to WSClient Options array.
>
> 1) Enabling RM and specifying RM version
>
> "reliable" => TRUE | 1.0 | 1.1
>
> 1.0 for RM version 1.0
> 1.1 for RM version 1.1
> Default RM version will be 1.1 , If user specified TRUE , rm version
> will be 1.1.
>
> In addition , user should have specified required addressing options
> for RM to be enabled.
>
> 2) Whether to offer a response sequence.
>
> "offer" => TRUE | FALSE
>
> Default value is FALSE.
>
>
> 3) Identifier for sequence
>
> "Identifier" => "unique identifier key"
>
> If this is not specified, a key will be generated internally.
>
> 4)
> Need a way to specify when to send the "TerminateSequence" message.
> This we can't do with options array as this option should be set after
> multiple calls to
> $client->request() function.
>
> We came up with three possible options.
>
> i) add a functions setLastMessage(TRUE|FALSE) to WSClient
> default will be FALSE
>
> ii) add a function setOption() to WSClient.
> setOption(array of options)
>
> iii) add an optional argument array to WSClient's 'request' and
> 'send' functions so that request
> and send functions will be as.
> request( mixed payload [, array of options])
>
> send( mixed payload [, array of options])
>
> -this allows us to specify this 'request | send ' specific
> options.
>
> All of these allows us to specify to the WSClient object to send the
> "TerminateSequence" after the application message.
> If we go for one of last two, we can use
> "lastMessage"=> TRUE | FALSE for the options array
> specify that current application message is the last message
>
> What is the better solution or is there a better way of doing this ?
>
>
> *Server Side
> *
> Additions to WSService object constructor's options array
>
> To engage RM for server side
> "reliable"=> TRUE
>
> addressing should also be engaged.
>
>
> Thanks,
> Nandika
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Wsf-c-dev mailing list
> Wsf-c-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev
>
--
Samisa Abeysinghe : http://www.wso2.org/ (WSO2 Oxygen Tank - Web Services Developers' Portal)
More information about the Wsf-c-dev
mailing list