PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Operating mode
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 Webservice.
Example
//xsdJob is DefinedReportJob
xsdJob is xsdEntity
xsdJob.AddAttribute("xsi:type", xsdJob..Type)
Syntax
<Variable>.AddAttribute(<Name> , <Value>)
<Variable>: Variable generated by the import of a Webservice
Automatic variable of the Webservice to modify.
<Name>: Unicode character string (with quotes)
Name of the attribute to add.
<Value>: Unicode character string (with quotes)
Value of the attribute to add.
Remarks

Operating mode

When a Webservice 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 Webservice.
<xsdEntity variable>.AddAttribute is used to add an attribute that would not be declared in the WSDL (and therefore not automatically generated) to a variable of one of the imported types.
Remark: <xsdEntity variable>.AddAttribute is an advanced function. In most cases, the WSDL declares all the elements required for using the Webservices.
Component : wd250xml.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment