Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 93244 invoked from network); 13 Feb 2008 08:02:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2008 08:02:33 -0000 Received: (qmail 77964 invoked by uid 500); 13 Feb 2008 08:02:27 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 77945 invoked by uid 500); 13 Feb 2008 08:02:27 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 77933 invoked by uid 99); 13 Feb 2008 08:02:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2008 00:02:27 -0800 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.68.5.9] (HELO relay00.pair.com) (209.68.5.9) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 13 Feb 2008 08:01:42 +0000 Received: (qmail 27658 invoked from network); 13 Feb 2008 08:02:01 -0000 Received: from unknown (HELO ?10.100.1.93?) (unknown) by unknown with SMTP; 13 Feb 2008 08:02:01 -0000 X-pair-Authenticated: 123.231.21.16 Message-ID: <47B2A3FA.3030401@wso2.com> Date: Wed, 13 Feb 2008 13:32:02 +0530 From: Samisa Abeysinghe User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Apache AXIS C Developers List Subject: Re: [AXIS2C] Rest - namespace on the response question References: <23198500.1157353162303.JavaMail.jira@brutus> <16937139.1202842630326.JavaMail.jira@brutus> <0CD5E28A763C8D4D84C690F5C463F94A6C5A3C@ord-mail.serena.com> <48405.124.43.208.94.1202887964.squirrel@webmail8.pair.com> In-Reply-To: <48405.124.43.208.94.1202887964.squirrel@webmail8.pair.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org What is the method used to serialize the REST payload now? (Yes I am lazy to look into the code ;-) ) There is a method serializee_sub_tree, if you use that, there would not be such problem. Samisa... Senaka Fernando wrote: > Hi Dave, > > Jolly good question. I think this may be a bug. Also, I would like to see > the response you got for your SOAP call, if it is possible. > > Regards, > Senaka > > >> Hi All, >> >> I am now using REST successfully for both GET and POST calls! Thanks >> for all the help getting this going. >> >> I have a question about the response. The nodes all have a prefix of >> "n" but no namespace is defined for "n". Shouldn't it set a valid >> namespace for "n" that matches my services namespace? I tried to set it >> myself on the return node but it didn't seem to work - I think I may be >> doing it wrong. >> >> I call the same code that I use for the SOAP calls except I pass in the >> itemid and userid rather than it pulling that from my request node. >> >> For example: >> >> http://localhost:9090/axis2/services/aewebservices70/GetItem/1000:42?use >> rid=joe is the URL I type into the browser. >> >> And here is the response: >> >> >> >> >> 1000:42 >> eb2b1ea0-8343-41d5-bde7-b19601d333f3 >> TSK00025 >> >> Task >> >> >> >> >> Thanks, >> >> -Dave. >> >> ********************************************************************** >> This email and any files transmitted with it are confidential and intended >> solely for the use of the individual or entity to whom they are addressed. >> Any unauthorized review, use, disclosure or distribution is prohibited. If >> you are not the intended recipient, please contact the sender by reply >> e-mail and destroy all copies of the original message. >> ********************************************************************** >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org >> For additional commands, e-mail: axis-c-dev-help@ws.apache.org >> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-c-dev-help@ws.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org