Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / ManagedLibraries / Remoting / MetaData / SudsParser.cs / 1305376 / SudsParser.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //============================================================ // // File: SudsParser.cs //// Author: Gopal Kakivaya (GopalK) // // Purpose: Defines SUDSParser that parses a given SUDS document // and generates types defined in it. // // Date: April 01, 2000 // Revised: November 15, 2000 (Wsdl)[....] // //=========================================================== namespace System.Runtime.Remoting.MetadataServices { using System; using System.IO; using System.Runtime.Remoting; using System.Runtime.Serialization; using System.Collections; // Represents exceptions thrown by the SUDSParser [Serializable] public class SUDSParserException : Exception { internal SUDSParserException(String message) : base(message) { } protected SUDSParserException(SerializationInfo info, StreamingContext context): base(info, context) {} } // Represents a block type of a complex type [Serializable] internal enum SchemaBlockType { ALL, SEQUENCE, CHOICE, ComplexContent} // This class parses SUDS documents internal class SUDSParser { WsdlParser wsdlParser; // Main parser internal SUDSParser(TextReader input, String outputDir, ArrayList outCodeStreamList, String locationURL, bool bWrappedProxy, String proxyNamespace) { Util.Log("SUDSParser.SUDSParser outputDir "+outputDir+" locationURL "+locationURL+" bWrappedProxy "+bWrappedProxy+" proxyNamespace "+proxyNamespace); Util.LogInput(ref input); wsdlParser = new WsdlParser(input, outputDir, outCodeStreamList, locationURL, bWrappedProxy, proxyNamespace); } internal void Parse() { Util.Log("SUDSParser.Parse"); wsdlParser.Parse(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlSchemaAttributeGroup.cs
- ReadonlyMessageFilter.cs
- ModuleElement.cs
- TraceLog.cs
- UpdateCommand.cs
- TypeLibConverter.cs
- PeerApplication.cs
- Annotation.cs
- FileAuthorizationModule.cs
- CodeStatementCollection.cs
- HandledMouseEvent.cs
- PropertyDescriptorCollection.cs
- ProgressBarAutomationPeer.cs
- WindowsTitleBar.cs
- ToggleButton.cs
- XmlSchemaRedefine.cs
- EntityDataSourceUtil.cs
- SoapFormatExtensions.cs
- NamedPipeConnectionPoolSettingsElement.cs
- DSASignatureFormatter.cs
- ServiceContractViewControl.Designer.cs
- SqlDataSourceTableQuery.cs
- safelinkcollection.cs
- HttpWriter.cs
- AssemblyGen.cs
- DataViewListener.cs
- UrlAuthorizationModule.cs
- DataGridViewRowPrePaintEventArgs.cs
- StrokeCollection2.cs
- CopyNodeSetAction.cs
- XmlCharCheckingReader.cs
- DocumentPageTextView.cs
- GenerateScriptTypeAttribute.cs
- safelink.cs
- VBCodeProvider.cs
- ContextStaticAttribute.cs
- SafeArrayTypeMismatchException.cs
- ManagementScope.cs
- OrthographicCamera.cs
- DataIdProcessor.cs
- DataGridViewButtonColumn.cs
- RawTextInputReport.cs
- CustomPopupPlacement.cs
- ObjectContext.cs
- ISAPIApplicationHost.cs
- PersonalizationProviderHelper.cs
- Clause.cs
- MetadataSerializer.cs
- X500Name.cs
- SessionSwitchEventArgs.cs
- ConnectionStringEditor.cs
- PageSetupDialog.cs
- PointLight.cs
- HuffModule.cs
- TextParagraphCache.cs
- DatatypeImplementation.cs
- Int32Storage.cs
- _SslSessionsCache.cs
- SqlTypesSchemaImporter.cs
- FrameworkRichTextComposition.cs
- SequentialWorkflowRootDesigner.cs
- ProfileParameter.cs
- Wizard.cs
- SHA1Managed.cs
- BaseTemplateParser.cs
- PresentationAppDomainManager.cs
- ButtonChrome.cs
- SchemaAttDef.cs
- WebPartVerbCollection.cs
- ApplicationBuildProvider.cs
- Rules.cs
- DataKeyArray.cs
- ArrayWithOffset.cs
- MenuItemBinding.cs
- _ConnectOverlappedAsyncResult.cs
- ModelProperty.cs
- MenuItemCollection.cs
- WebPartChrome.cs
- ServicesUtilities.cs
- ReadOnlyCollectionBase.cs
- UserControlBuildProvider.cs
- ExpandSegmentCollection.cs
- FilterQuery.cs
- HasCopySemanticsAttribute.cs
- BitmapCache.cs
- TreeNode.cs
- ScriptReferenceBase.cs
- TabItemAutomationPeer.cs
- MaskInputRejectedEventArgs.cs
- ConnectionManagementSection.cs
- XmlSerializationReader.cs
- DispatcherEventArgs.cs
- SettingsBase.cs
- DataBindingExpressionBuilder.cs
- StandardToolWindows.cs
- FillRuleValidation.cs
- ProcessModelInfo.cs
- XPathDocumentNavigator.cs
- DBCSCodePageEncoding.cs
- BitmapEffectGroup.cs