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 du...@apache.org on 2005/12/22 04:14:59 UTC

svn commit: r358463 - /webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoice2Client.cpp

Author: dushshantha
Date: Wed Dec 21 19:14:53 2005
New Revision: 358463

URL: http://svn.apache.org/viewcvs?rev=358463&view=rev
Log:
Changed ComplexTypeChoice2Client file according to the new wsdl file.

Modified:
    webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoice2Client.cpp

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoice2Client.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoice2Client.cpp?rev=358463&r1=358462&r2=358463&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoice2Client.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoice2Client.cpp Wed Dec 21 19:14:53 2005
@@ -14,7 +14,7 @@
 // limitations under the License.
 
 #include <axis/AxisException.hpp>
-#include "XSD_byte.hpp" 
+#include "ComplexTypeChoice2.hpp" 
 
 #include <stdlib.h> // For malloc(), calloc(), strdup() and free()
 #include <iostream>
@@ -33,7 +33,7 @@
 int main(int argc, char* argv[])
 { 
 	
-  XSD_byte* ws;
+  ComplexTypeChoice2* ws;
 
   char *endpoint = WSDL_DEFAULT_ENDPOINT;
   bool endpoint_set = false;
@@ -49,11 +49,11 @@
 			try {
 	  
 					if(endpoint_set) {
-					ws = new XSD_byte(endpoint, APTHTTP1_1);
+					ws = new ComplexTypeChoice2(endpoint, APTHTTP1_1);
 					free(endpoint);
 					endpoint_set = false;
 					} else
-						ws = new XSD_byte();
+						ws = new ComplexTypeChoice2();
 
 					SimpleComplexType1* input=new SimpleComplexType1(); 
 					xsd__int* fieldone=new xsd__int();