This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 188647 - Create Web Service Client should work for remote mutually-authenticated endpoints
Summary: Create Web Service Client should work for remote mutually-authenticated endpo...
Status: NEW
Alias: None
Product: webservices
Classification: Unclassified
Component: Client (show other bugs)
Version: 6.x
Hardware: PC All
: P3 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-14 05:14 UTC by Catchwa
Modified: 2010-07-14 05:14 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Catchwa 2010-07-14 05:14:10 UTC
For secure web service endpoints that use mutual certificate authentication it is currently not possible to give NetBeans the WSDL URL and ask it to retrieve the WSDL and any relevant schemas because there is no means for a user to supply the keystore/truststore details.

Note 1: Web Services that are contained within the NetBeans workspace or are described via WSDL and schema files stored in the local filesystem are not affected. This enhancement only concerns remote web services where the only way to tell NetBeans where it is located is via a http(s) URL.

Note 2: wsimport itself does appear to support the specifying of keystores/truststores as seen at line 95-108 of http://fisheye5.cenqua.com/browse/jax-ws-sources/jaxws-ri/samples/fromwsdl_secure/build.xml?r=HEAD

Note 3: It appears that NetBeans only does the fetch of a remote WSDL once and then places it into the xml-resources\web-service-references\ directory so maybe using the wsimport ant task isn't the way to go, because then you would be fetching it everytime you did a clean and build? (I'm not sure of the internals of creating a new web service client.)