<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Issue with soap:address generated (https)
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/vbrich">Rich B</a> in <i>JBoss Web Services</i> - <a href="http://community.jboss.org/message/577681#577681">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p style="MARGIN: 0in 0in 0pt">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.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="MARGIN: 0in 0in 0pt">This issue is simliar to <a class="jive-link-message-small" href="http://community.jboss.org/message/336384#336384">http://community.jboss.org/message/336384#336384</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="MARGIN: 0in 0in 0pt">We are using:</p><p style="MARGIN: 0in 0in 0pt">- JBoss EAP 5.1.0</p><p style="MARGIN: 0in 0in 0pt">- JBoss Native WS stack (default)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="MARGIN: 0in 0in 0pt">The code is deployed in jboss and accessible internally here:</p><p style="MARGIN: 0in 0in 0pt"><a class="jive-link-external-small" href="http://10.11.2.333:8280/SomeService?wsdl">http://10.11.2.333:8280/SomeService?wsdl</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="MARGIN: 0in 0in 0pt">The web service should be publicly accessible here:</p><p style="MARGIN: 0in 0in 0pt"><a class="jive-link-external-small" href="https://somewhere.com/SomeService?wsdl">https://somewhere.com/SomeService?wsdl</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="MARGIN: 0in 0in 0pt">Our SSL terminates at a load balancer (upstream) so the web service itself is HTTP (via JBoss). </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="MARGIN: 0in 0in 0pt">So, I can almost get the url correct by tweaking jboss-beans.xml, but can&rsquo;t get the endpoint to say &ldquo;https&#8221; instead of &ldquo;http&#8221;&#8230;</p><p style="MARGIN: 0in 0in 0pt"><a class="jive-link-external-small" href="http://somewhere.com/SomeService?wsdl">http://somewhere.com/SomeService?wsdl</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="MARGIN: 0in 0in 0pt">JBoss is using the default 8080 connector&#8230; and we added another one on port 8280</p><p style="MARGIN: 0in 0in 0pt">&lt;Connector protocol="HTTP/1.1" port 8080" address="${jboss.bind.address}" connectionTimeout="20000" redirectPort="8443" /&gt;</p><p style="MARGIN: 0in 0in 0pt">&lt;Connector protocol="HTTP/1.1" port 8280" address="${jboss.bind.address}" connectionTimeout="20000" redirectPort="8443" /&gt;</p><p class="MsoNormal" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p class="MsoNormal">Attempt 1 (default configuration) gives: &lt;soap:address location="<strong><a class="jive-link-external-small" href="http://10.11.2.333:8280/SomeService" target="_blank">http://10.11.2.333:8280/SomeService</a></strong>" /&gt;</p><p class="MsoNormal">&#160;&#160;&#160; &lt;property&gt;${jboss.bind.address}&lt;/property&gt;</p><p class="MsoNormal">&#160;&#160;&#160; &lt;property&gt;true&lt;/property&gt;</p><p class="MsoNormal">&#160;&#160; &lt;!-- &lt;property&gt;8443&lt;/property&gt; --&gt;</p><p class="MsoNormal">&#160;&#160; &lt;!-- &lt;property&gt;8080&lt;/property&gt; --&gt;</p><p class="MsoNormal" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p class="MsoNormal">Attempt 2 gives: &lt;soap:address location="<strong><a class="jive-link-external-small" href="http://somewhere.com:8080/SomeService" target="_blank">http://somewhere.com:8080/SomeService</a></strong> " /&gt;</p><p class="MsoNormal">&#160;&#160;&#160; &lt;property&gt;somewhere.com &lt;/property&gt;</p><p class="MsoNormal">&#160;&#160;&#160; &lt;property&gt;true&lt;/property&gt;</p><p class="MsoNormal">&#160;&#160;&#160; &lt;property&gt;8443&lt;/property&gt;</p><p class="MsoNormal">&#160;&#160;&#160; &lt;property&gt;8080&lt;/property&gt;</p><p class="MsoNormal" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p class="MsoNormal">Attempt 3 gives: &lt;soap:address location="<strong><a class="jive-link-external-small" href="http://somewhere.com:8280/SomeService" target="_blank">http://somewhere.com:8280/SomeService</a></strong> " /&gt;</p><p class="MsoNormal">&#160;&#160;&#160; &lt;property&gt;somewhere.com &lt;/property&gt;</p><p class="MsoNormal">&#160;&#160;&#160; &lt;property&gt;true&lt;/property&gt;</p><p class="MsoNormal">&#160;&#160;&#160; &lt;property&gt;8443&lt;/property&gt;</p><p class="MsoNormal">&#160;&#160; &lt;!-- &lt;property&gt;8080&lt;/property&gt;--&gt;</p><p class="MsoNormal" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p class="MsoNormal">Attempt 4 gives: &lt;soap:address location="<strong><a class="jive-link-external-small" href="http://somewhere.com:8280/SomeService" target="_blank">http://somewhere.com:8280/SomeService</a></strong> " /&gt;</p><p class="MsoNormal">&#160;&#160;&#160; &lt;property&gt;somewhere.com &lt;/property&gt;</p><p class="MsoNormal">&#160;&#160;&#160; &lt;property&gt;true&lt;/property&gt;</p><p class="MsoNormal">&#160;&#160; &lt;!-- &lt;property&gt;8443&lt;/property&gt;--&gt;</p><p class="MsoNormal">&#160;&#160; &lt;!-- &lt;property&gt;8080&lt;/property&gt;--&gt;</p><p class="MsoNormal" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p class="MsoNormal">Attempt 5 gives: &lt;soap:address location="<strong><a class="jive-link-external-small" href="http://somewhere.com:8280/SomeService" target="_blank">http://somewhere.com:8280/SomeService</a></strong> " /&gt;</p><p class="MsoNormal">&#160;&#160;&#160; &lt;property&gt;somewhere.com &lt;/property&gt;</p><p class="MsoNormal">&#160;&#160;&#160; &lt;property&gt;false&lt;/property&gt;</p><p class="MsoNormal">&#160;&#160; &lt;!-- &lt;property&gt;8443&lt;/property&gt;--&gt;</p><p class="MsoNormal">&#160;&#160; &lt;!-- &lt;property&gt;8080&lt;/property&gt;--&gt;</p><p class="MsoNormal" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p class="MsoNormal">Attempt 6 gives: KABOOM starting jboss regarding web service port</p><p class="MsoNormal">&#160;&#160;&#160; &lt;property&gt;somewhere.com &lt;/property&gt;</p><p class="MsoNormal">&#160;&#160;&#160; &lt;property&gt;true&lt;/property&gt;</p><p class="MsoNormal">&#160;&#160; &lt;!-- &lt;property&gt;8443&lt;/property&gt;--&gt;</p><p class="MsoNormal">&#160;&#160;&#160; &lt;property&gt;&lt;/property&gt;</p><p class="MsoNormal" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p class="MsoNormal">Attempt 7 gives: &lt;soap:address location="<strong><a class="jive-link-external-small" href="http://somewhere.com/SomeService" target="_blank">http://somewhere.com/SomeService</a></strong> " /&gt;</p><p class="MsoNormal">&#160;&#160;&#160; &lt;property&gt;somewhere.com&lt;/property&gt;</p><p class="MsoNormal">&#160;&#160;&#160; &lt;property&gt;true&lt;/property&gt;</p><p class="MsoNormal">&#160;&#160; &lt;!-- &lt;property&gt;8443&lt;/property&gt;--&gt;</p><p class="MsoNormal">&#160;&#160;&#160; &lt;property&gt;80&lt;/property&gt;</p><p class="MsoNormal" style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p class="MsoNormal">Ideas? Any help is appreciated.</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/577681#577681">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Web Services at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>