Hi all,
Does anyone encountered a problem while generating wsdl and/or cs with MFSVCUTIL ???
In my case, I produced a very simple implementation of the following :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
namespace WCFServerConsole
{
[ServiceContract]
public interface IServiceContract
{
[OperationContract]
string GetCards(string systime);
}
...
public class ServiceContract : IServiceContract
{
string IServiceContract.GetCards(string systime)
{
return ("4434287047,4434288788,4434284743,4434287163");
}
}
}
It normally give a list of values…
The purpose would be to have a PC running WCF server, and a MF client requesting the method, so that I decided to parse the given assembly with MFCUTIL to generate the wsdl and cs source related to, such as in one of the given samples from microsoft…
But, however the wsdl is apparently correctly generated by the tool, it is not the case with the CS generation (from the wsdl)…
I have a list of warning (in verbose mode), and finally an exception on the GetValuesIn parameter, but when I look to the wsdl, I do not understand why…
Scrolling to the top verbose in my command prompt, I see that the tool is unable to resolve the schema definitions…Does it mean that something is missing ?
I have the same problem if I try to parse the sample ServiceHelloWorld.wsdl file…
Any idea