ws-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pae Choi" <>
Subject Re: How to pass XML String as a Parameter
Date Fri, 01 Jun 2001 15:42:25 GMT
Take a look at the DataInputStream.readUTF() and DataOutputStream.writeUTF()


>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?
>"Rajagopala R. Sesetti" schrieb:
>> Just use ordinary String class, if you already got the XML as a String. I
>> 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,
>> null));
>> Things change when you want to pass "Document". You will need XML
Encoding then.
>> Cheers,
>> -RAJ
>> --
>To unsubscribe, e-mail:
>For additional commands, email:

To unsubscribe, e-mail:
For additional commands, email:

View raw message