June 27th, 2011, 04:59 AM
How to pass custom object to webservice using coldfusion
I am new to coldfusion technology. We have developed the webservices which I have to call through coldfusion for fetching the data. However, it seems that coldfusion passes the argument to the webservices in the form string. but the method which I have to call through webservices expects javaobject as a parameter.
run(User uid, int queryid).
The above API expects User objects which has username and password as attributes. I have to create similar object in coldfusion so that I can pass it to this API.
Is this possible? if yes, how it can be done? if not, is there any other way to call the webservices by passing the custom object to the API of the webservices...
Thanks in advance.
I will really appriciate if somebody could solve this problem immediately as I am blocked because of this..
June 27th, 2011, 10:00 AM