User-1000095884 posted
Hi,
Using the file provided using "svcutil source.wsdl" i get an error.
the class X in namespace a.b.c.d has an inner complex type Y which resides in namespace b.c.d
The compiler just assumes that b.c.d is a subnamespace of a.b.c.d resulting in that the compiler searches for Y in the namespace of X
I am not clearly understand your error here, can you explain more clearly?
The syntax should be: svcutil.exe [/t:code] <metadataDocumentPath>* | <url>* | <epr>. The URL to a service endpoint that provides metadata or to a metadata document hosted online, if you are using url option, please make sure
you have provide a correct url, you can try check the wsdl file from browser; metadataDocumentPath represent the path to a metadata document (wsdl or xsd) that contains the contract to import into code (.wsdl, .xsd, .wspolicy or .wsmex).
For more informaton check "Code Generation" part of #ServiceModel Metadata Utility Tool (Svcutil.exe)
http://msdn.microsoft.com/en-us/library/aa347733.aspx
Best Regards.