Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Highlighted
New Contributor
Posts: 3
Registered: ‎05-18-2012
My Device: Not Specified
Accepted Solution

webservice http sample

Hello ,

I am  new developer in blackberry.

The first app what i want develop is webservice app.

Which package i will use?

Please give some examples for that.

 

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: webservice http sample

You really need to give us a little more to be helpful.  Specifically:

1) What sort of web service are you talking to?

2) What sort of application are you creating.

 

I do not understand the expression "Which package i will use?"  are you asking what development environment you shoutd use?  Java or Web Works?

New Contributor
Posts: 3
Registered: ‎05-18-2012
My Device: Not Specified

Re: webservice http sample

Hello ,

I am developing in java environment.

I want send http request like that 

 " http://nhs-access.co.uk/wellard/api.php"

ex :user='john' pass='jmh'

so it means i wil send http request "http://nhs-access.co.uk/wellard/api.php?user=john&pass=jmh"

and receive the result form server.

How can i do for that.

Please help me.

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: webservice http sample

The sample to start with is the httpDemo which you should find with your tooling.  That will get you going.  Don't forget to start the MDS Simulator.

 

Once you have this working for your URL, then you can start looking at extending the application to

 

a) Actually process the data you receive

b) Make sure you handle the networking properly.

 

Hope this helps.