/* soapinterop2Proxy.h Generated by gSOAP 2.8.11 from interop_all.h Copyright(C) 2000-2012, Robert van Engelen, Genivia Inc. All Rights Reserved. The generated code is released under one of the following licenses: 1) GPL or 2) Genivia's license for commercial use. This program is released under the GPL with the additional exemption that compiling, linking, and/or using OpenSSL is allowed. */ #ifndef soapinterop2Proxy_H #define soapinterop2Proxy_H #include "soapH.h" class interop2 { public: /// Runtime engine context allocated in constructor struct soap *soap; /// Endpoint URL of service 'interop2' (change as needed) const char *endpoint; /// Constructor allocates soap engine context, sets default endpoint URL, and sets namespace mapping table interop2() { soap = soap_new(); endpoint = "http://localhost:80"; if (soap && !soap->namespaces) { static const struct Namespace namespaces[] = { {"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL}, {"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL}, {"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL}, {"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL}, {"s", "http://soapinterop.org/xsd", NULL, NULL}, {"ns", "http://soapinterop.org/", NULL, NULL}, {"h", "http://soapinterop.org/echoheader/", NULL, NULL}, {"m", "http://soapinterop.org/", NULL, NULL}, {NULL, NULL, NULL, NULL} }; soap->namespaces = namespaces; } }; /// Destructor frees deserialized data and soap engine context virtual ~interop2() { if (soap) { soap_destroy(soap); soap_end(soap); soap_free(soap); } }; /// Invoke 'echoString' of service 'interop2' and return error code (or SOAP_OK) virtual int ns__echoString(char *inputString, char *&_return) { return soap ? soap_call_ns__echoString(soap, endpoint, NULL, inputString, _return) : SOAP_EOM; }; /// Invoke 'echoStringArray' of service 'interop2' and return error code (or SOAP_OK) virtual int ns__echoStringArray(struct ArrayOfstring inputStringArray, struct ArrayOfstring &_return) { return soap ? soap_call_ns__echoStringArray(soap, endpoint, NULL, inputStringArray, _return) : SOAP_EOM; }; /// Invoke 'echoInteger' of service 'interop2' and return error code (or SOAP_OK) virtual int ns__echoInteger(long inputInteger, long &_return) { return soap ? soap_call_ns__echoInteger(soap, endpoint, NULL, inputInteger, _return) : SOAP_EOM; }; /// Invoke 'echoIntegerArray' of service 'interop2' and return error code (or SOAP_OK) virtual int ns__echoIntegerArray(struct ArrayOfint inputIntegerArray, struct ArrayOfint &_return) { return soap ? soap_call_ns__echoIntegerArray(soap, endpoint, NULL, inputIntegerArray, _return) : SOAP_EOM; }; /// Invoke 'echoFloat' of service 'interop2' and return error code (or SOAP_OK) virtual int ns__echoFloat(float inputFloat, float &_return) { return soap ? soap_call_ns__echoFloat(soap, endpoint, NULL, inputFloat, _return) : SOAP_EOM; }; /// Invoke 'echoFloatArray' of service 'interop2' and return error code (or SOAP_OK) virtual int ns__echoFloatArray(struct ArrayOffloat inputFloatArray, struct ArrayOffloat &_return) { return soap ? soap_call_ns__echoFloatArray(soap, endpoint, NULL, inputFloatArray, _return) : SOAP_EOM; }; /// Invoke 'echoStruct' of service 'interop2' and return error code (or SOAP_OK) virtual int ns__echoStruct(struct s__SOAPStruct _inputStruct, struct ns__echoStructResponse &result) { return soap ? soap_call_ns__echoStruct(soap, endpoint, NULL, _inputStruct, result) : SOAP_EOM; }; /// Invoke 'echoStructArray' of service 'interop2' and return error code (or SOAP_OK) virtual int ns__echoStructArray(struct ArrayOfSOAPStruct inputStructArray, struct ArrayOfSOAPStruct &_return) { return soap ? soap_call_ns__echoStructArray(soap, endpoint, NULL, inputStructArray, _return) : SOAP_EOM; }; /// Invoke 'echoVoid' of service 'interop2' and return error code (or SOAP_OK) virtual int ns__echoVoid(struct ns__echoVoidResponse &result) { return soap ? soap_call_ns__echoVoid(soap, endpoint, NULL, result) : SOAP_EOM; }; /// Invoke 'echoBase64' of service 'interop2' and return error code (or SOAP_OK) virtual int ns__echoBase64(struct xsd__base64Binary inputBase64, struct xsd__base64Binary &_return) { return soap ? soap_call_ns__echoBase64(soap, endpoint, NULL, inputBase64, _return) : SOAP_EOM; }; /// Invoke 'echoDate' of service 'interop2' and return error code (or SOAP_OK) virtual int ns__echoDate(char *inputDate, char *&_return) { return soap ? soap_call_ns__echoDate(soap, endpoint, NULL, inputDate, _return) : SOAP_EOM; }; /// Invoke 'echoHexBinary' of service 'interop2' and return error code (or SOAP_OK) virtual int ns__echoHexBinary(struct xsd__hexBinary inputHexBinary, struct xsd__hexBinary &_return) { return soap ? soap_call_ns__echoHexBinary(soap, endpoint, NULL, inputHexBinary, _return) : SOAP_EOM; }; /// Invoke 'echoDecimal' of service 'interop2' and return error code (or SOAP_OK) virtual int ns__echoDecimal(char *inputDecimal, char *&_return) { return soap ? soap_call_ns__echoDecimal(soap, endpoint, NULL, inputDecimal, _return) : SOAP_EOM; }; /// Invoke 'echoBoolean' of service 'interop2' and return error code (or SOAP_OK) virtual int ns__echoBoolean(bool inputBoolean, bool &_return) { return soap ? soap_call_ns__echoBoolean(soap, endpoint, NULL, inputBoolean, _return) : SOAP_EOM; }; /// Invoke 'echoStructAsSimpleTypes' of service 'interop2' and return error code (or SOAP_OK) virtual int ns__echoStructAsSimpleTypes(struct s__SOAPStruct _inputStruct, struct ns__echoStructAsSimpleTypesResponse &result) { return soap ? soap_call_ns__echoStructAsSimpleTypes(soap, endpoint, NULL, _inputStruct, result) : SOAP_EOM; }; /// Invoke 'echoSimpleTypesAsStruct' of service 'interop2' and return error code (or SOAP_OK) virtual int ns__echoSimpleTypesAsStruct(char *inputString, long *inputInteger, float *inputFloat, struct ns__echoSimpleTypesAsStructResponse &result) { return soap ? soap_call_ns__echoSimpleTypesAsStruct(soap, endpoint, NULL, inputString, inputInteger, inputFloat, result) : SOAP_EOM; }; /// Invoke 'echo2DStringArray' of service 'interop2' and return error code (or SOAP_OK) virtual int ns__echo2DStringArray(struct ArrayOfstring2D _input2DStringArray, struct ArrayOfstring2D &_return) { return soap ? soap_call_ns__echo2DStringArray(soap, endpoint, NULL, _input2DStringArray, _return) : SOAP_EOM; }; /// Invoke 'echoNestedStruct' of service 'interop2' and return error code (or SOAP_OK) virtual int ns__echoNestedStruct(struct s__SOAPStructStruct _inputStruct, struct ns__echoNestedStructResponse &result) { return soap ? soap_call_ns__echoNestedStruct(soap, endpoint, NULL, _inputStruct, result) : SOAP_EOM; }; /// Invoke 'echoNestedArray' of service 'interop2' and return error code (or SOAP_OK) virtual int ns__echoNestedArray(struct s__SOAPArrayStruct _inputStruct, struct ns__echoNestedArrayResponse &result) { return soap ? soap_call_ns__echoNestedArray(soap, endpoint, NULL, _inputStruct, result) : SOAP_EOM; }; }; #endif