on 08-30-2013 11:21 AM
Hi All,
I am working on a scenrio on 7.31 where the requirement is to download a zip file on our server. I am using SOAP AXIS adapter to achieve this.
Please suggest.
Regards,
Ashish
Hi All,
I have similar requirement and trying to use AXIS to download ZIP file. But it isn't helping.
Anyone have any other approach, please suggest.
Regards,
Ashu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Subhro,
This is the same configuration i have maintained for sender SOAP AXIS channel to read the zip payload. Unfortunatly this is meant to read XML files, otherwise it throws parsing exception as in my case the error is "org.xml.sax.SAXParseException:An invalida character(0x3) found in the element content of the document".
When I read some XML file from website & the same wsdl i maintain in the sender service the file read successfully.
Let me know how to read the attachment from SOAP AXIS adapter?
Regards,
Ashish
Hi Ashish,
The zip file contains invalid XML characters thus parser is failing to read the file.
Try this insert one invalid character in a valid XML file and then try to read it from the web server. Check if this works else different strategy is required here.
Regards
Anupam
Anupam,
The file itself is zip, until it is unzipped how can PI can read whether the is valid or invalid.
This is the case since the file is zipped & adapter is expecting some data in xml form which is why iy is throwing error.
If you know how to first unzip it & then read the csv file from SOAP AXIS adapter then let me know?
Regards,
Ashish
Ashish, check this thread: http://scn.sap.com/thread/2065627
Hi Ashish,
Did you try the option suggested by Artem Solohin ? "unsafe, but working: make java-mapping, that will connect to http-server, get link and download it.
And use this mapping in your scenario in PI". In this method you can bypass the parser and read the content as non xml.
Regards
Anupam
Hi all,
I am working on a scenario on 7.30 ,web service scenario (soap adapter sender and receiver ) that take https server which has link to the file that has to be downloaded.I didn't give response zip file successfully via soap adapter. I want to give same zip file in response(any changes in zip file). when I save response ,zip file occured error take.How can I make?
Thank you.
unsafe, but working: make java-mapping, that will connect to http-server, get link and download it.
And use this mapping in your scenario in PI.
Your scenario will be: your system - PI - your system. All connections to http-server will be in Java Mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashish,
You can use RFC/proxy in sender side from ECC to trigger the scenario.
Batch jobs may be scheduled in ECC side to trigger the scenario at regular intervals. There will be a dummy sender SI within OM. The OM will in turn call MM containing the java mapping code. The code communicates with web server and fetches the file into PI. The code also populates a target XML in OM with success message and the file name which has been fetched. The scenario being synchronous response from PI may be stored in a table within ECC. If this is a client -server architecture then I believe you can use socket programming within java mapping to fetch the file.
Regards
Anupam
Hi Ashish,
Please check these links
http://help.sap.com/saphelp_nw04/Helpdata/en/45/da9358a1772e97e10000000a155369/content.htm
I wonder why are you using SOAP AXIS adapter when file adapter can suffice.
Regards
Anupam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashish,
Can you explain which type of server this is ..
Regards
Gagan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
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.