在Glassfish下保护SSL Web服务

时间:2012-10-05 20:09:49

标签: java web-services ssl ejb glassfish-3

您好我正在Glassfish下部署一个webservice(ejb),我只是按照这个步骤进行操作http://www.java-tips.org/java-ee-tips/java-api-for-xml-web-services/using-jax-ws-based-web-services-wit.html: glassfish-ejb-jar.xml描述符内容:

<!DOCTYPE glassfish-ejb-jar PUBLIC "-//GlassFish.org//
DTD GlassFish Application Server 3.1 EJB 3.1//EN" 
"http://glassfish.org/dtds/glassfish-ejb-jar_3_1-1.dtd">
<glassfish-ejb-jar>
<enterprise-beans>
    <ejb>
        <ejb-name>Test</ejb-name>
        <webservice-endpoint>
            <port-component-name>Test</port-component-name>
            <transport-guarantee>CONFIDENTIAL</transport-guarantee>
        </webservice-endpoint>
    </ejb>
</enterprise-beans>
</glassfish-ejb-jar>

当我尝试转到https://mysite.com/Test时,它显示一个空白页面,任何想法?

0 个答案:

没有答案