on 10-10-2015 3:41 PM
Hi All,
I need to pull xml file from HTTPS link which has username & password from PI.
I tried using SOAP Axis adapter for this purpose but its not pulling anything.
Now, I am thinking of using another alternative which is using "Run Operating System Command After Message Processing".
My PI server is on Windows Server 2008 and so i need a batch file to be created. Can anyone let me know how to create a .bat file.
I tried playing around with some code and its like -
@echo off
DIR=C:\Program Files (x86)\GnuWin32\bin
FILE=Filename_.`date +"%Y%m%d"`.xml
# log file.
LOGFILE=wget.log
# wget download url from where you need to download
URL=https://xecdapi.xe.com/v1/convert_to.xml/?to=BRL&from=AUD
cd $DIR
wget $URL -O $FILE -o $LOGFILE
Please let me know if its right or else let me know the correct code.
Thanks in advance !!
Neha verma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Neha,
Which version of PI your using?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.