Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 16822 invoked from network); 22 Dec 2010 11:33:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Dec 2010 11:33:20 -0000 Received: (qmail 8862 invoked by uid 500); 22 Dec 2010 11:33:19 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 8662 invoked by uid 500); 22 Dec 2010 11:33:19 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 8654 invoked by uid 99); 22 Dec 2010 11:33:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Dec 2010 11:33:18 +0000 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=FREEMAIL_FROM,SPF_SOFTFAIL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of stratio@hotmail.it does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Dec 2010 11:33:12 +0000 Received: from joe.nabble.com ([192.168.236.151]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1PVMw7-0002v2-Bk for users@activemq.apache.org; Wed, 22 Dec 2010 03:32:51 -0800 Date: Wed, 22 Dec 2010 03:32:51 -0800 (PST) From: stratio To: users@activemq.apache.org Message-ID: <1293017571358-3160494.post@n4.nabble.com> In-Reply-To: <1293009231649-3160317.post@n4.nabble.com> References: <1292946858264-3155676.post@n4.nabble.com> <0F137B67-A940-4F63-A5C7-0445B8EF506F@crackpot.org> <1292951253607-3159336.post@n4.nabble.com> <54D8AEAC-997C-4E00-9E2B-CF58A4C8D158@crackpot.org> <1292954049065-3159400.post@n4.nabble.com> <1293009231649-3160317.post@n4.nabble.com> Subject: Re: Problem with Ajax API MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I checked the server response and this is what i get : Headers : Request URL:http://localhost:8161/demo/amq?timeout=45000&d=1293017028128&r=0.2588740265928209 Request Method:GET Status Code:200 OK Request Headers Accept:application/xml, text/xml, */* Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3 Accept-Encoding:gzip,deflate,sdch Accept-Language:it-IT,it;q=0.8,en-US;q=0.6,en;q=0.4 Connection:keep-alive Content-Type:application/x-www-form-urlencoded Cookie:JSESSIONID=dhspps8mjouadmjv4ycsmsp9 Host:localhost:8161 Referer:http://localhost:8161/demo/index_activeMQ.html User-Agent:Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10 X-Requested-With:XMLHttpRequest Query String Parameters timeout:45000 d:1293017028128 r:0.2588740265928209 Response Headers Cache-Control:no-cache Content-Length:104 Content-Type:text/xml;charset=ISO-8859-1 Server:Jetty(7.1.6.v20100715) Content : So I guess that the reason for which i don't see anything on the browser is that the response is a binary message. I saw this https://issues.apache.org/jira/browse/AMQ-2833 about this problem (considering i'm publishing the messages on the topic via a stomp ruby client). How can I apply the patch in order to solve the problem? Do I have to modify the Javascript code? Thanks again :) -- View this message in context: http://activemq.2283324.n4.nabble.com/Problem-with-Ajax-API-tp3155676p3160494.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.