ws-pubscribe-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kuzhandai, Anandan \(Cognizant\)" <>
Subject RE: pubscribe clarificatrion
Date Wed, 17 Aug 2005 13:34:43 GMT

Hi ,
   I have tried with consumer and filesystem example.

I have implemented the notify method in my XXXconsumerservice(generated)  program.

a. I have subscribed the consumer (using SOAP subscribe request)
b. I have updated the property in filesystem comment filed(using SOAP setproperty request)
When I update the property, the program control is not coming to 'notify' method of consumer.
Please let me know what could be the issue.

Sample subscribe soap message:

<Envelope xmlns=""

      <wsa:To mustUnderstand="1">http://localhost:8080/pubscribe/services/pubtestservice</wsa:To>
      <wsa:Action mustUnderstand="1"></wsa:Action>

         <wsnt:ConsumerReference xmlns:ncex="">
         <wsnt:TopicExpression Dialect=" npex:Comment <>">npex:Comment</wsnt:TopicExpression>



-----Original Message-----
From: Campana Jr., Salvatore J []
Sent: Tuesday, August 16, 2005 9:15 PM
To: Kuzhandai, Anandan (Cognizant);
Subject: RE: pubscribe clarificatrion

Anand what you are looking for is a client API which we currently do not have...

That being said I can give you some pointers for your questions:

>>1. How the consumers("who subcribed the topic") will get notified automatically. How
to implement this. Please provide me samples.

Consumers subscribe for notifications.  Part of their subscription is a URL which is the location
they expect to recieve the notifications at.  You do not need to do anything, Pubscribe does
this for you in the case of prop change events.
If you want to see it happen, then send a subscribe request and use localhost:9111 , then
use a tcp listener on port 9111 to listen for incoming will then need to invoker
a SetResourceProp request and modify the resource property to trigger an event.  The included
Consumer and Filesystem example can be used to help you along.

This e-mail and any files transmitted with it are for the sole use of the intended recipient(s)
and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy
all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of
this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.

  Visit us at
View raw message