Webservice serialization
Webservice serialization
- Subject: Webservice serialization
- From: Freddie Tilley <email@hidden>
- Date: Tue, 8 Apr 2008 10:33:13 +0200
Hi
I'm trying to serialize for a webservice
and Strings get serialized without a problem, but integers and floats
will get a href, and as such WSMakeStubs result applescript or cocoa
class
return 0 with the values
Using Soap Client to check the resulting xml file I get the following
for numbers:
<s_int href="#id3"></s_int>
with a multiref outside my object class like this
<multiRef id="id3" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
" xsi:type="soapenc:int">15</multiRef>
The code used to serialize the integer is this:
context.serialize(new QName("", "s_int"), null, new Integer(15));
The result that I would like to have is to have the item look like this:
<s_int xsi:type="soapenc:int">15</s_int>
without a reference to the int. Am I missing a configuration option
here to set this?
Freddie Tilley
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden