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
- PropertyBuilder.cs
- LinkConverter.cs
- ClockGroup.cs
- MergeFailedEvent.cs
- PriorityBinding.cs
- AnnotationResource.cs
- SqlNotificationEventArgs.cs
- ObjectListTitleAttribute.cs
- DeliveryStrategy.cs
- RequestCachingSection.cs
- ConnectionInterfaceCollection.cs
- XmlCharType.cs
- View.cs
- VectorAnimationBase.cs
- PointAnimationBase.cs
- DescendantOverDescendantQuery.cs
- XmlSiteMapProvider.cs
- PositiveTimeSpanValidator.cs
- LiteralControl.cs
- AsymmetricAlgorithm.cs
- CredentialCache.cs
- Constants.cs
- TextInfo.cs
- SQLGuidStorage.cs
- MarkupObject.cs
- PartitionResolver.cs
- CopyOnWriteList.cs
- ExtentKey.cs
- CodeDirectoryCompiler.cs
- KeySplineConverter.cs
- ResizeBehavior.cs
- SqlSupersetValidator.cs
- ProvideValueServiceProvider.cs
- UIElementIsland.cs
- EdmItemError.cs
- Viewport3DVisual.cs
- BasicBrowserDialog.cs
- LogExtentCollection.cs
- x509store.cs
- TypeUnloadedException.cs
- NamespaceCollection.cs
- ObjectReferenceStack.cs
- ParsedAttributeCollection.cs
- CharacterShapingProperties.cs
- KeyedCollection.cs
- SqlComparer.cs
- RectConverter.cs
- TextElementCollection.cs
- EventMap.cs
- CrossSiteScriptingValidation.cs
- StreamDocument.cs
- AsymmetricAlgorithm.cs
- LogLogRecordHeader.cs
- GZipUtils.cs
- ChannelOptions.cs
- ProjectionNode.cs
- VisualProxy.cs
- Int32RectValueSerializer.cs
- SHA512Managed.cs
- ProxyManager.cs
- FrameworkEventSource.cs
- LocationSectionRecord.cs
- CompiledRegexRunnerFactory.cs
- ReadOnlyPropertyMetadata.cs
- Menu.cs
- TreeNodeEventArgs.cs
- PathFigure.cs
- DataChangedEventManager.cs
- TypeContext.cs
- HtmlInputRadioButton.cs
- UdpSocketReceiveManager.cs
- HtmlTableCellCollection.cs
- DependencyObjectType.cs
- _Win32.cs
- ConnectionManagementSection.cs
- ErrorInfoXmlDocument.cs
- Relationship.cs
- ToolStripItemGlyph.cs
- DLinqAssociationProvider.cs
- CriticalHandle.cs
- StickyNote.cs
- ManagementObject.cs
- TemplatingOptionsDialog.cs
- SqlDataSource.cs
- ServiceHostingEnvironment.cs
- StorageAssociationSetMapping.cs
- BlurBitmapEffect.cs
- FactoryRecord.cs
- CompositeFontFamily.cs
- AuthenticationConfig.cs
- AutoResetEvent.cs
- ThrowHelper.cs
- PrintDocument.cs
- MemoryStream.cs
- WindowsTitleBar.cs
- XslTransformFileEditor.cs
- XmlSigningNodeWriter.cs
- RectAnimationClockResource.cs
- NullEntityWrapper.cs
- CompilerGlobalScopeAttribute.cs