Hi Ed,
If you're going to go that route, why not just use Java serialization to
serialize the Document to a byte array, and base64 encode that. Would save
you the extra SOAP serialization and XML parsing steps, at the cost of Java
serializing/deserializing the Document (although they're probably fairly
costly themselves).
Thanks,
-Matt
> -----Original Message-----
> From: Ed Keen [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 31, 2001 12:26 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: How to pass XML String as a Parameter
>
>
> 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]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]