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
Developer
Posts: 53
Registered: ‎11-13-2009
My Device: Not Specified

Re: REST web services

I too have done this manually. I unfortuantely had to abandon true REST as a number of telecoms operators block PUT requests in their data proxy. Vodafone UK being a prime example.

Trusted Contributor
Posts: 200
Registered: ‎02-22-2010
My Device: BlackBerry 9550
My Carrier: Airtel

Re: REST web services

i need how to access this rest-service. i dont want to create it. just want to send xml to service and which i'm unable to proceed.

Swapnil G.
Developer
Posts: 1,415
Registered: ‎07-30-2008
My Device: Not Specified

Re: REST web services

the prefered approach is to put your own server in the path to reformat the

results for whatever you are trying to do, you don't want to use OTA data transfer

and user's battery to do mundane stuff. This also means you don't need as much

esoteric net wupport.

 

Trusted Contributor
Posts: 200
Registered: ‎02-22-2010
My Device: BlackBerry 9550
My Carrier: Airtel

Re: REST web services

i'm able to consume the rest-ful web services now. thanks for response.

Swapnil G.
Visitor
Posts: 1
Registered: ‎08-27-2010
My Device: 9800
My Carrier: Developer

Re: REST web services

Hi ,

 

I am new to Black berry developement ,kindly suggest me APIs to consume REST URL support.I am using Blackberry JDE 6.0.Also I am unable to bring eclipse Plugin environment.

 

 

Regards

Samina

Contributor
Posts: 22
Registered: ‎03-23-2011
My Device: torch
My Carrier: Student

Re: REST web services

I want to retrieve data from a server by REST

4 hours from now, I'm looking for one code sample of calling webservice from blackberry  with https but whitout succes. please there is anyone may help me. I want to  attract your attention that im beginner in developement java for blackberry

I put the code that I have done but Im not sure if is good

 

thanks in advance

public class Dataretrieve {
	
	public String url=  " http://the link of my server";
	
	HttpsConnection openconn = (HttpsConnection) Connector.open (url);
    
    DataOutputStream dataStream = conn.openDataOutputStream ();
    

 

Highlighted
New Developer
Posts: 137
Registered: ‎02-04-2010
My Device: Tour 9630
My Carrier: verizon

Re: REST web services

can you please post your code/solution?

thanks