Try ur luck with both of them



Leonardo battagli wrote:
> 
> I have created a simple example using the addressbook one, now instead
> of serialize an 'Address object'
> I want to serialize an 'XMLDocument object', I added the followind
> description in the 'deploy file'
> 
>     <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
>              xmlns:x="urn:xml-soap-dom-demo" qname="x:domrpc"
>              javaType="oracle.xml.parser.v2.XMLDocument"
> 
> java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
> 
> xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
> 
>     <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
>              xmlns:x="urn:xml-soap-address-demo" qname="x:address"
>              javaType="com.lulli.soap.Address"
> 
> java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
> 
> xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
> 
> but it obviously doesn't work because
> 'No Serializer found to serialize a 'org.w3c.dom.Node' using encoding
> style 'http://schemas.xmlsoap.org/soap/encoding/'.'
> 
> So should I use a DOMserialize , but which?
> org.apache.soap.util.xml.Serialize
> org.apache.soap.util.xml.Deserialize
> 
> Thks in advance
> Leonardo

Reply via email to