Hi,
This wrong behavior is repeatable with the SDK .Net sample application "SampleV9Client".
Write a procedure with a small start formular with only one attachment clip. Start this small process with the "SampleV9Client" using a picture with a size of around 8MBytes and the following error message will displayed:
Fehler beim Empfangen der HTTP-Antwort für http://localhost/ECL.WS/Service.svc. Die Ursache kann sein, dass die Dienstendpunktbindung kein HTTP-Protokoll verwendet. Eine andere mögliche Ursache ist, dass der HTTP-Anforderungskontext vom Server abgebrochen wird (vermutlich auf das Herunterfahren des Diensts zurückzuführen). Weitere Informationen finden Sie in den Serverprotokollen
InnerException:
Von der Übertragungsverbindung können keine Daten gelesen werden: Eine vorhandene Verbindung wurde vom Remotehost geschlossen Server
stack trace:
bei System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason) bei System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) bei System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) bei System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) bei System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) bei System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) bei System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: bei System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) bei System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) bei Service.PostAttachment(ServiceSessionState session, String folderID, AttachmentOwnerType type, String fileName, Byte[] fileData) bei ServiceClient.PostAttachment(ServiceSessionState session, String folderID, AttachmentOwnerType type, String fileName, Byte[] fileData) bei Metastorm.ECL.Client.Net.MetastormOperation.PostAttachment(String folderID, AttachmentOwnerType attachmentOwnerType, String fileName, Stream fileData) bei Metastorm.ECL.Clientv9.FieldEditor.FieldEditor_Closed(Object sender, EventArgs e) in C:\Program Files (x86)\Metastorm\BPM\SDK\Samples\ECLv9Client\FieldEditor.cs:Zeile 403. bei System.Windows.Forms.Form.OnClosed(EventArgs e) bei System.Windows.Forms.Form.CheckCloseDialog(Boolean closingOnly)
If you try to start the same process with SDK .net sample application "LegacySampleClient" with the same picture - everything works fine! But this ECL.Legacy interface does not support all the new v9 features.
Can anyone give me a working ECL-WCF configuration (client and server site) which is able to handle large attachments? Or a working .net sample application with the new v9 ECL interface.
Server: Win2008 R2 German
Metastorm: v9.1.1.4
SQL Server 2008 R2
Thilo