Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Read DDX file from the repository

Yan_Kliaver
Level 4
Level 4
Hi All,



I want to read the DDX file from the repository,

anybody can help me with the "Resource Uri" syntax?



Thanks, Rbuz
0 Replies
Jasmin_Charbonn
Level 10
Level 10
The syntax should be /Folder/SubFolder/NameOfDDXFile.xml



You can check the path from the Resource tab.



Jasmin
Yan_Kliaver
Level 4
Level 4
Thanks, Jasmin!



I've referenced to repository as you proposed but still when it comes to RepositoryService to read the DDX file I have the following exception in the Jboss log:



SEVERE: JobManager:getServiceClientFactory(userContext):invocation context is null, using null context to create job

2007-11-15 09:07:00,803 INFO [STDOUT] 15/11/2007 09:07:00 com.adobe.idp.jobmanager.ejb.JobManagerBean doOnMessage

SEVERE: JobManagerBean:onMessage():Exception:ALC-DSC-213-000: com.adobe.idp.dsc.DSCException: No Credential or Context set

2007-11-15 09:07:00,803 INFO [STDOUT] ALC-DSC-213-000: com.adobe.idp.dsc.DSCException: No Credential or Context set



Rbuz.
Jasmin_Charbonn
Level 10
Level 10
Can you get any other element from the repository?



Jasmin
Yan_Kliaver
Level 4
Level 4
In the same process I'm using RenderPDF service and it takes a template what is located in the repository, so seems that there is no problems with it..
Jasmin_Charbonn
Level 10
Level 10
What's you file name and location in the repository?



Have you tried changing its location and name? This is very weird.



Jasmin
Yan_Kliaver
Level 4
Level 4
File name is: myddx.xml , location is Schemas folder.

Also tried to change the location and to grant access to this folder to all principals - with no success, the process fails when it reaches the RepositoryService.

I have no a clue what else can be wrong..
Jasmin_Charbonn
Level 10
Level 10
If you try to get the form you RenderPDF uses with the getRessource do you get anything?



Jasmin
Yan_Kliaver
Level 4
Level 4
No, it doesn't get anything.

Same exception in the Jboss log.
Jasmin_Charbonn
Level 10
Level 10
Are you logged in as a specific user or Administrator? Does it do the same with the Administrator account?



Jasmin