Generated WSDL SOAP Stub Functions
When -genStubs option is specified, SOAP Stub functions are generated. Those functions send a request to a server, wait for a response and decode it. Those functions are written to a .h and a .c files. The format of the names of those files are as follows:
[<ns>]XmlSoap_<wsdl operation name>
where <wsdl operation name> is the name of the WSDL Operation for which the function is being generated and <ns> is an optional namespace setting that can be used to disambiguate names from multiple sources (note: this should not be confused with XML namespaces which are different).
[<ns>]XmlSoap_<wsdl operation name> (OSSOAPCONN* pConn, <wsdl input operation type>* preq, OSOCTET** presp);
The pConn argument is a pointer to a SOAP connection structure. The preq argument is a pointer to a variable of the wsdl input operation type. The preq contains the information to be sent to the server. The presp argument is a pointer to a variable which holds the response message returned from the server.
Copyright © Objective Systems 2002-2008 This document may be distributed in any form, electronic or otherwise, provided that it is distributed in its entirety and that the copyright and this notice are included. |
Objective Systems, Inc.55 Dowlin Forge RoadExton, Pennsylvania 19341 http://www.obj-sys.com Phone: (484) 875-9841 Toll-free: (877) 307-6855 (US only) Fax: (484) 875-9830 info@obj-sys.com |