Hi,

Please append the STAKE.xsd as well.

And from the xbean.xml of your provider, seems the bean TimestampSignEncrypt_Request is not used, right? and you use a bean TimestampSignEncrypt_Response (but I can't see this bean definition in your xbean.xml) for outInterceptors, but it's a little bit wired for me since generally you should use "request" for outInterceptor and "response" for inInterceptor since cxf bc provider play the role as a client against external service.

Also, would you please try without the SAAJ/WSS4J interceptor for your provider since I fix a issue [1] last week about cxf bc provider can't handle response soap message with ws-securitly header, but this fix is not in the fuse esb 3.3.1.3 you are using.

[1]http://issues.apache.org/activemq/browse/SM-1471

Freeman


wrote:
I have attached the wsdl and schema files (except for STAKE.xsd, it was too
large).  Hopefully the wsdl is all you need.  If not, I can send it to you
STAKE.xsd separately.

My consumer service and provider service use the same wsdl.  The whole
operation is just a pass-thru.  The provider adds WS-Security headers, but
other than that everything is the same.  Here it is:

    <cxfbc:provider wsdl="classpath:wsdl/DataGateway.wsdl"
locationURI="http://outsideserver:8081/gateway/services/DataMaintenanceService";
                      endpoint="DataMaintenanceSOAPPort"
                      service="dgw:DataMaintenanceService">
      <cxfbc:inInterceptors>
          <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
      </cxfbc:inInterceptors>
      <cxfbc:outInterceptors>
        <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
        <ref bean="saajout"/>
             <ref bean="TimestampSignEncrypt_Response"/>
             <bean class="com.issinc.apache.cxf.ContentTypeFixer"/>
      </cxfbc:outInterceptors>
      <cxfbc:inFaultInterceptors>
          <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
      </cxfbc:inFaultInterceptors>
      <cxfbc:outFaultInterceptors>
          <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
      </cxfbc:outFaultInterceptors>
    </cxfbc:provider>

    <bean
        class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor"
        id="TimestampSignEncrypt_Request">
        <constructor-arg>
            <map>
                <entry key="action" value="UsernameToken"/>
                <entry key="passwordCallbackClass"
value="org.apache.servicemix.samples.cxf_ws_security.KeystorePasswordCallback"/>
            </map>
        </constructor-arg>
    </bean>

Reply via email to