There is an opensource project called castor from exolab.org that
provides a mapping framework between java objects and xml documents, all
you have to do is write the schema.
Rich Catlett
Paul Wadmore wrote:
> Hello everybody,
>
> I am fairly new to Apache SOAP and need some help.
>
> As part of my current project I am looking at using Maps containing other Java
>objects of arbitrary depth as part of web service calls.
>
> Regardless of whether I use RPC or XML messaging I would like to serialize a Map
>into XML and deserialize XML into a Map.
>
> If I use RPC I can simply register custom serializers/deserializers for each complex
>type contained within the Map.
>
> My questions are as follows:
>
> 1) If I use XML messaging, can I use custom serializers/deserializers to convert
>between Java and XML or do I have to build my own serialization classes from scaratch
>(i.e. are the Serializer and Deserializer interfaces exclusive to RPC?)
> 2) If the web service call is asynchronous, am I restricted to using XML Messaging
>or can I make an asynchronous RPC call (e.g. posting a message to a JMS Queue exposed
>as a web service (is exposing a JMS queue as a web service even possible??)).
>
> I've spent all day looking at the Apache SOAP docs and the web and am having real
>problems finding answers to my questions.
>
> I hope somebody out there with more SOAP knowledge can help me.
>
> Many Thanks In Advance
> Paul Wadmore
>
>
> __________________________________________________________________
> Your favorite stores, helpful shopping tools and great gift ideas. Experience the
>convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/
>
> Get your own FREE, personal Netscape Mail account today at
>http://webmail.netscape.com/
>