bryanxtong commented on issue #15447:
URL: https://github.com/apache/dubbo/issues/15447#issuecomment-2964494821

   With attachement below, and I also find another problem which I am not sure. 
 when in  proto files,  package is provided, It is working to access 
http://192.168.71.37:50051/org.apache.dubbo.sample.proto.Simple/sayHello via 
http post. but if we donot have this line(eg. package 
org.apache.dubbo.sample.proto;) I found neither way will work.
   
    curl --header "Content-Type: application/json" --data '{"name":"Dubbo"}' 
http://192.168.71.37:50051/org.apache.dubbo.sample.proto.Simple/sayHello
   {"message":"Invoker not found","status":"404"}
    curl --header "Content-Type: application/json" --data '{"name":"Dubbo"}' 
http://192.168.71.37:50051/Simple/sayHello
   {"message":"Invoker not found","status":"404"}
   
   
[dubbo-provider_no_proto_package.zip](https://github.com/user-attachments/files/20698790/dubbo-provider_no_proto_package.zip)
   
   `syntax = "proto3";
   
   option java_multiple_files = true;
   option java_package = "org.apache.dubbo.sample.proto";
   **### _//package org.apache.dubbo.sample.proto;_**
   option java_outer_classname = "HelloWorldProto";
   
   ...
   
   Please correct me if this is not a problem.


-- 
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.

To unsubscribe, e-mail: [email protected]

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