Callback question

Hi,

Does wsDualHttpBinding for callback force client to open a port ...but If I have a proxy server Do I need to create a NAT for this port ...very hard for my customer...

If I use netTcpBinding for callback does callbacks use the same connection for callback and not above approach

I want to use callback with http channel but Its will fail if my customer has a proxy server.

Does anybody know a solution for this

Thanks,
Alexnaldo Santos



Answer this question

Callback question

  • VJM

    Look in

    c:\program files\microsoft SDKs\windows\v1.0\samples

    If you have May CTP, you'll find a file called "WCFSamples.zip", otherwise it's "Allwinfxsamples.zip" - Extract it.

    Go to the WCF samples folder, and to

    Basic\Contract\Service\Duplex

    You'll find http sample there.

     


  • papaboom

    I can't use Tcp binding because I'm using IIS.

    Does WCF Team have any example using HTTP for full duplex

    Thanks,
    Alexnaldo Santos


  • zhengjs

    TCP binding will use the SAME connection (socket).

    HTTP binding will use a DIFFERENT connection. This is due the http protocol does NOT support async. Your client side will MUST open a port in the firewall.

    If you must have HTTP binding. You can write your own HTTP transport that support chunks. This will alow you to work full duplex on a http protocol layer.



  • Christopher P.

    You can have all your endpoint share the same port, since the address name will be different.

    http://127.0.0.1/Endpoint1:8000

    http://127.0.0.1/Endpoint2:8000

    etc....

    This way your entire system may use a single port.


  • Callback question