0 Replies Latest reply on Jul 12, 2012 3:20 AM by sibbala

    ERROR in Bypassing the Special Characters in JBOSS

    sibbala

      Hi every one,

           We(Java project) had a xsd and which we have created a wsdl file and shared the same to other team(Dot Net), They had a filed called notes which they are entering the junk data (Special Characters) in the notes filed. The special characters are not accepted by the Jboss and it is throwing an error as follows.. The other team Dot net team is not ready to do any changes from their side to validate the special characters. Could any one help us in bypassing the special Characters .. Do we need to do any thing in JBOSS ? Please help me.

       

      ERROR:

       

      04:20:43,521 ERROR [STDERR] [Fatal Error] :1:488: Character reference "&#x1B" is an invalid XML character.

      04:20:43,522 ERROR [SOAPFaultHelperJAXWS] SOAP request exception

      org.jboss.ws.core.CommonSOAPFaultException: org.xml.sax.SAXParseException: Character reference "&#x1B" is an invalid XML character.

              at org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:93)

              at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:294)

              at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:193)

              at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:449)

              at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:293)

              at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:203)

              at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:129)

              at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

       

      Thanks.

      Sreenath.