从servicemix 4.3.1迁移到4.4.1时“无法为SOAP创建消息工厂”

时间:2012-01-24 16:54:24

标签: soap axis2 apache-servicemix

我有一个很好的工作包:一些cxf端点和一些骆驼路由。 我使用servicemix 4.3.1非常出色 下面是一个典型的cxf:端点:

 <cxf:cxfEndpoint id="adapter.Service"
                 serviceName="tns:Service"
                 wsdlURL="etc/transfer.wsdl">
    <cxf:properties>
        <entry key="dataFormat" value="PAYLOAD"/>
        <entry key="ws-security.ut.no-callbacks" value="true"/>
    </cxf:properties>
    <cxf:inInterceptors>
        <bean class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor">
            <constructor-arg>
                <map>
                    <entry key="action" value="UsernameToken"/>
                    <entry key="passwordType" value="PasswordText"/>
                </map>
            </constructor-arg>
        </bean>
        <ref bean="authenticationInterceptor"/>
    </cxf:inInterceptors>
</cxf:cxfEndpoint>

但是当我尝试将bundle部署到servicemix 4.3.1时,我得到了下一个异常:

Unable to create message factory for SOAP: Provider org.apache.axis2.saaj.MessageFactoryImpl not found

麻烦之根:提供安全性的拦截器。 如果部署的端点没有标签<cxf:inInterceptors> - 一切正常 是否使用了4.4.1中的输入/输出拦截器? 有人有同样的麻烦吗?

0 个答案:

没有答案