Quantcast
Channel: WCF, ASMX and other Web Services
Viewing all articles
Browse latest Browse all 555

SvcUtil error generating proxy from asmx assembly

$
0
0

Hi  I am trying to use SvcUtil  with asmx webservice to generate proxy class I get error: cannot generate XmlSerilaizer types for assembly .....No service contract types were found.

I tried to add service contract but it does not exist for asmx.

my command :  SvcUtil.exe    directory/bin/WebService1.dll   /out: directory/myproxy.cs

I noticed the command works fine when supplying end point  of web service in IIS: SvcUtil.exehttp://localhost....    


Viewing all articles
Browse latest Browse all 555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>