Guest schreiter Posted July 3, 2002 Posted July 3, 2002 Not sure how to ask this question, but here it goes: I'm creating a windows service that references a web service. I would like to pass the servername.service() as a startup paramater argument for the windows service. Typically, in order to reference that service, however, you need to "Add Web Reference" and put some code like dim objTest as new server.service() objtest.servicename() in order to invoke the web service functions. Is there a way to dynamically create objTest's type like Protected Overrides Sub OnStart(ByVal args() As String) Dim jon As String jon = CStr(args(0)) Dim objtest As New jon objtest.servicename() End Sub Or is there some other method that I'm totally missing here to call web services' names dynamically on runtime? Thanks! Jonathan Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.