Configuring WCF Receive Location to accept Http post content-type ‘application/json’

Pertanyaan Configuring WCF Receive Location to accept Http post content-type ‘application/json’

  • 07 September 2010 17:53
     
     

    Hi All,

    Has anyone one there Configuring a WCF Receive Location to accept Http post requests that are not in application/xml or application/soap+xml formats?

    If so can you comment of the different ways of achieving this?

    You need to use a WCF-Custom/WCF-CustomIsolated adaptor with customBindings and a few additional settings.   But I think you also need to alter the Web.config of the WS generated by the WS Publication Wizard.

    Thanks,

    J

Semua Balasan