[Laszlo-dev] ObjectWrapper serialization

Matthew D. Frederes matt at paradisesoftware.net
Sat Jun 11 17:33:37 PDT 2005


Pablo,

 

My previous reply to your question about how the Axis error was created was
accidentally posted to a new thread, I hope you find it useful.  This
message is to follow up with further information about XML in strings and
ObjectWrapper.

 

Since my last post I created a small java class to pass as a parameter from
the RPC web service, which contained only a string.  This created one
complex parameter, thus getting the ObjectWrapper registered.

 

I passed XML in the string, and the serialization process was successful,
but when Axis was deserializing, SimpleDeserializer threw a SAXException
citing that it found a child element it was not expecting.  

 

(I did not test what would happen with more than one parameter before the
XML string, which could have had different results.)

 

So sending XML as a string into an RPC web service, either as a primitive or
a complex parameter, fails both ways.  I've since rewritten the web service
in document style, which is working great.

 

Thanks,

Matt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openlaszlo.org/pipermail/laszlo-dev/attachments/20050611/d4933202/attachment.html


More information about the Laszlo-dev mailing list