Hello,

We have a jaxws:endpoint defined like this:
        <jaxws:endpoint xmlns:tns="http://my.org/examples/";
                        id="greeter_Https"
                        implementor="demo.service.Greeter_HttpsImpl"
                        serviceName="tns:Greeter_HttpsService"
                        address="/Greeter_HttpsService">
      <jaxws:features>
                        <p:policies>
                                <wsp:Policy>
                                        <wsp:ExactlyOne>
                                                <wsp:All>
                                                  <sp:TransportBinding 
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>
                                                        <wsp:Policy>
                                                          <sp:TransportToken>
                                                            <wsp:Policy>
                                                              <sp:HttpsToken 
RequireClientCertificate="false"/>
                                                            </wsp:Policy>
                                                          </sp:TransportToken>
                                                        </wsp:Policy>
                                                  </sp:TransportBinding>
                                                </wsp:All>
                                        </wsp:ExactlyOne>
                                </wsp:Policy>
                        </p:policies>
          </jaxws:features>
        </jaxws:endpoint>

It can be published with no error, but from the debugging there is no any 
Assertion found, so the Https transport didn't take effect.
Can someone take a look what's wrong with the definition of policy? Thanks in 
advance.

Regards.
Xilai

Reply via email to