Hello,
I've got the following web method definition:
<System.Web.Services.WebMethod(MessageName:="Create_Record")> _
Public Function CreateNewRecord(ByVal Parameter1 As MyClass) As String
So far, so good.
When I want to create the parameter class of type "MyClass", I have to call it as follows:
Dim newrecord As New MyWebService.Create_RecordParameter1()
My question is: I don't want to have the parameter name in my method name.
I'd rather to have something like:
Dim newrecord As New MyWebService.Parameter1()
MyWebServiceClass.CreateRecord(newrecord)
How do I define the FINAL name of a method/parameter for my web service?
Thank you in advance
Kind regards
MoS