Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 48814 invoked from network); 20 Jan 2009 17:26:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jan 2009 17:26:02 -0000 Received: (qmail 57298 invoked by uid 500); 20 Jan 2009 17:25:53 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 57259 invoked by uid 500); 20 Jan 2009 17:25:53 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 57250 invoked by uid 99); 20 Jan 2009 17:25:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2009 09:25:53 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sameera.madushan@gmail.com designates 209.85.200.175 as permitted sender) Received: from [209.85.200.175] (HELO wf-out-1314.google.com) (209.85.200.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2009 17:25:44 +0000 Received: by wf-out-1314.google.com with SMTP id 25so3658389wfc.28 for ; Tue, 20 Jan 2009 09:25:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=rpFSX1qcNIjWO/rYkE0ymZRqCFMhdQbqhaWMmzN6YPo=; b=nWiavQwgc3tpT4h5ZqpZh3ZT9+IxLffz338RGqswpmelS866DOWRiRWsJvSKBUc/C7 cLjeNArro9h3Cm3DTeqGfyUC2rR60Wu+ZK5emyP5dqu2FeJ1/QUMa8UUOLAiTZb4asZY HA+q/VZt61XFmEPQM1Thv5xseahrqTPmJwock= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=JPeIMicoiiom7pzFLxRBBG2d7ZU8oNXuYfx1iVn68cv7EvymTQRgnMLENvy/9AKtTm JBwP6HD1O4DR5Taqbrn4SPPPO+h481wH7ktAozJgm3DP8xwpK12ZJPqC3SmP18kbmpBM 8XY9e+zDPfG8+aPRV6I16mYdNydlXrljxxSkU= MIME-Version: 1.0 Received: by 10.142.139.5 with SMTP id m5mr2952098wfd.39.1232472321829; Tue, 20 Jan 2009 09:25:21 -0800 (PST) In-Reply-To: <27407ce90901200908r3a845b3bs38b7fce074aea766@mail.gmail.com> References: <27407ce90901191045i14519cf4tf44faadc41b031ac@mail.gmail.com> <60708f4b0901192037i28d03e09o2c7152c3e93d6f05@mail.gmail.com> <27407ce90901200908r3a845b3bs38b7fce074aea766@mail.gmail.com> Date: Tue, 20 Jan 2009 22:55:21 +0530 Message-ID: <4f5c8bd80901200925k5ef4411bya384f82c9c7ff437@mail.gmail.com> Subject: Re: how to generate the XML in-out stubs From: Sameera Jayasoma To: axis-user@ws.apache.org Content-Type: multipart/alternative; boundary=000e0cd23f0ef02c4a0460ed5289 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd23f0ef02c4a0460ed5289 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Tue, Jan 20, 2009 at 10:38 PM, Wishing Carebear < wishing.carebear@gmail.com> wrote: > Thanks Amila/Sameera for your reply. > Yes, I have a sample request in XML String. Want to pass that to the stub > methods directly. Also from the response want to get the XML response back > as String with no java objects involved. > > Tried -d none option and the stub has the operation as below : > public org.apache.axiom.om.OMElement > SearchLink(org.apache.axiom.om.OMElement searchLink) > throws > java.rmi.RemoteException > > Wondering what is the parameter org.apache.axiom.om.OMElement searchLink refers > to here. Is it the whole request XML only for the payload or the whole SOAP > envelop. > AFAIK, this parameter refers to the XML payload. > > Thanks for your time and help, > Regards > cbear > > On Mon, Jan 19, 2009 at 8:37 PM, Amila Suriarachchi < > amilasuriarachchi@gmail.com> wrote: > >> use -d none option >> >> thanks, >> Amila. >> >> >> On Tue, Jan 20, 2009 at 12:15 AM, Wishing Carebear < >> wishing.carebear@gmail.com> wrote: >> >>> Hello:In the userguide : >>> http://ws.apache.org/axis2/1_4_1/userguide-creatingclients.html#createclients >>> >>> read the following line: >>> Axis2 gives you several options when it comes to mapping WSDL to objects >>> when generating clients. Three of these options are Axis2 DataBinding >>> Framework, XMLBeans, and JiBX databinding. All of these methods involve >>> using databinding to create Java objects out of the XML structures used by >>> the service, and each has its pros and cons. You can also generate XML >>> in-out stubs that are not based on databinding. >>> >>> >>> Question: Would like to know how to generate the XML in-out stubs. >>> >>> Thanks, >>> cbear >>> >> >> >> >> -- >> Amila Suriarachchi >> WSO2 Inc. >> blog: http://amilachinthaka.blogspot.com/ >> > > -- Sameera Jayasoma Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://tech.jayasoma.org --000e0cd23f0ef02c4a0460ed5289 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Tue, Jan 20, 2009 at 10:38 PM, Wishin= g Carebear <wishing.carebear@gmail.com> wrote:
Thanks Amila/Sameera for your reply.

Yes, I have a sampl= e request in XML String. Want to pass that to the stub methods directly. Al= so from the response want to get the XML response back as String with no ja= va objects involved.

Tried -d none option and the stub has the operation as = below :
   &nbs= p;public  org.apache.axiom.om.OMElement SearchLink(org.apache.axiom.om= .OMElement searchLink)
         &= nbsp;                    =                     &nbs= p;        throws java.rmi.RemoteException
<= div>
Wondering what is the parameter org.apache.axiom.om.OMElement searchLink refers to h= ere. Is it the whole request XML only for the payload or the whole SOAP env= elop. 

AFAIK, this parameter refers to the XML payload= .
 

Thanks for your time and help,
Regards
<= div>cbear

On Mon, Jan 1= 9, 2009 at 8:37 PM, Amila Suriarachchi <amilasuriarachchi@gmail.= com> wrote:
use  -d none=    option

thanks,
Amila.


On Tue, Jan 20, 2009 at 12:15 AM, Wishing Carebear <wishing.careb= ear@gmail.com> wrote:
Hello:

read the following line:
You can also generate XML in-out st= ubs that are not based on databinding.


Question: Would like to know how = to generate the XML in-out stubs.

Thanks,
cbear



--
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot= .com/




--
Sameera Jayasoma
Sof= tware Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://tech.jayasoma.org
--000e0cd23f0ef02c4a0460ed5289--