[xgws-user] Problem with WS-Messenger

Alex Piqueras apm6_at_alu.um.es
Wed, 14 Mar 2007 10:45:14 +0100


Hi,

I'm sorry but I have another problem. I'm not able to obtain the "topic" 
name in "handleNotification" method.

For example, I tried:

public void handleNotification(String message) {

    ...
      
    XmlElement messageAsXml = 
WsmgUtil.convertStringMessageToXmlElement(message);
    String topic = WsmgUtil.getTopicLocalString(messageAsXml);

    System.out.println("TOPIC: "+topic);
       
}

What's the problem? I think "getTopicLocalString" is not working in this 
case.
Is there another way to get the topic name?

Thanks and Excuse me for disturbing you again.

-- 
-------------------------------------------------------
Alejandro Piqueras Meseguer (apiqueras_at_dif.um.es)
Dept. Ingeniería de la Información y las Comunicaciones
Facultad de Informática
Universidad de Murcia