axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r359583 - /webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeAllComplexChildClient.cpp
Date Wed, 28 Dec 2005 18:33:31 GMT
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;
 



Mime
View raw message