Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Read xml from PHP file from Java

truptidaliaOct 8 2010 — edited Oct 8 2010
Hello,

I have a php file that returns xml data like :
<?xml version="1.0" ?>
- <reply>
<message>Friend Request Send</message>
<status>sucess</status>
</reply>

Using java (actually BlackBerry client) I need to get this data and based on status, dispaly the message. I don't want to use any SOAP. I am lost, with how to do and what to do to achieve the goal.

I guess, I will have to use URL to sent and get the data. Am I correct or got to use something else which is better ??

Can anyone help me how to do. Any help/guidance is highly appreciated. Any code line to achieve the same will be much better to understand and implement for me.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 5 2010
Added on Oct 8 2010
3 comments
312 views