BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-26-2009, 08:49 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2009
Location: Bilbao
Model: 8900
PIN: N/A
Carrier: Vodafone
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default KSoap2 and byte[]

Please Login to Remove!

Hi!

i'm new on using soap, and i have a problem that i can't understand.

The web service that i must use, have an action that receive a byte[] as input.

I set the param but when i try to call the webService i have a RuntimeException:
Cannot serialize:[B@xxxxx (the hash code)

A byte array is serializable, so why this error?

Thank for help!
Offline  
Old 07-26-2009, 09:45 PM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2009
Location: Bilbao
Model: 8900
PIN: N/A
Carrier: Vodafone
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi,

it start to work.
I add this code and it work
Code:
MarshalBase64 mb64 = new MarshalBase64();
mb64.register(envelope);
I don't understand why it not work without this... any idea?

Thank

p.d. i like to understand what i do ;)
Offline  
Old 07-27-2009, 08:29 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2009
Location: CANADA
Model: 9000
PIN: N/A
Carrier: Rogers
Posts: 64
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Read about that MarshalBase64 class
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

EE12: Genuine OEM DELL 0RC343 RC343 AC ADAPTER POWER CHARGER
$11.04
EE12:  Genuine OEM DELL 0RC343 RC343 AC ADAPTER POWER CHARGER pictureOEM Dell Alienware M17X M18X AMD Video Graphics Card HD4870
$70.0
OEM Dell Alienware M17X  M18X AMD Video Graphics Card HD4870  pictureOEM Dell Alienware M17X M18X AMD Video Graphics Card HD4870
$80.0
OEM Dell Alienware M17X  M18X AMD Video Graphics Card HD4870  pictureGG13: DELL OEM Laptop Charger AC/DC Adapter PA-12 P/N F8834 ADP-65JB B
$11.04
GG13: DELL OEM Laptop Charger AC/DC Adapter PA-12 P/N F8834 ADP-65JB B pictureGenuine OEM DELL Laptop Charger DA90PE1-00 B P/N wk890 PA-3E Family
$14.98
Genuine OEM DELL Laptop Charger DA90PE1-00 B P/N wk890 PA-3E Family  picture






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