Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using java for web service server and c++ client. How to pass a structure from c++ client to java server where in which datatype i can access it... I'm in need to access the elements of structure individually in server.. How to do this..? Should i use arraylist in server and after deployment .. how to implement that server's arraylist in c++ client?


Thanks in advance..
Posted

by using an independent data structure like XML or JSON.

You can find great articles and tutorials about both here: CodeProject articles[^]
 
Share this answer
 
Comments
Mohibur Rashid 19-Nov-12 4:20am    
json is a good choice
The web service which is provided by the server is using http protocol.

as a matter of fact you are not sending c++ structure to webserver. you will have to send either in get method or post method. Now you better plan how you would utilize your get method or post method.
 
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