PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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
Adds an attribute to an automatic variable generated by the import of a Webservice.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
xsdJob is DefinedReportJob
SOAPAddAttribute(xsdJob, "xsi:type", xsdJob..Type)
Syntax
SOAPAddAttribute(<Variable> , <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.
SOAPAddAttribute 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.
Note: SOAPAddAttribute is an advanced function. In most cases, the WSDL declares all the elements required for using the Webservices.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230xml.dll
Windows Mobile wp230xml.dll
Linux wd230xml.so
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment