all:

i want to publish CXF(2.01) webservice with WSS(user token) over SSL to 
weblogic 9.2. 
i got this error when a client to call the service. and i donot think weblogic 
has publish service succesfull,but there is not error happen according to the 
console:

2007-9-21 9:34:54 org.apache.cxf.transport.servlet.ServletController invoke
警告: Can't find the the request for 
http://localhost:7001/LSPApp/services/HelloWorld's Observer

-----------------cxfServer.xml--------------------------
<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xmlns:sec="http://cxf.apache.org/configuration/security";
  xmlns:http="http://cxf.apache.org/transports/http/configuration";
  xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration";
  xmlns:jaxws="http://cxf.apache.org/jaxws";
  xsi:schemaLocation="
       http://cxf.apache.org/configuration/security                   
http://cxf.apache.org/schemas/configuration/security.xsd
            http://cxf.apache.org/transports/http/configuration
            http://cxf.apache.org/schemas/configuration/http-conf.xsd
            http://cxf.apache.org/transports/http-jetty/configuration
            http://cxf.apache.org/schemas/configuration/http-jetty.xsd
            http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans.xsd";>
                <import resource="classpath:META-INF/cxf/cxf.xml" />
        <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
        <import resource="classpath:META-INF/cxf/cxf-servlet.xml" /> 
        
  <http:destination 
name="{http://interfaces.service.scan.dragonfx.dell.com/}HelloWorldService.HelloWorldImplPort";>
 
  </http:destination>

  <httpj:engine-factory bus="cxf">  
   <httpj:engine port="7002">   
    <httpj:tlsServerParameters>     
      <sec:keyManagers keyPassword="password">
           <sec:keyStore type="JKS" password="password" 
                file="c:\bea\server\mykeystore"/>
      </sec:keyManagers>
      <sec:trustManagers>
          <sec:keyStore type="JKS" password="password"
               file="c:\bea\server\cacerts"/>
      </sec:trustManagers>
      <sec:cipherSuitesFilter>
        <sec:include>.*_EXPORT_.*</sec:include>
        <sec:include>.*_EXPORT1024_.*</sec:include>
        <sec:include>.*_WITH_DES_.*</sec:include>
        <sec:include>.*_WITH_NULL_.*</sec:include>
        <sec:exclude>.*_DH_anon_.*</sec:exclude>
      </sec:cipherSuitesFilter>
      
      <sec:clientAuthentication want="true" required="true"/>
      
    </httpj:tlsServerParameters>
   </httpj:engine>
  </httpj:engine-factory>
  
  <!-- We need a bean named "cxf" -->

</beans>

-------------sslclient.xml------------------

<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xmlns:sec="http://cxf.apache.org/configuration/security";
  xmlns:http="http://cxf.apache.org/transports/http/configuration";
  xmlns:jaxws="http://java.sun.com/xml/ns/jaxws";
  xsi:schemaLocation="
           http://cxf.apache.org/configuration/security
           http://cxf.apache.org/schemas/configuration/security.xsd
           http://cxf.apache.org/transports/http/configuration
           http://cxf.apache.org/schemas/configuration/http-conf.xsd
           http://www.springframework.org/schema/beans
           http://www.springframework.org/schema/beans/spring-beans.xsd";>

  <http:conduit 
name="{http://interfaces.service.scan.dragonfx.dell.com/}HelloWorldImplService.HttpConduit";>
    <http:tlsClientParameters>
    
      <sec:trustManagers>
          <sec:keyStore type="JKS" password="password"
               file="c:\bea\server\mykeystore"/>
      </sec:trustManagers>
      <sec:keyManagers keyPassword="password">
           <sec:keyStore type="JKS" password="password" 
                file="c:\bea\server\cacerts"/>
      </sec:keyManagers>
      <sec:cipherSuitesFilter>
        <sec:include>.*_EXPORT_.*</sec:include>
        <sec:include>.*_EXPORT1024_.*</sec:include>
        <sec:include>.*_WITH_DES_.*</sec:include>
        <sec:include>.*_WITH_NULL_.*</sec:include>
        <sec:exclude>.*_DH_anon_.*</sec:exclude>
      </sec:cipherSuitesFilter>
     
    </http:tlsClientParameters>
   </http:conduit>
  
    <bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl">
    </bean> 

</beans>


thanks for any help

Roger

Reply via email to