Yes, you will need to make sure the SOAP body is valid, as well as the 
WS-A Action URI in the SOAP headers. The documentation has a section on 
the OASIS standards, and it has pointers to all of the specs. These specs 
will have examples for each message exchange (Destroy, Subscribe, etc.) so 
you can verify your SOAP; trying our clients with tracing is also a good 
way to verify your clients.

Dan



"Ramesh Gurunathan" <[EMAIL PROTECTED]> wrote on 12/08/2006 
11:20:26 AM:

> Dan,
> 
> Thank you. In my case, the application clients will be running on a
> different system. They are all non-Java clients, each will contain a
> simple web server process. The communication between the server and
> client are purely SOAP based. We don't have luxury to use Java API.
> Looks like I have to find out the underline raw SOAP message for the
> subscription 'destroy' operation [actually for all the notification
> operations] so that the non-java clients will be able to
> subscribe/unsubscribe, and receive notifications. I believe TCPMon
> could be in help.
> 
> Ramesh
> 
> On 12/8/06, Daniel Jemiolo <[EMAIL PROTECTED]> wrote:
> > The NotificationProducerClient.subscribe() method returns a
> > SubscriptionClient. This object can be used to communicate with the
> > ws-resource that represents your subscription. You can "unsubscribe" 
by
> > destroying the subscription resource:
> >
> > NotificationProducerClient producer = new 
NotificationProducerClient(...);
> > SubscriptionClient sub = producer.subscribe(...);
> >
> > //
> > // this will invoke WS-RL Destroy
> > //
> > sub.destroy();
> >
> >
> > You can also use setTerminationTime() to schedule the subscription for 
a
> > later time (rather than immediately).
> >
> > Dan
> >
> >
> >
> > "Ramesh Gurunathan" <[EMAIL PROTECTED]> wrote on 12/08/2006
> > 04:49:51 AM:
> >
> > > Hi,
> > >
> > > In the wsn-consumer sample, "WsnTestClient.java" demonstrates how to
> > > subscribe to a Topic.  But I couldn't see anywhere how to 
unsubscribe
> > > from a topic. Can you give me some pointers please? thanks
> > >
> > > Ramesh
> > >
> > > 
---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to