When -genSSLStubs option is specified, secure HTTP stub functions are generated. Those functions are using OpenSSL. They send a request to a server over SSL, wait for a response. Those functions are written to a .h and a .c files. The format of the names of those files are as follows:
<wsdlFileName>WSDLSSLClientStubs.h <wsdlFileName>WSDLSSLClientStubs.c
The format of a generated SSL Stub function name is as follows:
XmlSSL_[<ns>]<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).
The calling sequence for each generated SOAP Stub function is as follows:
XmlSSL_[<ns>]<wsdl operation name> (OSCTXT* pctxt, [<ns>]<wsdl input operation type>* pOperIn, OSOCTET** pResponseMsg, char* http_hdr);
The pctxt
argument is a pointer to a context structure
which contains a pointer to an SSL structure. The pOperIn
argument is a pointer to a variable of the wsdl input operation type.
The pOperIn contains the information to be sent to the server.
The pResponseMsg argument is a pointer to a variable which
holds the response message returned from the server.