ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / SOAP
  • Operating mode
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
<xsdEntity variable>.AddAttribute (Function)
In french: <Variable xsdEntité>.AjouteAttribut
Adds an attribute to an automatic variable generated by the import of a web service.
Example
xsdJob est un DefinedReportJob
xsdJob.AjouteAttribut("xsi:type", xsdJob..Type)
Syntax
<Variable>.AddAttribute(<Name> , <Value>)
<Variable>: Variable generated by the import of a web service
Automatic variable of the web service to modify.
<Name>: Unicode string
Name of the attribute to add.
<Value>: Unicode string
Value of the attribute to add.
Remarks

Operating mode

When a web service is imported into a project, WINDEV, WEBDEV and WINDEV Mobile automatically generate the types of variables allowing to handle the XML stream used by the protocol of the web service.
<xsdEntity variable>.AddAttribute adds an attribute that would not be declared in the WSDL (and therefore would not be automatically generated) to a variable of one of the imported types.
Note: <xsdEntity variable>.AddAttribute is an advanced function.. In most cases, the WSDL declares all the elements required for using the web services.
Component: wd300xml.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/26/2024

Send a report | Local help