Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 70822 invoked from network); 4 Mar 2005 11:19:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Mar 2005 11:19:58 -0000 Received: (qmail 83864 invoked by uid 500); 4 Mar 2005 11:19:57 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 83743 invoked by uid 500); 4 Mar 2005 11:19:57 -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 83728 invoked by uid 99); 4 Mar 2005 11:19:57 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mtagate3.uk.ibm.com (HELO mtagate3.uk.ibm.com) (195.212.29.136) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 04 Mar 2005 03:19:56 -0800 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate3.uk.ibm.com (8.12.10/8.12.10) with ESMTP id j24BJpFU303328 for ; Fri, 4 Mar 2005 11:19:51 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1407.portsmouth.uk.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j24BJpJj125086 for ; Fri, 4 Mar 2005 11:19:51 GMT Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.12.11/8.12.11) with ESMTP id j24BJpx1028861 for ; Fri, 4 Mar 2005 11:19:51 GMT Received: from d06ml063.portsmouth.uk.ibm.com (d06ml063.portsmouth.uk.ibm.com [9.149.38.83]) by d06av02.portsmouth.uk.ibm.com (8.12.11/8.12.11) with ESMTP id j24BJp1s028856 for ; Fri, 4 Mar 2005 11:19:51 GMT In-Reply-To: <403DD48EAE182940B89ECEAFE03F969002D163FC@cs-mailsvr.Virtusa.com> Subject: RE: Automating server side test implimentation To: "Apache AXIS C Developers List" Cc: "Apache AXIS C Developers List" X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: From: Andrew Perry2 Date: Fri, 4 Mar 2005 11:24:17 +0000 X-MIMETrack: Serialize by Router on D06ML063/06/M/IBM(Release 6.53HF247 | January 6, 2005) at 04/03/2005 11:24:20 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I have no objections to the changes being made, but this change will break the old shell script based framework. If it is no longer used by anyone then I agree that the duplicate WSDLs be removed. Does anyone use the non-Ant test framework? Non-response will be assumed as a not in use and the duplicate WSDLs will be removed. Regards, Andrew Perry IBM Web Services Client for C/C++ perryan@uk.ibm.com Mail Point 127 IBM UK Laboratories. Hursley Park, Winchester, Hants. SO21 2JN Tel. Internal 249828 External + 44 (0)1962 819828 Fax. + 44(0)1962 818080 "Samisa Abeysinghe" "Apache AXIS C Developers List" 04/03/2005 10:40 cc Subject Please respond to RE: Automating server side test "Apache AXIS C implimentation Developers List" Hi Andrew, OK. Thank you for the info. I jumped into this wrong conclusion because the WSDL files were duplicated with the test name. I think the best solution in this case would be to removed the duplicates and update ws-axis/c/auto_build/testcases/tests. Should we wait till the upcoming changes are complete or is it OK if the duplicate WSDLs are changed now? Thanks, Samisa... -----Original Message----- From: Andrew Perry2 [mailto:PERRYAN@uk.ibm.com] Sent: Friday, March 04, 2005 4:22 PM To: Apache AXIS C Developers List Cc: Apache AXIS C Developers List Subject: RE: Automating server side test implimentation Hi Samisa, The Ant based framework does NOT use the WSDL name. The Ant based framework uses the Ant test properties files in the ws-axis/c/auto_build/testcases/tests directory. This is an XML property file. One of the properties in this file is the WSDL name so many tests can use the same WSDL, client code, expected output files if required. Please read the anttest-guide.html in the docs directory for more information on the Ant test framework. Regards, Andrew Perry IBM Web Services Client for C/C++ perryan@uk.ibm.com Mail Point 127 IBM UK Laboratories. Hursley Park, Winchester, Hants. SO21 2JN Tel. Internal 249828 External + 44 (0)1962 819828 Fax. + 44(0)1962 818080 "Samisa Abeysinghe" "Apache AXIS C Developers List" 04/03/2005 10:04 cc Subject Please respond to RE: Automating server side test "Apache AXIS C implimentation Developers List" Hi Andrew, Thank you for the prompt response. Well it looks like too many changes if we change port type. Hence I would not change it. It would be great if we could get rid of the duplicate WSDLs in the test folder. But as the ant based auto test framework for client uses the WSDL name, I am not sure if it is possible. BTW, script based tests are no more used as the scripts are not up to date. Thanks, Samisa... -----Original Message----- From: Andrew Perry2 [mailto:PERRYAN@uk.ibm.com] Sent: Friday, March 04, 2005 3:40 PM To: axis-c-dev@ws.apache.org Cc: Apache AXIS C User List Subject: Re: Automating server side test implimentation The changing of the portType name in the WSDL will, as you want, change the names of the generated stubs. This will effect the following files for each test using the changed service. 1) Test client code will need to be changed to use the new stub name 2) Expected request files may need to be changed if endpoint changes 3) Ant test properties files may need to change if endpoint changes 4) Ant test properties files may need to change for handler tests if soapAction is also updated in handler This will be a large change. Currently 41 tests are based around the CalculatorDoc wsdl 16 tests use the InteropTestRound1 WSDL, though there are 16 copies of it in the wsdls directory. If the Ant test framework is used then these duplicate WSDLs can be removed. Several other WSDLs can be replaced. MathOps.wsdl is almost identical to FaultMapping.wsdl which is the same as ExceptionTest.wsdl. These 3 WSDLs can be replaced by 1. The same is true for the Doc versions of the WSDLs. The MathOps test can either be removed or use the FaultMapping WSDL. If the script based test framework is no longer used then all these duplicate WSDLs can be removed/merged so there will only be 1 version of a WSDL in the wsdls directory. I feel that this will be a much smaller change than renaming the portType in each of the effected WSDLs as only the WSDL name will need to be updated in the Ant test properties file. Is the script based test framework still used? Also more tests are coming soon so, some of them based on the existing WSDLs so I would prefer if any changes are made that the changes be delayed a few weeks. Regards, Andrew Perry IBM Web Services Client for C/C++ perryan@uk.ibm.com Mail Point 127 IBM UK Laboratories. Hursley Park, Winchester, Hants. SO21 2JN Tel. Internal 249828 External + 44 (0)1962 819828 Fax. + 44(0)1962 818080 Samisa Abeysinghe To Apache AXIS C User List 04/03/2005 04:23 cc Please respond to Subject "Apache AXIS C Re: Automating server side test User List" implimentation Simply put, If we change the PortType name in the test WSDL file, would that have an impact on the current ant based client test framework. We would like the PortType to be the same as the name of the WSDL file, so that we have unique names to the services in the test framerowk. Thanks, Samisa... On Fri, 4 Mar 2005 10:15:12 +0600, Chinthana C. Dinapala wrote: > > > Hi, > > > > We are trying to automated the server side to test case, which will help to > test client with the sever side. > > But we have problem here several test will generate same file in auto > generated skeleton. > > > > E.g. MathOps.cpp use by FaultMapping.wsdl, FaultMappingDoc.wsdl, ect.. > > > > IT is the same contents all in these files but, as in client we are > searching client file by WSDL file name. > > Here we can't search from WSDL file type if they have same name in file. > > We can rename port type and get the unique file name to each WSDL. > > But if clients use the server port types it will be problem. > > > > Does anyone have idea on this? > > > > Thanks > > > > > > Chinthana Dinapala > > Associate Software Engineer > > Virtusa Corp. > 16th Floor, West Tower > World Trade Center > > Colombo 01 > > > > > > Creating competitive advantage > >