[
https://jira.jboss.org/browse/JBIDE-6851?page=com.atlassian.jira.plugin.s...
]
Brian Fitzpatrick commented on JBIDE-6851:
------------------------------------------
After some discussions this morning, it became clear that we would run into some issues
where WSDLs are protected with SSL (HTTPS). As a compromise, we're checking to see if
a WSDL is available and popping up a more helpful message to the user letting them know
they may need to save the WSDL file out locally and use the local copy instead of loading
it directly from the URL.
[tester] provide ability to read WSDL exxposed over HTTPS
---------------------------------------------------------
Key: JBIDE-6851
URL:
https://jira.jboss.org/browse/JBIDE-6851
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Webservices
Affects Versions: 3.2.0.M2
Reporter: Lukas Jungmann
Assignee: Brian Fitzpatrick
Fix For: 3.2.0.Beta
Attachments: patch.txt
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
similar to JBIDE-6850
-let's have a service running over HTTPS, sample for JBoss6-
https://community.jboss.org/servlet/JiveServlet/download/38-15328/secured...
-open web.xml of service project
-add '<http-method>GET</http-method>' before the
'<http-method>POST</http-method>' element
-save web.xml and republish the project on the server
Note: in this case both web service invocation and service description are secured (GET,
POST)
-open tester and click on the 'Get from WSDL' button
-click on 'URL...' button, fill in
http://localhost:8080/demo/HelloWorld?WSDL (or
https://localhost:8443/demo/HelloWorld?WSDL) and press OK
=> no service, no port, nor operation are shown in the dialog
IDE log says:
com.sun.xml.internal.ws.wsdl.parser.InaccessibleWSDLException: 2 counts of
InaccessibleWSDLException.
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path
building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path
building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
at
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:161)
at
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:133)
at
com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:254)
at
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:217)
at
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:165)
at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:93)
at javax.xml.ws.Service.<init>(Service.java:56)
at javax.xml.ws.Service.create(Service.java:680)
at org.jboss.tools.ws.ui.utils.JAXWSTester2.doTest(JAXWSTester2.java:98)
at org.jboss.tools.ws.ui.views.JAXRSWSTestView2.handleWSTest(JAXRSWSTestView2.java:1265)
at org.jboss.tools.ws.ui.views.JAXRSWSTestView2.access$25(JAXRSWSTestView2.java:1251)
at org.jboss.tools.ws.ui.views.JAXRSWSTestView2$18.run(JAXRSWSTestView2.java:1195)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira