Win a copy of AWS Security this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

Soap Exception due to special characters

Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have a web app where a user can enter some description. Right now, they are copying the description from a word document and pasting it to the web page. As a result, some special characters are getting inserted. When we try to read the data through a web service call we are getting SoapFaultException.
The character that caused it is .
Is there any way to escape this character so that the web service call does not fail. We are using EJB's which are converted to web service methods using weblogic servicegen (Ant) task.
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On our project we have an App Server using ISO8859-15 that was throwing errors when communicating with a WebLogic Server. We've successfully used both methods specified in this link:
Author and all-around good cowpoke
Posts: 13078
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may be encountering those accursed "smart" quotes and "smart" apostrophes that MS word uses. They are illegal characters in XML. If that is true, your users can change the defaults in Word to not use the damn things. (You can probably tell I have been bit by this several times.)
permaculture is a more symbiotic relationship with nature so I can be even lazier. Read tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic