users@glassfish.java.net

JAX-RPC says: <soap:address location="REPLACE_WITH_ACTUAL_URL"/>

From: Ryan de Laplante <ryan_at_ijws.com>
Date: Tue, 13 May 2008 16:00:08 -0400

I'm trying to get a JAX-RPC service to use SSL and HTTP BASIC
authentication, and deploy it to a virtual server who's http listener is
on port 8443, and uses SSL.

When I've deployed to my local app server, the soap:address has always
said http://...:8080 when I expect to see https://....:8443 Now
that I've deployed to an other server, it shows <soap:address
location="REPLACE_WITH_ACTUAL_URL"/>.

Here is what I've added to my web.xml of the NetBeans web project (j2ee
1.4):

<security-constraint>
        <display-name>SSL Constraint</display-name>
        <web-resource-collection>
            <web-resource-name>WSServlet_MyService</web-resource-name>
            <url-pattern>/*</url-pattern>
            <http-method>PUT</http-method>
            <http-method>HEAD</http-method>
            <http-method>POST</http-method>
            <http-method>OPTIONS</http-method>
            <http-method>TRACE</http-method>
            <http-method>DELETE</http-method>
        </web-resource-collection>
        <auth-constraint>
            <role-name>IJWAPPS</role-name>
        </auth-constraint>
        <user-data-constraint>
            <description/>
            <transport-guarantee>CONFIDENTIAL</transport-guarantee>
        </user-data-constraint>
    </security-constraint>
    <login-config>
        <auth-method>BASIC</auth-method>
        <realm-name>centralData</realm-name>
    </login-config>
    <security-role>
        <role-name>IJWAPPS</role-name>
    </security-role>


The same settings work in my Java EE 5 JAX-WS web services. Please help!

Thanks,
Ryan