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
- KerberosReceiverSecurityToken.cs
- HttpRuntimeSection.cs
- MembershipPasswordException.cs
- TraceRecords.cs
- ProxyManager.cs
- KnownTypesHelper.cs
- PageClientProxyGenerator.cs
- MenuItemStyle.cs
- CustomAttribute.cs
- SafeRightsManagementHandle.cs
- WindowsFormsHelpers.cs
- PreparingEnlistment.cs
- MemoryStream.cs
- ResourcesChangeInfo.cs
- TextPointerBase.cs
- DataBoundLiteralControl.cs
- FastPropertyAccessor.cs
- ExpandCollapsePattern.cs
- Debug.cs
- Publisher.cs
- XmlDigitalSignatureProcessor.cs
- ConnectionStringSettings.cs
- COM2ExtendedUITypeEditor.cs
- SerTrace.cs
- DocumentationServerProtocol.cs
- ControlValuePropertyAttribute.cs
- WebPartConnectVerb.cs
- RequiredAttributeAttribute.cs
- ObjectSet.cs
- SubMenuStyleCollection.cs
- MembershipValidatePasswordEventArgs.cs
- WindowsSlider.cs
- PropertyMapper.cs
- categoryentry.cs
- ResourceReferenceExpressionConverter.cs
- MethodImplAttribute.cs
- PasswordRecovery.cs
- Line.cs
- ReflectionUtil.cs
- MsmqChannelFactory.cs
- SatelliteContractVersionAttribute.cs
- OutputWindow.cs
- DbSource.cs
- DispatchChannelSink.cs
- ServiceCredentialsSecurityTokenManager.cs
- EntityDesignerDataSourceView.cs
- SendParametersContent.cs
- DataExchangeServiceBinder.cs
- NativeMethods.cs
- SmtpCommands.cs
- IdentityNotMappedException.cs
- ModifierKeysConverter.cs
- BamlResourceDeserializer.cs
- Image.cs
- XmlProcessingInstruction.cs
- _CookieModule.cs
- UIPermission.cs
- WorkflowMessageEventArgs.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- VolatileResourceManager.cs
- SqlTrackingWorkflowInstance.cs
- QuadraticBezierSegment.cs
- FilterQuery.cs
- ListViewItemSelectionChangedEvent.cs
- SecurityCriticalDataForSet.cs
- DeadCharTextComposition.cs
- HttpProfileGroupBase.cs
- DisplayInformation.cs
- DiagnosticsElement.cs
- ProcessHostMapPath.cs
- SchemaAttDef.cs
- ObjectAnimationUsingKeyFrames.cs
- WorkflowTransactionOptions.cs
- MethodBody.cs
- TypeContext.cs
- RuntimeIdentifierPropertyAttribute.cs
- Int64.cs
- ButtonChrome.cs
- XPathExpr.cs
- LoginViewDesigner.cs
- StringInfo.cs
- UpdatePanelTriggerCollection.cs
- Mappings.cs
- BindingExpression.cs
- HttpResponseBase.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- ConfigXmlComment.cs
- RayMeshGeometry3DHitTestResult.cs
- AssemblyNameProxy.cs
- WorkflowRuntimeSection.cs
- SiteMapDataSource.cs
- ChooseAction.cs
- StoreAnnotationsMap.cs
- SortDescriptionCollection.cs
- WeakHashtable.cs
- DbModificationCommandTree.cs
- EFAssociationProvider.cs
- Int64.cs
- LogWriteRestartAreaAsyncResult.cs
- GridToolTip.cs