Questions tagged [java-client]
134 questions
0
votes
2 answers
In Couchbase, expired document included to query view list with NULL contents
Recently we started to use couchbase, We are using java spring-data-couchbase with Jersey to access couchbase. Accessing low level java-sdk-api we set expire time (TTL) to a particular document with the KEY(id). It's working fine. The code is as…

Mizanur Rahman
- 111
- 2
- 7
0
votes
1 answer
Any ideas how I could create a network usage "meter" for Java SE?
I need to meter the number of bytes being used by a java application from within java (i.e. I don't have any special access to the JVM other then not having a security manager to deal with) but I need all the bytes sent/received including protocol…

32bits
- 683
- 7
- 10
0
votes
2 answers
File Transfer But Cannot load in its respective Launcher(Adobe Pdf) - Java Server Client
I Have a Project working for my Java Class, I am Using Socket Yes I look at a Tutorial online for help, the aim is to read a file on a server of pdf type then allow the CLient to request this File from the Sever.
My Issue It request the File but…

Redcode
- 73
- 1
- 2
- 9
0
votes
1 answer
Different set of results for "significant terms" in Elasticsearch using REST Api or Transportclient
We use the new significant terms plugin in elasticsearch. Using the transport client I get less results compared to that when I use the REST API. I don't understand why. Using the node client is unfortunately not possible, since my service using ES…

Chris W.
- 2,266
- 20
- 40
0
votes
1 answer
EnergyStar Portfolio Manager - Java Client to consume their REST API with Authentication
I am a straight up newbie. After 2 weeks of research, I've arrived at this point, still very lost and desperate.
My goal: Retrieve data from EnergyStar Portfolio Manager Restful web services / API and put that data into a SQL database or an excel…

yungahhh
- 3
- 2
0
votes
0 answers
Appium TouchAction/ MultiTouchAction don't work when testing Mobile Web
I'm trying to set up an automated test for a mobile website using Appium 1.2.4, Java-client 2.0.0, Selenium 2.42.2 and a real device (Samsung Galaxy Tab-3).
The problem is that, whenever I'm trying to use Touch Actions (e.g. driver.swipe() or…

user3094126
- 1
- 1
0
votes
1 answer
I am trying to consume a java web service from .NET. i am not getting proper output
code:
public static void main(String[] args) {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
System.out.println("Enter the BookName:");
String bookName = br.readLine();
…
0
votes
2 answers
Send objects and objects arrays through socket
I am creating a java server and a java client.
I need to send from server to client and viceversa an object and then an array of objects.
How can I achieve this? Do I need to serialize the objects classes?
This is the server:
import…

blurstream
- 429
- 3
- 13
0
votes
2 answers
Unable to start Java-client 1.5.0 NoSuchMethodException
I have got a problem with new java-client 1.5.0 and Appium 1.1.0. When I want to run tests, it wrote:
*** RUN ABORTED ***
java.lang.NoSuchMethodError: org.openqa.selenium.remote.ErrorHandler. …

medy75
- 652
- 11
- 33
0
votes
1 answer
Couchbase: java client doesn't create document in server
I'm all new in couchbase, I copy/paste the first code example in (http://www.couchbase.com/communities/java/getting-started) in my Eclipse project but when I run it and check back the server i can't find the document, below is console…

elsadek
- 1,028
- 12
- 39
0
votes
2 answers
How to use lucene analyzers with Elasticsearch java API
I want to build elastisearch queries using JAVA API. I want to know how to can use Lucene analyzers in elasticsearch java programs. I have checked QueryBuilders and tried to use analyzers directly as below.
QueryBuilder builder =…

Srini
- 3,334
- 6
- 29
- 64
0
votes
1 answer
accessing oam server hosted in https from java client program
Hi i have a requirement to access a oam server which is hosted in https protocol.I got the certificate and the obaccess.xml files from the server to access.But still am facing some issues.Below is my code
import java.util.Hashtable;
import…

Amanda G
- 1,931
- 10
- 33
- 43
0
votes
1 answer
Android server crashes
I have written a small client server application for android. The client is a Java program running on my PC while my Android phone is a server. I'm facing force close issues in my server program. The server starts pretty good, but when I send a…

Vinit Shandilya
- 1,643
- 5
- 24
- 44
0
votes
2 answers
Best practice to work with android application and .Net web Api
I have a .net webApi project that contains some methods.
The methods send and get complex objects.
My android application gets the objects in json format and parsing them manually.
In any changes of the objects in the WebApi project I have to change…

user556882
- 121
- 1
- 5
0
votes
1 answer
How two diffrent projects running on java and .net can interact with each other using WCF?
I have a wcf services projects and a second project for consuming these services is in java.
My question is how can i create proxy classes for java to consume my wcf services ?
Is there any other way to consume wcf services through Java clients ?

Embedd_0913
- 16,125
- 37
- 97
- 135