Here's my problem:
I have an asp.net app that invokes a java/axis based webservice through a wsdl file provided by my customer.
But, as i had no access to this webservice at the dev time, i've created a fake .net based webservice, with the same methods, returning some valid data, so i'd be able to test the integration interface.
The problem is, when i add the service reference on my app, pointing to my fake webservice (.net), it's class has a certain name, and when i point it to my customer's wsdl file, it's class has a different name.
Generated class name when i add the service reference by:
- .NET fake webservice = "TransferenciaEndpointSoapClient"
- wsdl file of the java/axis webservice = "TransferenciaEndpointClient"
I want the class i've created in my fake webservice to keep the same name of the wsdl, when i add the service reference on my app.
I tried to add a "web reference" instead of a "service reference", but it did not work. I also tried to change the name of the class on the "Reference.cs" file, it works on my environment, but it doesn't when i put the generated bin on my customer's environment. I'd like to sol
View Complete Post