VS2008 generates duplicated code for web service stub
On my pages, I call web services by adding service references (the WCF way, not the traditional .Net 2.0 way aka. as web references). This way worked great for all but one of my web service.
For this particular web service, the generated code does not compile, because it has faultCode and faultMessage etc generated twice in the same class. One obvious difference between this web service and others is that, the web service itself calls web services - so it is like a middle man.
If I add this web service as web reference - the .Net 2.0 way, it works fine.
Have any one encountered the same issue in teh past?
|