Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 38925 invoked from network); 30 May 2008 12:52:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 May 2008 12:52:15 -0000 Received: (qmail 93088 invoked by uid 500); 30 May 2008 12:52:17 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 93074 invoked by uid 500); 30 May 2008 12:52:17 -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 93063 invoked by uid 99); 30 May 2008 12:52:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 May 2008 05:52:17 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 May 2008 12:51:29 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 83973234C121 for ; Fri, 30 May 2008 05:51:46 -0700 (PDT) Message-ID: <513242643.1212151906523.JavaMail.jira@brutus> Date: Fri, 30 May 2008 05:51:46 -0700 (PDT) From: "Dimuthu Gamage (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Resolved: (AXIS2C-1168) WSDL2C.sh is not generating soap 1.2 compliant client stubs for wsdl with soap 1.2 bindings In-Reply-To: <1016592923.1212143025044.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dimuthu Gamage resolved AXIS2C-1168. ------------------------------------ Resolution: Fixed Assignee: Dimuthu Gamage In fact you can select the port of the wsdl to generate the code for by providing -pn option, WSDL2C.sh -uri -u -pn By default it pick the default port( soap 1.2 port in your case), but you can give the port bound to soap1.1 binding. And there was a bug not being able to set the soap version from outside (in fact that was a mix up between wsa action and soap action). I fixed it in the latest SVN. So the JIRA is good to mark as Fixed. Thanks Dimuthu > WSDL2C.sh is not generating soap 1.2 compliant client stubs for wsdl with soap 1.2 bindings > --------------------------------------------------------------------------------------------- > > Key: AXIS2C-1168 > URL: https://issues.apache.org/jira/browse/AXIS2C-1168 > Project: Axis2-C > Issue Type: Bug > Components: code generation > Environment: CentOS4.4 on VMWare (windows xp host). > On axis2/java (1.2/1.3/1.4). > axis2c 1.4. > Reporter: naveen bhat > Assignee: Dimuthu Gamage > Original Estimate: 24h > Remaining Estimate: 24h > > I am using a wsdl with soap 1.2 bindings.I generated > client stub using three version of axis2/java (1.2/1.3/1.4). In all > three I found that in the client stub the call for the operation,let > say add(for eg) always sets the soap version to AXIS2_SOAP11,but > actually it should be AXIS2_SOAP12 for a wsdl with soap 1.2 bindings. > I am not finding any options in WSDL2C tool to generate client code > for soap 1.2 . I also tried to set the soap version to 1.2 (in main > function of client) before calling the operation defined in stub ,but > this did not work as the soap version was reset back to soap 1.1 in > the stub(let say axis2_stub_op_add() for eg). > So my question is how do i use code generator to generate stub which > can send soap 1.2 compliant message at the client side. > PS: Following command was used to generate stub > WSDL2C.sh -uri -d adb -u -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org