Hi,
Page 37 have us run the svcutil to generate the 3 files (tempuri.org.wsdl, temputi.org.xsd, and the schema for simple .net types).
I tried running the utility but got me an error saying it cannot generate the wsdl as I have
no access to c:\tempuri.org.wsdl...
I tried using the out parameter to tell it to generated on a new folder I created and this time it said
Warning: Cannot generate XmlSerializer for assembly x. No service contract in the assembly has an operation with XmlSerializerOperation Behavior, which is true given that all we have written so far is
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
namespace Wrox.CarRentalService.Contracts
{
[ServiceContract()]
public interface ICarRentalService
{
[OperationContract]
double CalculatePrice(DateTime pickupDate, DateTime returnDate,
string pickupLocation, string vehiclePreference);
}
}
I am indeed new to WCF!
Any ideas as to how I go about using the svcutil? I even copied it directly to the c drive as its location plus the location of the .dll I created are long names.
I appreciate any feedback as I like to understand as I go along, but understand how it works and will continue with the reading for now.
Thanks in advance!
