Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 16372 invoked from network); 11 Mar 2005 17:22:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Mar 2005 17:22:06 -0000 Received: (qmail 81039 invoked by uid 500); 11 Mar 2005 17:22:06 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 80933 invoked by uid 500); 11 Mar 2005 17:22:05 -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 80920 invoked by uid 99); 11 Mar 2005 17:22:05 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 11 Mar 2005 09:22:05 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j2BGpruk029037 for ; Fri, 11 Mar 2005 17:51:53 +0100 Message-ID: <750139960.1110559913314.JavaMail.jira@ajax.apache.org> Date: Fri, 11 Mar 2005 17:51:53 +0100 (CET) From: "Mark Whitlock (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Assigned: (AXISCPP-505) WSDL2Ws doesn't cope with WSDL complex types matching c/c++ types In-Reply-To: <1293820898.1109948926804.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXISCPP-505?page=history ] Mark Whitlock reassigned AXISCPP-505: ------------------------------------- Assign To: (was: Mark Whitlock) > WSDL2Ws doesn't cope with WSDL complex types matching c/c++ types > ----------------------------------------------------------------- > > Key: AXISCPP-505 > URL: http://issues.apache.org/jira/browse/AXISCPP-505 > Project: Axis-C++ > Type: Bug > Components: WSDL processing > Reporter: Adrian Dick > > WSDL2Ws produces generated stubs that cannot be compiled when WSDL contains types whose names match c/c++ types. > eg: > > > > > > There are several potential fixes to this, including the rejection of c/c++ type, but I suggest the following would probably be the best fix: > Prefix all use user types with "::", eg: > ::myReturnType* myPortType::myOperation(::myInput* Value0) > { > ::myReturnType* pReturn = NULL; > ... > if(AXIS_SUCCESS == m_pCall->checkMessage("myOperationResponse", "urn:amwebars")) > { > pReturn = (::myReturnType*)m_pCall->getCmplxObject((void*) Axis_DeSerialize_myReturnType, (void*) Axis_Create_myReturnType, (void*) Axis_Delete_myReturnType,"myOperationReturn", 0); > } > ... > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira