Sedat
Sedat

Reputation: 13

how can i send resultset in JAX-WS

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?

Upvotes: 1

Views: 422

Answers (1)

Fabian Steeg
Fabian Steeg

Reputation: 45734

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

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

Upvotes: 1

Related Questions