This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JerseyClient and HttpClient - connecting to SSL secured web service  RSS feed

 
Colin Duggan
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm using Jersey Client along with HttpClient4 to connect to a JAX-WS web service. The service URL is protected by SSL.

I'm configuring my HttpClient to include a Scheme for SSL using port 443. The JerseyClient attempts to connect to the service however it does so using regular HTTP on port 80. If i run the code in debug and modify the port to use 443 i can see the request being sent (i have debug enabled in my logger) however the connection then gets reset and the request fails.



I need to use the HttpClient along with JerseyClient so i can have control over the credentials which are set. Does anyone have any ideas?

 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!