cancel
Showing results for 
Search instead for 
Did you mean: 

Creating XML file in Project folder thru Java Program

Former Member
0 Kudos

hi,

i need one help. i need to create XML file in web://<Project Folder> in xmII thru Java Program. i created one java code and i am able to access XML file that is in c drive. i created jar file for this and placed as action block in Transaction and this working fine. but problem arises when i give file path in java code as web://<folder name>/file.xml which is in Web folder of project in xMII.

How to access the file that is inside web folder from java code.

regards

senthil

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Senthil,

you can address the files that inside the MII workbench are viewed as "web://..." like this:

http://<server>:<port>/XMII/CM/<Project>/<Folder>/<Filename>;

The workbench helps you find the correct filename:

- open the WEB tab in the workbench

- right-click on the filename

- select "Copy Link" from the pop up

Now you have the correct link in your clipboard.You can use the "web://" only inside MII.

Michael

Answers (0)