xml-soap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brent G" <suga...@acm.org>
Subject RE: How to serialize/deserialize Vectors...Help.
Date Wed, 09 Aug 2000 23:16:11 GMT
I have a similar problem to this..after accessing my soap target argument I
would like to return
an array to be serialized...however I get an exception stating that SOAP can
only serialize dom elements...I could construct the DOM element...however I
need to write a decently large amount of data in within a CDATA tag
(3k)...The problem with the CDATA append method only able to append a string
at a time...this entails the cpu pegging out at a 100%,and taking longer
than I'd like...any suggestions for getting around this problem?

-----Original Message-----
From: Glen Daniels [mailto:gdaniels@allaire.com]
Sent: Tuesday, August 08, 2000 10:25 PM
To: 'Deepak Patil '; ''soap-dev@xml.apache.org' '
Subject: RE: How to serialize/deserialize Vectors...Help.



The VectorSerializer is only registered (in SOAPMappingRegistry.java) for
the SOAP-ENC encoding style.  It doesn't really make sense to try and
serialize a Vector in the literal-xml encoding style, since that style is
specifically for encoding DOM Elements.  What is your code wanting to do?

--Glen

-----Original Message-----
From: Deepak Patil
To: 'soap-dev@xml.apache.org'
Sent: 8/8/00 7:43 PM
Subject: How to serialize/deserialize Vectors...Help.

Hi,

I downloaded the Apache version 2 of the XML-SOAP binaries...have
anybody used vector serializer..?
I tried this but getting the following exception :

Caught SOAPException (SOAP-ENV:Client): No Serializer found to serialize
a 'org.apache.xerces.d
om.DeferredElementNSImpl' using encoding style
'http://xml.apache.org/xml-soap/literalxml'.

Any suggestions will be highly appreciated....

Thanks
Deepak


Mime
View raw message