• 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

Error reading a bean with an attribute "array of strings" from Axis WS

 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have created a web service , with Axis, which returns a bean with some attributes. Among all the attributes, one of them is an array of Strings.
If a create a J2EE client, it works perfectly, but when I create a J2ME client I am not able to read the array from the bean. It seems that in the stub created the type of the array of Strings have changed into a new type (ArrayOf_xsd_string) and there seems to be a method to get the array of strings: getItem(). But if I use it I get o get the String[] from the ArrayOf_xsd_string[], I get a null pointer exception.

Any suggestion is welcome.
Thanks lot!
 
I can't beleive you just said that. Now I need to calm down with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic