Questions tagged [consuming]

43 questions
5
votes
1 answer

What are the most battery-consuming things you can do in an iPhone-app?

I am making an app that quickly drains the users battery. For this, I am planning on using the sound-framework for vibrating, location services, download large but empty files from the internet, use the flashlight on the back of the phone, and so…
Emil
  • 7,220
  • 17
  • 76
  • 135
4
votes
1 answer

How to consume a Map with Spring ClientResponse?

First, I have a REST URL exposed like that: @PostMapping("/check/existence") @ResponseBody public Map checkExistence() { //some code then, I have a consumer with a Spring WebClient, like that : ClientResponse…
electrode
  • 205
  • 1
  • 4
  • 16
2
votes
2 answers

a short statement that consumes lots of CPU cycles

I'm seeking a(very) short statement(in any language) that can make the CPU busy for like a second or a half. The statement should consume CPU cycles, not IO stuff.
khelll
  • 23,590
  • 15
  • 91
  • 109
1
vote
2 answers

Consuming a web service in a WPF app

I wan't to consume a web service inside a WPF app. I can add the Service Reference and all the objects show up in the object browser except for the ServiceClient itself. I tried adding the service to a console application and it all worked out…
Ingó Vals
  • 4,788
  • 14
  • 65
  • 113
1
vote
0 answers

Spring consuming-ws: Exception: java.net.ConnectException: Connection refused (Connection refused)

I run my spring ws application downloaded from official spring.io web site, and it gives me following error Please help me, cant understand what's problem? P.s: It is consuming web service, building on maven, and…
1
vote
2 answers

Unable to buy item response: 7:Item Already Owned

I'm testing my Android app and facing with the "Unable to buy item (response: 7:Item Already Owned)". The item is a "Managed In-app Product" type. I did some research and found this…
William
  • 281
  • 3
  • 9
1
vote
1 answer

Installing a delphi 7 isapi web service

I have developed an isapi web service in delphi 7 and I need to install it in a server so it can be consumed by a c# application. I copied the dll of the isapi in a folder and created a virtual directory in the IIS of the server. When I call the web…
Alvos
  • 561
  • 3
  • 7
  • 15
1
vote
1 answer

How to consume resource with _embedded resources

I'm trying to consume a rest web services with Spring Traverson and basic restTemplate but it's not working... I consume a rest web service which return : GET /books/1 ContentType: application/hal+json { "title": "Les Misérables" , "ISBN":…
1
vote
1 answer

Java 8 Lambda Consuming using numerous times a piece of information with one iteration

I build a small example to test the java 8. Having a list of Strings: List list = Arrays.asList(new String[] { "Sheep", "Ship","Skeleton" }); The following function: list.stream().forEach(name ->…
hephestos
  • 434
  • 1
  • 6
  • 19
1
vote
1 answer

How to: Implement a BatchMessageListenerContainer for bulk consuming a JMS queue

I recently faced the need for a JMS consumer in Spring Integration - capable of consuming burst of high volume without stressing my target Oracle database with too many commits. The DefaultMessageListenerContainer does not seem to support anything…
Jens Krogsboell
  • 1,093
  • 11
  • 18
1
vote
1 answer

Consuming a web service - Delphi 6

Our current project is in Delphi 6. This is my first time attempting to consume a web service in Delphi - my primary experience in this realm is with C#. Anyway, I need to consume a web service from this project. I've run into a bit of a problem,…
fourwhey
  • 490
  • 4
  • 19
1
vote
2 answers

php time consuming script - normal POST or multiple AJAX requests?

I'm going to give you an abstract of the system. It has orders and every order needs to be processed by an external API. Normally around 100 200 orders need to be processed at a time so it would be a time consuming task. Currently I use normal post…
Ilian Andreev
  • 1,071
  • 3
  • 12
  • 18
1
vote
1 answer

Runtime error while consuming web service from android

I am going to consume web service from android according to this link http://jatin4rise.wordpress.com/2010/10/03/webservicecallfromandroid/ but during run time my android application[AndroidFrontend] shown as Sorry!. The application…
Rohith
  • 991
  • 4
  • 18
  • 31
0
votes
1 answer

Consuming a DLL in EXE

I had a discussion with friends last week about consuming the classes which are in DLL(.net DLL). I have a .net DLL which I need consume it in my Exe. Normally, I add the DLL in my solution and reference the DLL in my Exe Create the object of the…
Harsha
  • 1,861
  • 7
  • 28
  • 56
0
votes
1 answer

Cannot deserialize the current JSON array into type model because the type requires a JSON object to deserialize correctly

I am working on consuming web api's from asp.net web applications and now I have this trouble. I am using my web api just to retrieve data from my db and for it's security with jwt. On the other hand, I have this mvc web application which consumes…
user14979715
1
2 3