Take a look at the DataInputStream.readUTF() and DataOutputStream.writeUTF()
Pae
>Hi,
>
>if I use the ordinary String class, will there be a problem if I want to
>transport Unicode Data?
>Scenario: The SOAP Protocol must be UTF-8 and the XML-Data transported
>by SOAP must be also UTF-8 (Unicode).
>Rajagopala, have you done so and would share your experience?
>
>TIA
>hab
>
>********************************************
>"Rajagopala R. Sesetti" schrieb:
>>
>> 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
>>
>> --
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, email: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]