After restarting GlassFish I checked the soap:address. This time it is
shows like this:
http:/MyService/MyService
Notice a single / after http:, it is not https, and the server hostname
is missing. I was expecting to see
https://hostname.domain.com/MyService/MyService
What could be wrong? This is 9.1 FCS, not UR1 or UR2.
Thanks,
Ryan
Ryan de Laplante wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>