ws-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pae Choi" <paec...@earthlink.net>
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()


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: soap-user-unsubscribe@xml.apache.org
>For additional commands, email: soap-user-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Mime
View raw message