Passing parameters to WCF function from JavaScript -


i have wcf function takes complex type input parameter. how create , pass complex type (object properties) through call?

thanks

there 2 ways accomplish task. can use asp.net scriptmanager , have create javascript proxy wcf service or can use jquery's ajax functionality too. i've included links both examples below.

using jquery/ajax: http://www.west-wind.com/weblog/posts/2008/apr/21/jquery-ajax-calls-to-a-wcf-rest-service

using scriptmanager js proxy: http://blogs.msdn.com/b/kaevans/archive/2007/09/04/using-wcf-json-linq-and-ajax-passing-complex-types-to-wcf-services-with-json-encoding.aspx


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -