ORA-16618: response document of size "string" bytes is too large
Cause : The document response cannot be returned because the size of the document is too large. This can occur when displaying the Data Guard broker log.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
View the broker log for the given database directly.
Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.