The Artima Developer Community
Sponsored Link

Web Services Forum
Axis is not supporting Greek Characters

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Aseem Bathla

Posts: 1
Nickname: baseem
Registered: Dec, 2009

Axis is not supporting Greek Characters Posted: Dec 15, 2009 10:29 PM
Reply to this message Reply
Advertisement
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>aseem.bathla1@gmail.com</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..
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

Topic: Code for calculator as our designed usercontrol in Vb.net Previous Topic   Next Topic Topic: org.xml.sax.SAXException: Invalid element in com.xxx

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use