on 08-19-2008 10:35 AM
Hi,
I want to configure a scenario in XI that I can call via HTTP, pass the filename and receive the file conetnt of XML document.
Suppose I had created two structres, 1st is fileID, and 2nd is FileContent.
If i send the FileID/Filename, I should get File content based on FileId/Filename as output.
If I am doing HTTP to RFC, for BAPI-Company getdetail, I can fetch the data, based on the company ID, and can get company details as result,
I am doing Http to file, Now how shd i proceed with my case.
I send fileid/filename as input parameter, i shd get filecontent as output
Regards,
varun
Hi,
Actualy RFC and HTTP adapters are synchronous adapters.You can able to send and Receive
the data synchronously.But File adapter is asynchronous adapter.It can able to do send or Receive the
data only.
Regards,
Prakasu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Varun,
i don't know how to do it in .Net
But procedure must be the same as that of java.
in java to develope web service we create a standalone EJB and expose it as a web service.
you will have a variable that will contain the path of the file.
then as return type take a variable of string type that will return the content of file.
Down load the WSDL of your webservice from WebserviceNevigator of your WAS,
Import it as a external defination in XI
Do the Required Mapping.
Thanks
Sunil Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Varun,
First thing i would like to tell you is you can't configure a scenario in which you will get response using File Adapter
coz it does not support synchronous communication.
But still as an attempt you can create a web service that will pick the file from mentioned location and will return the content to the HTTP as a response.
Reward Points If Helpful
Thanks
Sunil Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi SUNIL SINGH,
Thanks for your reply,
Actually i was trying to do the same.
you can create a web service that will pick the file from mentioned location and will return the content to the HTTP as a response.
how do i proceed. can you give some inputs on that.
I am creating Webservice in .net.
Regards,
Varun
Edited by: Varun on Aug 19, 2008 3:58 PM
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.