• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

get Vecrot Object from web Sservice

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Thank you my well lotioned goddess! Here, have my favorite tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic