I am getting following messages in my catalina.out file . I am using Tomcat 5.0.28 with xmlrpc3.0 .
[Fatal Error] :1:15: The ' = ' character must follow "version0" in the XML declaration. [Fatal Error] :1:1: Content is not allowed in prolog. [Fatal Error] :1:20: XML document structures must start and end within the same entity. [Fatal Error] :1:1: Content is not allowed in prolog. [Fatal Error] :1:27: XML version "1. coding=" is not supported, only XML 1.0 is supported. I am setting setContentLengthOptional(true) and setEnabledForExtensions(true) for both client and server config objects. xmlRpcClinetconfig = new XmlRpcClientConfigImpl(); xmlRpcClinetconfig.setContentLengthOptional(true); xmlRpcClinetconfig.setEnabledForExtensions(true); XmlRpcServerConfigImpl serverConfig = (XmlRpcServerConfigImpl) xmlRpcServer.getConfig(); serverConfig.setEnabledForExtensions(true); serverConfig.setContentLengthOptional(true); My XML seems to be fine but I am not setting any encoding in the header. Any ideas what's causing these errors ? Thanks Sree --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]