Generated C Encode Functions for WSDL Operations

Web service description language (WSDL) documents may contain operation definitions in portType and binding sections. An encode function is generated for each operation input, output or fault (optional) defined in binding section in the following format:

    [<ns>]XmlE_<operName>_Input
    [<ns>]XmlE_<operName>_Output
    [<ns>]XmlE_<operName>_Fault

where <operName>is the name of the WSDL operation name and <ns>is an optional namespace setting that can be used to disambiguate element names from multiple sources (note: this should not be confused with XML namespaces which are different).

Note: if there are duplicate operation names in differenct portType sections within one WSDL source file, the first operation uses only the operation name, and other operation(s) with the duplicate names use a fully qualified name which consists of portType name, and operation name.

The calling sequence for a WSDL operation encode function is as follows:

     status = <encodeFunc> (OSCTXT* pctxt, <name>[*] value);

In this definition, <encodeFunc> denotes the encode function name defined above. The pctxt argument is a pointer to a context structure. The value or pvalue argument is the item to be encoded either passed by value or pointer. These arguments and the return status value are the same as previous described for C type encode functions.