Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366362

Summary: JAX-WS over https returns the wrong request address.
Product: [RT] Jetty Reporter: Kenny Stridh <kenny.stridh>
Component: otherAssignee: Project Inbox <jetty-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jesse.mcconnell
Version: unspecified   
Target Milestone: 7.6.x   
Hardware: All   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Implementation of HttpsExchange support jesse.mcconnell: iplog+

Description Kenny Stridh CLA 2011-12-12 04:26:11 EST
Build Identifier: 7.5.4

The com.sun.xml.internal.ws.transport.http.server.WSHttpHandler uses the HttpsExchange class to determine the protocol, http/https, for the request address. This address is used in the wsdl generation.

Reproducible: Always

Steps to Reproduce:
1. Create and setup a jetty server with ssl connector only
2. Create and publish ws endpoints
3. Request the wsdl (https://localhost:8443/WS?wsdl)
4. All urls starts with http
Comment 1 Kenny Stridh CLA 2011-12-12 04:31:53 EST
I have a fix for this problem. I just need to test it a little more before submitting the patch.
Comment 2 Kenny Stridh CLA 2011-12-12 06:16:20 EST
Created attachment 208250 [details]
Implementation of HttpsExchange support
Comment 3 Jesse McConnell CLA 2011-12-12 17:18:23 EST
this commit isn't applying at all for some reason

I applied without the commit and it seems to have worked so I'll commit

thanks for the report + patch!