kylixs commented on a change in pull request #268:
URL: https://github.com/apache/dubbo-samples/pull/268#discussion_r561819987



##########
File path: 
dubbo-samples-webservice/dubbo-samples-webservice-consumer/src/main/resources/spring/dubbo-samples-webservice-consumer.xml
##########
@@ -21,9 +21,9 @@
        xsi:schemaLocation="http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
        http://dubbo.apache.org/schema/dubbo 
http://dubbo.apache.org/schema/dubbo/dubbo.xsd";>
 
-    <dubbo:application name="demo-consumer"/>
-
-    <dubbo:registry address="zookeeper://127.0.0.1:2181"/>
-
-    <dubbo:reference id="demoService" check="false" 
interface="org.apache.dubbo.samples.webservice.DemoService"/>
+    <dubbo:application name="dubbo-samples-webservice-consumer"/>
+    <dubbo:registry 
address="zookeeper://${zookeeper.address:127.0.0.1}:${zookeeper.port:2181}"/>
+    <dubbo:reference id="demoService" check="false" timeout="3000"
+                     
interface="org.apache.dubbo.samples.webservice.DemoService"/>
+<!--                     
url="webservice://${dubbo.address:127.0.0.1}:8080/dubbo_samples_webservice_provider_war/services/org.apache.dubbo.samples.webservice.DemoService"/>-->

Review comment:
       请删除多余的注释




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to