开发者

how can i send resultset in JAX-WS

开发者 https://www.devze.com 2023-01-01 19:51 出处:网络
i am building a web service in java and my client is .net for example my table contains String \"name\",String \"surname\",开发者_如何学运维 and Integer \"id\" and i want to send all of them

i am building a web service in java and my client is .net for example my table contains String "name",String "surname",开发者_如何学运维 and Integer "id" and i want to send all of them my question is, which type should the method return?


If I understand your question correctly, it would be some custom type like:

class Person {
   String name;
   String surname;
   Integer id;
   // constructor etc.
}
0

精彩评论

暂无评论...
验证码 换一张
取 消