I am using the ServiceDescriptionImporter class to generate a web services proxy at runtime.
I pass WSDL to the class, and have it generate the proxy assembly. The WSDL contains schemas for complex data types.
How do I retrieve the schema for the complex types from the compiled assembly?
This is getting pretty deep, I know. I hope someone can help me here.
maybe this will help a little....
when you go to the MSDN page...
http://msdn.microsoft.com/en-us/library/system.web.services.description.servicedescriptionimporter.aspx (http://msdn.microsoft.com/en-us/library/system.web.services.description.servicedescriptionimporter.aspx)
in the Syntax section, there are 4 tabs - select the C++ tab
now - under Properties, you will find Schemas
again, wth the tabs, under C++
// Report on the service descriptions.
Console::WriteLine( "Importing {0} service descriptions with {1} associated schemas.", importer->ServiceDescriptions->Count, importer->Schemas->Count );
and if you tab back to C#
http://msdn.microsoft.com/en-us/library/system.web.services.description.servicedescriptionimporter.schemas.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-2 (http://msdn.microsoft.com/en-us/library/system.web.services.description.servicedescriptionimporter.schemas.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-2)
// Report on the service descriptions.
Console.WriteLine("Importing {0} service descriptions with {1} associated schemas.",
importer.ServiceDescriptions.Count, importer.Schemas.Count);
it's odd how they have the web page set up - lol
http://masm32.com/board/index.php?topic=2198 (http://masm32.com/board/index.php?topic=2198)