I'm creating an application that sends Bas64 encoded data using soap. First I need to encode the data into Base64, then add it to a SOAP envelope. Can someone help me? I do not know how to add it to the ENVELOPE. To add a string to the envelope, you do this:

params.addElement (new Parameter("SomeParam", String.class, "false",null));

or something similar.

What about a Base64 encoded parameter?

Is it like this?

params.addElement (new Parameter("SomeParam", Base64.class, "false",null));


Thanks in Advance....