BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-17-2009, 04:03 AM   #1 (permalink)
New Member
 
Join Date: Mar 2009
Model: 9000
PIN: N/A
Carrier: orange
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Using JSR 172 WebServices

Please Login to Remove!

Hi,

I am trying to connect to a simple web service from BlackBerry simulator (Bold version 4.6) using the JSR 172 spec. I generated the stub and created my application that uses this stub. Unfortunately when trying to invoke the webservice the client is stuck (the call doesn't return and no exception thrown). I tried to use both .NET web service and JBoss web service.

Can anyone help me?

Thanks
Offline  
Old 03-17-2009, 07:24 PM   #2 (permalink)
New Member
 
Join Date: Mar 2009
Model: 7100T
PIN: N/A
Carrier: ??
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I have been having similiar issues with trying this method and ksoap2 with netbeans 6.5.

I suggest you try making sure that MDS is running with the simulator.

Regards

Tim
Offline  
Old 03-18-2009, 01:50 AM   #3 (permalink)
New Member
 
Join Date: Mar 2009
Model: 9000
PIN: N/A
Carrier: orange
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Jsr 172

Hi,

Do I have to have MDS for using the web services?
How does it work on a real BlackBerry device?

Thanks
Offline  
Old 03-18-2009, 10:23 AM   #4 (permalink)
Knows Where the Search Button Is
 
Join Date: Feb 2009
Location: Quebec, Ca
Model: 8330
OS: v4.5.0.77
PIN: 30293EF0
Carrier: Telus
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello, you don't need the MDS application on the device but you may need the MDS Emulator running on your computer.

Just before trying your application that use web services, are you able to navigate with the BB Browser? If you can't then the problem is that your application is just not able to contact the web service at all.

You can download the JDE and run the application MDS. It will open a small command prompt and load a bunch of thing. let MDS run and try to navigate with the BB Browser, if it work, you'll be able to try your application.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.