Topic
1 reply Latest Post - ‏2012-10-08T14:46:59Z by SystemAdmin
GKDV
GKDV
31 Posts
ACCEPTED ANSWER

Pinned topic Invoking Adapter from iys outsideworld

‏2012-10-08T05:56:45Z |
Hi,

Can we call an adapter "P" which is in the project "A" successfully deployed on to the worklight server from the adapter "Q" which is in project "B" which want to use adapter "P" which is in the project "A" ?????
Thanks
GKDV
  • SystemAdmin
    SystemAdmin
    2327 Posts
    ACCEPTED ANSWER

    Re: Invoking Adapter from iys outsideworld

    ‏2012-10-08T14:46:59Z  in response to GKDV
    Not sure, but I know you can call them from anywhere you have access to the Worklight Server via HTTP.

    
    http:
    //localhost:8080/invoke?adapter=customers&procedure=getCustomers&parameters=[]
    


    Where localhost is the server running the Worklight Server, customers is the adapter name, getCustomers is the procedure name and parameters are any parameters you want to pass to the procedure.

    Related threads:
    http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14893561
    http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14894155