Return-Path: Delivered-To: apmail-axis-c-user-archive@www.apache.org Received: (qmail 68745 invoked from network); 25 Nov 2010 13:48:38 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Nov 2010 13:48:38 -0000 Received: (qmail 22144 invoked by uid 500); 25 Nov 2010 13:48:38 -0000 Delivered-To: apmail-axis-c-user-archive@axis.apache.org Received: (qmail 21859 invoked by uid 500); 25 Nov 2010 13:48:35 -0000 Mailing-List: contact c-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache AXIS C User List" Delivered-To: mailing list c-user@axis.apache.org Received: (qmail 21851 invoked by uid 99); 25 Nov 2010 13:48:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 13:48:34 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.212.45] (HELO mail-vw0-f45.google.com) (209.85.212.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 13:48:26 +0000 Received: by vws12 with SMTP id 12so367996vws.32 for ; Thu, 25 Nov 2010 05:48:05 -0800 (PST) Received: by 10.229.250.130 with SMTP id mo2mr712336qcb.126.1290692884860; Thu, 25 Nov 2010 05:48:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.246.209 with HTTP; Thu, 25 Nov 2010 05:47:43 -0800 (PST) In-Reply-To: References: From: anees k A Date: Thu, 25 Nov 2010 19:17:43 +0530 Message-ID: Subject: Re: Publishing to the Data Sink url failed To: c-user Content-Type: multipart/alternative; boundary=0016363b804cea934d0495e0da11 X-Virus-Checked: Checked by ClamAV on apache.org --0016363b804cea934d0495e0da11 Content-Type: text/plain; charset=ISO-8859-1 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 http://localhost:9099/axis2/services/weather http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe urn:uuid:069ca2ea-f891-1df1-266b-00215c16d651 http://localhost:9099/axis2/services/listener //weather_report On Thu, Nov 25, 2010 at 12:32 PM, anees k A 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 > > [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 > --0016363b804cea934d0495e0da11 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable More Info :

Using tcpmon, I collected the XML that the s= erver receives.(Given below) I tried enabling and disabling filter code. Bu= t 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 =3D 18:9:20*/
/* message uuid =3D 069d4e84-f= 891-1df1-37d1-00215c16d651*/
---------------------
POST= /axis2/services/weather HTTP/1.1
User-Agent: Axis2C/1.6.0
Content-Length: 799
Conte= nt-Type: application/soap+xml;charset=3DUTF-8
Host: localhost:909= 9

<soapenv:Envelope>
<soapenv:Header>= ;
<wsa:Action>= http:/= /schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe</wsa:Action>
<= wsa:MessageID>urn:uuid:069ca2ea-f891-1df1-266b-00215c16d651</wsa:Mess= ageID>
</soapenv:Header>
<s= oapenv:Body>
<wse:Subscribe>
<wse:Delivery>
&l= t;wse:NotifyTo>
<wsa:Address>http://localhost:9099/axis2/services/listener&= lt;/wsa:Address>
&l= t;/wse:NotifyTo>
</wse:Delivery>
<wse:Filter Dialect=3D&quo= t;http://www.w3.or= g/TR/1999/REC-xpath-19991116">//weather_report</wse:Filter&g= t;
<= /wse:Subscribe>
</soapenv:Body>
</soapenv:Envelope>= ;



On Thu, Nov 25= , 2010 at 12:32 PM, anees k A <anees.ka@vvdntech.com> wrote:
Hi,

I am trying to understand Savan/C implementation. Wh= ile trying out the sample subscriber-weather-listener example, I am seeing = the below error :

[error] publisher.c(225) Publish= ing to the Data Sink:http://localhost:9090/axis2/services/listener pro= viced by subscriber:urn:uuid:d22426a8-f85b-1df1-283b-00215c16d651 Failed. C= heck whether the Data Sink url is correct

This happens when I am trying to issue the command &quo= t;5 Generate weather event" from subscriber app. Any idea why this is = happening ? I am running axis2c server and installed Savan/C to axis2c.=A0<= /div>

Regards

Anees


Detailed Log <axis2c>

