News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

ServiceDescriptionImporter class

Started by ankitasharma123, September 17, 2013, 04:02:49 PM

Previous topic - Next topic

ankitasharma123

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.

dedndave

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

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

// 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