*
The moose likes Web Services and the fly likes create web service client url https Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
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: 202
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: 6661
    
    5

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 - More SCJP Mocks
camilo lopes
Ranch Hand

Joined: Aug 08, 2007
Posts: 202
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.
 
wood burning stoves
 
subject: create web service client url https
 
Similar Threads
Need help connecting to WSDL for first time
Local ip address and port number of WS client
Generating and using client code from wsdl file with wsimport
Basic of a web service client
JAX-WS xsd:import