Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Posts: 21
Registered: ‎04-26-2012
My Device: BlackBerry 9800
My Carrier: BlackBerry

Consuming webServices in Webworks


I am creating an application in Blackberry webworks, which consume webservices(wsdl). I am new to webworks, i know saxparsing in java, Please tell me the efficient and easy way to consume web services in webworks.


Thank you in Advance

New Developer
Posts: 11
Registered: ‎03-10-2012
My Device: Bold 3
My Carrier: Airtel Nigeria

Re: Consuming webServices in Webworks

i make use of php file that i hosted remotely, the php file gets the data from the database using mySql, then prints it as a JSON array.


At this point the html file in the webworks app would make use of javascript or jquery to do a GET on the url where the php file is and read the content of the JSON array into a list.


Thats how i created mine, Hope that helped you