ws-soap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Nichol" <>
Subject Re: encoded characters in SOAP
Date Mon, 21 Jul 2003 14:24:07 GMT

I am looking into this.  There is no reason to use the entities in XML.  Only '&', '<'
and '>' need to be "escaped".  I will find and change the code that is doing this.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "Jan Hudec" <>
To: <>
Sent: Saturday, July 19, 2003 4:06 PM
Subject: encoded characters in SOAP

I have very simple Apache SOAP client calling service with 3 arguments from this code:
    String ret = (String) call.invoke( new Object[] { "příčina","<data>test</data>",
"<data>příčina</data>" } );
which generates this SOAP request:
<soapenv:Envelope xmlns:soapenv="" xmlns:xsd=""
  <send soapenv:encodingStyle="">
   <arg0 xsi:type="xsd:string">příčina</arg0>
   <arg1 xsi:type="xsd:string">&lt;data&gt;test&lt;/data&gt;</arg1>
   <arg2 xsi:type="xsd:string">&lt;data&gt;p&#345;&#237;&#269;ina&lt;/data&gt;</arg2>
What I really need is to set some call property to get this value in the SOAP request:
   <arg2 xsi:type="xsd:string">&lt;data&gt;příčina&lt;/data&gt;</arg2>
(in other words, to set property that I don't need to encode international characters into
HTML entities (or how is this called :o)) ))
It works for me in Perl using SOAP::Simple, in Java using CapeClear pre-generated code, but
I need to build my code on Apache (because of https, authentication, ...).
If you have any ideas about it, please let me know.
Thank you,
Jan Hudec

Nehodí se ke mně! A jaký je váš důvod vyměnit svůj telefon za nový? 
Samsung A800 již od 2977 Kč.

View raw message