https://issues.apache.org/bugzilla/show_bug.cgi?id=48434
Summary: Problem in sending greece charcters over axis
Product: XmlCommons
Version: 1.x
Platform: PC
OS/Version: Windows Server 2003
Status: NEW
Severity: major
Priority: P2
Component: SAX
AssignedTo: [email protected]
ReportedBy: [email protected]
Hi All,
I need one help from you. I have published a Web Service. There is one method
in web service which accepts a String as input parameter.
The value of this String should be an xml Template which is
<?xml version="1.0" encoding="ISO-8859-1"?>
<emailDetails xmlns="http://xyz.net/abc/namespace"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xyz.net/abc/namespace
C:\java\aaa\xml\emailXMLSchema.xsd">
<subject>Subj in Greece: Νέες ευκαιρίες απασχόλησης</subject>
<type>Subj in Greece: Νέες ευκαιρίες απασχόλησης</type>
<url><![CDATAhttp://localhost:8080/AppName/activate_new_account.jsp?key=KEY_HOLE]></url>
<bodyText>
<![CDATA[<html><body><p>
Νέες ευκαιρίες απασχόλησης: Ιατρικοί Επισκέπτες Αθήνα/Θεσσαλονίκη/Ιωάννινα
/Ηράκλειο Κρήτης/Καβάλα/Τρίκαλα/Σέρρες
</body></html>]]>
</bodyText>
<from>[email protected]</from>
</emailDetails>
My webservice accepts this content in the form of String Object. It will parse
this template(String object) using SAX parser and finds the following attribute
Subject,Body,From,Recipient and constructs and sends out the mail to the
recipient which is working fine with English language. I have some Greece
clients also. When i edited the body part in Greek language. Instead of sending
those Greek characters some question marks are coming to that mail.
I extracted the code out which parses that XML Template and sends out the mail.
I created one java project using that code. Parser parsed that template and
sent the mail successfully with the Greek characters. I suspect that Axis or
Soap engine is not supporting Greece Characters.But when i am using that code
in webservice it is not working. So i suspect that axis does not support Greece
characters.
I tried with encoding="ISO-8859-7" and UTF-8 both but it din't work.
Could any one help me in solving this problem?
Thanks,
Aseem Bathla
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.