Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

create web service client url https

 
camilo lopes
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I am trying to create a client to web services that use https://url?wsdl. I have already tried with Eclipse and wsimport (java 6) but without sucess.

1. In Eclipse, when I put url to wsdl, the window is empty.

2. wsimport: I receive this message: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 503 Service Unavailable"

if I try to use with http. No problem I get to create a client normally, but https is a problem.

any idea ?


thanks.
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you mention a http proxy when using wsimport ? Is the URL reachable on a browser ? If yes does the browser use a proxy ?
 
camilo lopes
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deepak Bala wrote:Did you mention a http proxy when using wsimport ? Is the URL reachable on a browser ? If yes does the browser use a proxy ?


yes in browser the url works very well. I use a private certificate. so, I will have to use this certificate in wsimport, right? do you know how do it?

thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic