Advertisement
Guest User

getquote

a guest
Feb 13th, 2016
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.10 KB | None | 0 0
  1. // Reminder: Modify typemap.dat to customize the header file generated by wsdl2h
  2. /* getquote
  3. Generated by wsdl2h 2.8.23 from http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx?wsdl and typemap.dat
  4. 2016-02-12 20:54:37 GMT
  5.  
  6. DO NOT INCLUDE THIS FILE DIRECTLY INTO YOUR PROJECT BUILDS
  7. USE THE soapcpp2-GENERATED SOURCE CODE FILES FOR YOUR PROJECT BUILDS
  8.  
  9. gSOAP XML Web services tools.
  10. Copyright (C) 2000-2015 Robert van Engelen, Genivia Inc. All Rights Reserved.
  11. Part of this software is released under one of the following licenses:
  12. GPL or Genivia's license for commercial use.
  13. */
  14.  
  15. /** @page page_notes Notes
  16.  
  17. @note HINTS:
  18. - Run soapcpp2 on getquote to generate the SOAP/XML processing logic.
  19. Use soapcpp2 -I to specify paths for #import
  20. To build with STL, 'stlvector.h' is imported from 'import' dir in package.
  21. Use soapcpp2 -j to generate improved proxy and server classes.
  22. - Use wsdl2h -c and -s to generate pure C code or C++ code without STL.
  23. - Use 'typemap.dat' to control namespace bindings and type mappings.
  24. It is strongly recommended to customize the names of the namespace prefixes
  25. generated by wsdl2h. To do so, modify the prefix bindings in the Namespaces
  26. section below and add the modified lines to 'typemap.dat' to rerun wsdl2h.
  27. - Use Doxygen (www.doxygen.org) on this file to generate documentation.
  28. - Use wsdl2h -R to generate REST operations.
  29. - Use wsdl2h -nname to use name as the base namespace prefix instead of 'ns'.
  30. - Use wsdl2h -Nname for service prefix and produce multiple service bindings
  31. - Use wsdl2h -d to enable DOM support for xsd:anyType.
  32. - Use wsdl2h -g to auto-generate readers and writers for root elements.
  33. - Use wsdl2h -b to auto-generate bi-directional operations (duplex ops).
  34. - Use wsdl2h -U to map XML names to C++ Unicode identifiers instead of _xNNNN.
  35. - Use wsdl2h -u to disable the generation of unions.
  36. - Struct/class members serialized as XML attributes are annotated with a '@'.
  37. - Struct/class members that have a special role are annotated with a '$'.
  38.  
  39. @warning
  40. DO NOT INCLUDE THIS ANNOTATED FILE DIRECTLY IN YOUR PROJECT SOURCE CODE.
  41. USE THE FILES GENERATED BY soapcpp2 FOR YOUR PROJECT'S SOURCE CODE:
  42. THE soapStub.h FILE CONTAINS THIS CONTENT WITHOUT ANNOTATIONS.
  43.  
  44. @copyright LICENSE:
  45. @verbatim
  46. --------------------------------------------------------------------------------
  47. gSOAP XML Web services tools
  48. Copyright (C) 2000-2015, Robert van Engelen, Genivia Inc. All Rights Reserved.
  49.  
  50. This software is released under one of the following licenses:
  51. GPL or Genivia's license for commercial use.
  52. --------------------------------------------------------------------------------
  53. GPL license.
  54.  
  55. This program is free software; you can redistribute it and/or modify it under
  56. the terms of the GNU General Public License as published by the Free Software
  57. Foundation; either version 2 of the License, or (at your option) any later
  58. version.
  59.  
  60. This program is distributed in the hope that it will be useful, but WITHOUT ANY
  61. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  62. PARTICULAR PURPOSE. See the GNU General Public License for more details.
  63.  
  64. You should have received a copy of the GNU General Public License along with
  65. this program; if not, write to the Free Software Foundation, Inc., 59 Temple
  66. Place, Suite 330, Boston, MA 02111-1307 USA
  67.  
  68. Author contact information:
  69. engelen@genivia.com / engelen@acm.org
  70.  
  71. This program is released under the GPL with the additional exemption that
  72. compiling, linking, and/or using OpenSSL is allowed.
  73. --------------------------------------------------------------------------------
  74. A commercial-use license is available from Genivia, Inc., contact@genivia.com
  75. --------------------------------------------------------------------------------
  76. @endverbatim
  77.  
  78. */
  79.  
  80.  
  81. //gsoapopt cw
  82.  
  83. /******************************************************************************\
  84. * *
  85. * Definitions *
  86. * http://ws.cdyne.com/ *
  87. * *
  88. \******************************************************************************/
  89.  
  90.  
  91. /******************************************************************************\
  92. * *
  93. * Import *
  94. * *
  95. \******************************************************************************/
  96.  
  97.  
  98. /******************************************************************************\
  99. * *
  100. * Schema Namespaces *
  101. * *
  102. \******************************************************************************/
  103.  
  104.  
  105. /* NOTE:
  106.  
  107. It is strongly recommended to customize the names of the namespace prefixes
  108. generated by wsdl2h. To do so, modify the prefix bindings below and add the
  109. modified lines to typemap.dat to rerun wsdl2h:
  110.  
  111. ns1 = "http://ws.cdyne.com/"
  112.  
  113. */
  114.  
  115. #define SOAP_NAMESPACE_OF_ns1 "http://ws.cdyne.com/"
  116. //gsoap ns1 schema namespace: http://ws.cdyne.com/
  117. //gsoap ns1 schema elementForm: qualified
  118. //gsoap ns1 schema attributeForm: unqualified
  119.  
  120. /******************************************************************************\
  121. * *
  122. * Built-in Schema Types and Top-Level Elements and Attributes *
  123. * *
  124. \******************************************************************************/
  125.  
  126. /// Built-in XSD type "xs:boolean".
  127. enum xsd__boolean { xsd__boolean__false_, xsd__boolean__true_ };
  128.  
  129. /// Primitive built-in type "xs:decimal".
  130. typedef char* xsd__decimal;
  131.  
  132. /// Built-in element "xs:schema".
  133. typedef _XML _xsd__schema;
  134.  
  135.  
  136.  
  137. /******************************************************************************\
  138. * *
  139. * Schema Types and Top-Level Elements and Attributes *
  140. * http://ws.cdyne.com/ *
  141. * *
  142. \******************************************************************************/
  143.  
  144.  
  145. /******************************************************************************\
  146. * *
  147. * Schema Complex Types and Top-Level Elements *
  148. * http://ws.cdyne.com/ *
  149. * *
  150. \******************************************************************************/
  151.  
  152. /// @brief "http://ws.cdyne.com/":QuoteData is a complexType.
  153. ///
  154. struct ns1__QuoteData
  155. {
  156. /// Element "StockSymbol" of XSD type xs:string.
  157. char* StockSymbol 0; ///< Optional element.
  158. /// Element "LastTradeAmount" of XSD type xs:decimal.
  159. xsd__decimal LastTradeAmount 1; ///< Required element.
  160. /// Element "LastTradeDateTime" of XSD type xs:dateTime.
  161. time_t LastTradeDateTime 1; ///< Required element.
  162. /// Element "StockChange" of XSD type xs:decimal.
  163. xsd__decimal StockChange 1; ///< Required element.
  164. /// Element "OpenAmount" of XSD type xs:decimal.
  165. xsd__decimal OpenAmount 1; ///< Required element.
  166. /// Element "DayHigh" of XSD type xs:decimal.
  167. xsd__decimal DayHigh 1; ///< Required element.
  168. /// Element "DayLow" of XSD type xs:decimal.
  169. xsd__decimal DayLow 1; ///< Required element.
  170. /// Element "StockVolume" of XSD type xs:int.
  171. int StockVolume 1; ///< Required element.
  172. /// Element "PrevCls" of XSD type xs:decimal.
  173. xsd__decimal PrevCls 1; ///< Required element.
  174. /// Element "ChangePercent" of XSD type xs:string.
  175. char* ChangePercent 0; ///< Optional element.
  176. /// Element "FiftyTwoWeekRange" of XSD type xs:string.
  177. char* FiftyTwoWeekRange 0; ///< Optional element.
  178. /// Element "EarnPerShare" of XSD type xs:decimal.
  179. xsd__decimal EarnPerShare 1; ///< Required element.
  180. /// Element "PE" of XSD type xs:decimal.
  181. xsd__decimal PE 1; ///< Required element.
  182. /// Element "CompanyName" of XSD type xs:string.
  183. char* CompanyName 0; ///< Optional element.
  184. /// Element "QuoteError" of XSD type xs:boolean.
  185. enum xsd__boolean QuoteError 1; ///< Required element.
  186. };
  187.  
  188. /// @brief Top-level root element "http://ws.cdyne.com/":GetQuote
  189. /// @brief "http://ws.cdyne.com/":GetQuote is a complexType.
  190. ///
  191. struct _ns1__GetQuote
  192. {
  193. /// Element "StockSymbol" of XSD type xs:string.
  194. char* StockSymbol 0; ///< Optional element.
  195. /// Element "LicenseKey" of XSD type xs:string.
  196. char* LicenseKey 0; ///< Optional element.
  197. };
  198.  
  199. /// @brief Top-level root element "http://ws.cdyne.com/":GetQuoteResponse
  200. /// @brief "http://ws.cdyne.com/":GetQuoteResponse is a complexType.
  201. ///
  202. struct _ns1__GetQuoteResponse
  203. {
  204. /// Element "GetQuoteResult" of XSD type "http://ws.cdyne.com/":QuoteData.
  205. struct ns1__QuoteData* GetQuoteResult 1; ///< Required element.
  206. };
  207.  
  208. /// @brief Top-level root element "http://ws.cdyne.com/":GetQuickQuote
  209. /// @brief "http://ws.cdyne.com/":GetQuickQuote is a complexType.
  210. ///
  211. struct _ns1__GetQuickQuote
  212. {
  213. /// Element "StockSymbol" of XSD type xs:string.
  214. char* StockSymbol 0; ///< Optional element.
  215. /// Element "LicenseKey" of XSD type xs:string.
  216. char* LicenseKey 0; ///< Optional element.
  217. };
  218.  
  219. /// @brief Top-level root element "http://ws.cdyne.com/":GetQuickQuoteResponse
  220. /// @brief "http://ws.cdyne.com/":GetQuickQuoteResponse is a complexType.
  221. ///
  222. struct _ns1__GetQuickQuoteResponse
  223. {
  224. /// Element "GetQuickQuoteResult" of XSD type xs:decimal.
  225. xsd__decimal GetQuickQuoteResult 1; ///< Required element.
  226. };
  227.  
  228. /// @brief Top-level root element "http://ws.cdyne.com/":GetQuoteDataSet
  229. /// @brief "http://ws.cdyne.com/":GetQuoteDataSet is a complexType.
  230. ///
  231. struct _ns1__GetQuoteDataSet
  232. {
  233. /// Element "StockSymbols" of XSD type xs:string.
  234. char* StockSymbols 0; ///< Optional element.
  235. /// Element "LicenseKey" of XSD type xs:string.
  236. char* LicenseKey 0; ///< Optional element.
  237. };
  238.  
  239. /// @brief Top-level root element "http://ws.cdyne.com/":GetQuoteDataSetResponse
  240. /// @brief "http://ws.cdyne.com/":GetQuoteDataSetResponse is a complexType.
  241. ///
  242. struct _ns1__GetQuoteDataSetResponse
  243. {
  244. struct _ns1__GetQuoteDataSetResponse_GetQuoteDataSetResult
  245. {
  246. /// Imported element reference xs:schema.
  247. _xsd__schema xsd__schema 1; ///< Required element.
  248. /// @todo <any namespace="##any">
  249. /// @todo Schema extensibility is user-definable.
  250. /// Consult the protocol documentation to change or insert declarations.
  251. /// Use wsdl2h option -x to remove this element.
  252. /// Use wsdl2h option -d for xsd__anyType DOM (soap_dom_element).
  253. _XML __any 0; ///< Catch any element content in XML string.
  254. } *GetQuoteDataSetResult 0; ///< Optional element.
  255. };
  256.  
  257. /// @brief Top-level root element "http://ws.cdyne.com/":DataSet
  258. /// @brief "http://ws.cdyne.com/":DataSet is a complexType.
  259. ///
  260. struct _ns1__DataSet
  261. {
  262. /// Imported element reference xs:schema.
  263. _xsd__schema xsd__schema 1; ///< Required element.
  264. /// @todo <any namespace="##any">
  265. /// @todo Schema extensibility is user-definable.
  266. /// Consult the protocol documentation to change or insert declarations.
  267. /// Use wsdl2h option -x to remove this element.
  268. /// Use wsdl2h option -d for xsd__anyType DOM (soap_dom_element).
  269. _XML __any 0; ///< Catch any element content in XML string.
  270. };
  271.  
  272.  
  273. /******************************************************************************\
  274. * *
  275. * Additional Top-Level Elements *
  276. * http://ws.cdyne.com/ *
  277. * *
  278. \******************************************************************************/
  279.  
  280. /// @brief Top-level root element "http://ws.cdyne.com/":QuoteData of XSD type "http://ws.cdyne.com/":QuoteData.
  281. /// @note Use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
  282.  
  283. /// @brief Top-level root element "http://ws.cdyne.com/":decimal of XSD type xs:decimal.
  284. /// @note Use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
  285.  
  286.  
  287. /******************************************************************************\
  288. * *
  289. * Additional Top-Level Attributes *
  290. * http://ws.cdyne.com/ *
  291. * *
  292. \******************************************************************************/
  293.  
  294.  
  295. /******************************************************************************\
  296. * *
  297. * Services *
  298. * *
  299. \******************************************************************************/
  300.  
  301. // This service supports SOAP 1.2 namespaces:
  302. #import "soap12.h"
  303.  
  304. //gsoap ns1 service name: DelayedStockQuoteSoap
  305. //gsoap ns1 service type: DelayedStockQuoteSoap
  306. //gsoap ns1 service port: http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx
  307. //gsoap ns1 service namespace: http://ws.cdyne.com/
  308. //gsoap ns1 service transport: http://schemas.xmlsoap.org/soap/http
  309.  
  310. /** @mainpage Service Definitions
  311.  
  312. @section Service_bindings Service Bindings
  313.  
  314. - @ref DelayedStockQuoteSoap
  315.  
  316. @section Service_more More Information
  317.  
  318. - @ref page_notes "Notes"
  319.  
  320. - @ref page_XMLDataBinding "XML Data Binding"
  321.  
  322. - @ref SOAP_ENV__Header "SOAP Header Content" (when applicable)
  323.  
  324. - @ref SOAP_ENV__Detail "SOAP Fault Detail Content" (when applicable)
  325.  
  326.  
  327. */
  328.  
  329. /**
  330.  
  331. @page DelayedStockQuoteSoap Binding "DelayedStockQuoteSoap"
  332.  
  333. @section DelayedStockQuoteSoap_operations Operations of Binding "DelayedStockQuoteSoap"
  334.  
  335. - @ref __ns1__GetQuote
  336.  
  337. - @ref __ns1__GetQuickQuote
  338.  
  339. - @ref __ns1__GetQuoteDataSet
  340.  
  341. - @ref __ns1__GetQuote_
  342.  
  343. - @ref __ns1__GetQuickQuote_
  344.  
  345. - @ref __ns1__GetQuoteDataSet_
  346.  
  347. @section DelayedStockQuoteSoap_ports Endpoints of Binding "DelayedStockQuoteSoap"
  348.  
  349. - http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx
  350.  
  351. @note Multiple service bindings collected as one, use wsdl2h option -Nname to produce a separate service for each binding
  352.  
  353.  
  354. */
  355.  
  356. /******************************************************************************\
  357. * *
  358. * Service Binding *
  359. * DelayedStockQuoteSoap *
  360. * *
  361. \******************************************************************************/
  362.  
  363.  
  364. /******************************************************************************\
  365. * *
  366. * Service Operation *
  367. * __ns1__GetQuote *
  368. * *
  369. \******************************************************************************/
  370.  
  371.  
  372. /** Operation "__ns1__GetQuote" of service binding "DelayedStockQuoteSoap".
  373. This method retrieves a current stock quote. Use a license key of 0 for testing.
  374.  
  375. - SOAP document/literal style messaging
  376.  
  377. - Action: "http://ws.cdyne.com/GetQuote"
  378.  
  379. - Addressing input action: "http://ws.cdyne.com/GetQuote"
  380.  
  381. - Addressing output action: "http://ws.cdyne.com/GetQuoteResponse"
  382.  
  383. C stub function (defined in soapClient.c[pp] generated by soapcpp2):
  384. @code
  385. int soap_call___ns1__GetQuote(
  386. struct soap *soap,
  387. NULL, // char *endpoint = NULL selects default endpoint for this operation
  388. NULL, // char *action = NULL selects default action for this operation
  389. // input parameters:
  390. struct _ns1__GetQuote* ns1__GetQuote,
  391. // output parameters:
  392. struct _ns1__GetQuoteResponse *ns1__GetQuoteResponse
  393. );
  394. @endcode
  395.  
  396. C server function (called from the service dispatcher defined in soapServer.c[pp]):
  397. @code
  398. int __ns1__GetQuote(
  399. struct soap *soap,
  400. // input parameters:
  401. struct _ns1__GetQuote* ns1__GetQuote,
  402. // output parameters:
  403. struct _ns1__GetQuoteResponse *ns1__GetQuoteResponse
  404. );
  405. @endcode
  406.  
  407. */
  408.  
  409. //gsoap ns1 service method-protocol: GetQuote SOAP
  410. //gsoap ns1 service method-style: GetQuote document
  411. //gsoap ns1 service method-encoding: GetQuote literal
  412. //gsoap ns1 service method-input-action: GetQuote http://ws.cdyne.com/GetQuote
  413. //gsoap ns1 service method-output-action: GetQuote http://ws.cdyne.com/GetQuoteResponse
  414. int __ns1__GetQuote(
  415. struct _ns1__GetQuote* ns1__GetQuote, ///< Input parameter
  416. struct _ns1__GetQuoteResponse *ns1__GetQuoteResponse ///< Output parameter
  417. );
  418.  
  419. /******************************************************************************\
  420. * *
  421. * Service Operation *
  422. * __ns1__GetQuickQuote *
  423. * *
  424. \******************************************************************************/
  425.  
  426.  
  427. /** Operation "__ns1__GetQuickQuote" of service binding "DelayedStockQuoteSoap".
  428. This method retrieves just a stock price. Use a license key of 0 for testing.
  429.  
  430. - SOAP document/literal style messaging
  431.  
  432. - Action: "http://ws.cdyne.com/GetQuickQuote"
  433.  
  434. - Addressing input action: "http://ws.cdyne.com/GetQuickQuote"
  435.  
  436. - Addressing output action: "http://ws.cdyne.com/GetQuickQuoteResponse"
  437.  
  438. C stub function (defined in soapClient.c[pp] generated by soapcpp2):
  439. @code
  440. int soap_call___ns1__GetQuickQuote(
  441. struct soap *soap,
  442. NULL, // char *endpoint = NULL selects default endpoint for this operation
  443. NULL, // char *action = NULL selects default action for this operation
  444. // input parameters:
  445. struct _ns1__GetQuickQuote* ns1__GetQuickQuote,
  446. // output parameters:
  447. struct _ns1__GetQuickQuoteResponse *ns1__GetQuickQuoteResponse
  448. );
  449. @endcode
  450.  
  451. C server function (called from the service dispatcher defined in soapServer.c[pp]):
  452. @code
  453. int __ns1__GetQuickQuote(
  454. struct soap *soap,
  455. // input parameters:
  456. struct _ns1__GetQuickQuote* ns1__GetQuickQuote,
  457. // output parameters:
  458. struct _ns1__GetQuickQuoteResponse *ns1__GetQuickQuoteResponse
  459. );
  460. @endcode
  461.  
  462. */
  463.  
  464. //gsoap ns1 service method-protocol: GetQuickQuote SOAP
  465. //gsoap ns1 service method-style: GetQuickQuote document
  466. //gsoap ns1 service method-encoding: GetQuickQuote literal
  467. //gsoap ns1 service method-input-action: GetQuickQuote http://ws.cdyne.com/GetQuickQuote
  468. //gsoap ns1 service method-output-action: GetQuickQuote http://ws.cdyne.com/GetQuickQuoteResponse
  469. int __ns1__GetQuickQuote(
  470. struct _ns1__GetQuickQuote* ns1__GetQuickQuote, ///< Input parameter
  471. struct _ns1__GetQuickQuoteResponse *ns1__GetQuickQuoteResponse ///< Output parameter
  472. );
  473.  
  474. /******************************************************************************\
  475. * *
  476. * Service Operation *
  477. * __ns1__GetQuoteDataSet *
  478. * *
  479. \******************************************************************************/
  480.  
  481.  
  482. /** Operation "__ns1__GetQuoteDataSet" of service binding "DelayedStockQuoteSoap".
  483. This method retrieves the stock information and returns it in a dataset. Use a
  484. , to diplay multiple quotes. Use a license key of 0 for testing.
  485.  
  486. - SOAP document/literal style messaging
  487.  
  488. - Action: "http://ws.cdyne.com/GetQuoteDataSet"
  489.  
  490. - Addressing input action: "http://ws.cdyne.com/GetQuoteDataSet"
  491.  
  492. - Addressing output action: "http://ws.cdyne.com/GetQuoteDataSetResponse"
  493.  
  494. C stub function (defined in soapClient.c[pp] generated by soapcpp2):
  495. @code
  496. int soap_call___ns1__GetQuoteDataSet(
  497. struct soap *soap,
  498. NULL, // char *endpoint = NULL selects default endpoint for this operation
  499. NULL, // char *action = NULL selects default action for this operation
  500. // input parameters:
  501. struct _ns1__GetQuoteDataSet* ns1__GetQuoteDataSet,
  502. // output parameters:
  503. struct _ns1__GetQuoteDataSetResponse*ns1__GetQuoteDataSetResponse
  504. );
  505. @endcode
  506.  
  507. C server function (called from the service dispatcher defined in soapServer.c[pp]):
  508. @code
  509. int __ns1__GetQuoteDataSet(
  510. struct soap *soap,
  511. // input parameters:
  512. struct _ns1__GetQuoteDataSet* ns1__GetQuoteDataSet,
  513. // output parameters:
  514. struct _ns1__GetQuoteDataSetResponse*ns1__GetQuoteDataSetResponse
  515. );
  516. @endcode
  517.  
  518. */
  519.  
  520. //gsoap ns1 service method-protocol: GetQuoteDataSet SOAP
  521. //gsoap ns1 service method-style: GetQuoteDataSet document
  522. //gsoap ns1 service method-encoding: GetQuoteDataSet literal
  523. //gsoap ns1 service method-input-action: GetQuoteDataSet http://ws.cdyne.com/GetQuoteDataSet
  524. //gsoap ns1 service method-output-action: GetQuoteDataSet http://ws.cdyne.com/GetQuoteDataSetResponse
  525. int __ns1__GetQuoteDataSet(
  526. struct _ns1__GetQuoteDataSet* ns1__GetQuoteDataSet, ///< Input parameter
  527. struct _ns1__GetQuoteDataSetResponse*ns1__GetQuoteDataSetResponse ///< Output parameter
  528. );
  529.  
  530. /******************************************************************************\
  531. * *
  532. * Service Operation *
  533. * __ns1__GetQuote_ *
  534. * *
  535. \******************************************************************************/
  536.  
  537.  
  538. /** Operation "__ns1__GetQuote_" of service binding "DelayedStockQuoteSoap".
  539. This method retrieves a current stock quote. Use a license key of 0 for testing.
  540.  
  541. - SOAP document/literal style messaging
  542.  
  543. - Action: "http://ws.cdyne.com/GetQuote"
  544.  
  545. - Addressing input action: "http://ws.cdyne.com/GetQuote"
  546.  
  547. - Addressing output action: "http://ws.cdyne.com/GetQuoteResponse"
  548.  
  549. C stub function (defined in soapClient.c[pp] generated by soapcpp2):
  550. @code
  551. int soap_call___ns1__GetQuote_(
  552. struct soap *soap,
  553. NULL, // char *endpoint = NULL selects default endpoint for this operation
  554. NULL, // char *action = NULL selects default action for this operation
  555. // input parameters:
  556. struct _ns1__GetQuote* ns1__GetQuote,
  557. // output parameters:
  558. struct _ns1__GetQuoteResponse *ns1__GetQuoteResponse
  559. );
  560. @endcode
  561.  
  562. C server function (called from the service dispatcher defined in soapServer.c[pp]):
  563. @code
  564. int __ns1__GetQuote_(
  565. struct soap *soap,
  566. // input parameters:
  567. struct _ns1__GetQuote* ns1__GetQuote,
  568. // output parameters:
  569. struct _ns1__GetQuoteResponse *ns1__GetQuoteResponse
  570. );
  571. @endcode
  572.  
  573. */
  574.  
  575. //gsoap ns1 service method-protocol: GetQuote_ SOAP
  576. //gsoap ns1 service method-style: GetQuote_ document
  577. //gsoap ns1 service method-encoding: GetQuote_ literal
  578. //gsoap ns1 service method-input-action: GetQuote_ http://ws.cdyne.com/GetQuote
  579. //gsoap ns1 service method-output-action: GetQuote_ http://ws.cdyne.com/GetQuoteResponse
  580. int __ns1__GetQuote_(
  581. struct _ns1__GetQuote* ns1__GetQuote, ///< Input parameter
  582. struct _ns1__GetQuoteResponse *ns1__GetQuoteResponse ///< Output parameter
  583. );
  584.  
  585. /******************************************************************************\
  586. * *
  587. * Service Operation *
  588. * __ns1__GetQuickQuote_ *
  589. * *
  590. \******************************************************************************/
  591.  
  592.  
  593. /** Operation "__ns1__GetQuickQuote_" of service binding "DelayedStockQuoteSoap".
  594. This method retrieves just a stock price. Use a license key of 0 for testing.
  595.  
  596. - SOAP document/literal style messaging
  597.  
  598. - Action: "http://ws.cdyne.com/GetQuickQuote"
  599.  
  600. - Addressing input action: "http://ws.cdyne.com/GetQuickQuote"
  601.  
  602. - Addressing output action: "http://ws.cdyne.com/GetQuickQuoteResponse"
  603.  
  604. C stub function (defined in soapClient.c[pp] generated by soapcpp2):
  605. @code
  606. int soap_call___ns1__GetQuickQuote_(
  607. struct soap *soap,
  608. NULL, // char *endpoint = NULL selects default endpoint for this operation
  609. NULL, // char *action = NULL selects default action for this operation
  610. // input parameters:
  611. struct _ns1__GetQuickQuote* ns1__GetQuickQuote,
  612. // output parameters:
  613. struct _ns1__GetQuickQuoteResponse *ns1__GetQuickQuoteResponse
  614. );
  615. @endcode
  616.  
  617. C server function (called from the service dispatcher defined in soapServer.c[pp]):
  618. @code
  619. int __ns1__GetQuickQuote_(
  620. struct soap *soap,
  621. // input parameters:
  622. struct _ns1__GetQuickQuote* ns1__GetQuickQuote,
  623. // output parameters:
  624. struct _ns1__GetQuickQuoteResponse *ns1__GetQuickQuoteResponse
  625. );
  626. @endcode
  627.  
  628. */
  629.  
  630. //gsoap ns1 service method-protocol: GetQuickQuote_ SOAP
  631. //gsoap ns1 service method-style: GetQuickQuote_ document
  632. //gsoap ns1 service method-encoding: GetQuickQuote_ literal
  633. //gsoap ns1 service method-input-action: GetQuickQuote_ http://ws.cdyne.com/GetQuickQuote
  634. //gsoap ns1 service method-output-action: GetQuickQuote_ http://ws.cdyne.com/GetQuickQuoteResponse
  635. int __ns1__GetQuickQuote_(
  636. struct _ns1__GetQuickQuote* ns1__GetQuickQuote, ///< Input parameter
  637. struct _ns1__GetQuickQuoteResponse *ns1__GetQuickQuoteResponse ///< Output parameter
  638. );
  639.  
  640. /******************************************************************************\
  641. * *
  642. * Service Operation *
  643. * __ns1__GetQuoteDataSet_ *
  644. * *
  645. \******************************************************************************/
  646.  
  647.  
  648. /** Operation "__ns1__GetQuoteDataSet_" of service binding "DelayedStockQuoteSoap".
  649. This method retrieves the stock information and returns it in a dataset. Use a
  650. , to diplay multiple quotes. Use a license key of 0 for testing.
  651.  
  652. - SOAP document/literal style messaging
  653.  
  654. - Action: "http://ws.cdyne.com/GetQuoteDataSet"
  655.  
  656. - Addressing input action: "http://ws.cdyne.com/GetQuoteDataSet"
  657.  
  658. - Addressing output action: "http://ws.cdyne.com/GetQuoteDataSetResponse"
  659.  
  660. C stub function (defined in soapClient.c[pp] generated by soapcpp2):
  661. @code
  662. int soap_call___ns1__GetQuoteDataSet_(
  663. struct soap *soap,
  664. NULL, // char *endpoint = NULL selects default endpoint for this operation
  665. NULL, // char *action = NULL selects default action for this operation
  666. // input parameters:
  667. struct _ns1__GetQuoteDataSet* ns1__GetQuoteDataSet,
  668. // output parameters:
  669. struct _ns1__GetQuoteDataSetResponse*ns1__GetQuoteDataSetResponse
  670. );
  671. @endcode
  672.  
  673. C server function (called from the service dispatcher defined in soapServer.c[pp]):
  674. @code
  675. int __ns1__GetQuoteDataSet_(
  676. struct soap *soap,
  677. // input parameters:
  678. struct _ns1__GetQuoteDataSet* ns1__GetQuoteDataSet,
  679. // output parameters:
  680. struct _ns1__GetQuoteDataSetResponse*ns1__GetQuoteDataSetResponse
  681. );
  682. @endcode
  683.  
  684. */
  685.  
  686. //gsoap ns1 service method-protocol: GetQuoteDataSet_ SOAP
  687. //gsoap ns1 service method-style: GetQuoteDataSet_ document
  688. //gsoap ns1 service method-encoding: GetQuoteDataSet_ literal
  689. //gsoap ns1 service method-input-action: GetQuoteDataSet_ http://ws.cdyne.com/GetQuoteDataSet
  690. //gsoap ns1 service method-output-action: GetQuoteDataSet_ http://ws.cdyne.com/GetQuoteDataSetResponse
  691. int __ns1__GetQuoteDataSet_(
  692. struct _ns1__GetQuoteDataSet* ns1__GetQuoteDataSet, ///< Input parameter
  693. struct _ns1__GetQuoteDataSetResponse*ns1__GetQuoteDataSetResponse ///< Output parameter
  694. );
  695.  
  696. /**
  697.  
  698. @page DelayedStockQuoteSoap Binding "DelayedStockQuoteSoap"
  699.  
  700. @section DelayedStockQuoteSoap_policy_enablers Policy Enablers of Binding "DelayedStockQuoteSoap"
  701.  
  702. None specified.
  703.  
  704. */
  705.  
  706. /******************************************************************************\
  707. * *
  708. * XML Data Binding *
  709. * *
  710. \******************************************************************************/
  711.  
  712.  
  713. /**
  714.  
  715. @page page_XMLDataBinding XML Data Binding
  716.  
  717. SOAP/XML services use data bindings contractually bound by WSDL and auto-
  718. generated by wsdl2h and soapcpp2 (see Service Bindings). Plain data bindings
  719. are adopted from XML schemas as part of the WSDL types section or when running
  720. wsdl2h on a set of schemas to produce non-SOAP-based XML data bindings.
  721.  
  722. The following readers and writers are C/C++ data type (de)serializers auto-
  723. generated by wsdl2h and soapcpp2. Run soapcpp2 on this file to generate the
  724. (de)serialization code, which is stored in soapC.c[pp]. Include "soapH.h" in
  725. your code to import these data type and function declarations. Only use the
  726. soapcpp2-generated files in your project build. Do not include the wsdl2h-
  727. generated .h file in your code.
  728.  
  729. Data can be read in XML and deserialized from:
  730. - a file descriptor, using soap->recvfd = fd
  731. - a socket, using soap->socket = ...
  732. - a C++ stream, using soap->is = ...
  733. - a buffer, using the soap->frecv() callback
  734.  
  735. Data can be serialized in XML and written to:
  736. - a file descriptor, using soap->sendfd = fd
  737. - a socket, using soap->socket = ...
  738. - a C++ stream, using soap->os = ...
  739. - a buffer, using the soap->fsend() callback
  740.  
  741. The following options are available for (de)serialization control:
  742. - soap->encodingStyle = NULL; to remove SOAP 1.1/1.2 encodingStyle
  743. - soap_mode(soap, SOAP_XML_TREE); XML without id-ref (no cycles!)
  744. - soap_mode(soap, SOAP_XML_GRAPH); XML with id-ref (including cycles)
  745. - soap_set_namespaces(soap, struct Namespace *nsmap); to set xmlns bindings
  746.  
  747.  
  748. @section ns1 Top-level root elements of schema "http://ws.cdyne.com/"
  749.  
  750. - <GetQuote> @ref _ns1__GetQuote
  751. @code
  752. // Reader (returns SOAP_OK on success):
  753. soap_read__ns1__GetQuote(struct soap*, struct _ns1__GetQuote*);
  754. // Writer (returns SOAP_OK on success):
  755. soap_write__ns1__GetQuote(struct soap*, struct _ns1__GetQuote*);
  756. @endcode
  757.  
  758. - <GetQuoteResponse> @ref _ns1__GetQuoteResponse
  759. @code
  760. // Reader (returns SOAP_OK on success):
  761. soap_read__ns1__GetQuoteResponse(struct soap*, struct _ns1__GetQuoteResponse*);
  762. // Writer (returns SOAP_OK on success):
  763. soap_write__ns1__GetQuoteResponse(struct soap*, struct _ns1__GetQuoteResponse*);
  764. @endcode
  765.  
  766. - <GetQuickQuote> @ref _ns1__GetQuickQuote
  767. @code
  768. // Reader (returns SOAP_OK on success):
  769. soap_read__ns1__GetQuickQuote(struct soap*, struct _ns1__GetQuickQuote*);
  770. // Writer (returns SOAP_OK on success):
  771. soap_write__ns1__GetQuickQuote(struct soap*, struct _ns1__GetQuickQuote*);
  772. @endcode
  773.  
  774. - <GetQuickQuoteResponse> @ref _ns1__GetQuickQuoteResponse
  775. @code
  776. // Reader (returns SOAP_OK on success):
  777. soap_read__ns1__GetQuickQuoteResponse(struct soap*, struct _ns1__GetQuickQuoteResponse*);
  778. // Writer (returns SOAP_OK on success):
  779. soap_write__ns1__GetQuickQuoteResponse(struct soap*, struct _ns1__GetQuickQuoteResponse*);
  780. @endcode
  781.  
  782. - <GetQuoteDataSet> @ref _ns1__GetQuoteDataSet
  783. @code
  784. // Reader (returns SOAP_OK on success):
  785. soap_read__ns1__GetQuoteDataSet(struct soap*, struct _ns1__GetQuoteDataSet*);
  786. // Writer (returns SOAP_OK on success):
  787. soap_write__ns1__GetQuoteDataSet(struct soap*, struct _ns1__GetQuoteDataSet*);
  788. @endcode
  789.  
  790. - <GetQuoteDataSetResponse> @ref _ns1__GetQuoteDataSetResponse
  791. @code
  792. // Reader (returns SOAP_OK on success):
  793. soap_read__ns1__GetQuoteDataSetResponse(struct soap*, struct _ns1__GetQuoteDataSetResponse*);
  794. // Writer (returns SOAP_OK on success):
  795. soap_write__ns1__GetQuoteDataSetResponse(struct soap*, struct _ns1__GetQuoteDataSetResponse*);
  796. @endcode
  797.  
  798. - <QuoteData> (use wsdl2h option -g to auto-generate)
  799.  
  800. - <decimal> (use wsdl2h option -g to auto-generate)
  801.  
  802. - <DataSet> @ref _ns1__DataSet
  803. @code
  804. // Reader (returns SOAP_OK on success):
  805. soap_read__ns1__DataSet(struct soap*, struct _ns1__DataSet*);
  806. // Writer (returns SOAP_OK on success):
  807. soap_write__ns1__DataSet(struct soap*, struct _ns1__DataSet*);
  808. @endcode
  809.  
  810. */
  811.  
  812. /* End of getquote */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement