wsimport does not have anyway to let you authenticate and compile the
wsdl. There is already this issue reported
https://jax-ws.dev.java.net/issues/show_bug.cgi?id=231. We plan to fix
it in the next release of 2.1.2.
-vivek.
M.Shyam Sundar Rao wrote:
> Hi All,
>
> Can one of you respond to this wsit forum user's question ?
>
> Thanks
> -- Shyam
>
> ------------------------------------------------------------------------
>
> Subject:
> Watch update: new message in forum Web Services Interoperability
> Technology by skrewdriver
> From:
> "java.net Forums" <forum-admin_at_admin.dev.java.net>
> Date:
> Thu, 12 Apr 2007 06:22:42 -0700
> To:
> shyam_rao <Shyam.Rao_at_sun.com>
>
> To:
> shyam_rao <Shyam.Rao_at_sun.com>
>
>
> shyam_rao,
>
> The forum "Web Services Interoperability Technology", which you have flagged for email nofication, was updated on Apr 12, 2007 6:20:55 AM by skrewdriver.
>
> skrewdriver posted the following message:
> --------------------------------------------------------------
> Greetings all. This is my first post, though I've been perusing here for quite a long time. I've been searching for an answer to this issue, and cannot seem to find anything, anywhere. Any advice/solutions/documentation you can point me to would be extremely appreciated.
>
> I'm trying to use the wsimport utility from the JWSDP1.6 to generate the stub classes for a web service client. The problem is that the WSDL location is secured on it's server, and when you navigate to it via a browser it asks you to authenticate before it'll show it. I have access to the WSDL, via a username and password, but I have no idea how to send those parameters to it through wsimport. Here's my error message from wsimport:
>
> [ERROR] Failed to read the WSDL document: https://-removed4companysecurityreasons-.com/ObsidianAdService.asmx?WSDL, because 1) could not find the document
> ; /2) the document could not be read; 3) the root element of the document is not <wsdl:definitions>.
> unknown location
> --------------------------------------------------------------
>
> To respond to this post:
>
> <http://forums.java.net/jive/thread.jspa?messageID=212088>--end--
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
>