More Info : Using tcpmon, I collected the XML that the server receives.(Given below) I tried enabling and disabling filter code. But it is not solving the Data Sink URL incorrect problem.
Axis2/c version - 1.6.0 Savan/C - 1.0 Please help me fix it. Being a newbie I am stuck at this point. Are there any other example code available for Savan/C ? I could't locate anything after a lot of googling. Kindly help. > SENDING DATA.. /* sending time = 18:9:20*/ /* message uuid = 069d4e84-f891-1df1-37d1-00215c16d651*/ --------------------- POST /axis2/services/weather HTTP/1.1 User-Agent: Axis2C/1.6.0 Content-Length: 799 Content-Type: application/soap+xml;charset=UTF-8 Host: localhost:9099 <soapenv:Envelope> <soapenv:Header> <wsa:To>http://localhost:9099/axis2/services/weather</wsa:To> <wsa:Action>http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe </wsa:Action> <wsa:MessageID>urn:uuid:069ca2ea-f891-1df1-266b-00215c16d651</wsa:MessageID> </soapenv:Header> <soapenv:Body> <wse:Subscribe> <wse:Delivery> <wse:NotifyTo> <wsa:Address>http://localhost:9099/axis2/services/listener</wsa:Address> </wse:NotifyTo> </wse:Delivery> <wse:Filter Dialect="http://www.w3.org/TR/1999/REC-xpath-19991116 ">//weather_report</wse:Filter> </wse:Subscribe> </soapenv:Body> </soapenv:Envelope> On Thu, Nov 25, 2010 at 12:32 PM, anees k A <[email protected]> wrote: > Hi, > > I am trying to understand Savan/C implementation. While trying out the > sample subscriber-weather-listener example, I am seeing the below error : > > [error] publisher.c(225) Publishing to the Data Sink: > http://localhost:9090/axis2/services/listener proviced by > subscriber:urn:uuid:d22426a8-f85b-1df1-283b-00215c16d651 Failed. Check > whether the Data Sink url is correct > > This happens when I am trying to issue the command "5 Generate weather > event" from subscriber app. Any idea why this is happening ? I am running > axis2c server and installed Savan/C to axis2c. > > Regards > > Anees > > > Detailed Log <axis2c> > > [Thu Nov 25 12:32:31 2010] [info] Starting addressing in handler > [Thu Nov 25 12:32:31 2010] [info] [savan][in handler] Unhandled message > type > [Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create the > filter module > [Thu Nov 25 12:32:31 2010] [error] publisher.c(225) Publishing to the Data > Sink:http://localhost:9090/axis2/services/listener proviced by > subscriber:urn:uuid:2a1d9ccc-f79e-1df1-2aa4-00215c16d651 Failed. Check > whether the Data Sink url is correct > [Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create the > filter module > [Thu Nov 25 12:32:31 2010] [error] publisher.c(225) Publishing to the Data > Sink:http://localhost:9090/axis2/services/listener proviced by > subscriber:urn:uuid:40f0c8c0-f79e-1df1-2aaf-00215c16d651 Failed. Check > whether the Data Sink url is correct > [Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create the > filter module > [Thu Nov 25 12:32:31 2010] [error] publisher.c(225) Publishing to the Data > Sink:http://localhost:9090/axis2/services/listener proviced by > subscriber:urn:uuid:deb954d4-f7ab-1df1-2ac3-00215c16d651 Failed. Check > whether the Data Sink url is correct > [Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create the > filter module > [Thu Nov 25 12:32:31 2010] [error] publisher.c(225) Publishing to the Data > Sink:http://localhost:9090/axis2/services/listener proviced by > subscriber:urn:uuid:4d5f6c30-f7c4-1df1-3254-00215c16d651 Failed. Check > whether the Data Sink url is correct > [Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create the > filter module > [Thu Nov 25 12:32:31 2010] [error] publisher.c(225) Publishing to the Data > Sink:http://localhost:9090/axis2/services/listener proviced by > subscriber:urn:uuid:cfade486-f7c5-1df1-3b39-00215c16d651 Failed. Check > whether the Data Sink url is correct > [Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create the > filter module > [Thu Nov 25 12:32:31 2010] [error] publisher.c(225) Publishing to the Data > Sink:http://localhost:9090/axis2/services/listener proviced by > subscriber:urn:uuid:44b5f7d2-f7c6-1df1-3b40-00215c16d651 Failed. Check > whether the Data Sink url is correct > [Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create the > filter module > [Thu Nov 25 12:32:31 2010] [error] publisher.c(225) Publishing to the Data > Sink:http://localhost:9090/axis2/services/listener proviced by > subscriber:urn:uuid:6f047970-f7c9-1df1-3b47-00215c16d651 Failed. Check > whether the Data Sink url is correct > [Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create the > filter module > [Thu Nov 25 12:32:31 2010] [error] publisher.c(225) Publishing to the Data > Sink:http://localhost:9090/axis2/services/listener proviced by > subscriber:urn:uuid:fe13e6e6-f7c9-1df1-3886-00215c16d651 Failed. Check > whether the Data Sink url is correct > [Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create the > filter module > [Thu Nov 25 12:32:31 2010] [error] publisher.c(225) Publishing to the Data > Sink:http://localhost:9090/axis2/services/listener proviced by > subscriber:urn:uuid:0d3574a0-f7f2-1df1-2241-000000000000 Failed. Check > whether the Data Sink url is correct > [Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create the > filter module > [Thu Nov 25 12:32:31 2010] [error] publisher.c(225) Publishing to the Data > Sink:http://localhost:9090/axis2/services/listener proviced by > subscriber:urn:uuid:5b86caa4-f852-1df1-21d1-00215c16d651 Failed. Check > whether the Data Sink url is correct > [Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create the > filter module > [Thu Nov 25 12:32:31 2010] [error] publisher.c(225) Publishing to the Data > Sink:http://localhost:9090/axis2/services/listener proviced by > subscriber:urn:uuid:77a2f500-f852-1df1-21d4-00215c16d651 Failed. Check > whether the Data Sink url is correct > [Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create the > filter module > [Thu Nov 25 12:32:31 2010] [error] publisher.c(225) Publishing to the Data > Sink:http://localhost:9090/axis2/services/listener proviced by > subscriber:urn:uuid:d22426a8-f85b-1df1-283b-00215c16d651 Failed. Check > whether the Data Sink url is correct > [Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create the > filter module > [Thu Nov 25 12:32:31 2010] [error] publisher.c(225) Publishing to the Data > Sink:http://localhost:9090/axis2/services/listener proviced by > subscriber:urn:uuid:dd3bc4dc-f861-1df1-2be6-00215c16d651 Failed. Check > whether the Data Sink url is correct > [Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create the > filter module > [Thu Nov 25 12:32:31 2010] [error] publisher.c(225) Publishing to the Data > Sink:http://localhost:9090/axis2/services/listener proviced by > subscriber:urn:uuid:f6c3869c-f861-1df1-3c59-00215c16d651 Failed. Check > whether the Data Sink url is correct > [Thu Nov 25 12:32:31 2010] [info] Request served in 0.152 seconds >
