BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-06-2010, 05: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  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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