<!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="https://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;">
    Web-service is always deployed with ssl endpoint on WildFly how to avoid it ?
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/nmay">nmay</a> in <i>JBoss Web Services</i> - <a href="https://community.jboss.org/message/832603#832603">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi,</p><p>I update my wildfly installatoin to the latest jbossws-cxf-4.2.0.Final&#160; webservice release.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I deploy the simple username token webservice with end point address specified like this </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&lt;service name="SecurityService"&gt;</p><p>&#160;&#160;&#160; &lt;port name="SecurityServicePort" binding="tns:SecurityServicePortBinding"&gt;</p><p><span>&#160;&#160;&#160;&#160;&#160; &lt;soap:address location="</span><a class="jive-link-external-small" href="http://localhost/wsse" rel="nofollow" target="_blank">http://localhost/wsse</a><span>"/&gt;</span></p><p>&#160;&#160;&#160; &lt;/port&gt;</p><p>&#160; &lt;/service&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span>however wildfly&#160; deploy it always with wsdl url like this:&#160; </span><a class="jive-link-external-small" href="http://localhost:8443/wsse?wsdl" rel="nofollow" target="_blank">http://localhost:8443/wsse?wsdl</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>here is the log:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-size: 8pt;"><span>11:12:49,539 INFO&#160; [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-14) Creating Service {</span><a class="jive-link-external-small" href="http://www.jboss.org/jbossws/ws-extensions/wssecuritypolicy" target="_blank">http://www.jboss.org/jbossws/ws-extensions/wssecuritypolicy</a><span>}SecurityService from WSDL: W</span></span></p><p><span style="font-size: 8pt;"><span>11:12:50,408 WARNING [org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl] (MSC service thread 1-14) No assertion builder for type {</span><a class="jive-link-external-small" href="http://cxf.apache.org/not/a/policy" rel="nofollow" target="_blank">http://cxf.apache.org/not/a/policy</a><span>}unknownPolicy registered.</span></span></p><p><span style="font-size: 8pt;">11:12:50,431 INFO&#160; [org.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-14)<span style="font-size: 10pt;"><strong><span> Setting the server's publish address to be </span><a class="jive-link-external-small" href="https://localhost:8443/wsse" rel="nofollow" target="_blank">https://localhost:8443/wsse</a></strong></span></span></p><p><span style="font-size: 8pt;">11:12:50,633 INFO&#160; [org.jboss.ws.cxf.deployment] (MSC service thread 1-14) JBWS024074: WSDL published to: file:/D:/dev/tools/wildfly-8.0.0.Alpha3/standalone/data/wsdl/wsse.war/SecurityService.wsdl</span></p><p><span style="font-size: 8pt;">11:12:50,723 INFO&#160; [org.jboss.as.webservices] (MSC service thread 1-5) JBAS015539: Starting service jboss.ws.endpoint."wsse.war".TestService</span></p><p><span style="font-size: 8pt;">11:12:50,929 INFO&#160; [org.wildfly.extension.undertow] (MSC service thread 1-16) JBAS018210: Register web context: /wsse</span></p><p><span style="font-size: 8pt;">11:12:50,977 INFO&#160; [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "wsse.war" (runtime-name : "wsse.war")</span></p><p><span style="font-size: 8pt;">11:12:50,979 INFO&#160; [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-size: 8pt;"><span>11:12:51,039 INFO&#160; [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on </span><a class="jive-link-external-small" href="http://127.0.0.1:9990/management" rel="nofollow" target="_blank">http://127.0.0.1:9990/management</a></span></p><p><span style="font-size: 8pt;"><span>11:12:51,040 INFO&#160; [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on </span><a class="jive-link-external-small" href="http://127.0.0.1:9990" rel="nofollow" target="_blank">http://127.0.0.1:9990</a></span></p><p><span style="font-size: 8pt;">11:12:51,040 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.0.0.Alpha3 "WildFly" started ...</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-size: 10pt;">Is there any way to avoid&#160; this ? </span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-size: 10pt;">Thanks in advance !</span></p><p><span style="font-size: 10pt;"><br/></span></p><p>Regards,</p><p><span style="font-size: 10pt;">Niko<br/></span></p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/832603#832603">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Web Services at <a href="https://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>