I'm having issues configuring jbossws to generate our wsdl with the correct endpoint location. Actually, we built this web service "contract first", so were surprised that the wsdl was being regenerated upon deployment. Now that we realize this, we are having difficulty getting our endpoint set correctly. Names have been changed to protect the innocent.
This issue is simliar to http://community.jboss.org/message/336384#336384
We are using:
- JBoss EAP 5.1.0
- JBoss Native WS stack (default)
The code is deployed in jboss and accessible internally here:
http://10.11.2.333:8280/SomeService?wsdl
The web service should be publicly accessible here:
https://somewhere.com/SomeService?wsdl
Our SSL terminates at a load balancer (upstream) so the web service itself is HTTP (via JBoss).
So, I can almost get the url correct by tweaking jboss-beans.xml, but can’t get the endpoint to say “https” instead of “http”…
http://somewhere.com/SomeService?wsdl
JBoss is using the default 8080 connector… and we added another one on port 8280
<Connector protocol="HTTP/1.1" port 8080" address="${jboss.bind.address}" connectionTimeout="20000" redirectPort="8443" />
<Connector protocol="HTTP/1.1" port 8280" address="${jboss.bind.address}" connectionTimeout="20000" redirectPort="8443" />
Attempt 1 (default configuration) gives: <soap:address location="http://10.11.2.333:8280/SomeService" />
<property>${jboss.bind.address}</property>
<property>true</property>
<!-- <property>8443</property> -->
<!-- <property>8080</property> -->
Attempt 2 gives: <soap:address location="http://somewhere.com:8080/SomeService " />
<property>somewhere.com </property>
<property>true</property>
<property>8443</property>
<property>8080</property>
Attempt 3 gives: <soap:address location="http://somewhere.com:8280/SomeService " />
<property>somewhere.com </property>
<property>true</property>
<property>8443</property>
<!-- <property>8080</property>-->
Attempt 4 gives: <soap:address location="http://somewhere.com:8280/SomeService " />
<property>somewhere.com </property>
<property>true</property>
<!-- <property>8443</property>-->
<!-- <property>8080</property>-->
Attempt 5 gives: <soap:address location="http://somewhere.com:8280/SomeService " />
<property>somewhere.com </property>
<property>false</property>
<!-- <property>8443</property>-->
<!-- <property>8080</property>-->
Attempt 6 gives: KABOOM starting jboss regarding web service port
<property>somewhere.com </property>
<property>true</property>
<!-- <property>8443</property>-->
<property></property>
Attempt 7 gives: <soap:address location="http://somewhere.com/SomeService " />
<property>somewhere.com</property>
<property>true</property>
<!-- <property>8443</property>-->
<property>80</property>
Ideas? Any help is appreciated.