Access PHP Web Service in BlackBerry
Please Login to Remove!
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,
|