[Thu Nov 25 12:32:31 2010] [info] =A0Starting addressing in handler<= /div>
[Thu Nov 25 12:32:31 2010] [info] =A0[savan][in handler] Unhandled mes= sage type
[Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Cou= ld 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-2= aa4-00215c16d651 Failed. Check whether the Data Sink url is correct
[Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create t= he filter module
[Thu Nov 25 12:32:31 2010] [error] publisher.c(2= 25) Publishing to the Data Sink:http://localhost:9090/axis2/services/liste= ner proviced by subscriber:urn:uuid:40f0c8c0-f79e-1df1-2aaf-00215c16d65= 1 Failed. Check whether the Data Sink url is correct
[Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create t= he filter module
[Thu Nov 25 12:32:31 2010] [error] publisher.c(2= 25) Publishing to the Data Sink:http://localhost:9090/axis2/services/liste= ner proviced by subscriber:urn:uuid:deb954d4-f7ab-1df1-2ac3-00215c16d65= 1 Failed. Check whether the Data Sink url is correct
[Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create t= he filter module
[Thu Nov 25 12:32:31 2010] [error] publisher.c(2= 25) Publishing to the Data Sink:http://localhost:9090/axis2/services/liste= ner proviced by subscriber:urn:uuid:4d5f6c30-f7c4-1df1-3254-00215c16d65= 1 Failed. Check whether the Data Sink url is correct
[Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create t= he filter module
[Thu Nov 25 12:32:31 2010] [error] publisher.c(2= 25) Publishing to the Data Sink:http://localhost:9090/axis2/services/liste= ner proviced by subscriber:urn:uuid:cfade486-f7c5-1df1-3b39-00215c16d65= 1 Failed. Check whether the Data Sink url is correct
[Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create t= he filter module
[Thu Nov 25 12:32:31 2010] [error] publisher.c(2= 25) Publishing to the Data Sink:http://localhost:9090/axis2/services/liste= ner proviced by subscriber:urn:uuid:44b5f7d2-f7c6-1df1-3b40-00215c16d65= 1 Failed. Check whether the Data Sink url is correct
[Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create t= he filter module
[Thu Nov 25 12:32:31 2010] [error] publisher.c(2= 25) Publishing to the Data Sink:http://localhost:9090/axis2/services/liste= ner proviced by subscriber:urn:uuid:6f047970-f7c9-1df1-3b47-00215c16d65= 1 Failed. Check whether the Data Sink url is correct
[Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create t= he filter module
[Thu Nov 25 12:32:31 2010] [error] publisher.c(2= 25) Publishing to the Data Sink:http://localhost:9090/axis2/services/liste= ner proviced by subscriber:urn:uuid:fe13e6e6-f7c9-1df1-3886-00215c16d65= 1 Failed. Check whether the Data Sink url is correct
[Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create t= he filter module
[Thu Nov 25 12:32:31 2010] [error] publisher.c(2= 25) Publishing to the Data Sink:http://localhost:9090/axis2/services/liste= ner proviced by subscriber:urn:uuid:0d3574a0-f7f2-1df1-2241-00000000000= 0 Failed. Check whether the Data Sink url is correct
[Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create t= he filter module
[Thu Nov 25 12:32:31 2010] [error] publisher.c(2= 25) Publishing to the Data Sink:http://localhost:9090/axis2/services/liste= ner proviced by subscriber:urn:uuid:5b86caa4-f852-1df1-21d1-00215c16d65= 1 Failed. Check whether the Data Sink url is correct
[Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create t= he filter module
[Thu Nov 25 12:32:31 2010] [error] publisher.c(2= 25) Publishing to the Data Sink:http://localhost:9090/axis2/services/liste= ner proviced by subscriber:urn:uuid:77a2f500-f852-1df1-21d4-00215c16d65= 1 Failed. Check whether the Data Sink url is correct
[Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create t= he filter module
[Thu Nov 25 12:32:31 2010] [error] publisher.c(2= 25) Publishing to the Data Sink:http://localhost:9090/axis2/services/liste= ner proviced by subscriber:urn:uuid:d22426a8-f85b-1df1-283b-00215c16d65= 1 Failed. Check whether the Data Sink url is correct
[Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create t= he filter module
[Thu Nov 25 12:32:31 2010] [error] publisher.c(2= 25) Publishing to the Data Sink:http://localhost:9090/axis2/services/liste= ner proviced by subscriber:urn:uuid:dd3bc4dc-f861-1df1-2be6-00215c16d65= 1 Failed. Check whether the Data Sink url is correct
[Thu Nov 25 12:32:31 2010] [error] publisher.c(308) Could not create t= he filter module
[Thu Nov 25 12:32:31 2010] [error] publisher.c(2= 25) Publishing to the Data Sink:http://localhost:9090/axis2/services/liste= ner proviced by subscriber:urn:uuid:f6c3869c-f861-1df1-3c59-00215c16d65= 1 Failed. Check whether the Data Sink url is correct
[Thu Nov 25 12:32:31 2010] [info] =A0Request served in 0.152 seconds

--0016363b804cea934d0495e0da11--