Just use ordinary String class, if you already got the XML as a String. I am
using this snippet in my program. No specific encoding is necessary if you have
a String.

    Vector params = new Vector();
    params.addElement(new Parameter("cregisterMsg", String.class, strValReq,
null));

Things change when you want to pass "Document". You will need XML Encoding then.



Cheers,
-RAJ

--
****** 100%, ALWAYS ******
begin:vcard 
n:Sesetti;Rajagopala
x-mozilla-html:FALSE
org:Sprint TA;Security
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Engineer
x-mozilla-cpt:;9272
fn:Rajagopala R. Sesetti
end:vcard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to