Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I created a web service server using java in netbeans..Using jboss 6.0 i deployed that..It will response ie., return a class object.. in Web Service client, how to get that return value ? Do i have to define the same type class here and create an object and receive that one or any other way?
Posted

1 solution

The client needs to know the Object - then he can unpack the received data.
An Interface defining the Object would be good for that.

One uses an extra project for defining this, the project then is imported by both application projects, server and client.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900