Or you could just base64-endcode the whole xml string...


-----Original Message-----
From: Rajagopala R. Sesetti [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 31, 2001 10:52 AM
To: [EMAIL PROTECTED]
Subject: Re: How to pass XML String as a Parameter


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 ******

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

Reply via email to