The moose likes Web Services and the fly likes create web service client url https Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "create web service client url https" Watch "create web service client url https" New topic
Author

create web service client url https

camilo lopes
Ranch Hand

Joined: Aug 08, 2007
Posts: 200
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.

Brazil - Sun Certified Java Programmer - SCJP 5
http://www.camilolopes.com/ About Java - Update every Week.
Guide SCJP - tips that you need know http://blog.camilolopes.com.br/livrosrevistaspalestras/
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6371

Did you mention a http proxy when using wsimport ? Is the URL reachable on a browser ? If yes does the browser use a proxy ?


SCJP 6 articles - SCJP 5/6 mock exams - SCJP Mocks - SCJP 5 Mock exam (Word document ) - SCJP 5 Mock exam in Java.Inquisition format
camilo lopes
Ranch Hand

Joined: Aug 08, 2007
Posts: 200
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.
 
 
subject: create web service client url https
 
Threads others viewed
Local ip address and port number of WS client
JAX-WS xsd:import
Need help connecting to WSDL for first time
Basic of a web service client
Generating and using client code from wsdl file with wsimport
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com