Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Creating XML file in Project folder thru Java Program

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

replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question