BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 12-20-2005, 06:46 AM   #1
bandar
New Member
 
Join Date: Oct 2005
Model: no
Posts: 9
Default Problem acceesing web service from simulator

Please Login to Remove!

Hi,

I am trying to access a .NET web service from the Blackberry simulator. I have used ksoap 1.

The problem i am facing is tht i am using an SqlDataReader and when i call the web service from the simulator, the /**if(SqlDataReader.HasRows)**/
condition is never executed.

Is SqlDataReader not supported??

Im using the datareader to just chk the login and password. Is there anyother way to do this?

Thank You
Offline  
Old 12-22-2005, 09:07 AM   #2
eeksock
Knows Where the Search Button Is
 
Join Date: Sep 2005
Model: 8110
Carrier: Rogers
Posts: 15
Default

The "if(SqlDataReader.HasRows)" line is on your .NET server side, isn't it? If so, I'm not sure how much the BlackBerry client has to do with your problem, except that perhaps the input to your SOAP call isn't want you expected. I'd first make sure the input you're getting in your .NET code is what you expect; i.e. did the login and password, or whatever your method input parameters are, come incorrectly?

eeksock
Offline  
Old 12-23-2005, 02:51 AM   #3
bandar
New Member
 
Join Date: Oct 2005
Model: no
Posts: 9
Default

i got it working...apparently the ksoap1 package was missing some files which i had to dwnld separately. On top of that some code was missing from one of the files. But it works fine with the SqlDataReader also
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


NSK TiMAX NL95M/ A500/ A500L/ AK500L/ AS500L /AW500L CERAMIC BEARINGS  picture

NSK TiMAX NL95M/ A500/ A500L/ AK500L/ AS500L /AW500L CERAMIC BEARINGS

$80.75



A54MA55B and BC186A413G52 frequency converters A500/F540 series 55KW drive board picture

A54MA55B and BC186A413G52 frequency converters A500/F540 series 55KW drive board

$350.00



Dentistry Replacement NSK TiMAX NL95M/ A500/ A500L/ AK500L/ AS500L /AW500L NEW picture

Dentistry Replacement NSK TiMAX NL95M/ A500/ A500L/ AK500L/ AS500L /AW500L NEW

$79.95



New Greaseweazle V4.1 USB Floppy Adapter Flux Reader Writer Amiga PC Case 1598 picture

New Greaseweazle V4.1 USB Floppy Adapter Flux Reader Writer Amiga PC Case 1598

$35.85



1PC USED A54MA30B Mitsubishi F500/A500/A540 Series 30-37KW Mainboard #CZ picture

1PC USED A54MA30B Mitsubishi F500/A500/A540 Series 30-37KW Mainboard #CZ

$228.00



MITSUBISHI A500 / FR-A540-5.5K-NA INVERTER 3PH  picture

MITSUBISHI A500 / FR-A540-5.5K-NA INVERTER 3PH

$108.00







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