##Connecting to the WSDL file Public myService As DialogSearch.SearchService = New _ DialogSearch.SearchService ##Creating a session object Public mySession As DialogSearch.SessionStruct = New _ DialogSearch.SessionStruct ##Updating the object parameters mySession.Account = “123456” mySession.Password = “xyzabc” mySession.Cost = 0 mySession.State=”START_SESSION” mySession.Atomic = True mySession.Interupt = False ##Sending the object as input to the Version function Dim myResult As DialogSearch.StringResult = _ MyService.Version(mySession)