Soap - XI - File Scenario

Hi experts,
I need your help on this.
XI will receive a synch soap request with the following input parameters: date and supplierNo. With that input parameters XI has to find and retrieve (from a File Server) all the documents of that supplierNo for that specific date.
Do you know how to develop such scenario?
Thanks in advance
Pedro Leal
Edited by: Pedro Leal on Feb 13, 2008 6:17 PM

Hi Pedro !!
Based on your scenario description, maybe the best solution is to create a SOAP<->XI<->Proxy scenario where the Proxy could be ABAP or Java. I suggest a Proxy, because the receiver file adapter only writes files and the sender only picks files up based on a time interval and not on demand.
For example, the Java Proxy server could receive the request from XI, search the files and send them back as response. You need to check file sizes and if files content is XML or binary and maybe other details to see if this scenario only will we enough, or if you may need a BPM or more than one scenario, one for "prepare the files" and one that takes the "prepared" files and thru XI sends them back to the target as a response in a synch or async manner.
Regards,
Matias.
ps: please award points if helpful.

Similar Messages

  • File to Web service (SOAP) to File scenario with out BPM in PI 7.1

    Hi All,
    I have scenario File to Web service (SOAP) to File scenario with out BPM.i am getting the below error:
    1) Error MP: unexpected exception caught com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
    2) Error ROB: error during processing: com.sap.aii.af.lib.mp.processor.ModuleProcessorException: Processing Error
    PI server is 7.1 with SP:8
    I have configured the scenario like this
    1) 2 File channels - Sender & Receiver ,1 RFC channel - Receiver. We need to note that, the additional Module parameters need to be added only for sender File channel
    2) Created Sender Agreement
    3)Created Receiver Determination
    4)Created Interface Determination
    5)Created Receiver Agreement
    Regards,
    Ramesh

    Hi,
    Thanks for your reply!!
    My Scenario is File to SOAP to File.
    Configred modules  in Sender channal below:
    Prcessing sequence:
    Number       Module Name                                        Module Key
    1..........       AF_Modules/RequestResponseBean.......1
    2..........       CallSapAdapter..........................................2
    3..........       AF_Modules/ResponseOnewayBean.......3
    Module Configuration:
    Module Key                                       Parameter Name                                       ParameterValue
    1                                                        passThrough                                            true
    3                                                        receiverChannel                                       receiverChannel name
    3                                                        receiverService                                        receiverService name
    please tell any more confiration requered.
    Regards,
    Ramesh

  • Error in SOAP to file scenario

    Hey guys
    i m doing a SOAP to File scenario and getting the following error.
    <SAP:Stack>&quot;COMMUNICATION FAILURE&quot; during JCo call. Error opening an RFC connection.</SAP:Stack>
    any idea where should i look ?
    thanx
    ahmad

    Hey
    i m still getting a red flag in MONI,the error is
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">JCO_COMMUNICATION_FAILURE</SAP:Code>
      <SAP:P1>Error opening an RFC connection.</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>&quot;COMMUNICATION FAILURE&quot; during JCo call. Error opening an RFC connection.</SAP:Stack>
      <SAP:Retry>A</SAP:Retry>
      </SAP:Error>
    i checked my mapping by copyin payload from MONI,its working fine.
    thanx
    ahmad

  • JCO problem in SOAP to file scenario

    Hey guys
    i m doin a SOAP to file scenario and getting a JCO error in moni,the status of my queue in SMQ2 is SYSFAIL,when i check the TCP/IP connection in SM59 i find error in two places
    AI_DIRECTORY_JCOSERVER and AI_RUNTIME_JCOSERVER .when i test connection for both of them i get the followin error "Error opening and RFC connection".
    is this error dues to some server problem of something wrong in my scenario.?
    the SOAP adapter in RWB is green.
    i tried to unlock and delete the queue in SMQ2 but when i execute my scenario again,it gets SYSFAIL error.
    thanx
    ahmad

    Hi,
    If you restart the J2ee engine, it will work.
    But The error may because of many reasons
    -Might be because of lots of messages are to be processed simultaneously.
    -Increasing the number of processes in VisualAdmin (VisualAdmin>JCO RFC Provider>AI_RUNTIME_<SID>) and see if that helps.
    -This  SAP Note may help u -709140.
    Hope this helps,
    Regards,
    Moorthy

  • Business systems  for Soap to file scenario

    Hi Experts,
       I am working on a soap to file scenario.Which type of business systems shall i  create i.e Third party,As ABAP,As Java etc.Please suggest.
    Thanks
    Veeru

    Hi,
    Normally Business systems are created in SLD when you are provided with relevant system details. A business service is used in case of the system being an abstract unit.
    In your case, it is better to go for Business service because you generally don't  have such details for third party system.
    Just go through this link for more understanding...
    Difference between Business System and Business Service
    Regards,
    Chandra

  • Doubt Regarding SOAP to File Scenario

    Hi All,
    I am trying to create a SOAP to File scenario .These are the following things I have done so far :
    IR -  2 datatypes ( 1 for soap message and 1 for file message )
           2 message types for the corresponding messages
          2 Message interfaces, both are asynchronous
          1 message mapping
          1 interface mapping
    ID- 2 business systems (1 to send soap, 1 to recieve file )
        2 communiccation channel (soap sender, file receiver )
    soap sender adapter parameters - Interface Name  - Message interface for soap message
                                                      interface namespace - scenario namespace
    Then,  i generated a wsdl file to expose the outbound message interface for soap message as a web service, url for message interface : http://host:port.XISOAPAdapter/MessageServlet?:service:channel.
    After generating the wsdl file, i imported it in external definition
    Could anyone plz. tell me, is this the right approach to creat this scenario ? how can I test this scenario?using altova spy ?

    Hi,
    The URL you have mentioned to genarate WSDL is not a valid one
    http://host:port.XISOAPAdapter/MessageServlet?:service:channel.
    Check the below valid URL
    http://host:port/XISOAPAdapter/MessageServlet?channel=:service:channel.
    You no need to import this to the Eexternal Definition as you already have DT,MT and MI, Any way this dosn't make any difference.
    You can use SOAPGUI Tool to test:
    ->Create New Project -> provide WSDL you have genarated.
    ->Select Request and provide username and password and click the green button on top(Submit request to end URL).
    Using altova spy:
    Select SOAP Menu->Create New SOAP Request and provide your WSDL file and
    SOAPMenu->Send Request To Server
    Then you will get response..
    Regards,
    Prasanna

  • Testing of SOAP to FILE Scenario

    Hi all
    I have done with SOAP to FILE scenario.
    --> while defining web service what we need to give in the URL????
    --> How to test this SOAP to FILE scenario to see wheather it is working fine or not, what are the all options
    Thanks
    Dheeraj

    Hi Dheeraj,
    Definitely you can test it through the microsoft infopath tool.
    steps to follow:
    Executing wsdl File Using Microsoft Info Path
    1.>Click on the design a from template
    2.>Select the Web service icon and click ok
    3.>Select the radio button u2018receive and submit datau2019 and click on next.
    4.>Enter the path of the generated wsdl which u have saved and click next.
    5.>Select the interface and   click next
    6.>Select the interface and   click next. 
    7.>Double click on parameters.
    8.>Double click on the parameter (which you want to send as request). Then click on the query field and click ok.
    9.>Click next. And click Finish
    10.>Now drag the query fields on the data fields to the left side. And click preview.
    Please follow these steps I hope you will be able to test it.
    Thanks and regards,
    Nutan

  • Soap to File Scenario with BPM

    Hi Guys
    I have create my Soap to File Scenario using BPM to split the file on "Transformation step" into 7 files and it must save these files to my FTP Server, when testing on sxmb_moni I don't get any errors but when checking on the FTP server no files are created, and I understand that it should be showing all seven processing on the sxmb_moni, but that is not happening.
    I have used the ForEach mode on my Block.
    What could I be doing wrong.
    Thanks!!
    Yonela

    go to runtime work bench to see communication channel, especailly the receiver channel.
    To see what happened on it

  • SOAP-PI-File scenario: synchronous file pickup possible without ccBPM?

    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 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

  • SOAP to File scenario

    Hi experts,
    I have the following scenario and I don't know if the File Adapter allows me to do.
    - We have a system that execute Webservices.
    - On the other hand, we have a file system that manages a files to consult.
    We need to call the Webservice, and the response of this, has to be the data that contain the file.
    I know that the File Adapter in mode Receiver is for writing files. How can I make it for reading?
    ¿Any ideas for implement the scenario? ¿BPM? ¿File Adapter in mode Sender with file name variable?...
    Thanks,
    Jose.

    Your description does not make up a complete end to end scenario.
    However, it look like this is a part of complete scenario:
    You will need a sender system that send request message.
    You will need a BPM to receive above message.
    BPM will call webserive to get the response.
    Out of the BPM: BPM will forward the response to integration engine
    Integration engine will execute another mapping program: it will have UDF to open your file and read the file.
      Comparing the result with your response from webservice.
      If your file is located in the system other than application server, you will code your UDF like ftp client.
      Check Java API for that type of use.
    Based on the comparation, you can do whatever you want, or forward message to another system...
    Regards !
    Liang

  • Sending Acknowledgement back to webservice SOAP to File Scenario

    I need to receive information from a webservice to a file for which I have configured Sender SOAP Adapter and file adapter to generate file.
    Now I need to send and acknowldegment to
    webservice back if File is generated successfully..How do I do it ?
    Points will be awarded

    thanks..
    but I am not getting error when I tru to send request thru altovaxml spy iget following error in response
    <?xml version="1.0"?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Body>
              <SOAP:Fault>
                   <faultcode>SOAP:Server</faultcode>
                   <faultstring>Server Error</faultstring>
                   <detail>
                        <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                              <context>XIAdapter</context>
                             <code>ADAPTER.JAVA_EXCEPTION</code>
                             <text><![CDATA[
    com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: www.w3schools.com
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:455)
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:133)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:855)
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
              ]]></text>
                        </s:SystemError>
                   </detail>
              </SOAP:Fault>
         </SOAP:Body>
    </SOAP:Envelope>

  • HOW TO TEST SOAP SENDER TO FILE SCENARIO

    Hi gurus,
    I have designed and configured SOAP to file scenario.
    I have used http://xyz namespace in design time.
    I have created two business systems for this sceanrio.
    I have downloaded and installed soap client on my system.
    When I open this soap client it is asking
    1)URL
    2)load request from
    3)In the editor request tab what should i give.
    4)wht is the response tab here
    I want to send data to XI from SOAP and then to file.
    Please help how to give data and how to get the data format to give in the requst editor?
    Points will B rewarded
    Regards
    Sreeni

    Hi,
    You can use a SOAP client like Altova XML spy for posting a message to XI.
    The best way to do this is to use the generated wsdl for creating a soap request.
    once the wsdl file is picked up by the soap client, it automatically generates the url.
    now the response which comes back to the soap client is usually a http status code of successful post. (since u r performing an async scenario)
    also ensure u use the j2ee port while genrating the wsdl using the "Create Webservice" option in Int Directory.
    Also chk the link for the weblog on sender soap scenario.
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    Hope this helps.
    Award points if found helpful
    Cheers!!
    Sidharth

  • Soap with attachment  To File scenario

    Hi All,
    In my scenario I need to read data on webservice with file in attachments. Webservice in will have two values- data in payload and file in attachments. And on the target side  two files one XML with data and one attachment must be created on the file directory.
    Can any one help me how this task can be implemented in XI
    Thanks in advance.
    Regards,
    Vikram

    Hi,
    some links about this topic:
    SOAP to file scenario
    Send a file usring SOAP adapter
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    Hope it helps.
    Regards
    Patrick

  • SOAP to File in PI 7.1

    Hi
    I am looking for the SOAP to file scenario, Can anyone send the scenario with the exaples in PI 7.1 version,
    Thanks
    RP

    Hi,
    Please Refer This links.
    Here You will get detailed Explanation.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0205c42-5e86-2b10-b183-afc655b07f3f
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/importantPI7.1OSSNotes
    Re: Using SOAP Sender adapter in PI 7.1
    Thanks.

  • Soap to file

    Hi All,
    I would like to work on Soap to File scenario(model).
    Soap message is availbale in XML file.that i need to send as file to target system.
    I'm unable to find any file picking option in soap adapter.
    If i'm doing wrong approach could any one suggests me to do this scenario.
    Thanks and regards,
    venu.

    Hi Venu,
    I think i will give you some more information about SOAP adapters,So Please go through the link below and follow the steps mentioned in it while defining the web service.Then you will get to know the actual use of a SOAP adapter.
    <a href="http://help.sap.com/saphelp_erp2004/helpdata/en/31/daa0404dd52b54e10000000a1550b0/content.htm">Defining Web Services</a>
    Sending a Simple SOAP envelope to XI via HTTP using ASP
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1442 [original link is broken]
    More links for SOAP Adapter:
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/fdca3f01f33e1ce10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
    You can create SOAP Request from WSDL using the following tool.
    http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c
    You've to expose your outbound message interface as a WSDL which can be used by say EP.
    Also go thru the following threads
    Re: WebService
    Re: SOAP Client for Synchronous Scenario
    Re: How to test a webservice as a standalone?
    Regards,
    abhy

Maybe you are looking for

  • IPhone 5 not getting all texts from Galaxy S6

    My girlfriend is having a problem not getting all of my texts. As far as we know, it is only happening to texts from my phone. They are showing as sent on the Galaxy S6, but do not show up, ever, on her iPhone 5. The missing messages are random. 

  • Embed image in form not displayed

    I am trying to embed an image in the form i.e., point an image that is in my local workbench. While I was testing from my local Workbench/Designer. I created a process which receives input xml document and sends the pdf document as response. However,

  • Cycle count (MICN) exceeded at year end

    Hi all, i have alreay completed the cycle count  till 30 dec 2009 by using MICN.But whenever i started counting for 31st december 2009( end of 2009),it is giving me 1500 materials to count. But in real scenario, it should give arround 10 materilas to

  • I want to know release date of asha 309

    Nokia asha 308 and 309, difference in both of them/ what will be its launch date .

  • Package and deploy ejb in weblogic 10.3.4?

    When I deploy my EAR file then the EJBs contained within do not show up in the weblogic consoles JNDI viewer. I made a simple testcase with a local interface and a stateless impl class, nothing else. Interface class: package test; import javax.ejb.Lo