You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2005/03/30 10:27:04 UTC
cvs commit: ws-axis/c/tests/auto_build/testcases/client/cpp NillableArraysClient.cpp RpcHttpHeaderTest8Client.cpp SimpleArrayClient.cpp
samisa 2005/03/30 00:27:04
Modified: c/tests/auto_build/testcases/client/cpp
NillableArraysClient.cpp
RpcHttpHeaderTest8Client.cpp SimpleArrayClient.cpp
Log:
Fixed the program logic problems
Revision Changes Path
1.2 +2 -1 ws-axis/c/tests/auto_build/testcases/client/cpp/NillableArraysClient.cpp
Index: NillableArraysClient.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/NillableArraysClient.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- NillableArraysClient.cpp 23 Mar 2005 17:26:41 -0000 1.1
+++ NillableArraysClient.cpp 30 Mar 2005 08:27:04 -0000 1.2
@@ -18,7 +18,6 @@
* This is for primitive types only
*/
-using namespace std;
#include "NillableArrays.hpp"
#include <axis/AxisException.hpp>
@@ -26,6 +25,8 @@
#define ARRAYSIZE 3
+using namespace std;
+
int main(int argc, char* argv[])
{
const char* url="http://localhost:80/axis/NillableArrays";
1.10 +3 -3 ws-axis/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest8Client.cpp
Index: RpcHttpHeaderTest8Client.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest8Client.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- RpcHttpHeaderTest8Client.cpp 23 Mar 2005 15:45:06 -0000 1.9
+++ RpcHttpHeaderTest8Client.cpp 30 Mar 2005 08:27:04 -0000 1.10
@@ -1,6 +1,5 @@
/*
* Copyright 2003-2004 The Apache Software Foundation.
-// (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -45,6 +44,7 @@
sprintf(endpoint, "http://%s:%s/axis/base", server, port);
/*Set for HTTP transport */
InteropTestPortType ws(endpoint, APTHTTP1_1);
+ ws.setTransportProperty("SOAPAction" , "InteropBase#echoString");
//set HTTP headers
ws.setTransportProperty(NULL, "lang2");
@@ -110,8 +110,8 @@
ws.deleteTransportProperty("Accept-Language");
//now the request should not have these removed headers
- bool bSuccess = false;
- int iRetryIterationCount = 3;
+ bSuccess = false;
+ iRetryIterationCount = 3;
do
{
1.9 +2 -2 ws-axis/c/tests/auto_build/testcases/client/cpp/SimpleArrayClient.cpp
Index: SimpleArrayClient.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/SimpleArrayClient.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- SimpleArrayClient.cpp 23 Mar 2005 15:45:06 -0000 1.8
+++ SimpleArrayClient.cpp 30 Mar 2005 08:27:04 -0000 1.9
@@ -44,11 +44,11 @@
ArrayTestPortType ws(endpoint);
//testing echoIntArray
intArrayType arrin;
- arrin.intItem.m_Array = new int[ARRAYSIZE];
+ arrin.intItem.m_Array = new int*[ARRAYSIZE];
arrin.intItem.m_Size = ARRAYSIZE;
for (x=0;x<ARRAYSIZE;x++)
{
- arrin.intItem.m_Array[x] = x;
+ arrin.intItem.m_Array[x] =&x;
}
printf("invoking echoIntArray...\n");
if (ws.echoIntArray(&arrin)->intItem.m_Array != NULL)