Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366362 - JAX-WS over https returns the wrong request address.
Summary: JAX-WS over https returns the wrong request address.
Status: CLOSED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: other (show other bugs)
Version: unspecified   Edit
Hardware: All Linux
: P3 normal (vote)
Target Milestone: 7.6.x   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-12 04:26 EST by Kenny Stridh CLA
Modified: 2011-12-12 17:18 EST (History)
1 user (show)

See Also:


Attachments
Implementation of HttpsExchange support (30.54 KB, patch)
2011-12-12 06:16 EST, Kenny Stridh CLA
jesse.mcconnell: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!