fgl_ws_set_option()

This function is used to set the option of 4GL web service client:

fgl_ws_set_option("handle", "option_name", option_value)

 

fgl_ws_set_option() should be called after fgl_ws_create(), but before fgl_ws_execute().

 

Currently, only one option have been defined to switch on/off the namespace of each input parameter xml element in the SOAP request. For this option, option_name will be parameter_namespace, option_values can be 0, 1 or other integer. 0 means to switch off the namespaces for these input parameter xml elements. 1 or other integer means to switch on the namespaces for these input parameter xml elements. If you do not set this option, Querix 4GL web service framework will switch on the option by default.

 

If the web service to be called is .DOT NET web service, parameter_namespace must be switched on. Otherwise, you will get unexpected return values. If the web service to be called is SUN J2EE web service, whether parameter_namespace should be switched on or not depends on whether the namespaces for the input parameters of these J2EE web service operations have been explicitly specify or not using annotation. If they have been explicitly specified, parameter_namespace should be switched on. Otherwise, parameter_namespaceshould be switched off.

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.