BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-06-2009, 02:57 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2009
Model: 8120
PIN: N/A
Carrier: gmail
Posts: 18
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Sending Custom Objects using kSoap to .net Web services

Please Login to Remove!

I am facing difficulties with sending custom java objects using kSoap to .net web services.this is the part of my BlackBerry client side code.

SoapObject rpc = new SoapObject(serviceNamespace, methodName);
CardBB aCard=new CardBB();// my custom object,
rpc.addProperty("param",aCard);

CardBB is implementing the Kvmserializable and has one field as String.

on server side i have.net web services ,which will accept this CardBB ,but when I tried to send this to server i am getting a exception """"SoapFault - faultcode: 'a:InternalServiceFault' faultstring: 'Object reference not set to an instance of an object.' faultactor: 'null' detail: org.kxml2.kdom.Node@1ed386f0""""

I dont knw how can i send custom java objects to .net web services .

thanks in advance

Last edited by abhiyenta : 08-06-2009 at 03:03 AM.
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.