+2002-07-24 Tim Coleman <tim@timcoleman.com>
+ * ProtocolImporter.cs:
+ * ProtocolReflector.cs:
+ Some implementation of these classes. MonoTODO's begone!
+ * SoapProtocolImporter.cs:
+ Changed description to literal string "Soap"
+ * SoapProtocolReflector.cs:
+ Added a new class based on guesswork and conjecture.
+
2002-07-24 Tim Coleman <tim@timcoleman.com>
* ServiceDescription.cs:
Implement Read/Write methods for serialization/
#region Properties\r
\r
public XmlSchemas AbstractSchemas {\r
- [MonoTODO]\r
- get { throw new NotImplementedException (); }\r
+ get { return abstractSchemas; }\r
}\r
\r
public Binding Binding {\r
- [MonoTODO]\r
- get { throw new NotImplementedException (); }\r
+ get { return binding; }\r
}\r
\r
public string ClassName {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return className; }\r
}\r
\r
public CodeIdentifiers ClassNames {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return classNames; }\r
}\r
\r
public CodeNamespace CodeNamespace {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return codeNamespace; }\r
}\r
\r
public CodeTypeDeclaration CodeTypeDeclaration {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return codeTypeDeclaration; }\r
}\r
\r
public XmlSchemas ConcreteSchemas {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return concreteSchemas; }\r
}\r
\r
public Message InputMessage {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return inputMessage; }\r
}\r
\r
public string MethodName {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return methodName; }\r
}\r
\r
public Operation Operation {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return operation; }\r
}\r
\r
public OperationBinding OperationBinding {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return operationBinding; }\r
}\r
\r
public Message OutputMessage {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return outputMessage; }\r
}\r
\r
public Port Port {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return port; }\r
}\r
\r
public PortType PortType {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return portType; }\r
}\r
\r
public abstract string ProtocolName {\r
}\r
\r
public XmlSchemas Schemas {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return schemas; }\r
}\r
\r
public Service Service {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return service; } \r
}\r
\r
public ServiceDescriptionCollection ServiceDescriptions {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return serviceDescriptions; }\r
}\r
\r
public ServiceDescriptionImportStyle Style {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return style; }\r
}\r
\r
public ServiceDescriptionImportWarnings Warnings {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
- [MonoTODO] \r
- set { throw new NotImplementedException (); }\r
+ get { return warnings; }\r
+ set { warnings = value; }\r
}\r
\r
#endregion // Properties\r
#region Properties\r
\r
public Binding Binding {\r
- [MonoTODO]\r
- get { throw new NotImplementedException (); }\r
+ get { return binding; }\r
}\r
\r
public string DefaultNamespace {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return defaultNamespace; }\r
}\r
\r
public MessageCollection HeaderMessages {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return headerMessages; }\r
}\r
\r
public Message InputMessage {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return inputMessage; }\r
}\r
\r
public LogicalMethodInfo Method {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return method; }\r
}\r
\r
public WebMethodAttribute MethodAttribute {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return methodAttribute; }\r
}\r
\r
public LogicalMethodInfo[] Methods {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return methods; }\r
}\r
\r
public Operation Operation {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return operation; }\r
}\r
\r
public OperationBinding OperationBinding {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return operationBinding; }\r
}\r
\r
public Message OutputMessage {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return outputMessage; }\r
}\r
\r
public Port Port {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return port; }\r
}\r
\r
public PortType PortType {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return portType; }\r
}\r
\r
public abstract string ProtocolName {\r
}\r
\r
public XmlReflectionImporter ReflectionImporter {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return reflectionImporter; }\r
}\r
\r
public XmlSchemaExporter SchemaExporter {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return schemaExporter; }\r
}\r
\r
public XmlSchemas Schemas {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return schemas; }\r
}\r
\r
public Service Service {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return service; }\r
}\r
\r
public ServiceDescription ServiceDescription {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return serviceDescription; }\r
}\r
\r
public ServiceDescriptionCollection ServiceDescriptions {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return serviceDescriptions; }\r
}\r
\r
public Type ServiceType {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return serviceType; }\r
}\r
\r
public string ServiceUrl {\r
- [MonoTODO] \r
- get { throw new NotImplementedException (); }\r
+ get { return serviceUrl; }\r
}\r
\r
#endregion // Properties\r
throw new NotImplementedException ();\r
}\r
\r
- [MonoTODO]\r
public ServiceDescription GetServiceDescription (string ns)\r
{\r
- throw new NotImplementedException ();\r
+ return serviceDescriptions [ns];\r
}\r
\r
-\r
protected abstract bool ReflectMethod ();\r
\r
[MonoTODO]\r
\r
#region Fields\r
\r
- string protocolName;\r
SoapBinding soapBinding;\r
SoapCodeExporter soapExporter;\r
SoapSchemaImporter soapImporter;\r
#region Properties\r
\r
public override string ProtocolName {\r
- get { return protocolName; }\r
+ get { return "Soap"; }\r
}\r
\r
public SoapBinding SoapBinding {\r
--- /dev/null
+// \r
+// System.Web.Services.Description.SoapProtocolReflector.cs\r
+//\r
+// Author:\r
+// Tim Coleman (tim@timcoleman.com)\r
+//\r
+// Copyright (C) Tim Coleman, 2002\r
+//\r
+\r
+using System.Web.Services;\r
+using System.Web.Services.Protocols;\r
+using System.Xml.Serialization;\r
+\r
+namespace System.Web.Services.Description {\r
+ [MonoTODO ("This class is based on conjecture and guesswork.")]\r
+ internal sealed class SoapProtocolReflector : ProtocolReflector {\r
+\r
+ #region Fields\r
+\r
+ SoapBinding soapBinding;\r
+\r
+ #endregion // Fields\r
+\r
+ #region Constructors\r
+\r
+ [MonoTODO]\r
+ public SoapProtocolReflector ()\r
+ {\r
+ throw new NotImplementedException ();\r
+ }\r
+ \r
+ #endregion // Constructors\r
+\r
+ #region Properties\r
+\r
+ public SoapBinding SoapBinding {\r
+ get { return soapBinding; }\r
+ }\r
+\r
+ public override string ProtocolName {\r
+ get { return "Soap"; }\r
+ }\r
+\r
+ #endregion // Properties\r
+\r
+ #region Methods\r
+\r
+ [MonoTODO]\r
+ protected override void BeginClass ()\r
+ {\r
+ throw new NotImplementedException ();\r
+ }\r
+\r
+ [MonoTODO]\r
+ protected override void EndClass ()\r
+ {\r
+ throw new NotImplementedException ();\r
+ }\r
+\r
+ [MonoTODO]\r
+ protected override bool ReflectMethod ()\r
+ {\r
+ throw new NotImplementedException ();\r
+ }\r
+\r
+ [MonoTODO]\r
+ protected override string ReflectMethodBinding ()\r
+ {\r
+ throw new NotImplementedException ();\r
+ }\r
+\r
+ #endregion\r
+ }\r
+}\r