on 04-18-2013 10:21 AM
Hi
I am trying to move one xml file that is in this location:
web://AX/WEB/outbound/send/file.xml
to
web://AX/WEB/outbound/archive/file.xml
The URL to open de file is this:
http://servername:50000/XMII/CM/AX/outbound/send/file.xml
I want to open it from this url:
http://servername:50000/XMII/CM/AX/outbound/archive/file.xml
How can i do to move the file?
Regards, Victor
Hi Victor,
If you want to move file in same MII server than use XML Loader to load file and save XML content of XML Loader in different location with the help of XML saver.
(XML Loader) Sourece Path: WEB://AX/outbound/send/file.xml
(Image Saver) Destination Path: WEB://AX/outbound/archive/file.xml
Or
if you have two MII Server MII Server 1 (Source) & MII Server 2 (Destination)
you have to take one XML from Source and Save same into Destination
I tried below solution in MII 12.1.
Created one BLS in Destination with one xml type Input parameter and one XML Saver action block which will save input parameter content to xml file in Destination MII Server.
Created one BLS in Source with one XML Loader action block which will load xml from Source server than I am using one HTTP Post action Block whch will call Destination BLS through runner URL below are HTTP POST action configuration details.
URL: http://<Server:Port>/XMII/Runner?Transaction=<TransactionPath>&InputParameter=<InputParameterName>
User Name: MII User Name
Password: MII User Password
Post data: link XML Loader output
you can also pass user name and password in URL itself.
Hope it helps!!
Regards,
Manoj Bilthare
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Victor,
sorry I did not understand you issue completely, maybe some expert can provide you the solution.
I want to change the source path of XML Loader.
does this mean that you are having file in one MII Folder and you want to open same from another MII Folder.than first ensure that the path of xml loader should have that file.if it is not having file than we have to first move the file to new location and open same.
you can pass new path from BLS to XML Loader, and by using File I/O action block you can get the full path and file name than from iBrowser selection you can pass full path to BLS.
Regards,
Manoj Bilthare
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.