Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 33447 invoked from network); 22 Dec 2005 11:08:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Dec 2005 11:08:54 -0000 Received: (qmail 74700 invoked by uid 500); 22 Dec 2005 11:08:53 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 74672 invoked by uid 500); 22 Dec 2005 11:08:53 -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 74660 invoked by uid 99); 22 Dec 2005 11:08:52 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Dec 2005 03:08:52 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 72655CB for ; Thu, 22 Dec 2005 12:08:31 +0100 (CET) Message-ID: <34365676.1135249711467.JavaMail.jira@ajax.apache.org> Date: Thu, 22 Dec 2005 12:08:31 +0100 (CET) From: "Dushshantha Chandradasa (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Commented: (AXISCPP-895) Code generated by WSDL2Ws tool shows compilation error In-Reply-To: <30661667.1135248510628.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXISCPP-895?page=comments#action_12361098 ] Dushshantha Chandradasa commented on AXISCPP-895: ------------------------------------------------- Hi James, did you generate codes using the file inquire_v2.wsdl in the svn?? i tried to generate codes but ended up with an exception. this is because the wsdl doesnt have the service definition. The exception is as follows. generateStubs: [mkdir] Created dir: C:\obj\test\generated\cpp\inquire_v2 [java] org.apache.axis.wsdl.wsdl2ws.WrapperFault: the service does not exis ts [java] at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceEntry(Unknown Source) [java] at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.perprocess(Unknown Sourc e) [java] at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(Unknown Source) [java] at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source) [java] Code generation failed. Please see errors above. if you are using a different wsdl, please attach it here or just commit it to the svn, so i can test this and fix. I did few changes on this area recently. This may be a side effect of these changes. > Code generated by WSDL2Ws tool shows compilation error > ------------------------------------------------------ > > Key: AXISCPP-895 > URL: http://issues.apache.org/jira/browse/AXISCPP-895 > Project: Axis-C++ > Type: Bug > Components: Client - Stub > Reporter: James Jose > > 'validate_values.cpp' file generated for 'inquire_v2' test showing compilation error. > Following code shows the compilation problem: > void validate_values::setbusinessService_Ref(businessService_Array * pInValue) > { > if(businessService_Ref == NULL) > { > businessService_Ref = new businessService_Array(); > *businessService_Ref = new businessService_Array(); /* This line shows compilation error */ > } > (*businessService_Ref)->clone(*(*pInValue)); > } -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira