Xiaowhyyan opened a new issue #2590: dubbo发布http服务后  http客户端访问问题
URL: https://github.com/apache/incubator-dubbo/issues/2590
 
 
   你好
   我这边写一个dubbo provider 发布服务为http协议
   配置为
   <dubbo:application name="demo-provider"/>
       <!-- use multicast registry center to export service -->
       <dubbo:registry protocol="zookeeper" address="192.168.4.105:2181" />
       <!-- use dubbo protocol to export service on port 20880 -->
       <dubbo:protocol name="dubbo" port="20880"/>
       <dubbo:protocol name="http" port="20991"/>
       <!-- service implementation, as same as regular local bean -->
       <bean id="demoService" class="com.why.Impl.UserInterImpl"/>
       <!-- declare the service interface to be exported -->
       <dubbo:service interface="com.why.jiekou.UserInter" ref="demoService" 
protocol="dubbo,http"/>
   
   然后服务启动正常以后
   
   客户端如何去往com.why.jiekou.UserInter接口发请求
   UserInter接口下面方法如下
   String test();
   String sayHello(String name);
   UserResponse zhuce(User user) throws ClassNotFoundException, SQLException;
   
   比如如何往此接口 sayHello方法发http请求,报文格式是怎么样的?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to