Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 36378 invoked from network); 22 Feb 2007 04:46:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Feb 2007 04:46:29 -0000 Received: (qmail 25554 invoked by uid 500); 22 Feb 2007 04:46:27 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 25547 invoked by uid 500); 22 Feb 2007 04:46:27 -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 25536 invoked by uid 99); 22 Feb 2007 04:46:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Feb 2007 20:46:27 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=HTML_00_10,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of amilasuriarachchi@gmail.com designates 64.233.182.186 as permitted sender) Received: from [64.233.182.186] (HELO nf-out-0910.google.com) (64.233.182.186) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Feb 2007 20:46:16 -0800 Received: by nf-out-0910.google.com with SMTP id o63so388672nfa for ; Wed, 21 Feb 2007 20:45:55 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=LaLcx1BbixAU0rekLe5FSU4gLky2bB5LkWk7Sny9f3kH5Ccx9OSAcTvABxpcs/dKPalc7yryxcRmVGPxTPGQhfPJqJoGSWsT0iM8Nv67T6FgNZQYHu7KWNj8oK0LxLP4uaoNbhAU1R/fPA0Np+R+/OKeqndHu1C76O5zxhlWkYY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=RCqlTHV/Jdi6B6Qo5MWvKVZtPp9EJFNi5LzhI4T0f9oU+cJIvrqA2eCpWmQXufxH28+6zScFBTtTiz9D5kNkGP/897hhszzSLhRaFiRmp0m0ofRpTUFIZqBzPOzIvpaDtXivhFN4d5atRkhnc2/pZYfRjBS3sbmOpqelkD0rReg= Received: by 10.82.120.14 with SMTP id s14mr43278buc.1172119554840; Wed, 21 Feb 2007 20:45:54 -0800 (PST) Received: by 10.82.178.14 with HTTP; Wed, 21 Feb 2007 20:45:54 -0800 (PST) Message-ID: <60708f4b0702212045r95bbf96q405f3ab67e24236c@mail.gmail.com> Date: Thu, 22 Feb 2007 10:15:54 +0530 From: "Amila Suriarachchi" To: axis-user@ws.apache.org Subject: Re: [Axis2] RPC WSDL/ Codegen? In-Reply-To: <9093543.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13601_21800802.1172119554808" References: <8E5B605D380F004C8698887B10B8CF960CA175@ALPMLVEM08.e2k.ad.ge.com> <9092547.post@talk.nabble.com> <541aa82a0702211746s1ab990i6ac145e9a531b51e@mail.gmail.com> <9093041.post@talk.nabble.com> <9093543.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_13601_21800802.1172119554808 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline hi, In codegeneration with wsdl, we convert the rpc style wsdl in to document style (similar in messages) by generating the elements for rpc type messages. And finally save the wsdl file to resource directory. When saving the wsdl file back it serializes the generated axis service object structure instead of saving the origianl wsdl as it is. That is the reason why you get a wsdl which is converted to document style. So can you please replace your saved wsdl in resource folder with the original wsdl and see. On the other hand axis2 generates a wsdl only if the Message receiver is one of RPCMessageReceivers. but when generating the code from the wsdl it creates a custom message receiver for the given wsdl file. Amila. -- Amila Suriarachchi, WSO2 Inc. ------=_Part_13601_21800802.1172119554808 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
hi,
In codegeneration with wsdl, we convert the rpc style wsdl in to document style (similar in messages) by generating the elements for rpc type messages. And finally save the wsdl file to resource directory. When saving the wsdl file back it serializes the generated axis service object structure instead of saving the origianl wsdl as it is. That is the reason why you get a wsdl which is converted to document style. So can you please replace your saved wsdl in resource folder with the original wsdl and see.
On the other hand axis2 generates a wsdl only if the Message receiver is one of RPCMessageReceivers. but when generating the code from the wsdl it creates a custom message receiver for the given wsdl file.

Amila.
--
Amila Suriarachchi,
WSO2 Inc. ------=_Part_13601_21800802.1172119554808--