This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
We(Java project) have a xsd document and for which we have created a wsdl file and shared the same to other team(Dot Net), They have a field called notes , in which they are entering the junk data (Special Characters) . These special characters are not accepted by the Jboss and it is throwing an error as below.. The other team ie 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.
04:20:43,521 ERROR [STDERR] [Fatal Error] :1:488: Character reference "" is an invalid XML character.
Well, first of all I recommend you should choose your terminology better. In XML there is no such thing as a "junk" character. Nor is there any such thing as a "special" character. There are certain characters which are not allowed in XML documents, but those characters are not ones which can normally be typed in a "field" -- assuming I am guessing correctly what you meant by that.
Now, the XML Recommendation describes precisely which characters are allowed to be in XML documents. In section 2.2 of the XML Recommendation. So what character are you receiving from that field which is not in that list?