Tag Archives: service

BIRT report with web service data source throwing exception Unable to open connection. org.eclipse.datatools.connectivity.oda.OdaException

Questions: I am trying to user web service as a datasource for BIRT report. Report run well in Eclipse but from the webviewer deployed in tomcat it doesn’t. BIRT version : 4.2.1 Tomcat: 6 Below is the exception I am getting. Dec 6, 2012 3:00:01 PM org.eclipse.birt.data.engine.odaconsumer.ConnectionManager openConnection SEVERE: Unable to open connection. org.eclipse.datatools.connectivity.oda.OdaException at… Read More »

Error : The service System.Windows.Forms.Design.IEventHandlerService already exists in the service container

Questions: I’m developping a Windows app based on the Windows Form template. I’m using .NET 3.5 version. In this app, the goal is that all the visual settings of the different forms can be managed from the App.Config file (the background color, the background color of the different buttons etc…). So basically, I have a… Read More »

Connection PhoneGap with localhost webservice

Questions: I have a problem connecting with my webserwisem PhoneGap (Django + TastyPie). My PhoneGap – version – 3.3.0. Calling the POST or GET with plain html – everything is ok The problem starts when I move the project to the emulator – the transfer can not in any way connect. Besides clicking on the… Read More »

consul-template using Address not ServiceAddress in template

Questions: I am having a problem in that consul-template seems to be substituting the service “ServiceAddress” and not “Address” in my template and I wonder if anyone can tell me why. From a bash session within my nginx container where consul-template is also running I can fetch the service definition from Consul with: curl http://consul-server.service.consul:8500/v1/catalog/service/service1… Read More »

Is there a way to manually post to a rest webservice using a browser

Questions: Is there a way to manually post an xml to a webservice using a browser something like: POST http://url/Endpoint <xml file text> Answers: With browser add-ons – yes. For example “Tamper Data” for Firefox: https://addons.mozilla.org/en-US/firefox/addon/966/ See also “Poster” add-on: https://addons.mozilla.org/en-US/firefox/addon/2691/ Questions: Answers: REST Client plugin Questions: Answers: You could use cURL on the command… Read More »

restful webservice with xml or json as parameter

Questions: I have a simple question the answer to which I have been trying to find out over the restricted internet connection in my office but to no avail. 1) How to create a restful web service in java preferably using netbeans that accepts xml and/or json as the parameter and how do I process… Read More »

Import Google Play Services library in Android Studio

Questions: I have an Android project that has been developed entirely within Android Studio (currently version 4.2, gradle version 1.9-all). I want to add functionality from Google Play Services. The project is unable to resolve GooglePlayServicesUtil, and when I enter the import manually (shown below), I get Cannot resolve symbol ‘common’. import com.google.android.gms.common.GooglePlayServicesUtil; Any idea… Read More »

500 System.ServiceModel.ServiceActivationException when making an Ajax call to WCF rest service

Questions: Ajax Call: $.ajax({ type: “POST”, url: “http://SomeService/ServiceName.svc/GetSearchResults”, data: JSON.stringify({ parameters: serviceParameters }), contentType: “application/json; charset=utf-8”, dataType: “XML”, success: function (response) { $(“#xmlText”).text(response.xml); }, error: function (msg) { alert(msg.toString); } }) WCF Interface: [OperationContract] [WebInvoke(Method = “POST”, BodyStyle = WebMessageBodyStyle.Wrapped, ResponseFormat = WebMessageFormat.Xml, RequestFormat = WebMessageFormat.Json, UriTemplate = “GetSearchResults”)] XElement GetSearchResults(inputParameters parameters); [OperationContract] [WebInvoke(Method =… Read More »