You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Eric Chow <er...@gmail.com> on 2014/01/20 07:35:09 UTC
HTTP Basic Authentication when using wsdljava generate java stub from WSDL!!
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:password@192.168.1.88: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