Code:
/ 4.0 / 4.0 / 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. // ==++== // // 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
- DebugView.cs
- JsonReader.cs
- Page.cs
- TriggerActionCollection.cs
- XmlSubtreeReader.cs
- AutoGeneratedFieldProperties.cs
- TimeoutException.cs
- CrossSiteScriptingValidation.cs
- ReadOnlyCollection.cs
- SoundPlayer.cs
- QueryCreatedEventArgs.cs
- DataGridPagerStyle.cs
- BeginSelectCardRequest.cs
- PageSettings.cs
- StructuralType.cs
- ReadOnlyDictionary.cs
- CompilerGlobalScopeAttribute.cs
- GridToolTip.cs
- TcpConnectionPool.cs
- TransformerTypeCollection.cs
- RoutedUICommand.cs
- StructuralComparisons.cs
- UrlMapping.cs
- DataGridViewTopRowAccessibleObject.cs
- TextProperties.cs
- MissingMethodException.cs
- SqlInfoMessageEvent.cs
- LogLogRecord.cs
- Image.cs
- Types.cs
- ProjectionCamera.cs
- TranslateTransform3D.cs
- FilterEventArgs.cs
- DataGridViewControlCollection.cs
- TabPage.cs
- MediaTimeline.cs
- HtmlElement.cs
- SmtpFailedRecipientsException.cs
- SqlInfoMessageEvent.cs
- CornerRadius.cs
- DesignerAdRotatorAdapter.cs
- EventEntry.cs
- QueryCacheManager.cs
- Transform3DGroup.cs
- ComponentCollection.cs
- AppSettingsReader.cs
- RoutedCommand.cs
- DataRelationPropertyDescriptor.cs
- StorageScalarPropertyMapping.cs
- ProviderSettingsCollection.cs
- SelectionProviderWrapper.cs
- AuthenticationModuleElement.cs
- SourceFileInfo.cs
- Debugger.cs
- VectorCollectionValueSerializer.cs
- ZipFileInfoCollection.cs
- AttributeProviderAttribute.cs
- CodeDirectoryCompiler.cs
- ToolStripComboBox.cs
- Quad.cs
- DataServiceRequest.cs
- InputReport.cs
- AttachmentCollection.cs
- AppLevelCompilationSectionCache.cs
- BindingFormattingDialog.cs
- ImageBrush.cs
- UnsafeNativeMethods.cs
- DbConnectionPoolGroupProviderInfo.cs
- URLIdentityPermission.cs
- TableSectionStyle.cs
- PathSegment.cs
- SqlSelectStatement.cs
- EntityTypeEmitter.cs
- JavaScriptSerializer.cs
- DataGridLinkButton.cs
- DataListItemEventArgs.cs
- _AcceptOverlappedAsyncResult.cs
- OrderedDictionaryStateHelper.cs
- PathSegmentCollection.cs
- CorrelationManager.cs
- WmpBitmapDecoder.cs
- ToolStripSeparator.cs
- GPStream.cs
- TemplateParser.cs
- DataBoundControlAdapter.cs
- OperatingSystem.cs
- SeekableReadStream.cs
- QilNode.cs
- CreateParams.cs
- GenerateHelper.cs
- SmiGettersStream.cs
- IntegerValidatorAttribute.cs
- EmptyStringExpandableObjectConverter.cs
- Adorner.cs
- KnowledgeBase.cs
- MetadataPropertyvalue.cs
- PermissionAttributes.cs
- DockAndAnchorLayout.cs
- RNGCryptoServiceProvider.cs
- FormConverter.cs