• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

get Vecrot Object from web Sservice

 
Ghaith Rabadi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all i hope that all of you are good.
Can any one please help me.
i want to get Vector Object from web Service to (Java ME) client.
how can i do this?
and is it true that i just can read (String,int,float) types?and not complex Objects?
 
Tim Holloway
Saloon Keeper
Posts: 18359
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I thought "Vecrot" was some obscure product that I didn't know about, so I skipped over your question. Not all questions can be answered on the JavaRanch, but we do try.

There's "web services" and then there's "Web Services", so your answer depends. If you're doing your web service via SOAP, the standard is supposed to include the ability to transport arrays of strings, so the answer to that question is "yes", and you'd normally define it in the WSDL.

For less formal web services - or alternate service protocols such as REST - it essentially depends on how you encode and decode your data streams. I can (and have) done simple web services where I simply do an HTTP GET, get returned a text/text stream with one item per line and read the results as a LineNumberInputStream.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic