Pull request #36 added support for using the value of x-forwarded-host header in wsdls. However if there are multiple proxies in the chain then apache httpd will set the x-forwarded-host value to a comma separated listed of each proxy in the chain with the first proxy accessed by the request being the first entry in the CSV.
When a request is made for the wsdl the response results in a 400 Bad Request with the description "The request sent by the client was syntactically incorrect."
The x-forwarded-host header should be split on ", *' and only use the first value for value of getBaseAddress.
https://github.com/eclipse-ee4j/metro-jax-ws/blame/f16a1ae592527d48034e3f6f3ed2e1ec11a8c869/jaxws-ri/runtime/rt/src/main/java/com/sun/xml/ws/transport/http/server/ServerConnectionImpl.java#L286
Pull request #36 added support for using the value of x-forwarded-host header in wsdls. However if there are multiple proxies in the chain then apache httpd will set the x-forwarded-host value to a comma separated listed of each proxy in the chain with the first proxy accessed by the request being the first entry in the CSV.
When a request is made for the wsdl the response results in a 400 Bad Request with the description "The request sent by the client was syntactically incorrect."
The x-forwarded-host header should be split on ", *' and only use the first value for value of
getBaseAddress.https://github.com/eclipse-ee4j/metro-jax-ws/blame/f16a1ae592527d48034e3f6f3ed2e1ec11a8c869/jaxws-ri/runtime/rt/src/main/java/com/sun/xml/ws/transport/http/server/ServerConnectionImpl.java#L286