.NET Framework Developer Center > .NET Development Forums > Windows Communication Foundation > Streaming to a client using a wsdl.exe generated proxy and completion notification
Ask a questionAsk a question
 

AnswerStreaming to a client using a wsdl.exe generated proxy and completion notification

  • Wednesday, November 04, 2009 2:14 PMAlex-Alex-Alex- Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I need to stream binary data (jpeg image) to a client, and be notified when streaming is complete.

    I use a custom binding using HttpTransportBindingElement and TransferMode set to StreamedResponse.

    Can I use MTOM for non WCF clients and maybe non .net clients ? (is there any way to know if MTOM is supported on my client ?)

    How to be notified when all data have been received on client side ?

Answers

  • Monday, November 09, 2009 10:19 AMRiquel_DongModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi Alex-Alex-Alex-,

    You can expose one Service operation to let WCF client to report downloading event to implement your requirement.

    Please let me know what you mean "Can I activate MTOM encoding on the fly on client demand". Commonly when you configure MTOM in one endpoint of WCF service, the client also will use this encoder to communicate with the service.


    Best regards,
    Riquel
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.

All Replies