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  




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