Hi, 
 
Whenever I send a subscribe with a topic filter, it always get accepted
by the producer, even if the producer does not know about the topic. 
I would expect a fault returned like TopicNotSupportedFault. 
 
Below is the subscription that I am performing: 
 

QName topicName = new QName("http://test.co.uk/fms";, unknownTopicName,
"tns");
TopicFilter tf = new TopicFilter(topicName);
SubscriptionClient sc = producer.subscribe(getConsumerEPR(), tf, null);

On the Producer  I have added topics as below: 
 
NotificationProducer wsn_producer =
(NotificationProducer)getResource().getCapability(WsnConstants.PRODUCER_
URI);
for (int i =0; i < _TOPIC_NAMES.length; ++i)
{
        wsn_producer.addTopic(_TOPIC_NAMES[i]);
}

Is there something else that I must do. 


Thanks

Riaz 

Reply via email to