Visual Basic XML API Demo - Brocade Community Forums

Download Report

Transcript Visual Basic XML API Demo - Brocade Community Forums

Visual Basic XML API Demo
Marcelo M. Molinari
Very simple windows form to get ADX hostname and addition of web reference
web reference added using
.wsdl file from ADX
Reference.vb file needs to be edited
Note: System.Net namespace is required to use WebRequest method
Method getHostName is invoked from web reference AdcSysInfo
SetRequestHeader is used to add http authentication header to request sent to ADX
Authentication shows in HTTP header
SOAP envelope shows getHostName method
SOAP response