BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-23-2008, 05:41 AM   #1 (permalink)
New Member
 
Join Date: Apr 2008
Model: 8200
PIN: N/A
Carrier: Vodafone
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to connect .Net webservice with JDE4.2.1

Please Login to Remove!

Hi All,

I am trying to connect .Net webservice to JDE 4.2.1 with the help of ksoap.
When i send request on client side we can see proper data binding but when this request reaches to server all values displayed as null.

Can anyone help me to solve this problem.

Thanx in advance.
Offline  
Old 07-23-2008, 10:52 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2008
Location: Chennai
Model: 8130
PIN: N/A
Carrier: AIRTEL
Posts: 51
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

If the values are null means, the values not reached to server i think..
__________________
Jayaseelan.V
Mobile Application Developer
INDIA.
Offline  
Old 07-24-2008, 02:38 AM   #3 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Apr 2008
Location: Germany, BW
Model: -
PIN: N/A
Carrier: -
Posts: 310
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

someone in the old RIM forum told to add "SoapRpcMethod" as parameter to the .net web service...
Offline  
Old 07-24-2008, 05:48 AM   #4 (permalink)
New Member
 
Join Date: Apr 2008
Model: 8200
PIN: N/A
Carrier: Vodafone
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

ya its true that values are not reaching to the server but at client side just before sending request it is showing all values properly then why it is not going to server.?.
Offline  
Old 07-24-2008, 05:49 AM   #5 (permalink)
New Member
 
Join Date: Apr 2008
Model: 8200
PIN: N/A
Carrier: Vodafone
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ivanov

can you please tell me how to use "SoapRpcMethod" ?

Last edited by himani123 : 07-24-2008 at 05:55 AM.
Offline  
Old 07-24-2008, 06:11 AM   #6 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Apr 2008
Location: Germany, BW
Model: -
PIN: N/A
Carrier: -
Posts: 310
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

add it as parameter for your web method:

Code:
[WebMethod]
[SoapRpcMethod]
public string foo(string in)
{
   ...
}
Offline  
Old 07-24-2008, 08:01 AM   #7 (permalink)
New Member
 
Join Date: Apr 2008
Model: 8200
PIN: N/A
Carrier: Vodafone
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

hey thanx for help finaaly i got the solution.
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.