Integrate with Rest Services

Are you missing a feature? Request it's implementation here.
kbraaja
Posts: 2

Integrate with Rest Services

Tue Dec 23, 2014 10:00 pm

Can any one give me a sample code in integrating with REST services..?

I have a requirement to work with Cassandra database.. Cassandra DB exposes listing, reading, writing through a REST services. How do we make listing documents from the REST services ..?

Appreciate your help.
sorin_ristache
Posts: 4144

Re: Integrate with Rest Services

Wed Dec 24, 2014 11:13 am

What kind of sample code? In what language?

Where and how would you call that code in the Oxygen application?
Regards,
Sorin

<oXygen/> XML Editor Support
kbraaja
Posts: 2

Re: Integrate with Rest Services

Wed Dec 31, 2014 8:47 pm

Java is language. Below is what we are doing, please provide is anything is available to use for us.

In our requirement, we have REST services created that will give us list of file names, and when a user click a file name, will read the file via another REST service, and when saving a document, gets saved via third REST service.

So, based on this, we are developing a custom plugin to integrate with workspace.. Right now, we have developed custom protocol plugin to read the file (Streaming from REST). WE made a JAR and deployed inside plugin folder, but when we start oxygen application we are getting exception - java class not found for the protocolURLhandler ..but they are available in the JAR. Though plugin.xml have them configured..

Two classes are created - CassandraProtocolHandler and CassandraProtocolURLHandlerExtension. Do i miss anything here?
alex_jitianu
Posts: 632

Re: Integrate with Rest Services

Mon Jan 05, 2015 4:42 pm

Hello,

I got the chance to look at the plugin package you sent on the support list. The package is not correct. Please make sure to create it using the Run as->Maven install action from the project contextual menu in Eclipse. The package is created inside the target folder and it's named in this manner *-plugin.jar.

Best regards,
Alex

Return to “Feature Request”

Who is online

Users browsing this forum: No registered users and 0 guests