When you create a WebMethod and .net creates the soap stuff in the WSDL, a message is created for that method. Usually, the message is the same as the name of the method. However, as I mentioned, when you create overloaded methods, the method name is the same but .net can't create two SOAP messages that are the same. So you need to specify a message that is different than any other method or message.
You can specify the message name like this:
<WebMethod(MessageName:="messageName")>
Public Function/Sub methodName(...) ...
...
End Function
Peter
------------------------------------------------------
Work smarter, not harder.
|