The producer is loaded fine. The problem seems to be that the consumer does not exist. Make sure the consumer app is started properly and that it is reachable by the URI you specified in the EPR passed to Subscribe().
I see you are passing this consumer URI: http://47.128.22.193:8080/wsn-consumer/services/consumer So you should have deployed a wsn-consumer.war that contains a resource named "consumer". The server which this app is loaded on should be 47.128.22.193 with port 8080 open. Make sure your muse.xml in this app has this resource listed, and that you have the proper router-entry for it. -----Original Message----- From: Gul Onural [mailto:[EMAIL PROTECTED] Sent: Friday, July 06, 2007 12:05 PM To: [email protected] Subject: DestinationUnreachable Hi, I am going through the producer/consumer example at http://www.ibm.com/developerworks/autonomic/library/ac-musewsn2.html <http://www.ibm.com/developerworks/autonomic/library/ac-musewsn2.html> . I modified wsn-consumer and wsn-producer as instructed in the article and I have created topics declaratively in the WsResources.rmd. And also modified the WsnTestClient to publish messages with the new topics. But when I run the WsnTest client I am receiving error : ID = 'DestinationUnreachable'] There is no resource available at the given EPR: I am fairly new to Muse. Can you help me understand what is wrong ? What is the best way to debug this kind of problems ? Where should I start ? Gul [CLIENT TRACE] SOAP envelope contents (outgoing): <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope <http://www.w3.org/2003/05/soap-envelope> "> <soap:Header> <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://47.128.22.193:80 80/wsn-producer/services/WsRe <http://www.w3.org/2005/08/addressing">http://47.128.22.193:8080/wsn-pro ducer/services/WsRe> source</wsa:To> <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open. org/wsn/bw-2/Notification <http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsn/bw -2/Notification> Producer/SubscribeRequest</wsa:Action> <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:5b4e5e64-c90f-9d6d -2a4e-34441d9dfd54</ws <http://www.w3.org/2005/08/addressing">uuid:5b4e5e64-c90f-9d6d-2a4e-3444 1d9dfd54</ws> a:MessageID> <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing <http://www.w3.org/2005/08/addressing> "> <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Ad dress> </wsa:From> </soap:Header> <soap:Body> <wsnt:Subscribe xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2 <http://docs.oasis-open.org/wsn/b-2> "> <wsnt:ConsumerReference> <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://47.128.22.193:80 80/wsn-consumer/ <http://www.w3.org/2005/08/addressing">http://47.128.22.193:8080/wsn-con sumer/> services/consumer</wsa:Address> </wsnt:ConsumerReference> <wsnt:Filter> <wsnt:TopicExpression Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Concrete <http://docs.oasis-open.org/wsn/t-1/TopicExpression/Concrete> " xmlns:myns="http://my/topic <http://my/topic> /namespace">myns:GulMyFirstTopic</wsnt:TopicExpression> </wsnt:Filter> </wsnt:Subscribe> </soap:Body> </soap:Envelope> [CLIENT TRACE] SOAP envelope contents (incoming): <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope <http://www.w3.org/2003/05/soap-envelope> "> <soap:Header> <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/ 08/addressing/role/anonymous <http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/address ing/role/anonymous> < /wsa:To> <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/ 08/addressing/fault</wsa <http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/address ing/fault</wsa> : Action> <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:95dcca31-d9c6-1b73 -1ebd-4dcf92093f60</ws <http://www.w3.org/2005/08/addressing">uuid:95dcca31-d9c6-1b73-1ebd-4dcf 92093f60</ws> a:MessageID> <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:5b4e5e64-c9 <http://www.w3.org/2005/08/addressing">uuid:5b4e5e64-c9> 0f-9d6d-2a4e-34441d9dfd54</wsa:RelatesTo> <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing <http://www.w3.org/2005/08/addressing> "> <wsa:Address>http://47.128.22.193:8080/wsn-producer/services/WsResource< /wsa:Address> </wsa:From> </soap:Header> <soap:Body> <soap:Fault> <soap:Code> <soap:Value>soap:Sender</soap:Value> <soap:Subcode xmlns:wsa="http://www.w3.org/2005/08/addressing <http://www.w3.org/2005/08/addressing> "> <soap:Value>wsa:DestinationUnreachable</soap:Value> </soap:Subcode> </soap:Code> <soap:Reason> <soap:Text>[ID = 'DestinationUnreachable'] There is no resource available at the given EPR: <wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing"> <http://www.w3.org/2005/08/addressing">> ; <wsa:Address>http://47.128.22.193:8080/wsn-producer/services/WsRes ource</wsa:Address> </wsa:EndpointReference> The existing EPRs hosted by this endpoint are: </soap:Text> </soap:Reason> </soap:Fault> </soap:Body> </soap:Envelope> org.apache.muse.ws.addressing.soap.SoapFault: [ID = 'DestinationUnreachable'] There is no resource available at the g iven EPR: <wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing <http://www.w3.org/2005/08/addressing> "> <wsa:Address>http://47.128.22.193:8080/wsn-producer/services/WsResource< /wsa:Address> </wsa:EndpointReference> The existing EPRs hosted by this endpoint are: at org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClien t.java:298) at org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClien t.java:254) at org.apache.muse.ws.notification.remote.NotificationProducerClient.subscr ibe(NotificationProducerClient.jav a:97) at org.apache.muse.test.wsn.WsnTestClient.main(Unknown Source) D:\apache-tomcat-5.5.15\webapps\wsn-consumer\WEB-INF\classes> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
