Sometimes when you "add service reference" in VS 2008 you will get a few warnings (see below). When using svcutil like this:
these warnings may appear as errors.
If you get these errors/warnings:
Then (usually) you have nothing to worry about. What they mean is that your WSDL contains a binding which uses HTTP Post transport. For example:
WCF does not support this binding and so raised an error. So why you have nothing to worry about? The reason is that usually when a WSDL contains a HTTP Post binding it also contains a SOAP one and WCF can work with it. For example:
Actually you can see that even though errors have occured a functioning proxy was still generated.
Note that if you create a .NET 2.0 (asmx) web service then there is a configuration to determine if a HTTP Post binding should be created. I can't find it now but promise to post the details later on...
0 comments:
Post a Comment