Questions tagged [java-client]

111 questions
4
votes
1 answer

Connect to RabbitMQ on EC2 from external client

Similar questions have been asked RabbitMQ on Amazon EC2 Instance & Locally? and cant connect from my desktop to rabbitmq on ec2 But they get different error messages. I have a RabbitMQ server running on my linux EC2 instance which is set up…
Paul P M
  • 131
  • 1
  • 8
4
votes
1 answer

auto generated key in Riak via Java client

Riak supports auto generated keys when storing an object: http://wiki.basho.com/Basic-Riak-API-Operations.html: Store a new object and assign random key # If your application would rather leave key-generation up to Riak, issue a POST request to the…
o'mac
  • 99
  • 5
3
votes
1 answer

How to get kubernetes secret data from java

By following link https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/ it is described how to add secret (encripted) data. How to get that key-value s with from java client?
emanuel07
  • 646
  • 10
  • 23
3
votes
4 answers

Using a JSON web service from a Java client application

I am developing a client-side Java application that has a bit of functionality that requires getting data from some web services that transmit in JSON (some RESTful, some not). No JavaScript, no web browser, just a plain JAR file that will run…
Gigatron
  • 1,905
  • 5
  • 20
  • 27
3
votes
1 answer

Websocket java client Spring + Stomp: Transport error: ConnectionLostException

I'm trying to create an standalone Java app as a websocket client using for this Spring with Stomp and Sockjs, taking in consideration the spring specifications and the spring-portafolio examples and I'm getting this error: 15:18:01.342 [main] DEBUG…
lisdey89
  • 192
  • 2
  • 14
3
votes
2 answers

Elasticsearch 2.1.1 on localhost Java client error: MasterNotDiscoveredException[waited for [30s]]

So on my localmachine with latest version of elasticsearch, java client node, doesn't receive any information regarding masternode. And disconnects. I have tried the following code even with default configuration. And still it doesn't work. If I use…
Jigar
  • 7,004
  • 6
  • 23
  • 25
3
votes
2 answers

AXIS2 Java Client for a SOAP wsdl with basic authentication

I am a newbie to web services and I am trying to create java client using the auto generated stub by Eclipse Web Service Client using Axis2. Following is my client code. public static void main(String[] args) { new…
3
votes
1 answer

WCF Service for Java Client Using Service Certificate and Self Signed Client Certificate Supplied by Client Developer

I am developing a WCF service based on a vendor's implementation to receive data from them. I have a working version of this service using one way SSL with the client using our server certificate. Because of a recent change to their implementation,…
user1769388
  • 43
  • 1
  • 4
2
votes
3 answers

How can I store and update the nested json object into couchbase using java sdk

I am using couchbase Community Edition 5.0.1 and java-client 2.7.4. I want to store the following nested json object into couchbase. If I want to update the same object without affecting the other fields. Eg: If I want to add one more player…
SST
  • 1,496
  • 2
  • 20
  • 48
2
votes
1 answer

How to capture error while using CouchbaseAsyncCluster.openBucket call

I have the following code that creates Couchbase cluster and tried to open a bucket. The name given to the bucket is a wrong name. I want to capture the error since the bucket does not exist. Using java client version 2.7.6 and Java…
Tusshu
  • 1,397
  • 1
  • 12
  • 22
2
votes
1 answer

Exclude a user with realm-management role from keycloak's password policy

I have a user with Client Roles realm-management in a realm which contains password policy. I want to exclude this user from the password policy since I use this user to do some operation fetch the roles get all the user via Java API and I don't…
Fateh
  • 291
  • 1
  • 6
  • 25
2
votes
2 answers

Appium:java.lang.NoSuchMethodError: com.google.gson.GsonBuilder.setLenient()Lcom/google/gson/GsonBuilder;

I am getting the above error while trying to run an appium test. The jars I use are: The jars in my lib folder: My app is coming up after driver = new AndroidDriver<>(new URL("http://127.0.0.1:4723/wd/hub"), caps); But in the next…
aswathy
  • 109
  • 11
2
votes
3 answers

Couchbase partial update not working as expected

I am doing partial update of a couchbase document as follows: ... MutateInBuilder builder = bucket.mutateIn(id); for (Map.Entry entry : map.entrySet()) { builder = builder.upsert(entry.getKey(),…
user3911119
  • 225
  • 2
  • 12
2
votes
1 answer

Using AWS S3 Java client to obtain directory and object metadata

Scala 2.11 here, although this concerns the AWS S3 Java client API so it's really a Java question. It would be awesome if someone can provide an answer in Scala, but I'll happily accept any Java answer that works (I can always Scala-ify it on my own…
smeeb
  • 22,487
  • 41
  • 197
  • 389
2
votes
3 answers

Apple Reporter returns "Invalid username and password" with valid credentials

I've been using Apple Reporter for several weeks without issue, but yesterday (7/20/2017) all my calls fail unexpectedly. My token is valid, I've refreshed and replaced it and setup a new account as an additional test. I can find no status or…
1
2 3 4 5 6 7 8