Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 34392 invoked from network); 12 Jan 2004 16:06:44 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 12 Jan 2004 16:06:44 -0000 Received: (qmail 97305 invoked by uid 500); 12 Jan 2004 16:06:36 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 97286 invoked by uid 500); 12 Jan 2004 16:06:35 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 97273 invoked from network); 12 Jan 2004 16:06:35 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 12 Jan 2004 16:06:35 -0000 Received: (qmail 34350 invoked by uid 1682); 12 Jan 2004 16:06:40 -0000 Date: 12 Jan 2004 16:06:40 -0000 Message-ID: <20040112160640.34349.qmail@minotaur.apache.org> From: susantha@apache.org To: ws-axis-cvs@apache.org Subject: cvs commit: ws-axis/c/src/client/samples/interoptests/base InteropBaseClient.cpp X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N susantha 2004/01/12 08:06:40 Modified: c/src/client/samples/interoptests/base InteropBaseClient.cpp Log: sample changed to loop Revision Changes Path 1.7 +34 -24 ws-axis/c/src/client/samples/interoptests/base/InteropBaseClient.cpp Index: InteropBaseClient.cpp =================================================================== RCS file: /home/cvs/ws-axis/c/src/client/samples/interoptests/base/InteropBaseClient.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- InteropBaseClient.cpp 12 Jan 2004 12:20:51 -0000 1.6 +++ InteropBaseClient.cpp 12 Jan 2004 16:06:40 -0000 1.7 @@ -1,38 +1,47 @@ -// InteropBaseClient.cpp : Defines the entry point for the console application. -// - #include "InteropTestPortType.h" -#define ARRAYSIZE 2 +#define ARRAYSIZE 1000 +#define LOOPFOR 100 int main(int argc, char* argv[]) { int x; char buffer1[100]; - char buffer2[100]; - + InteropTestPortType ws; - printf("invoking echoString...\n"); +/* printf("invoking echoString...\n"); //testing echoString if (0 == strcmp(ws.echoString("hello world"), "hello world")) printf("successful\n"); else printf("failed\n"); - // testing echoStringArray +*/ // testing echoStringArray ArrayOfstring arrstr; arrstr.m_Array = new char*[ARRAYSIZE]; arrstr.m_Size = ARRAYSIZE; - sprintf(buffer1, "%dth element of string array", 0); - sprintf(buffer2, "%dth element of string array", 1); - arrstr.m_Array[0] = buffer1; - arrstr.m_Array[1] = buffer2; + for (x=0;x 1234.56) printf("successful\n"); @@ -134,6 +143,7 @@ printf("successful\n"); else printf("failed\n"); - getchar(); +*/ getchar(); return 0; } +