cancel
Showing results for 
Search instead for 
Did you mean: 

Serialize DOM

Former Member
0 Kudos

Hi all,

How can I accept and return XML documents as input and output of a Web Service. Is there any way I can serialize a DOM object and deserialize it at the other end? Please advise.

Regards,

Nirav

Accepted Solutions (0)

Answers (2)

Answers (2)

SRudra
Contributor
0 Kudos

Nirav,

Web services by default have an XML output via SOAP. For serializing and deserializing the file you can proceed the with IO handing classes in Java. Remember serialized files have an extension of .ser. so be sure to put this as file extension.

Cheers!!!

Sukanta

Note: Plz donate some points buddy for the helpful answer.

Former Member
0 Kudos

Hi Sukanta,

I have opened the same . Please post you reply there. I am closing this thread. Sorry for the inconvenience.

Also, please elaborate on what you are trying to say. I know that SOAP supports XMLs in Web Services. To extend my problem, I would like to know if this can be done even when using Web Dynpro's model proxies.

- Nirav

Former Member
0 Kudos

Wow! Never thought my thread would go to the second page! Either this is too trivial to answer, or I've hit on something new. I'm sure the former is true