Return-Path: Delivered-To: apmail-xml-soap-user-archive@xml.apache.org Received: (qmail 17094 invoked by uid 500); 1 Jun 2001 15:39:35 -0000 Mailing-List: contact soap-user-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: soap-user@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list soap-user@xml.apache.org Received: (qmail 17060 invoked from network); 1 Jun 2001 15:39:33 -0000 Received: from swan.mail.pas.earthlink.net (207.217.120.123) by h31.sny.collab.net with SMTP; 1 Jun 2001 15:39:33 -0000 Received: from www (1Cust9.tnt1.somerset-west.or.da.uu.net [63.30.47.9]) by swan.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with SMTP id IAA01937 for ; Fri, 1 Jun 2001 08:39:05 -0700 (PDT) Message-ID: <00be01c0eab1$7ea66940$0501a8c0@www> From: "Pae Choi" To: Subject: Re: How to pass XML String as a Parameter Date: Fri, 1 Jun 2001 08:42:25 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="euc-kr" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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