[
https://issues.jboss.org/browse/WFLY-4444?page=com.atlassian.jira.plugin....
]
Alessio Soldano commented on WFLY-4444:
---------------------------------------
Ah, forgot to write that as a consequence of the first deployment issue, I changed your
project as follows:
{noformat}
diff --git a/src/main/java/com/tad/ws/SimpleEcho.java
b/src/main/java/com/tad/ws/SimpleEcho.java
index e6017b4..e63e157 100644
--- a/src/main/java/com/tad/ws/SimpleEcho.java
+++ b/src/main/java/com/tad/ws/SimpleEcho.java
@@ -32,7 +32,7 @@ import static java.lang.String.format;
@Stateless
@LocalBean
-@WebService(portName = "SimpleEchoPort",wsdlLocation =
"META-INF/wsdl/Echo.wsdl")
+@WebService(serviceName = "SimpleEchoService", portName =
"SimpleEchoPort", wsdlLocation = "META-INF/wsdl/Echo.wsdl")
//(a)Policy(uri="META-INF/wsdl/Policy.xml",includeInWSDL = false)
public class SimpleEcho {
@WebMethod(operationName = "EchoBack")
{noformat}
Ability to set WSDL URL
-----------------------
Key: WFLY-4444
URL:
https://issues.jboss.org/browse/WFLY-4444
Project: WildFly
Issue Type: Feature Request
Components: Web Services
Affects Versions: 8.2.0.Final
Reporter: John Ament
Assignee: Alessio Soldano
There's no way to correctly set a WSDL URL. The properties are:
{code}
<modify-wsdl-address>true</modify-wsdl-address>
<wsdl-host>${public.app.host:localhost}</wsdl-host>
<wsdl-port>${public.http.port:80}</wsdl-port>
<wsdl-secure-port>${public.https.port:443}</wsdl-secure-port>
{code}
We need a way to set the WSDL URL, regardless of the protocol used. The issue being that
our app servers run on HTTP, but the incoming request to the first load balancer is over
HTTPS. The result is that the WSDL generated includes
http://public-host:80/ instead of
https://public-host:443/
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)