ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / SOAP
  • Operating mode
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Adds an attribute to an automatic variable generated by the import of a Webservice.
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 string
Name of the attribute to add.
<Value>: Unicode string
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 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.
Remark: SOAPAddAttribute is an advanced function. In most cases, the WSDL declares all the elements required for using the Webservices.
Business / UI classification: Business Logic
Component: wd290xml.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help