[wsf-c-dev] [wsf-php] RM API

James Clark james at wso2.com
Tue Feb 6 00:22:07 PST 2007


> 3) Identifier for sequence
> 
> "Identifier" => "unique identifier key"
> 
> If this is not specified, a key will be generated internally.

What does this do from the user's perspective?  Is it to allow them to
make subsequent messages be part of the same sequence?

> 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.

But doesn't our API already allow us to specify options on a per-message
basis by passing a WSMessage to send/request)?

We should make the simplest thing easy.  The simplest thing is to send a
sequence with one member.  So if you don't specify any options (other
than reliable), the sequence should be terminated after the first
message.  In other words, the default for lastMessage should be true.
Given this, it might be better to invert the sense of lastMessage, and
have an option whose meaning is "keep the sequence open", defaulting to
false, maybe "willContinueSequence" or "toBeContinued" or something like
that.

James





More information about the Wsf-c-dev mailing list