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 sa...@apache.org on 2005/04/06 09:44:12 UTC
cvs commit: ws-axis/c/tests/auto_build/testcases/server/cpp PrimitiveAndArray.cpp
samisa 2005/04/06 00:44:12
Added: c/tests/auto_build/testcases/server/cpp
PrimitiveAndArray.cpp
Log:
Added service impl
Revision Changes Path
1.1 ws-axis/c/tests/auto_build/testcases/server/cpp/PrimitiveAndArray.cpp
Index: PrimitiveAndArray.cpp
===================================================================
/*
* Copyright 2003-2004 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 "PrimitiveAndArray.hpp"
PrimitiveAndArray::PrimitiveAndArray()
{
}
PrimitiveAndArray::~PrimitiveAndArray()
{
}
/* 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 PrimitiveAndArray::onFault()
{
}
/* This function is called by the AxisEngine when this web service
library is first loaded. So here we can initialize any global/static
data structures of this web service or open database connections */
void PrimitiveAndArray::init()
{
}
/* This function is called by the AxisEngine when this web service
library is unloaded. So we can deallocate any global/static data structures
and close database connections etc here. */
void PrimitiveAndArray::fini()
{
}
ComplexReturn* PrimitiveAndArray::sendPrimitiveAndArray(xsd__int Value0, xsd__int_Array Value1)
{
ComplexReturn *ret=new ComplexReturn();
ret->returnInt=Value0;
ret->returnArray=Value1;
return ret;
}
ComplexReturn* PrimitiveAndArray::sendArrayAndPrimitive(xsd__int_Array Value0, xsd__int Value1)
{
ComplexReturn *ret=new ComplexReturn();
ret->returnInt=Value1;
ret->returnArray=Value0;
return ret;
}