我已经用XFIRE发布了一个WEBSERVICES的服务,配置文件如下:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://xfire.codehaus.org/config/1.0">
<service>
<name>BookService</name>
<namespace>
http://localhost:9090/9090/services/BookService
</namespace>
<serviceClass>
cn.com.broadtext.IBookService
</serviceClass>
<implementationClass>
cn.com.broadtext.BookService
</implementationClass>
</service>
</beans>于是我又构建了一个MULE工程,来访问这个WEBSERVICES服务
mule-services-config.xml如下
    <model name="helloSample">
        <service name="GreeterUMO">        
            <inbound>
                <inbound-endpoint address="http://localhost:8080" transformer-refs="HttpRequestToNameString" synchronous="true">
                </inbound-endpoint>
            </inbound>
             <outbound>
                <chaining-router>
                    <outbound-endpoint address="wsdl-xfire:http://localhost:9090/webservice/services/BookService?method=findBookByISBN"/>
               </chaining-router>
            </outbound>
            
        </service>
    </model>
但是这样一配,我部署到TOMCAT里面,启动的时候就报错了,我用的是MULE2.2.1版本,网上关于2.X版本的例子好少