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

Posts: 112
Registered: ‎07-19-2009
My Device: Not Specified
Accepted Solution

Using Web Service

I'm using Eclipse Version: 3.4.1 with BlackBerry JDE Component Pack Version:

I intend to use an existing .Net web service. I'm unaware of the process to use it in BlackBerry environment.

Kindly help. Relevant sorce codes would be extremely helpful.

Posts: 17,017
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Using Web Service

you can use suns wireless toolkit to create stubs, these can be used since 4.3 or you can use ksoap2. both keywords should give some results on a forum search.
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Posts: 112
Registered: ‎07-19-2009
My Device: Not Specified

Re: Using Web Service


I tried using Stub Generator available in Sun Java(TM) Wireless Toolkit 2.5 for CLDC and entered the following arguments



WSDL FileName or URL: http://crmserver/Service06_10/Service06_10.asmx

Output Path: C:\Documents and Settings\adam\My Documents

Output Package: MyRMI

CLDC Version: 1.1



It gives the following error.


Stub Generation Failed

error: modeler error: failed to parse decument at "http://crmserver/Service06_10/Service06_10.asmx": org.xml.sax. SAXParseException: The element type "p" must be terminated by the matching end-tag "</p>".




I guess I'm missing something.

Posts: 588
Registered: ‎05-29-2009
My Device: 9100

Re: Using Web Service

I don't know a lot about services but I think there is some kind of error in the generated xml or you are using a non basic type of data.

New Developer
Posts: 23
Registered: ‎07-05-2013
My Device: Z10
My Carrier: Binus

Re: Using Web Service

Hi Sahil, 


Do you have done with that toolkit and run well?

May i get more info how to download and use it?