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 ja...@apache.org on 2006/03/10 10:46:01 UTC

svn commit: r384742 - in /webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp: ComplexTypeChoiceNestedChoice.cpp ComplexTypeChoiceSimple.cpp ComplexTypeOptionalAll.cpp ComplexTypeOptionalChoice.cpp ComplexTypeWithNillableSimpleElement.cpp

Author: jamejose
Date: Fri Mar 10 01:45:57 2006
New Revision: 384742

URL: http://svn.apache.org/viewcvs?rev=384742&view=rev
Log:
Adding service Implementation for 5 C++ services

Added:
    webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeChoiceNestedChoice.cpp
    webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeChoiceSimple.cpp
    webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeOptionalAll.cpp
    webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeOptionalChoice.cpp
    webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeWithNillableSimpleElement.cpp

Added: webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeChoiceNestedChoice.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeChoiceNestedChoice.cpp?rev=384742&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeChoiceNestedChoice.cpp (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeChoiceNestedChoice.cpp Fri Mar 10 01:45:57 2006
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2003-2006 The Apache Software Foundation.
+
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *		http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
+ * This file contains definitions of the web service
+ */
+
+#include "XSD_byte.hpp"
+
+
+XSD_byte::XSD_byte()
+{
+}
+
+XSD_byte::~XSD_byte()
+{
+}
+
+/* This function is called by the AxisEngine when something went wrong
+ with the current web service request processing. Appropriate actions should
+ be taken here.*/
+void XSD_byte::onFault()
+{
+}
+
+SimpleComplexType1* XSD_byte::asComplexType(SimpleComplexType1* Value0)  
+{
+	return Value0;
+}
+

Added: webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeChoiceSimple.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeChoiceSimple.cpp?rev=384742&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeChoiceSimple.cpp (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeChoiceSimple.cpp Fri Mar 10 01:45:57 2006
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2003-2006 The Apache Software Foundation.
+
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *		http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
+ * This file contains definitions of the web service
+ */
+
+#include "XSD_byte.hpp"
+
+
+XSD_byte::XSD_byte()
+{
+}
+
+XSD_byte::~XSD_byte()
+{
+}
+
+/* This function is called by the AxisEngine when something went wrong
+ with the current web service request processing. Appropriate actions should
+ be taken here.*/
+void XSD_byte::onFault()
+{
+}
+
+SimpleComplexType1* XSD_byte::asComplexType(SimpleComplexType1* Value0)  
+{
+	return Value0;
+}
+

Added: webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeOptionalAll.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeOptionalAll.cpp?rev=384742&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeOptionalAll.cpp (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeOptionalAll.cpp Fri Mar 10 01:45:57 2006
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2003-2006 The Apache Software Foundation.
+
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *		http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
+ * This file contains definitions of the web service
+ */
+
+#include "operations.hpp"
+
+
+operations::operations()
+{
+}
+
+operations::~operations()
+{
+}
+
+/* This function is called by the AxisEngine when something went wrong
+ with the current web service request processing. Appropriate actions should
+ be taken here.*/
+void operations::onFault()
+{
+}
+
+aRecord* operations::myOperation(aRecord* Value0)  
+{
+	return Value0;
+}
+

Added: webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeOptionalChoice.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeOptionalChoice.cpp?rev=384742&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeOptionalChoice.cpp (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeOptionalChoice.cpp Fri Mar 10 01:45:57 2006
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2003-2006 The Apache Software Foundation.
+
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *		http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
+ * This file contains definitions of the web service
+ */
+
+#include "XSD_byte.hpp"
+
+
+XSD_byte::XSD_byte()
+{
+}
+
+XSD_byte::~XSD_byte()
+{
+}
+
+/* This function is called by the AxisEngine when something went wrong
+ with the current web service request processing. Appropriate actions should
+ be taken here.*/
+void XSD_byte::onFault()
+{
+}
+
+SimpleComplexType1* XSD_byte::asComplexType(SimpleComplexType1* Value0)  
+{
+	return Value0;
+}
+

Added: webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeWithNillableSimpleElement.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeWithNillableSimpleElement.cpp?rev=384742&view=auto
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeWithNillableSimpleElement.cpp (added)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/ComplexTypeWithNillableSimpleElement.cpp Fri Mar 10 01:45:57 2006
@@ -0,0 +1,49 @@
+/*
+ * Copyright 2003-2006 The Apache Software Foundation.
+
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *		http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
+ * This file contains definitions of the web service
+ */
+
+#include "ComplexTypeWithNillableSimpleElement.hpp"
+
+
+ComplexTypeWithNillableSimpleElement::ComplexTypeWithNillableSimpleElement()
+{
+}
+
+ComplexTypeWithNillableSimpleElement::~ComplexTypeWithNillableSimpleElement()
+{
+}
+
+/* This function is called by the AxisEngine when something went wrong
+ with the current web service request processing. Appropriate actions should
+ be taken here.*/
+void ComplexTypeWithNillableSimpleElement::onFault()
+{
+}
+
+SimpleComplexType* ComplexTypeWithNillableSimpleElement::echo(SimpleComplexType* Value0)  
+{
+	int number=*(Value0->complexTypeElement);
+	char *ptr = new char[10];
+	ptr=itoa(number,ptr,10);
+	ptr=strrev(ptr);
+	number=atoi(ptr);
+	*Value0->complexTypeElement=number;
+	return Value0;
+}
+