Hello,

I tried to use wsdl2java to generate java client stub but it raised "Server
returned HTTP response code: 401 for URL: ......"

The service WSDL requires HTTP Basic Authentication.

I tried to add the authentication information in the URL as the following
format:

http://username:[email protected]:8080/MyService?wsdl



But it also can't generate the stub with "401 error"



How can I generate client stub with http basic authentication? Please
help!!!


Best regards,
Eric

Reply via email to