You could refer the link below to remove BOM for UTF-8 http://bugs.sun.com/view_bug.do?bug_id=4508058
On Tue, Mar 1, 2011 at 12:43 AM, Brad Smith <mutige...@hotmail.com> wrote: > We've build a client to a .Net webservice with axis2 that doesn't work > when the server returns a byte-order-marker. The service provider cannot > remove these bytes on their end. Any thoughts on working around this issue. > Is there a configuration option to ignore these? Is there a class we can > subclass to strip out the bytes? Appreciate any assistance you can provide. > > > Thanks, >