on 07-01-2014 12:22 PM
Hello Gurus,
I am trying to syndicate checked out recordIds through Java API and passed all the required fields to AddSyndicationRecordIdsCommand.
When executing AddSyndicationRecordIdscommand, I am getting "Not Found" exception.
RecordId[] recordIds = new RecordId[1];
RecordId recordId = new RecordId("R42292"); // Checked out recordId
recordIds[0] = recordId;
AddSyndicationRecordIdsCommand addSyndRecordCmd = new AddSyndicationRecordIdsCommand(conAccessor);
addSyndRecordCmd.setSession(userSessionId);
addSyndRecordCmd.setFilePrefix(filePrefix);
System.out.println("PortId::"+portProperty.getId()+"::RemoteSystemId::"+portProperty.getRemot);
addSyndRecordCmd.setPortId(portProperty.getId());
addSyndRecordCmd.setRemoteSystemId(portProperty.getRemoteSystemId());
addSyndRecordCmd.setRecordIds(recordIds);
System.out.println("RecordId lenght::"+addSyndRecordCmd.getRecordIds().length);
try {
addSyndRecordCmd.execute();
} catch (CommandException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Please help me to solve this error.
com.sap.mdm.commands.CommandException: Not found (0x80010001)
at com.sap.mdm.data.commands.AddSyndicationRecordIdsCommand.executeImpl(AddSyndicationRecordIdsCommand.java:108)
at com.sap.mdm.commands.AbstractCommandBase.execute(AbstractCommandBase.java:129)
at com.test.TestSyndication.main(TestSyndication.java:134)
Caused by: com.sap.mdm.internal.protocol.manual.ServerException: Not found (0x80010001)
at com.sap.mdm.internal.protocol.manual.AbstractProtocolCommand.execute(AbstractProtocolCommand.java:132)
at com.sap.mdm.data.commands.AddSyndicationRecordIdsCommand.executeImpl(AddSyndicationRecordIdsCommand.java:103)
This issue is solved by changing the automatic port to manual.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.