简体   繁体   中英

How to generate a proxy class in .NET using a WSDL file

I was trying to create a proxy class for a WSDL file having the below target namespace:

NameSpace: http://schemas.microsoft.com/windows/2006/08/wdp/scan

I'm getting the following error when i use the svcutil tool:

Unable to bind port type 'CreateScanJobRequest'

can you post your WSDL ?

This link might help you (Registered as a bug )

http://support.microsoft.com/kb/820122

It could be an existing issue of .Net 4.0

http://connect.microsoft.com/VisualStudio/feedback/details/468993/svcutil-exe-unable-to-match-binding-and-porttype-operations

OR

it could be requiring a name to the tag as mentioned in Bad-ish WSDL Section in the below link

http://www.hanselman.com/blog/BreakingAllTheRulesWithWCF.aspx

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