Jan,
I ran a test on the current build of Apache SOAP and did not get the same behavior.
However, in looking more closely at the envelop below, it looks to me as if you might
be using Axis instead of Apache SOAP. If you are indeed using Axis, I suggest you
post to [EMAIL PROTECTED] If you are using Apache SOAP, please post that fact to this
list and I will continue to look into it.
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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 19, 2003 4:06 PM
Subject: encoded characters in SOAP
Hello,
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="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<send soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<arg0 xsi:type="xsd:string">příčina</arg0>
<arg1 xsi:type="xsd:string"><data>test</data></arg1>
<arg2 xsi:type="xsd:string"><data>příčina</data></arg2>
</send>
</soapenv:Body>
</soapenv:Envelope>/send>
</soapenv:Body>
</soapenv:Envelope>
---------------------------------------------------------------------------------------------
What I really need is to set some call property to get this value in the SOAP request:
<arg2 xsi:type="xsd:string"><data>příčina</data></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č. http://www.atlas.cz/clickAD.asp?ad=33837