Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Reminder: Modify typemap.dat to customize the header file generated by wsdl2h
- /* getquote
- Generated by wsdl2h 2.8.23 from http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx?wsdl and typemap.dat
- 2016-02-12 20:54:37 GMT
- DO NOT INCLUDE THIS FILE DIRECTLY INTO YOUR PROJECT BUILDS
- USE THE soapcpp2-GENERATED SOURCE CODE FILES FOR YOUR PROJECT BUILDS
- gSOAP XML Web services tools.
- Copyright (C) 2000-2015 Robert van Engelen, Genivia Inc. All Rights Reserved.
- Part of this software is released under one of the following licenses:
- GPL or Genivia's license for commercial use.
- */
- /** @page page_notes Notes
- @note HINTS:
- - Run soapcpp2 on getquote to generate the SOAP/XML processing logic.
- Use soapcpp2 -I to specify paths for #import
- To build with STL, 'stlvector.h' is imported from 'import' dir in package.
- Use soapcpp2 -j to generate improved proxy and server classes.
- - Use wsdl2h -c and -s to generate pure C code or C++ code without STL.
- - Use 'typemap.dat' to control namespace bindings and type mappings.
- It is strongly recommended to customize the names of the namespace prefixes
- generated by wsdl2h. To do so, modify the prefix bindings in the Namespaces
- section below and add the modified lines to 'typemap.dat' to rerun wsdl2h.
- - Use Doxygen (www.doxygen.org) on this file to generate documentation.
- - Use wsdl2h -R to generate REST operations.
- - Use wsdl2h -nname to use name as the base namespace prefix instead of 'ns'.
- - Use wsdl2h -Nname for service prefix and produce multiple service bindings
- - Use wsdl2h -d to enable DOM support for xsd:anyType.
- - Use wsdl2h -g to auto-generate readers and writers for root elements.
- - Use wsdl2h -b to auto-generate bi-directional operations (duplex ops).
- - Use wsdl2h -U to map XML names to C++ Unicode identifiers instead of _xNNNN.
- - Use wsdl2h -u to disable the generation of unions.
- - Struct/class members serialized as XML attributes are annotated with a '@'.
- - Struct/class members that have a special role are annotated with a '$'.
- @warning
- DO NOT INCLUDE THIS ANNOTATED FILE DIRECTLY IN YOUR PROJECT SOURCE CODE.
- USE THE FILES GENERATED BY soapcpp2 FOR YOUR PROJECT'S SOURCE CODE:
- THE soapStub.h FILE CONTAINS THIS CONTENT WITHOUT ANNOTATIONS.
- @copyright LICENSE:
- @verbatim
- --------------------------------------------------------------------------------
- gSOAP XML Web services tools
- Copyright (C) 2000-2015, Robert van Engelen, Genivia Inc. All Rights Reserved.
- This software is released under one of the following licenses:
- GPL or Genivia's license for commercial use.
- --------------------------------------------------------------------------------
- GPL license.
- This program is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License as published by the Free Software
- Foundation; either version 2 of the License, or (at your option) any later
- version.
- This program is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- PARTICULAR PURPOSE. See the GNU General Public License for more details.
- You should have received a copy of the GNU General Public License along with
- this program; if not, write to the Free Software Foundation, Inc., 59 Temple
- Place, Suite 330, Boston, MA 02111-1307 USA
- Author contact information:
- engelen@genivia.com / engelen@acm.org
- This program is released under the GPL with the additional exemption that
- compiling, linking, and/or using OpenSSL is allowed.
- --------------------------------------------------------------------------------
- A commercial-use license is available from Genivia, Inc., contact@genivia.com
- --------------------------------------------------------------------------------
- @endverbatim
- */
- //gsoapopt cw
- /******************************************************************************\
- * *
- * Definitions *
- * http://ws.cdyne.com/ *
- * *
- \******************************************************************************/
- /******************************************************************************\
- * *
- * Import *
- * *
- \******************************************************************************/
- /******************************************************************************\
- * *
- * Schema Namespaces *
- * *
- \******************************************************************************/
- /* NOTE:
- It is strongly recommended to customize the names of the namespace prefixes
- generated by wsdl2h. To do so, modify the prefix bindings below and add the
- modified lines to typemap.dat to rerun wsdl2h:
- ns1 = "http://ws.cdyne.com/"
- */
- #define SOAP_NAMESPACE_OF_ns1 "http://ws.cdyne.com/"
- //gsoap ns1 schema namespace: http://ws.cdyne.com/
- //gsoap ns1 schema elementForm: qualified
- //gsoap ns1 schema attributeForm: unqualified
- /******************************************************************************\
- * *
- * Built-in Schema Types and Top-Level Elements and Attributes *
- * *
- \******************************************************************************/
- /// Built-in XSD type "xs:boolean".
- enum xsd__boolean { xsd__boolean__false_, xsd__boolean__true_ };
- /// Primitive built-in type "xs:decimal".
- typedef char* xsd__decimal;
- /// Built-in element "xs:schema".
- typedef _XML _xsd__schema;
- /******************************************************************************\
- * *
- * Schema Types and Top-Level Elements and Attributes *
- * http://ws.cdyne.com/ *
- * *
- \******************************************************************************/
- /******************************************************************************\
- * *
- * Schema Complex Types and Top-Level Elements *
- * http://ws.cdyne.com/ *
- * *
- \******************************************************************************/
- /// @brief "http://ws.cdyne.com/":QuoteData is a complexType.
- ///
- struct ns1__QuoteData
- {
- /// Element "StockSymbol" of XSD type xs:string.
- char* StockSymbol 0; ///< Optional element.
- /// Element "LastTradeAmount" of XSD type xs:decimal.
- xsd__decimal LastTradeAmount 1; ///< Required element.
- /// Element "LastTradeDateTime" of XSD type xs:dateTime.
- time_t LastTradeDateTime 1; ///< Required element.
- /// Element "StockChange" of XSD type xs:decimal.
- xsd__decimal StockChange 1; ///< Required element.
- /// Element "OpenAmount" of XSD type xs:decimal.
- xsd__decimal OpenAmount 1; ///< Required element.
- /// Element "DayHigh" of XSD type xs:decimal.
- xsd__decimal DayHigh 1; ///< Required element.
- /// Element "DayLow" of XSD type xs:decimal.
- xsd__decimal DayLow 1; ///< Required element.
- /// Element "StockVolume" of XSD type xs:int.
- int StockVolume 1; ///< Required element.
- /// Element "PrevCls" of XSD type xs:decimal.
- xsd__decimal PrevCls 1; ///< Required element.
- /// Element "ChangePercent" of XSD type xs:string.
- char* ChangePercent 0; ///< Optional element.
- /// Element "FiftyTwoWeekRange" of XSD type xs:string.
- char* FiftyTwoWeekRange 0; ///< Optional element.
- /// Element "EarnPerShare" of XSD type xs:decimal.
- xsd__decimal EarnPerShare 1; ///< Required element.
- /// Element "PE" of XSD type xs:decimal.
- xsd__decimal PE 1; ///< Required element.
- /// Element "CompanyName" of XSD type xs:string.
- char* CompanyName 0; ///< Optional element.
- /// Element "QuoteError" of XSD type xs:boolean.
- enum xsd__boolean QuoteError 1; ///< Required element.
- };
- /// @brief Top-level root element "http://ws.cdyne.com/":GetQuote
- /// @brief "http://ws.cdyne.com/":GetQuote is a complexType.
- ///
- struct _ns1__GetQuote
- {
- /// Element "StockSymbol" of XSD type xs:string.
- char* StockSymbol 0; ///< Optional element.
- /// Element "LicenseKey" of XSD type xs:string.
- char* LicenseKey 0; ///< Optional element.
- };
- /// @brief Top-level root element "http://ws.cdyne.com/":GetQuoteResponse
- /// @brief "http://ws.cdyne.com/":GetQuoteResponse is a complexType.
- ///
- struct _ns1__GetQuoteResponse
- {
- /// Element "GetQuoteResult" of XSD type "http://ws.cdyne.com/":QuoteData.
- struct ns1__QuoteData* GetQuoteResult 1; ///< Required element.
- };
- /// @brief Top-level root element "http://ws.cdyne.com/":GetQuickQuote
- /// @brief "http://ws.cdyne.com/":GetQuickQuote is a complexType.
- ///
- struct _ns1__GetQuickQuote
- {
- /// Element "StockSymbol" of XSD type xs:string.
- char* StockSymbol 0; ///< Optional element.
- /// Element "LicenseKey" of XSD type xs:string.
- char* LicenseKey 0; ///< Optional element.
- };
- /// @brief Top-level root element "http://ws.cdyne.com/":GetQuickQuoteResponse
- /// @brief "http://ws.cdyne.com/":GetQuickQuoteResponse is a complexType.
- ///
- struct _ns1__GetQuickQuoteResponse
- {
- /// Element "GetQuickQuoteResult" of XSD type xs:decimal.
- xsd__decimal GetQuickQuoteResult 1; ///< Required element.
- };
- /// @brief Top-level root element "http://ws.cdyne.com/":GetQuoteDataSet
- /// @brief "http://ws.cdyne.com/":GetQuoteDataSet is a complexType.
- ///
- struct _ns1__GetQuoteDataSet
- {
- /// Element "StockSymbols" of XSD type xs:string.
- char* StockSymbols 0; ///< Optional element.
- /// Element "LicenseKey" of XSD type xs:string.
- char* LicenseKey 0; ///< Optional element.
- };
- /// @brief Top-level root element "http://ws.cdyne.com/":GetQuoteDataSetResponse
- /// @brief "http://ws.cdyne.com/":GetQuoteDataSetResponse is a complexType.
- ///
- struct _ns1__GetQuoteDataSetResponse
- {
- struct _ns1__GetQuoteDataSetResponse_GetQuoteDataSetResult
- {
- /// Imported element reference xs:schema.
- _xsd__schema xsd__schema 1; ///< Required element.
- /// @todo <any namespace="##any">
- /// @todo Schema extensibility is user-definable.
- /// Consult the protocol documentation to change or insert declarations.
- /// Use wsdl2h option -x to remove this element.
- /// Use wsdl2h option -d for xsd__anyType DOM (soap_dom_element).
- _XML __any 0; ///< Catch any element content in XML string.
- } *GetQuoteDataSetResult 0; ///< Optional element.
- };
- /// @brief Top-level root element "http://ws.cdyne.com/":DataSet
- /// @brief "http://ws.cdyne.com/":DataSet is a complexType.
- ///
- struct _ns1__DataSet
- {
- /// Imported element reference xs:schema.
- _xsd__schema xsd__schema 1; ///< Required element.
- /// @todo <any namespace="##any">
- /// @todo Schema extensibility is user-definable.
- /// Consult the protocol documentation to change or insert declarations.
- /// Use wsdl2h option -x to remove this element.
- /// Use wsdl2h option -d for xsd__anyType DOM (soap_dom_element).
- _XML __any 0; ///< Catch any element content in XML string.
- };
- /******************************************************************************\
- * *
- * Additional Top-Level Elements *
- * http://ws.cdyne.com/ *
- * *
- \******************************************************************************/
- /// @brief Top-level root element "http://ws.cdyne.com/":QuoteData of XSD type "http://ws.cdyne.com/":QuoteData.
- /// @note Use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
- /// @brief Top-level root element "http://ws.cdyne.com/":decimal of XSD type xs:decimal.
- /// @note Use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
- /******************************************************************************\
- * *
- * Additional Top-Level Attributes *
- * http://ws.cdyne.com/ *
- * *
- \******************************************************************************/
- /******************************************************************************\
- * *
- * Services *
- * *
- \******************************************************************************/
- // This service supports SOAP 1.2 namespaces:
- #import "soap12.h"
- //gsoap ns1 service name: DelayedStockQuoteSoap
- //gsoap ns1 service type: DelayedStockQuoteSoap
- //gsoap ns1 service port: http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx
- //gsoap ns1 service namespace: http://ws.cdyne.com/
- //gsoap ns1 service transport: http://schemas.xmlsoap.org/soap/http
- /** @mainpage Service Definitions
- @section Service_bindings Service Bindings
- - @ref DelayedStockQuoteSoap
- @section Service_more More Information
- - @ref page_notes "Notes"
- - @ref page_XMLDataBinding "XML Data Binding"
- - @ref SOAP_ENV__Header "SOAP Header Content" (when applicable)
- - @ref SOAP_ENV__Detail "SOAP Fault Detail Content" (when applicable)
- */
- /**
- @page DelayedStockQuoteSoap Binding "DelayedStockQuoteSoap"
- @section DelayedStockQuoteSoap_operations Operations of Binding "DelayedStockQuoteSoap"
- - @ref __ns1__GetQuote
- - @ref __ns1__GetQuickQuote
- - @ref __ns1__GetQuoteDataSet
- - @ref __ns1__GetQuote_
- - @ref __ns1__GetQuickQuote_
- - @ref __ns1__GetQuoteDataSet_
- @section DelayedStockQuoteSoap_ports Endpoints of Binding "DelayedStockQuoteSoap"
- - http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx
- @note Multiple service bindings collected as one, use wsdl2h option -Nname to produce a separate service for each binding
- */
- /******************************************************************************\
- * *
- * Service Binding *
- * DelayedStockQuoteSoap *
- * *
- \******************************************************************************/
- /******************************************************************************\
- * *
- * Service Operation *
- * __ns1__GetQuote *
- * *
- \******************************************************************************/
- /** Operation "__ns1__GetQuote" of service binding "DelayedStockQuoteSoap".
- This method retrieves a current stock quote. Use a license key of 0 for testing.
- - SOAP document/literal style messaging
- - Action: "http://ws.cdyne.com/GetQuote"
- - Addressing input action: "http://ws.cdyne.com/GetQuote"
- - Addressing output action: "http://ws.cdyne.com/GetQuoteResponse"
- C stub function (defined in soapClient.c[pp] generated by soapcpp2):
- @code
- int soap_call___ns1__GetQuote(
- struct soap *soap,
- NULL, // char *endpoint = NULL selects default endpoint for this operation
- NULL, // char *action = NULL selects default action for this operation
- // input parameters:
- struct _ns1__GetQuote* ns1__GetQuote,
- // output parameters:
- struct _ns1__GetQuoteResponse *ns1__GetQuoteResponse
- );
- @endcode
- C server function (called from the service dispatcher defined in soapServer.c[pp]):
- @code
- int __ns1__GetQuote(
- struct soap *soap,
- // input parameters:
- struct _ns1__GetQuote* ns1__GetQuote,
- // output parameters:
- struct _ns1__GetQuoteResponse *ns1__GetQuoteResponse
- );
- @endcode
- */
- //gsoap ns1 service method-protocol: GetQuote SOAP
- //gsoap ns1 service method-style: GetQuote document
- //gsoap ns1 service method-encoding: GetQuote literal
- //gsoap ns1 service method-input-action: GetQuote http://ws.cdyne.com/GetQuote
- //gsoap ns1 service method-output-action: GetQuote http://ws.cdyne.com/GetQuoteResponse
- int __ns1__GetQuote(
- struct _ns1__GetQuote* ns1__GetQuote, ///< Input parameter
- struct _ns1__GetQuoteResponse *ns1__GetQuoteResponse ///< Output parameter
- );
- /******************************************************************************\
- * *
- * Service Operation *
- * __ns1__GetQuickQuote *
- * *
- \******************************************************************************/
- /** Operation "__ns1__GetQuickQuote" of service binding "DelayedStockQuoteSoap".
- This method retrieves just a stock price. Use a license key of 0 for testing.
- - SOAP document/literal style messaging
- - Action: "http://ws.cdyne.com/GetQuickQuote"
- - Addressing input action: "http://ws.cdyne.com/GetQuickQuote"
- - Addressing output action: "http://ws.cdyne.com/GetQuickQuoteResponse"
- C stub function (defined in soapClient.c[pp] generated by soapcpp2):
- @code
- int soap_call___ns1__GetQuickQuote(
- struct soap *soap,
- NULL, // char *endpoint = NULL selects default endpoint for this operation
- NULL, // char *action = NULL selects default action for this operation
- // input parameters:
- struct _ns1__GetQuickQuote* ns1__GetQuickQuote,
- // output parameters:
- struct _ns1__GetQuickQuoteResponse *ns1__GetQuickQuoteResponse
- );
- @endcode
- C server function (called from the service dispatcher defined in soapServer.c[pp]):
- @code
- int __ns1__GetQuickQuote(
- struct soap *soap,
- // input parameters:
- struct _ns1__GetQuickQuote* ns1__GetQuickQuote,
- // output parameters:
- struct _ns1__GetQuickQuoteResponse *ns1__GetQuickQuoteResponse
- );
- @endcode
- */
- //gsoap ns1 service method-protocol: GetQuickQuote SOAP
- //gsoap ns1 service method-style: GetQuickQuote document
- //gsoap ns1 service method-encoding: GetQuickQuote literal
- //gsoap ns1 service method-input-action: GetQuickQuote http://ws.cdyne.com/GetQuickQuote
- //gsoap ns1 service method-output-action: GetQuickQuote http://ws.cdyne.com/GetQuickQuoteResponse
- int __ns1__GetQuickQuote(
- struct _ns1__GetQuickQuote* ns1__GetQuickQuote, ///< Input parameter
- struct _ns1__GetQuickQuoteResponse *ns1__GetQuickQuoteResponse ///< Output parameter
- );
- /******************************************************************************\
- * *
- * Service Operation *
- * __ns1__GetQuoteDataSet *
- * *
- \******************************************************************************/
- /** Operation "__ns1__GetQuoteDataSet" of service binding "DelayedStockQuoteSoap".
- This method retrieves the stock information and returns it in a dataset. Use a
- , to diplay multiple quotes. Use a license key of 0 for testing.
- - SOAP document/literal style messaging
- - Action: "http://ws.cdyne.com/GetQuoteDataSet"
- - Addressing input action: "http://ws.cdyne.com/GetQuoteDataSet"
- - Addressing output action: "http://ws.cdyne.com/GetQuoteDataSetResponse"
- C stub function (defined in soapClient.c[pp] generated by soapcpp2):
- @code
- int soap_call___ns1__GetQuoteDataSet(
- struct soap *soap,
- NULL, // char *endpoint = NULL selects default endpoint for this operation
- NULL, // char *action = NULL selects default action for this operation
- // input parameters:
- struct _ns1__GetQuoteDataSet* ns1__GetQuoteDataSet,
- // output parameters:
- struct _ns1__GetQuoteDataSetResponse*ns1__GetQuoteDataSetResponse
- );
- @endcode
- C server function (called from the service dispatcher defined in soapServer.c[pp]):
- @code
- int __ns1__GetQuoteDataSet(
- struct soap *soap,
- // input parameters:
- struct _ns1__GetQuoteDataSet* ns1__GetQuoteDataSet,
- // output parameters:
- struct _ns1__GetQuoteDataSetResponse*ns1__GetQuoteDataSetResponse
- );
- @endcode
- */
- //gsoap ns1 service method-protocol: GetQuoteDataSet SOAP
- //gsoap ns1 service method-style: GetQuoteDataSet document
- //gsoap ns1 service method-encoding: GetQuoteDataSet literal
- //gsoap ns1 service method-input-action: GetQuoteDataSet http://ws.cdyne.com/GetQuoteDataSet
- //gsoap ns1 service method-output-action: GetQuoteDataSet http://ws.cdyne.com/GetQuoteDataSetResponse
- int __ns1__GetQuoteDataSet(
- struct _ns1__GetQuoteDataSet* ns1__GetQuoteDataSet, ///< Input parameter
- struct _ns1__GetQuoteDataSetResponse*ns1__GetQuoteDataSetResponse ///< Output parameter
- );
- /******************************************************************************\
- * *
- * Service Operation *
- * __ns1__GetQuote_ *
- * *
- \******************************************************************************/
- /** Operation "__ns1__GetQuote_" of service binding "DelayedStockQuoteSoap".
- This method retrieves a current stock quote. Use a license key of 0 for testing.
- - SOAP document/literal style messaging
- - Action: "http://ws.cdyne.com/GetQuote"
- - Addressing input action: "http://ws.cdyne.com/GetQuote"
- - Addressing output action: "http://ws.cdyne.com/GetQuoteResponse"
- C stub function (defined in soapClient.c[pp] generated by soapcpp2):
- @code
- int soap_call___ns1__GetQuote_(
- struct soap *soap,
- NULL, // char *endpoint = NULL selects default endpoint for this operation
- NULL, // char *action = NULL selects default action for this operation
- // input parameters:
- struct _ns1__GetQuote* ns1__GetQuote,
- // output parameters:
- struct _ns1__GetQuoteResponse *ns1__GetQuoteResponse
- );
- @endcode
- C server function (called from the service dispatcher defined in soapServer.c[pp]):
- @code
- int __ns1__GetQuote_(
- struct soap *soap,
- // input parameters:
- struct _ns1__GetQuote* ns1__GetQuote,
- // output parameters:
- struct _ns1__GetQuoteResponse *ns1__GetQuoteResponse
- );
- @endcode
- */
- //gsoap ns1 service method-protocol: GetQuote_ SOAP
- //gsoap ns1 service method-style: GetQuote_ document
- //gsoap ns1 service method-encoding: GetQuote_ literal
- //gsoap ns1 service method-input-action: GetQuote_ http://ws.cdyne.com/GetQuote
- //gsoap ns1 service method-output-action: GetQuote_ http://ws.cdyne.com/GetQuoteResponse
- int __ns1__GetQuote_(
- struct _ns1__GetQuote* ns1__GetQuote, ///< Input parameter
- struct _ns1__GetQuoteResponse *ns1__GetQuoteResponse ///< Output parameter
- );
- /******************************************************************************\
- * *
- * Service Operation *
- * __ns1__GetQuickQuote_ *
- * *
- \******************************************************************************/
- /** Operation "__ns1__GetQuickQuote_" of service binding "DelayedStockQuoteSoap".
- This method retrieves just a stock price. Use a license key of 0 for testing.
- - SOAP document/literal style messaging
- - Action: "http://ws.cdyne.com/GetQuickQuote"
- - Addressing input action: "http://ws.cdyne.com/GetQuickQuote"
- - Addressing output action: "http://ws.cdyne.com/GetQuickQuoteResponse"
- C stub function (defined in soapClient.c[pp] generated by soapcpp2):
- @code
- int soap_call___ns1__GetQuickQuote_(
- struct soap *soap,
- NULL, // char *endpoint = NULL selects default endpoint for this operation
- NULL, // char *action = NULL selects default action for this operation
- // input parameters:
- struct _ns1__GetQuickQuote* ns1__GetQuickQuote,
- // output parameters:
- struct _ns1__GetQuickQuoteResponse *ns1__GetQuickQuoteResponse
- );
- @endcode
- C server function (called from the service dispatcher defined in soapServer.c[pp]):
- @code
- int __ns1__GetQuickQuote_(
- struct soap *soap,
- // input parameters:
- struct _ns1__GetQuickQuote* ns1__GetQuickQuote,
- // output parameters:
- struct _ns1__GetQuickQuoteResponse *ns1__GetQuickQuoteResponse
- );
- @endcode
- */
- //gsoap ns1 service method-protocol: GetQuickQuote_ SOAP
- //gsoap ns1 service method-style: GetQuickQuote_ document
- //gsoap ns1 service method-encoding: GetQuickQuote_ literal
- //gsoap ns1 service method-input-action: GetQuickQuote_ http://ws.cdyne.com/GetQuickQuote
- //gsoap ns1 service method-output-action: GetQuickQuote_ http://ws.cdyne.com/GetQuickQuoteResponse
- int __ns1__GetQuickQuote_(
- struct _ns1__GetQuickQuote* ns1__GetQuickQuote, ///< Input parameter
- struct _ns1__GetQuickQuoteResponse *ns1__GetQuickQuoteResponse ///< Output parameter
- );
- /******************************************************************************\
- * *
- * Service Operation *
- * __ns1__GetQuoteDataSet_ *
- * *
- \******************************************************************************/
- /** Operation "__ns1__GetQuoteDataSet_" of service binding "DelayedStockQuoteSoap".
- This method retrieves the stock information and returns it in a dataset. Use a
- , to diplay multiple quotes. Use a license key of 0 for testing.
- - SOAP document/literal style messaging
- - Action: "http://ws.cdyne.com/GetQuoteDataSet"
- - Addressing input action: "http://ws.cdyne.com/GetQuoteDataSet"
- - Addressing output action: "http://ws.cdyne.com/GetQuoteDataSetResponse"
- C stub function (defined in soapClient.c[pp] generated by soapcpp2):
- @code
- int soap_call___ns1__GetQuoteDataSet_(
- struct soap *soap,
- NULL, // char *endpoint = NULL selects default endpoint for this operation
- NULL, // char *action = NULL selects default action for this operation
- // input parameters:
- struct _ns1__GetQuoteDataSet* ns1__GetQuoteDataSet,
- // output parameters:
- struct _ns1__GetQuoteDataSetResponse*ns1__GetQuoteDataSetResponse
- );
- @endcode
- C server function (called from the service dispatcher defined in soapServer.c[pp]):
- @code
- int __ns1__GetQuoteDataSet_(
- struct soap *soap,
- // input parameters:
- struct _ns1__GetQuoteDataSet* ns1__GetQuoteDataSet,
- // output parameters:
- struct _ns1__GetQuoteDataSetResponse*ns1__GetQuoteDataSetResponse
- );
- @endcode
- */
- //gsoap ns1 service method-protocol: GetQuoteDataSet_ SOAP
- //gsoap ns1 service method-style: GetQuoteDataSet_ document
- //gsoap ns1 service method-encoding: GetQuoteDataSet_ literal
- //gsoap ns1 service method-input-action: GetQuoteDataSet_ http://ws.cdyne.com/GetQuoteDataSet
- //gsoap ns1 service method-output-action: GetQuoteDataSet_ http://ws.cdyne.com/GetQuoteDataSetResponse
- int __ns1__GetQuoteDataSet_(
- struct _ns1__GetQuoteDataSet* ns1__GetQuoteDataSet, ///< Input parameter
- struct _ns1__GetQuoteDataSetResponse*ns1__GetQuoteDataSetResponse ///< Output parameter
- );
- /**
- @page DelayedStockQuoteSoap Binding "DelayedStockQuoteSoap"
- @section DelayedStockQuoteSoap_policy_enablers Policy Enablers of Binding "DelayedStockQuoteSoap"
- None specified.
- */
- /******************************************************************************\
- * *
- * XML Data Binding *
- * *
- \******************************************************************************/
- /**
- @page page_XMLDataBinding XML Data Binding
- SOAP/XML services use data bindings contractually bound by WSDL and auto-
- generated by wsdl2h and soapcpp2 (see Service Bindings). Plain data bindings
- are adopted from XML schemas as part of the WSDL types section or when running
- wsdl2h on a set of schemas to produce non-SOAP-based XML data bindings.
- The following readers and writers are C/C++ data type (de)serializers auto-
- generated by wsdl2h and soapcpp2. Run soapcpp2 on this file to generate the
- (de)serialization code, which is stored in soapC.c[pp]. Include "soapH.h" in
- your code to import these data type and function declarations. Only use the
- soapcpp2-generated files in your project build. Do not include the wsdl2h-
- generated .h file in your code.
- Data can be read in XML and deserialized from:
- - a file descriptor, using soap->recvfd = fd
- - a socket, using soap->socket = ...
- - a C++ stream, using soap->is = ...
- - a buffer, using the soap->frecv() callback
- Data can be serialized in XML and written to:
- - a file descriptor, using soap->sendfd = fd
- - a socket, using soap->socket = ...
- - a C++ stream, using soap->os = ...
- - a buffer, using the soap->fsend() callback
- The following options are available for (de)serialization control:
- - soap->encodingStyle = NULL; to remove SOAP 1.1/1.2 encodingStyle
- - soap_mode(soap, SOAP_XML_TREE); XML without id-ref (no cycles!)
- - soap_mode(soap, SOAP_XML_GRAPH); XML with id-ref (including cycles)
- - soap_set_namespaces(soap, struct Namespace *nsmap); to set xmlns bindings
- @section ns1 Top-level root elements of schema "http://ws.cdyne.com/"
- - <GetQuote> @ref _ns1__GetQuote
- @code
- // Reader (returns SOAP_OK on success):
- soap_read__ns1__GetQuote(struct soap*, struct _ns1__GetQuote*);
- // Writer (returns SOAP_OK on success):
- soap_write__ns1__GetQuote(struct soap*, struct _ns1__GetQuote*);
- @endcode
- - <GetQuoteResponse> @ref _ns1__GetQuoteResponse
- @code
- // Reader (returns SOAP_OK on success):
- soap_read__ns1__GetQuoteResponse(struct soap*, struct _ns1__GetQuoteResponse*);
- // Writer (returns SOAP_OK on success):
- soap_write__ns1__GetQuoteResponse(struct soap*, struct _ns1__GetQuoteResponse*);
- @endcode
- - <GetQuickQuote> @ref _ns1__GetQuickQuote
- @code
- // Reader (returns SOAP_OK on success):
- soap_read__ns1__GetQuickQuote(struct soap*, struct _ns1__GetQuickQuote*);
- // Writer (returns SOAP_OK on success):
- soap_write__ns1__GetQuickQuote(struct soap*, struct _ns1__GetQuickQuote*);
- @endcode
- - <GetQuickQuoteResponse> @ref _ns1__GetQuickQuoteResponse
- @code
- // Reader (returns SOAP_OK on success):
- soap_read__ns1__GetQuickQuoteResponse(struct soap*, struct _ns1__GetQuickQuoteResponse*);
- // Writer (returns SOAP_OK on success):
- soap_write__ns1__GetQuickQuoteResponse(struct soap*, struct _ns1__GetQuickQuoteResponse*);
- @endcode
- - <GetQuoteDataSet> @ref _ns1__GetQuoteDataSet
- @code
- // Reader (returns SOAP_OK on success):
- soap_read__ns1__GetQuoteDataSet(struct soap*, struct _ns1__GetQuoteDataSet*);
- // Writer (returns SOAP_OK on success):
- soap_write__ns1__GetQuoteDataSet(struct soap*, struct _ns1__GetQuoteDataSet*);
- @endcode
- - <GetQuoteDataSetResponse> @ref _ns1__GetQuoteDataSetResponse
- @code
- // Reader (returns SOAP_OK on success):
- soap_read__ns1__GetQuoteDataSetResponse(struct soap*, struct _ns1__GetQuoteDataSetResponse*);
- // Writer (returns SOAP_OK on success):
- soap_write__ns1__GetQuoteDataSetResponse(struct soap*, struct _ns1__GetQuoteDataSetResponse*);
- @endcode
- - <QuoteData> (use wsdl2h option -g to auto-generate)
- - <decimal> (use wsdl2h option -g to auto-generate)
- - <DataSet> @ref _ns1__DataSet
- @code
- // Reader (returns SOAP_OK on success):
- soap_read__ns1__DataSet(struct soap*, struct _ns1__DataSet*);
- // Writer (returns SOAP_OK on success):
- soap_write__ns1__DataSet(struct soap*, struct _ns1__DataSet*);
- @endcode
- */
- /* End of getquote */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement