#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2011
    Posts
    1
    Rep Power
    0

    How to pass custom object to webservice using coldfusion


    Hi All,

    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.

    e.g.

    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..


    Regards,
    CFN
  2. #2
  3. No Profile Picture
    Moderator

    Join Date
    Jun 2002
    Location
    Raleigh, NC
    Posts
    5,280
    Rep Power
    968

IMN logo majestic logo threadwatch logo seochat tools logo