简体   繁体   中英

Error while consuming wcf service

I created a wcf application library with no modification from the original example and I hosted it in IIS. It's on a remote computer and using chrome i can see that the service is up and running but if i try to create a config file using

svcutil.exe http:// IP_HERE /serv/WcfServiceLibrary1.Service1.svc?wsdl

i receive the following error.

在此处输入图片说明

I think that it has something to do with the application pool. What do you think?

My default config: http://pastebin.com/a355LcWp

After checking your service config file I found that you are hosting service on port 8733 which is mentioned in base address value. You need to make sure that you include this port number while accessing wsdl.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM