Hi Nagesh,
You can use code like this to define a schema. If the schema definition contains a new Collection name, the new Collection will be defined in Tamino.
TConnectionFactory connectionFactory = TConnectionFactory.getInstance();
connection = connectionFactory.newConnection( databaseURI );
accessor = connection.newSchemaDefinition3Accessor(TDOMObjectModel.getInstance());
//content is a String containing your new Schema, perhaps read from a file...
xmlObject = TXMLObject.newInstance(content);
TResponse response = accessor.define(xmlObject);
System.out.println("Response: " + response.getReturnValue());
HTH
#webMethods#webMethods-Tamino-XML-Server-APIs#API-Management