receive parameter ask physique wcf/ado.net information service


i'm tryint post ado.net information use nonetheless parameters seems misplaced along way.



i got something like:



[webinvoke(method="post")]
public int mymethod(int foo, twine bar) {...}


and i an ajax-call controlling prototype.js as:



var args = {foo: 4, bar: "'test'"};
new ajax.requst(baseurl + 'mymethod',
method: 'post',
parameters: args,
onsuccess: jadda,
onfailure: jidda
}


if i reinstate "method: 'post'" "method: 'get'" "webinvoke(method="post")" "webget" all works nonetheless (using post) i is:




bad ask - blunder query syntax.




from service.



the wholly repair (that i don't wish use) send parameters url even i perform post. any ideas welcome.



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?