on 12-08-2012 12:33 PM
Hello!
I have a task to transfer zipped csv file from local computer to MS SQL 2005 throw PI(7.11). I can't use FTP or NFS so i decide to use soap. And i'm stuck on adapter config. I visit many links, but still can't convert my csv file. Even if i use FILE2XMBWITHSTRUCTURECONVERSION or FILE2XMBWITHROWCONVERSION on PI i always have a csv, not xml.
This my source csv
one,two,three,four,
This is my adapter config
classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
version=30
PWD.tokenHandler=PWtokens
mode=FILE2XMBWITHSTRUCTURECONVERSION
XI.TargetURL=http://<!%pi71server%!>:<!%pi71port%!>/XISOAPAdapter/MessageServlet?channel=:Sender:cc_s_mssql
XI.User=<!%pi71username%!>
XI.Password=<!%pi71password%!>
XI.QualityOfService=EO
XI.SenderService=Sender
XI.Interface=si_i_csv
XI.InterfaceNamespace=urn:s.ru:Learning:S
file.type=BIN
file.encoding=UTF-8
file.sourceDir=C:/Base/exchange/pi71outbound/PriceChange/Send2XI
file.sourceFilename=*.zip
file.processingMode=archiveWithTimeStamp
file.archiveDir=C:/Base/exchange/pi71outbound/PriceChange/Archive
file.retryInterval=20
file.pollInterval=5
xml.documentName=<ns:S xmls:ns="urn:s.ru:Learning:S">
xml.recordsetName=Data
xml.recordsetStructure=item,1
xml.item.fieldNames=one,two,three,four
xml.item.fieldSeparator=,
In PI i have:
What i'm missing? May be better solution for this task exist?
Thanks!
Hello Denis,
If you just want transfer ZIP file, you can follow that :
Regards,
Guislain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can't you make it in two steps i.e one for local computer to app server and another for delivering to ms-sql...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.