Hi ,
I am trying to get the related file associations for a .page using the below code and some how i am not able to get the assocaiation and it always throws a "Ilegal argument excpetion" .Below is the code that i used .
CSSimpleFile filename = (CSSimpleFile)client.getFile(new CSVPath("//d-web-ts/default/main/americas/us/en/WORKAREA/shared_wa/sites/us/en/company/index.page"));
CSAssociation[] association = filename.getParentAssociations(null); Below is the erro i am getting.
Tried to invoke method public com.interwoven.cssdk.service.axis.generated.CSAssociationData[] com.interwoven.cssdk.service.axis.generated.FileServiceBindingSkeleton.getAssociations(com.interwoven.cssdk.service.axis.generated.CSContext,com.interwoven.cssdk.service.axis.generated.CSAssetData,java.lang.String,int,boolean,boolean,int) throws java.rmi.RemoteException,com.interwoven.cssdk.service.axis.generated.CSException with arguments com.interwoven.cssdk.service.axis.generated.CSContext,com.interwoven.cssdk.service.axis.generated.CSAssetData,null,java.lang.Integer,java.lang.Boolean,java.lang.Boolean,null. The arguments do not match the signature.; nested exception is:
java.lang.IllegalArgumentException
I would really apreciate ideas if any one has already implemented this?