BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 10-06-2010, 04:55 PM   #1 (permalink)
Knows Where the Search Button Is
Join Date: Sep 2010
Model: 9700
Carrier: 9700
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Access PHP Web Service in BlackBerry

Please Login to Remove!


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>

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

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.

Old 01-24-2011, 04:23 AM   #2 (permalink)
New Member
Join Date: Jan 2011
Model: 7100T
Carrier: asdf
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Arrow 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, which list some php web service scripts.
Hopefully can help you!
Free php script | php cms

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.