You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "mayunSaicmotor (via GitHub)" <gi...@apache.org> on 2024/01/12 07:38:44 UTC

[I] gernericService.invoke return unexpected result [dubbo]

mayunSaicmotor opened a new issue, #13641:
URL: https://github.com/apache/dubbo/issues/13641

   
   `
       @DubboReference(interfaceName="com.saic.iov.cloud.sp.support.api.ITbAppversionApi", version = "1.1", generic=true, check = false)
       private GenericService gernericService;
   
    public void filter(HttpRequest request, HttpResponse response, PluginFilterChain chain) {
            Object object1 = gernericService.$invoke("fingVersionInfoV2",   new String[]{"java.lang.String","java.lang.Integer","java.lang.Integer"}, new Object[]{"1.0.1",1,1});    //调用泛化接口
           log.info(JSON.toJSONString(object1));
           response.setBody(JSON.toJSONString(object1));
       }
   `
   I use  curl   to  access   it return  the below
   {"class":"com.saic.iov.cloud.sp.support.api.dto.AppVersionDto"}
   
   it just  return the  return object‘s description . But how to get real value of the interface's call result. Thanks
   
   


-- 
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: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] gernericService.invoke return unexpected result [dubbo]

Posted by "kimmking (via GitHub)" <gi...@apache.org>.
kimmking commented on issue #13641:
URL: https://github.com/apache/dubbo/issues/13641#issuecomment-1889359861

    can you show the result details in the provider side?


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] gernericService.invoke return unexpected result [dubbo]

Posted by "mayunSaicmotor (via GitHub)" <gi...@apache.org>.
mayunSaicmotor closed issue #13641: gernericService.invoke return unexpected result
URL: https://github.com/apache/dubbo/issues/13641


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org