cancel
Showing results for 
Search instead for 
Did you mean: 

How to write online application in Sybase unwired platform

Former Member
0 Kudos

Hi

I am new SUP, I have an scenario to call an url (online application) and retrieve the xml data form server then parse it and display the screen. How to call the url in sup. Now i developed application in blackberry.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hello, sup is not suitable for online applications: it provides a cache. However, you can still set the cache to work as if you were online. SUP supports REST web services as backend...

Former Member
0 Kudos

HI Alessandro Iannacci

Thank you for reply. Can u explain Rest Web services and how to use Rest web services in SUP?

Former Member
0 Kudos

Hi!

A RESTful web service (also called a RESTful web API) is a simple web service implemented using HTTP and the principles of REST. It is a collection of resources, with three defined aspects:

- the base URI for the web service, such as http://example.com/resources/

- the Internet media type of the data supported by the web service. This is often JSON, XML or YAML but can be any other valid Internet media type.

- the set of operations supported by the web service using HTTP methods (e.g., POST, GET, PUT or DELETE).

On Sybase Unwired WorkSpace you can select, in Enterprise Explorer, REST Web Services connection defining a resource base URL and URI template, and then using this as MBO defining HTTP method and parameters.

Try this:

http://en.wikipedia.org/wiki/Representational_State_Transfer

and this:

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01283.0155/doc/html/fre12...

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01283.0155/doc/html/fre12...

Answers (0)