//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//------------------------------------------------------------------------------
namespace System.Web.Services.Protocols {
using System.Web.Services;
using System.Xml.Serialization;
using System;
using System.Reflection;
using System.Collections;
using System.IO;
using System.ComponentModel;
using System.Runtime.InteropServices;
///
///
/// [To be supplied.]
///
public sealed class SoapClientMessage : SoapMessage {
SoapClientMethod method;
SoapHttpClientProtocol protocol;
string url;
internal SoapExtension[] initializedExtensions;
internal SoapClientMessage(SoapHttpClientProtocol protocol, SoapClientMethod method, string url) {
this.method = method;
this.protocol = protocol;
this.url = url;
}
/*
internal override bool IsInitialized {
get { return true; }
}
*/
///
///
/// [To be supplied.]
///
public override bool OneWay {
get { return method.oneWay; }
}
///
///
/// [To be supplied.]
///
public SoapHttpClientProtocol Client {
get { return protocol; }
}
///
///
/// [To be supplied.]
///
public override LogicalMethodInfo MethodInfo {
get { return method.methodInfo; }
}
/*
internal override SoapReflectedExtension[] Extensions {
get { return method.extensions; }
}
internal override object[] ExtensionInitializers {
get { return method.extensionInitializers; }
}
*/
///
///
/// [To be supplied.]
///
public override string Url {
get { return url; }
}
///
///
/// [To be supplied.]
///
public override string Action {
get { return method.action; }
}
///
[ComVisible(false)]
public override SoapProtocolVersion SoapVersion {
get { return protocol.SoapVersion == SoapProtocolVersion.Default ? SoapProtocolVersion.Soap11 : protocol.SoapVersion; }
}
internal SoapClientMethod Method {
get { return method; }
}
///
///
/// [To be supplied.]
///
protected override void EnsureOutStage() {
EnsureStage(SoapMessageStage.AfterDeserialize);
}
///
///
/// [To be supplied.]
///
protected override void EnsureInStage() {
EnsureStage(SoapMessageStage.BeforeSerialize);
}
}
}