schemaLocations in WSDL are wrong when JBoss EAP connector has proxy-name attribute
Issue
-
I'm deploying a web service with an external schema referenced in the WSDL. When retrieving the WSDL, the
schemaLocationattribute of the import has an incorrect host name when my JBossWeb connector has aproxy-nameattribute set and I have thewsdl-hostset in the webservices subsystem. For example, if my connector'sproxy-nameis set totestand the webservices subsystem has thewsdl-hostset tojbossws, then theschemaLocationwill have a host name oftest. I would expect thewsdl-hostto take precedence over theproxy-name. -
We are in a situation where, whenever we try to call a service (WSDL), registered on the DNS, going through a load balancer, the URL we see on
wsdl:importis different from the URL we access on the browser. I ran a few tests using a different load balancer and the same situation happens. I have removed any mentions to the URL which appears on the WSDL from the server's and load balancer's hosts file but we're still seeing a different URL. If we access the instance directly through JBoss EAP, we see the correct URL. The balancing is done through anApache Httpdusingmod_jk.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.