TOC PREV NEXT INDEX


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.

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 Road
Exton, 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

TOC PREV NEXT INDEX