Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
Posts: 9
Registered: ‎04-29-2010
My Device: blackberry curve
My Carrier: airtel

Web service in blackberry help!!

 

Hi everyone. 
1. I have created a web service using apache axis 2 which will return a vector of objects of type Contacts
2. Using sun java wireless toolkit i created stub to use in blackberry application. But unfortunately i get an error. Later i found that vector return type cannot be consumed by my web service.
SO how can i return my list of objects from a web service and consume it in a blackberry device

 

Hi everyone. 
1. I have created a web service using apache axis 2 which will return a vector of objects of type Contacts

 

 

2. Using sun java wireless toolkit i created stub to use in blackberry application. But unfortunately i get an error. Later i found that vector return type cannot be consumed by my web service.

 

 


SO how can i return my list of objects from a web service and consume it in a blackberry device

Highlighted
Developer
Posts: 304
Registered: ‎04-30-2008
My Device: Not Specified

Re: Web service in blackberry help!!

Are you getting your error when generating the stubs or when trying to use them?  Can you just use an array instead of a vector?  Seems to me that is what I did.