<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:dubbo="http://dubbo.apache.org/schema/dubbo"
       xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
       http://dubbo.apache.org/schema/dubbo http://dubbo.apache.org/schema/dubbo/dubbo.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
    <dubbo:application name="service-consumer"/>
    <dubbo:registry  address="nacos://127.0.0.1:8848"/>
    <dubbo:reference id="helloService"    interface="com.xjs.service.HelloService">
        <dubbo:method name="sayHello" async="true">
            <dubbo:argument type="String"/>
            <dubbo:argument type="int"/>
        </dubbo:method>
    </dubbo:reference>
    <context:component-scan base-package="com.xjs.bean"/>
</beans>
