Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » BIRT web service REST (JSON)
BIRT web service REST (JSON) [message #1701278] Fri, 10 July 2015 12:37 Go to next message
Hugo Araujo is currently offline Hugo AraujoFriend
Messages: 7
Registered: June 2014
Junior Member
hello, i am sorry if this topic is already open.
i have an web service that was create i think in JSON and uses the REST protocol, and i want to connect to (see attachement)
If i put this link in the browser i can access it (i have to put a username and a password - that i can give to you guys to test it), when i create the data source web service data source i dont have the wsld and i put the link in the SOAP END POINT and i test the connection and i have PING succedded but i dont put the username and the password anywhere and when i create the data set i cannot see my data values.

i already put jar files in my eclipse folder:
org.eclipse.birt.report.data.oda.restapi.ui_1.0.0.201211251034
org.eclipse.birt.report.data.oda.restapi_1.0.0.201211251034

and then in my eclipse data source was created a new entry Restapi Data Source, then i put the link in the HttpRequest and when i test the connection it ask me for a username and a password but i couldnĀ“t connect.

please help me

this is my web service structure:

{

"Product code": integer,

"Product name": string,

"Supplier": string,

"Quantity": integer

}

Please notice that i did not develope the web service. If you want i can give you the username and password.

thank you
Re: BIRT web service REST (JSON) [message #1704036 is a reply to message #1701278] Thu, 06 August 2015 20:25 Go to previous messageGo to next message
Jesse Freeman is currently offline Jesse FreemanFriend
Messages: 184
Registered: January 2015
Senior Member
Are you still needing assistance with this issue?
Do you see any errors after entering the username and password with the REST ODA when it doesn't work?
Re: BIRT web service REST (JSON) [message #1785281 is a reply to message #1701278] Thu, 12 April 2018 02:14 Go to previous message
Tashi Wangchuk is currently offline Tashi WangchukFriend
Messages: 1
Registered: April 2018
Junior Member
Going through this same issue. Are you able to find a solution?

I am using the REST API Oda plugin for Birt.

However, while creating the data source from an API, and trying to test connection through the httpRequests, it gives a ping failed message with following error message:

Caused by: java.lang.NullPointerException

at org.eclipse.birt.report.data.oda.restapi.impl.Connection.open(Connection.java:50)

at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaConnection.open(OdaConnection.java:250)

at org.eclipse.datatools.connectivity.oda.profile.OdaConnectionWrapper.open(OdaConnectionWrapper.java:209)

... 47 more


Would be of immense help if you guys can help me out here. It is almost 3 weeks now that I am stuck on this.
Previous Topic:Lines printed in an incorrect order
Next Topic:Percentage view out of 2 totals
Goto Forum:
  


Current Time: Fri Sep 21 19:56:49 GMT 2018

Powered by FUDForum. Page generated in 0.02033 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top