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
PIN: N/A
Carrier: 9700
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question 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,
Offline  
Old 01-24-2011, 04:23 AM   #2 (permalink)
New Member
 
Join Date: Jan 2011
Model: 7100T
PIN: N/A
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 site-PHPKode.com, which list some php web service scripts.
Hopefully can help you!
__________________
Free php script | php cms
Offline  




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