You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by na...@apache.org on 2005/12/28 19:33:31 UTC
svn commit: r359583 -
/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeAllComplexChildClient.cpp
Author: nadiramra
Date: Wed Dec 28 10:33:29 2005
New Revision: 359583
URL: http://svn.apache.org/viewcvs?rev=359583&view=rev
Log:
OS/400-only changes to make test framework work.
Modified:
webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeAllComplexChildClient.cpp
Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeAllComplexChildClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeAllComplexChildClient.cpp?rev=359583&r1=359582&r2=359583&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeAllComplexChildClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeAllComplexChildClient.cpp Wed Dec 28 10:33:29 2005
@@ -65,8 +65,13 @@
SimpleComplexType* result = NULL;
result = ws->asComplexType(input);
-
- cout << "Result field1 is = " << result->complexTypeElement->onecomplexTypeElement << endl;
+
+ // for OS/400, dump ebcdic equivalent of hex 41 (ascii 'A').
+ xsd__byte theByte = result->complexTypeElement->onecomplexTypeElement;
+ #ifdef __OS400__
+ if (theByte == 0x41) theByte = 'A';
+ #endif
+ cout << "Result field1 is = " << theByte << endl;
cout << "Result field2 is = " << result->field2 << endl;
cout << "Result field3 is = " << *(result->field3) << endl;