• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Soap Exception due to special characters

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:
http://e-docs.bea.com/wls/docs81/webserv/i18n.html
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.)
Bill
 
You don't know me, but I've been looking all over the world for. Thanks to the help from this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic