In Visual Studio I developed a "WCF Service Application". The Application compiles fine and with my web browser I can see the information pages and retrieve the WSDL information. When I try to use CREATECLASSFROMWSDL on the exact same URL however, I first see some URLs successfully being retrieved:
>> createClassFromWsdl('http://localhost:59395/Service1.svc?wsdl') Retrieving document at 'http://localhost:59395/Service1.svc?wsdl'. Retrieving schema at 'http://localhost:59395/Service1.svc?xsd=xsd1', relative to 'http://localhost:59395/Service1.svc?wsdl'. Retrieving schema at 'http://localhost:59395/Service1.svc?xsd=xsd2', relative to 'http://localhost:59395/Service1.svc?wsdl'. Retrieving schema at 'http://localhost:59395/Service1.svc?xsd=xsd0', relative to 'http://localhost:59395/Service1.svc?wsdl'. Retrieving schema at 'http://localhost:59395/Service1.svc?xsd=xsd2', relative to 'http://localhost:59395/Service1.svc?xsd=xsd0'.
But then also the error:
??? Attempt to reference field of non-structure array.Error in ==> createClassFromWsdl at 45name = {R.name};
Best Answer