on 03-30-2009 12:55 PM
Hi,
is it possible that I pick up a file synchronous without usage of ccBPM? What I'd like to achieve: I'd like to send a filename in the body of a SOAP request. Depending on that filename, I'd like to collect that file on the filesystem and send it back as the message body of the SOAP response. From my understanding, the receiver file adapter can just write files. In my scenario, I'd need the receiver file adapter for picking up a file (which is normally a sender file adapter).
Anybody with a good hint how to achieve something like that?
Best regards
Holger
Hi Holger,
One option would be to go for a file lookup as explained in this wiki
https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file%252blookup%252bin%252budf
except that you would have to read the whole file instead of a part of the file as explained in the wiki.
However this method is not a good practise for the following reasons.
1. The task of the adapter engine is being pushed into the integration engine, this is not a standard practise
2. Maintainig username password inside a mapping is not advisable especially during transports
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Holger,
You wrote:
I'd like to collect that file on the filesystem and send it back as the message body of the SOAP response
Were you able to acheive this?
Regards,
Pratibha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi colleagues,
I am facing a similar requirement.
Provide file content via synchronous Webservice (trigger)
Webservice (sender) <-> PI <-> File (receiver)
Is there a possibilty to use File/FTP Adapter, which is normally asynchronous by default in such a scenario e.g. by using a SAP adapter module.
Or are there any other standard PI functions to meet this requirement.
Otherwise a specific Webservice have to be created which will read the file and return it´s content within the webservice response. Do you see a possibility to deploy such a service on the PI Java server?
Due to development effort I would prefer a standard function instead of creation of specific Webservice.
Thanks for sharing your thoughts.
Best regards,
Jochen
Hi Jochen,
you can use Request Reponse bean and Responseoneway bean for this . these are standard SAP modules. In your case it will be an Sync -ASync scenario. check this link -
http://help.sap.com/saphelp_nw04/helpdata/en/45/20c210c20a0732e10000000a155369/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/45/20cc5dc2180733e10000000a155369/content.htm
Thanks
Sugata B
Hi Holger,
You can go for a SOAP to SOAP synch scenrio and send back the file obtained in the form of attachment in the SOAP response.
REgards,
Divya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.