BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   Developer Forum (http://www.blackberryforums.com/forumdisplay.php?f=15)
-   -   Access PHP Web Service in BlackBerry (http://www.blackberryforums.com/showthread.php?t=237515)

trupti 10-06-2010 04:55 PM

Access PHP Web Service in BlackBerry
 
Hello,

I am new to using Web Services. I have some idea of working with ava & .net web services. I have got an Web Servce developed in PHP and have to use in Blackberry app.

I yet have the API for the web service and one of its method says the usage as :
at localhost/BB/api.php with servicename (method name) and paramerters.

Returns : On success
<?xml version="1.0" ?>
- <reply>
<message>Profile Created</message>
<status>sucess</status>
</reply>

On Failure
<?xml version="1.0" ?>
- <reply>
<message>Invalid DEtails</message>
<status>failure</status>
</reply>

I don't know how to use it. Should I use KSoap2 or something else. Can anyone show me a sample of code to access this method of the web service. I am also not known of PHP (was expecting web service in Java or .net), what do I need to access this web service. Like the usage shows localhost..., then on my local PC I should have something relevant to the same. Shaould that be a jar fiel or PHP files hosted on localhost ?????


Any help is highly appreciated. Any code or guidance can also help a lot. I look forward to hear from you. PHP has rised several questions in my mind of which I am totally unaware.

Thanks,

chiryphp 01-24-2011 04:23 AM

Re: Access PHP Web Service in BlackBerry
 
Hi, guys
PHP Web Service can Web data clipping, SOAP or XML-RPC clients and servers.
Recommend a good site-PHPKode.com, which list some php web service scripts.
Hopefully can help you!


All times are GMT -5. The time now is 02:44 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.