Im trying to use the MUSE interface to send a notify to the wsnBroker on
Servicemix JBI but all my messages are from type concrete which is not
supported by Servicemix. ¿how do i change it?
SimpleNotificationMessage masaje = new SimpleNotificationMessage();
masaje.setTopic(_TOPIC_NAME);
masaje.addMessageContent(payload);
[java] [CLIENT TRACE] SOAP envelope contents (outgoing):
[java] <soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
[java] <soap:Header>
[java] <wsa:To
xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8192/Broker/</wsa:To>
[java] <wsa:Action
xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsn/bw-2/NotificationConsumer/NotifyRequest</wsa:Action>
[java] <wsa:MessageID
xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:515cca35-3de2-b675-18cf-285863f3edd7</wsa:MessageID>
[java] <wsa:From
xmlns:wsa="http://www.w3.org/2005/08/addressing">
[java]
<wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
[java] </wsa:From>
[java] </soap:Header>
[java] <soap:Body>
[java] <wsnt:Notify
xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2">
[java] <wsnt:NotificationMessage xmlns:msg="snmp.alfredo"
[java] xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2">
[java] <wsnt:Topic
[java]
Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Concrete"
xmlns:myns="http://ws.apache.org/muse/test/wsrf">myns:SNMP</wsnt:Topic>
[java] <wsnt:ProducerReference>
[java] <wsa:Address
xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
[java] </wsnt:ProducerReference>
[java] <wsnt:Message>
[java] <msg:MyMessage
xmlns:msg="snmp.alfredo">Index = 0: 1.3.6.1.2.1.1.1.0 = Linux canal-desktop
2.6.17-12-generic #2 SMP Sun Sep 23 22:56:28 UTC 2007 i686</msg:MyMessage>
[java] </wsnt:Message>
[java] </wsnt:NotificationMessage>
[java] </wsnt:Notify>
[java] </soap:Body>
[java] </soap:Envelope>
--
View this message in context:
http://www.nabble.com/SimpleTopic-Topic-Type-in-Muse--tf4640700.html#a13254025
Sent from the Muse User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]