This is my code
String publicationName="WebSite";
PublicationData publicationData=(PublicationData)client.getDefaultData(ItemType.PUBLICATION,"tcm:0",new ReadOptions());
publicationData.setTitle(publicationName);
publicationData.setPublicationUrl(publicationName);
publicationData.setKey(publicationName);
publicationData.setPublicationType("Web");
publicationData.setPublicationPath(publicationName);
System.out.println("in publication");
publicationData=(PublicationData)client.create(publicationData,new ReadOptions());
when i am creating publication by this code i am getting an exception
Exception in thread "main" com.sdltridion.contentmanager.coreservice.ICoreServiceCreateCoreServiceFaultFaultFaultMessage: The transaction has aborted.