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 pr...@apache.org on 2005/11/10 13:52:53 UTC

svn commit: r332281 - in /webservices/axis/trunk/c/tests/auto_build/testcases: server/cpp/LargeReturningString.cpp server/cpp/LargeReturningString.hpp tests/server/LargeReturningString.xml

Author: prestonf
Date: Thu Nov 10 04:52:46 2005
New Revision: 332281

URL: http://svn.apache.org/viewcvs?rev=332281&view=rev
Log:
Fix for LargeReturningString test.

Modified:
    webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/LargeReturningString.cpp
    webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/LargeReturningString.hpp
    webservices/axis/trunk/c/tests/auto_build/testcases/tests/server/LargeReturningString.xml

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/LargeReturningString.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/LargeReturningString.cpp?rev=332281&r1=332280&r2=332281&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/LargeReturningString.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/LargeReturningString.cpp Thu Nov 10 04:52:46 2005
@@ -79,7 +79,7 @@
 	return iSize;
 }
 
-void LargeReturningString::setRoundTripLargeString(xsd__string Value0,xsd__int Value1, AXIS_OUT_PARAM xsd__string *OutValue0, AXIS_OUT_PARAM xsd__int *OutValue1)  
+xsd__string LargeReturningString::setRoundTripLargeString( xsd__string Value0, xsd__int Value1)
 {
 //	printf( "LargeReturningString::setRoundTripLargeString\n");
 
@@ -92,7 +92,6 @@
 
 	strcpy( myString, Value0);
 
-	*OutValue0 = myString;
-	*OutValue1 = strlen( myString);
+	return myString;
 }
 

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/LargeReturningString.hpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/LargeReturningString.hpp?rev=332281&r1=332280&r2=332281&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/LargeReturningString.hpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/LargeReturningString.hpp Thu Nov 10 04:52:46 2005
@@ -34,9 +34,9 @@
 		virtual ~LargeReturningString();
 	public: 
 		void onFault();
-		xsd__string getLargeString(xsd__int Value0);
-		xsd__int setLargeString(xsd__string Value0);
-		void setRoundTripLargeString(xsd__string Value0,xsd__int Value1, AXIS_OUT_PARAM xsd__string *OutValue0, AXIS_OUT_PARAM xsd__int *OutValue1);
+		xsd__string getLargeString( xsd__int Value0);
+		xsd__int setLargeString( xsd__string Value0);
+		xsd__string setRoundTripLargeString( xsd__string Value0 ,xsd__int Value1);
 
 	public:
 		xsd__string	myString;

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/tests/server/LargeReturningString.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/tests/server/LargeReturningString.xml?rev=332281&r1=332280&r2=332281&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/tests/server/LargeReturningString.xml (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/tests/server/LargeReturningString.xml Thu Nov 10 04:52:46 2005
@@ -3,6 +3,7 @@
     <description>LargeReturningString Service</description>
     <serviceLang>cpp</serviceLang>
     <serviceCode>LargeReturningString.cpp</serviceCode>
+    <serviceHeader>LargeReturningString.hpp</serviceHeader>
     <wsdl>LargeReturningString.wsdl</wsdl>
 	<servicename></servicename>
 </service>