I am trying to consume a web service where there is a dot in the method name
as defined in the portType and binding section of the WSDL file. Here is an
example:
<operation name="soapserver.login">
The WSDL.EXE tool correctly removes the dot when creating the C# method
name, resulting in soapserverlogin; however, it also removes the dot when
making the Invoke call as shown:
public loginReturn soapserverlogin(string username, string password) {
object[] results = this.Invoke("soapserverlogin", new object[] {
username,
password});
return ((loginReturn)(results[0]));
}
The web server where the service is located will complain that
"soapserverlogin" does not exist. If I manually construct the request as
"soapserver.login", it will work fine.
Does anyone have any advice for handling this issue?
Thanks.
Brian