//------------------------------------------------------------------------------ // // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut generiert wird. // //------------------------------------------------------------------------------ namespace BeWo.ServiceProxy { [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ServiceModel.ServiceContractAttribute(ConfigurationName="BeWo.ServiceProxy.IStreamingService")] public interface IStreamingService { [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/DeactivateBeWoFolders", ReplyAction="http://tempuri.org/IStreamingService/DeactivateBeWoFoldersResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IStreamingService/DeactivateBeWoFoldersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")] void DeactivateBeWoFolders(System.Collections.Generic.List dcs); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/GetAllBeWoFolders", ReplyAction="http://tempuri.org/IStreamingService/GetAllBeWoFoldersResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IStreamingService/GetAllBeWoFoldersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")] System.Collections.Generic.List GetAllBeWoFolders(); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/InsertNewBeWoFolders", ReplyAction="http://tempuri.org/IStreamingService/InsertNewBeWoFoldersResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IStreamingService/InsertNewBeWoFoldersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")] System.Collections.Generic.List InsertNewBeWoFolders(System.Collections.Generic.List dcs); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/UpdateBeWoFolders", ReplyAction="http://tempuri.org/IStreamingService/UpdateBeWoFoldersResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IStreamingService/UpdateBeWoFoldersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")] void UpdateBeWoFolders(System.Collections.Generic.List dcs); // CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UploadPackage) von Nachricht "UploadPackage" nicht mit dem Standardwert (UploadDocument) übereinstimmt. [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/UploadDocument", ReplyAction="http://tempuri.org/IStreamingService/UploadDocumentResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IStreamingService/UploadDocumentBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")] BeWo.ServiceProxy.UploadResult UploadDocument(BeWo.ServiceProxy.UploadPackage request); // CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UpdatePackage) von Nachricht "UpdatePackage" nicht mit dem Standardwert (UpdateDocument) übereinstimmt. [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/UpdateDocument", ReplyAction="http://tempuri.org/IStreamingService/UpdateDocumentResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IStreamingService/UpdateDocumentBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")] BeWo.ServiceProxy.UploadResult UpdateDocument(BeWo.ServiceProxy.UpdatePackage request); // CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UploadChatPackage) von Nachricht "UploadChatPackage" nicht mit dem Standardwert (CreateNewSpeziallStreamChatMessagesDC) übereinstimmt. [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/CreateNewSpeziallStreamChatMessagesDC", ReplyAction="http://tempuri.org/IStreamingService/CreateNewSpeziallStreamChatMessagesDCRespons" + "e")] [System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IStreamingService/CreateNewSpeziallStreamChatMessagesDCBeWoFau" + "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")] BeWo.ServiceProxy.UploadChatResult CreateNewSpeziallStreamChatMessagesDC(BeWo.ServiceProxy.UploadChatPackage request); // CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UploadPackage) von Nachricht "UploadPackage" nicht mit dem Standardwert (UploadImportFile) übereinstimmt. [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/UploadImportFile", ReplyAction="http://tempuri.org/IStreamingService/UploadImportFileResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IStreamingService/UploadImportFileBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")] BeWo.ServiceProxy.UploadImportFileResult UploadImportFile(BeWo.ServiceProxy.UploadPackage request); // CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UploadPackage) von Nachricht "UploadPackage" nicht mit dem Standardwert (UploadPersehFile) übereinstimmt. [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/UploadPersehFile", ReplyAction="http://tempuri.org/IStreamingService/UploadPersehFileResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IStreamingService/UploadPersehFileBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")] BeWo.ServiceProxy.UploadPersehDocumentResult UploadPersehFile(BeWo.ServiceProxy.UploadPackage request); // CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UploadPackage) von Nachricht "UploadPackage" nicht mit dem Standardwert (UploadAviseFile) übereinstimmt. [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/UploadAviseFile", ReplyAction="http://tempuri.org/IStreamingService/UploadAviseFileResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IStreamingService/UploadAviseFileBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")] BeWo.ServiceProxy.UploadImportFileResult UploadAviseFile(BeWo.ServiceProxy.UploadPackage request); } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(WrapperName="UploadPackage", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] public partial class UploadPackage { [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")] public System.Nullable BeWoFolderOid; [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")] public int FileAttachmentTypeId; [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")] public string FileName; [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")] public string Notice; [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")] public long ObjectOid; [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")] public int TableID; [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] public System.IO.Stream Stream; public UploadPackage() { } public UploadPackage(System.Nullable BeWoFolderOid, int FileAttachmentTypeId, string FileName, string Notice, long ObjectOid, int TableID, System.IO.Stream Stream) { this.BeWoFolderOid = BeWoFolderOid; this.FileAttachmentTypeId = FileAttachmentTypeId; this.FileName = FileName; this.Notice = Notice; this.ObjectOid = ObjectOid; this.TableID = TableID; this.Stream = Stream; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(WrapperName="UploadResult", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] public partial class UploadResult { [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] public BS.Shared.DataContracts.FileAttachmentDC Attachment; public UploadResult() { } public UploadResult(BS.Shared.DataContracts.FileAttachmentDC Attachment) { this.Attachment = Attachment; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(WrapperName="UpdatePackage", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] public partial class UpdatePackage { [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")] public System.Nullable BeWoFolderOid; [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")] public int FileAttachmentTypeId; [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")] public string FileName; [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")] public long FileOid; [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")] public string Notice; [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")] public long ObjectOid; [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")] public int TableID; [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] public System.IO.Stream Stream; public UpdatePackage() { } public UpdatePackage(System.Nullable BeWoFolderOid, int FileAttachmentTypeId, string FileName, long FileOid, string Notice, long ObjectOid, int TableID, System.IO.Stream Stream) { this.BeWoFolderOid = BeWoFolderOid; this.FileAttachmentTypeId = FileAttachmentTypeId; this.FileName = FileName; this.FileOid = FileOid; this.Notice = Notice; this.ObjectOid = ObjectOid; this.TableID = TableID; this.Stream = Stream; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(WrapperName="UploadChatPackage", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] public partial class UploadChatPackage { [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")] public long empfängerOid; [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")] public bool isDeliverd; [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")] public int mediatype; [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")] public string message; [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")] public string messageid; [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")] public long senderOid; [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")] public long teamid; [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] public System.IO.Stream Stream; public UploadChatPackage() { } public UploadChatPackage(long empfängerOid, bool isDeliverd, int mediatype, string message, string messageid, long senderOid, long teamid, System.IO.Stream Stream) { this.empfängerOid = empfängerOid; this.isDeliverd = isDeliverd; this.mediatype = mediatype; this.message = message; this.messageid = messageid; this.senderOid = senderOid; this.teamid = teamid; this.Stream = Stream; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(WrapperName="UploadChatResult", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] public partial class UploadChatResult { [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] public BS.Shared.DataContracts.ChatMessageDC ChatMessage; public UploadChatResult() { } public UploadChatResult(BS.Shared.DataContracts.ChatMessageDC ChatMessage) { this.ChatMessage = ChatMessage; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(WrapperName="UploadImportFileResult", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] public partial class UploadImportFileResult { [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] public string ResultMessage; [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)] public bool Success; public UploadImportFileResult() { } public UploadImportFileResult(string ResultMessage, bool Success) { this.ResultMessage = ResultMessage; this.Success = Success; } } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] [System.ServiceModel.MessageContractAttribute(WrapperName="UploadPersehDocumentResult", WrapperNamespace="http://tempuri.org/", IsWrapped=true)] public partial class UploadPersehDocumentResult { [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)] public BS.Shared.DataContracts.HilfeplanImportDC HilfeplanImportData; public UploadPersehDocumentResult() { } public UploadPersehDocumentResult(BS.Shared.DataContracts.HilfeplanImportDC HilfeplanImportData) { this.HilfeplanImportData = HilfeplanImportData; } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface IStreamingServiceChannel : BeWo.ServiceProxy.IStreamingService, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class StreamingServiceClient : System.ServiceModel.ClientBase, BeWo.ServiceProxy.IStreamingService { public StreamingServiceClient() { } public StreamingServiceClient(string endpointConfigurationName) : base(endpointConfigurationName) { } public StreamingServiceClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public StreamingServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public StreamingServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(binding, remoteAddress) { } public void DeactivateBeWoFolders(System.Collections.Generic.List dcs) { base.Channel.DeactivateBeWoFolders(dcs); } public System.Collections.Generic.List GetAllBeWoFolders() { return base.Channel.GetAllBeWoFolders(); } public System.Collections.Generic.List InsertNewBeWoFolders(System.Collections.Generic.List dcs) { return base.Channel.InsertNewBeWoFolders(dcs); } public void UpdateBeWoFolders(System.Collections.Generic.List dcs) { base.Channel.UpdateBeWoFolders(dcs); } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] BeWo.ServiceProxy.UploadResult BeWo.ServiceProxy.IStreamingService.UploadDocument(BeWo.ServiceProxy.UploadPackage request) { return base.Channel.UploadDocument(request); } public BS.Shared.DataContracts.FileAttachmentDC UploadDocument(System.Nullable BeWoFolderOid, int FileAttachmentTypeId, string FileName, string Notice, long ObjectOid, int TableID, System.IO.Stream Stream) { BeWo.ServiceProxy.UploadPackage inValue = new BeWo.ServiceProxy.UploadPackage(); inValue.BeWoFolderOid = BeWoFolderOid; inValue.FileAttachmentTypeId = FileAttachmentTypeId; inValue.FileName = FileName; inValue.Notice = Notice; inValue.ObjectOid = ObjectOid; inValue.TableID = TableID; inValue.Stream = Stream; BeWo.ServiceProxy.UploadResult retVal = ((BeWo.ServiceProxy.IStreamingService)(this)).UploadDocument(inValue); return retVal.Attachment; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] BeWo.ServiceProxy.UploadResult BeWo.ServiceProxy.IStreamingService.UpdateDocument(BeWo.ServiceProxy.UpdatePackage request) { return base.Channel.UpdateDocument(request); } public BS.Shared.DataContracts.FileAttachmentDC UpdateDocument(System.Nullable BeWoFolderOid, int FileAttachmentTypeId, string FileName, long FileOid, string Notice, long ObjectOid, int TableID, System.IO.Stream Stream) { BeWo.ServiceProxy.UpdatePackage inValue = new BeWo.ServiceProxy.UpdatePackage(); inValue.BeWoFolderOid = BeWoFolderOid; inValue.FileAttachmentTypeId = FileAttachmentTypeId; inValue.FileName = FileName; inValue.FileOid = FileOid; inValue.Notice = Notice; inValue.ObjectOid = ObjectOid; inValue.TableID = TableID; inValue.Stream = Stream; BeWo.ServiceProxy.UploadResult retVal = ((BeWo.ServiceProxy.IStreamingService)(this)).UpdateDocument(inValue); return retVal.Attachment; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] BeWo.ServiceProxy.UploadChatResult BeWo.ServiceProxy.IStreamingService.CreateNewSpeziallStreamChatMessagesDC(BeWo.ServiceProxy.UploadChatPackage request) { return base.Channel.CreateNewSpeziallStreamChatMessagesDC(request); } public BS.Shared.DataContracts.ChatMessageDC CreateNewSpeziallStreamChatMessagesDC(long empfängerOid, bool isDeliverd, int mediatype, string message, string messageid, long senderOid, long teamid, System.IO.Stream Stream) { BeWo.ServiceProxy.UploadChatPackage inValue = new BeWo.ServiceProxy.UploadChatPackage(); inValue.empfängerOid = empfängerOid; inValue.isDeliverd = isDeliverd; inValue.mediatype = mediatype; inValue.message = message; inValue.messageid = messageid; inValue.senderOid = senderOid; inValue.teamid = teamid; inValue.Stream = Stream; BeWo.ServiceProxy.UploadChatResult retVal = ((BeWo.ServiceProxy.IStreamingService)(this)).CreateNewSpeziallStreamChatMessagesDC(inValue); return retVal.ChatMessage; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] BeWo.ServiceProxy.UploadImportFileResult BeWo.ServiceProxy.IStreamingService.UploadImportFile(BeWo.ServiceProxy.UploadPackage request) { return base.Channel.UploadImportFile(request); } public string UploadImportFile(System.Nullable BeWoFolderOid, int FileAttachmentTypeId, string FileName, string Notice, long ObjectOid, int TableID, System.IO.Stream Stream, out bool Success) { BeWo.ServiceProxy.UploadPackage inValue = new BeWo.ServiceProxy.UploadPackage(); inValue.BeWoFolderOid = BeWoFolderOid; inValue.FileAttachmentTypeId = FileAttachmentTypeId; inValue.FileName = FileName; inValue.Notice = Notice; inValue.ObjectOid = ObjectOid; inValue.TableID = TableID; inValue.Stream = Stream; BeWo.ServiceProxy.UploadImportFileResult retVal = ((BeWo.ServiceProxy.IStreamingService)(this)).UploadImportFile(inValue); Success = retVal.Success; return retVal.ResultMessage; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] BeWo.ServiceProxy.UploadPersehDocumentResult BeWo.ServiceProxy.IStreamingService.UploadPersehFile(BeWo.ServiceProxy.UploadPackage request) { return base.Channel.UploadPersehFile(request); } public BS.Shared.DataContracts.HilfeplanImportDC UploadPersehFile(System.Nullable BeWoFolderOid, int FileAttachmentTypeId, string FileName, string Notice, long ObjectOid, int TableID, System.IO.Stream Stream) { BeWo.ServiceProxy.UploadPackage inValue = new BeWo.ServiceProxy.UploadPackage(); inValue.BeWoFolderOid = BeWoFolderOid; inValue.FileAttachmentTypeId = FileAttachmentTypeId; inValue.FileName = FileName; inValue.Notice = Notice; inValue.ObjectOid = ObjectOid; inValue.TableID = TableID; inValue.Stream = Stream; BeWo.ServiceProxy.UploadPersehDocumentResult retVal = ((BeWo.ServiceProxy.IStreamingService)(this)).UploadPersehFile(inValue); return retVal.HilfeplanImportData; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] BeWo.ServiceProxy.UploadImportFileResult BeWo.ServiceProxy.IStreamingService.UploadAviseFile(BeWo.ServiceProxy.UploadPackage request) { return base.Channel.UploadAviseFile(request); } public string UploadAviseFile(System.Nullable BeWoFolderOid, int FileAttachmentTypeId, string FileName, string Notice, long ObjectOid, int TableID, System.IO.Stream Stream, out bool Success) { BeWo.ServiceProxy.UploadPackage inValue = new BeWo.ServiceProxy.UploadPackage(); inValue.BeWoFolderOid = BeWoFolderOid; inValue.FileAttachmentTypeId = FileAttachmentTypeId; inValue.FileName = FileName; inValue.Notice = Notice; inValue.ObjectOid = ObjectOid; inValue.TableID = TableID; inValue.Stream = Stream; BeWo.ServiceProxy.UploadImportFileResult retVal = ((BeWo.ServiceProxy.IStreamingService)(this)).UploadAviseFile(inValue); Success = retVal.Success; return retVal.ResultMessage; } } }