[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xmlblaster] question about xmlrpc subscribe



Hi -
I am trying to clean up some work I have been doing
on a xmlBlaster-based php app/page (based upon the
php demo released in july).

I have a couple of questions (one at a time though...)

FIRST QUESTION

When I 'subscribe', the response packet comes back with
a null value. (which i have been happy to term 'success':-)
i was expecting to get back a subscriptionID.  in fact,
i would really like to have a subscription id (would sure
help when i try to un-subscribe later)

i am subscribing by key oid.  everything else about 
the subscription works  (i.e. session owner starts to 
receive specific 'update's etc).  i have also noticed that 
*some* raw update packets contain a subscription id ...

i know that it is now possible to force a subscriptionID,
but is there something special i should be doing to
ensure that i can get one (generated by xmlBlaster, 
without forcing it?)


thank you in advance

j

p.s. code snippet: (will look familiar;)

$rpcmsg = new xmlrpcmsg( "xmlBlaster.subscribe", array( new xmlrpcval($this->sessionId(), "string" ) ,new xmlrpcval($key, "string" ) , new xmlrpcval($qos, "string")) );


sample data values:

$sessionId = string(54) "sessionId:63.88.201.121-null-1037331300897-270386521-6"
$key = string(44) "<key oid='stuff' contentMime='text/plain' />"
$qos = string(35) "<qos><sender>guestkh</sender></qos>"