Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Web Services and the fly likes Fetch Data from URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Fetch Data from URL" Watch "Fetch Data from URL" New topic

Fetch Data from URL

Rajkumar balakrishnan
Ranch Hand

Joined: May 29, 2008
Posts: 445

We are developing a web application where user can fetch data's from their mobile phone just by typing the reference number and send to a number. If he send a message it will hit the SMS API and we can get that details from a unique URL assigned the SMS provider to us. I am using the below code to fetch the data but it always returns null. I sent around 5 messages to check that but still i am getting null value. The URL is tested and it works fine

Code is

Never try to be a hard-worker. Be a smart-worker.
My Blog
I agree. Here's the link:
subject: Fetch Data from URL
It's not a secret anymore!