File-To-SOAP Scenario

Hi,
I am trying to do one of the End-To-End scenarios which are described in the following document published by Mukeshlal Parida https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b
Since I don't know how to use the SAP html client I decided to use a file adapter instead of a http adapter (HTML To Web Service Scenario). I used a similar file adapter with the same settings in another scenario and it worked. But with my new scenario the file adapter doesn't collect the specified file. The only difference between the two scenarios is that I am using business services now instead of business systems. What am I doing wrong?
I would appreciate any help!!!
Kind regards,
Marc
setup a simple scenario using a file adapter which collects

Thank you Moorthy for the hint with the sender agreement. The file adapter is now working correctly. Unfortunately I don't get a response of the web service. In order to better understand my scenario I list here the ojects I use. I created all the objects how it was suggested in the above mentioned manual. Since I use a file adapter instead of the HTML Adapter I created two communication channels with File Adapters, one for each direction. After that I added a sender agreement and a receiver agreement for the new "File Service" and selected the previously created communication channels. Is there something else missing? How can I check if my soap adapter settings are working?
Regards,
Marc

Similar Messages

  • Error handling in File - XI - SOAP scenario without BPM

    Hello!
    We have a File -> XI -> SOAP scenario without BPM. The problem is that if the Web Service sends back an error XI tries to reprocess the same message again and again instead of taking the next one.
    We do not want set the retry interval to NULL because most error cases are temporary connection problems and then also those messages would not automatically be reprocessed any more.
    We also have to use BE instead of EO, otherwise the Web Service will not return a response. But we need the response to be sure that the processing was successful. The message volume in this scenario is quite high and we do not want to use BPM only for the error handling.
    I know that from SP19 some additional adapter modules are available for async - sync scenarios without BPM. I tried to configure it like described in File - RFC - File without a BPM - Possible from SP 19. but it did not solve the problem. Does anybody have any other ideas? Thanks.
    Regards, Tanja

    Hi Tanja,
    >>>The volume is 3000 messages/day on business days and 700 messages/day during weekends but the traffic will increase in the future
    I think, you should check that out. It is assumedly only 2 days work to build a scenario:
    IDoc -> BP
    BP <-> SOAP/HTTP
    BP -> IDoc (Acknowledgement)
    In the process you need a condition branch, where you decide success or not. You need 2 Interface Mappings for filling the ALEAUD.
    Just send 1000 IDocs to the Test-XI and look to performance monitoring at Runtime Workbench, to find out, how many message will be processed in one hour. Assumedly 3000 and more per day should be possible. The advantage would be to reduce number of systems (no file system) and messages (better monitoring) and using the standard (better maintenance).
    >>>So you are suggesting I should use HTTP adapter and then add the SOAP header manually in a mapping?
    Yes, build the SOAP envelop during the mapping. Most easy is to use XSL or, if your mapping is ready, an additionsal XSL. You can put the error into the Acknowledgement to see it in ERP transaction WE02.
    Filling of ALEAUD fields:
    E1ADHDR/MESTYP: original message type
    E1ADHDR/E1STATE/DOCNUM: original IDoc number
    E1ADHDR/E1STATE/STATUS: 68 in case of error, 53 in case of success
    E1ADHDR/E1STATE/STATXT: Short description for R/3 user what has happend
    I ve done such a scenario several times. That works without any problems.
    Regards,
    Udo

  • File to SOAP Scenario Using BPM

    Hi,
    I am doing File to SOAP scenario using BPM.
    while doing Integration Process in IR, i got the following error message
    "Expression of simple type xsd:string expected"
    But i have given xsd:string in the correlation element as well as in Data types.
    I dont know why it is getting the error.
    could you anyone please help me to sort out?
    Regards,
    Sai Ch.

    Hey,
    Check in the correlation editor, where you define the condition.
    Whether the data type of the XPath is string and whether it matches with the data type of the messages that you have selected.also make sure the type of the correlation variable is string.
    regards,
       Milan

  • File name to be read in mapping - File to SOAP Scenario

    Hi all,
    its a  file to soap scenario. i need to send the file name also to target system. how can i get the file name in the mapping? is there a way to read the header information in mapping?
    Regards,
    Rashmi

    You need to check for Adapeter specific Message Attributes of your File adapter.Then write user defined function to set Dynamic_configuration. So that you can get the file name in the header(u can chk this in SXMB_MONI after implementing the UDF, it will create one section for dynamic_configuration.)
    Manisha

  • Sync File to SOAP scenario

    Hey guys
    i m doing a Sycn FIle to SOAP scenario(i guess i need BPM for that,right?)
    lemme know if my configuration is correct
    For sender FIle:
    DT_sender,MT_sender,MI_sender,AI_sender(async)
    For SOAP
    DT_soap,MT_soap,MI_soap,AI_soap(sync)
    For Receiver file
    DT_receiver,MT_receiver,MI_receiver,AI_receiver.
    and BPM would be
    start>>Receive>>Sync send>>send>>stop
    and ofcourse i need to import the WSDL for the webservice.
    is this all,or i need to do some other designing too?
    thanx
    ahmad

    Ahmad,
    The weblog says you are sending a request from R3 using RFC. Then it gives back you the response from the webservice.
    So first you have two scenarios:
    Request:
    Source:  No datatype needed because you are importing the RFC.
    Target: For this you need the datatype. Just create the datatype what he has mentioned.
    Response:
    Source : Just copy and paste the xsd. You import as an external definiton.
    Target: Since your RFC is a synchrounous you will have the response for it. That is your target.
    Then after that you do message mappings for request and response and then the interface mapping.
    You dont need to have BPM for this interface. So dont worry about BPM for this interface.
    Then you complete all the steps given in his weblog2. Then test it out.
    ---Satish

  • QOS File to SOAP scenario

    I have a File to SOAP scenario which processes a file with many records and calls a webservice once per record.
    The QOS of the sender File adapter is set to 'Exactly Once' but the SOAP messages have QOS 'Exactly Once In Order'.
    I would like the SOAP messages to have QOS 'Exactly Once' to avoid messages going into 'Holding' status after an error occurs with a previous message.
    Any suggestions greatfully received.
    Thanks
    Mark Briggs

    Thanks for your suggestions. This scenario does not use BPM.
    This is an asynchronous scenario as the sender is file based. The QOS of the File sender Adapter is set to 'Exactly Once'. I do not think it is possible to set the QOS of the receiver SOAP adapter. I understood that the QOS of the receiver was determined by the QOS of the sender.
    The records in the source file are independent of each other and so I do not want subsequent messages to go into a holding status when a record is in error.
    Is there any way to make the QOS of the receiver SOAP adapter 'Exactly Once'?

  • File to SOAP scenario question???

    Hi,experts
    let's take source system is A,target system is B.
    I have a File to soap scenario using BPM,the scenario is send file request(from A) to PI,PI will be communicating target system(B) with soap(syn).After that, PI receives the soap response and send the response data to A.
    Now the requirement is, we need to archive the file request msg(before sending to B) to a folder and archive the response msg(response from B) to a folder as well.how could it be achived?
    any help will be much appreciated!
    Thanks

    Hello Rajesh_V2009 ,
    I am trying to implement exactly the same pi scenario, but having some problems :
    File -> file adapter -> ccBPM -> soap receiver adapter -> web service request -> web service response -> ccBPM -> output file adapter.
    The web service that I call works file from wsnavigator. I have created all the design and configuration objects
    needed for the scenario.
    I place a file with following contents:
    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <pns:GetSetNameWS xmlns:pns="urn:file2soap2fileWSVi">
    <pns:name1>ajeet</pns:name1>
    <pns:name2>phadnis</pns:name2>
    </pns:GetSetNameWS>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    When I look at the process monitor I get this:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!-- Receiver Determination
    -->
    - <SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SAP:Category>XIServer</SAP:Category>
    <SAP:Code area="RCVR_DETERMINATION">CX_RD_PLSRV</SAP:Code>
    <SAP:P1>Problem while determining receivers using interface mapping: No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists.</SAP:P1>
    <SAP:P2 />
    <SAP:P3 />
    <SAP:P4 />
    <SAP:AdditionalText />
    <SAP:Stack>Error when determining the receiver: Problem while determining receivers using interface mapping: No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists. Problem while determining receivers using interface mapping: No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists. No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists.</SAP:Stack>
    <SAP:Retry>M</SAP:Retry>
    </SAP:Error>
    I have no clue about this error. Can you help me with this ?
    If yes I can send you more details, if you liked 
    Hoping to get help from you,
    Cheers,
    Ajeet Phadnis

  • File to Soap Scenario using UDF

    Hi Guys
    We have a requirement that said:
    IF ShortDescription is not u201CNULLu201D then
    map ShortDescription
    ELSE IF ShortDescriptionLang with LanguageCode u201CENu201D is not NULL
    map ShortDescriptionLang
    So what I did is:
    if( ShortDescription != "NULL")
         map ShortDescription;
    else if( (ShortDescriptionLang != "NULL" ) && ( LanguageCode == "EN") )
            map ShortDescriptionLang;
    But everytime when pressing f7 to check for errors I get thid:
    C:/usr/sap/PI1/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map0b27cd32dc2611df84e7000c2973cb67/source/com/sap/xi/tf/_MM_MATERIAL_TO_CATALOGUE_.java:441: '}' expected
    Can someone suggest on how can I test this fucntionality cause one thing that I don't understand is the "map ShortDescription"  and "map ShortDescriptionLang"
    How do I put it on my if statement
    Thanks,
    Yonela

    Hi All
    On my FILE to SOAP Scenario I awant to map a field from my Target to get a Message ID on the moni like in the code below:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters()
    .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP","XHeaderName1");
    String value = conf.get(key1);
    return value;
    My is like this:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters()
    .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP","Messageid");
    String id = conf.get(key1);
    return id;
    But the when presing f7 I get error:
    C:/usr/sap/#####/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map1fee8942e00c11df9d67000c2973cb67/source/com/sap/xi/tf/_MM_MDM_MATERIAL_TO_CATALOGUE_.java:591: cannot return a value from method whose result type is void return value; ^ 1 error
    So is it possible for me to use statement like this:
    ("http://sap.com/xi/XI/System/SOAP","Messageid");
    Thanks
    Yonela

  • Fault Messages/Response handling in File-XI-SOAP scenario

    Hi
    I have a File-XI-Webservice scenario.
    Suppose I am sending a call "Request" to the webservice with 4 fields a,b,c and d. If the call is succesful we get an epmty "Response" back. Suppose any of the fields a,b,c or d are missing then the webservice throws an "AccountUtilsException" with a message "Required data 'c' missing". I want to be able to capture this message in a file.
    I tried using asynchronous scenario first but that didnt work. I didnt get an empty response back for successful messages, neither did i get an error in sxmb_moni for missing data. Only the SOAP adapter would be red and the error "UNKNOWN ERROR" would appear. So I created a BPM with  a receive, send-sync, send steps. With the AccountUtilsException set up as the response. Now, when all the data is good everything is successful and a file is created with the empty "Response" xml. When any of the fields is missing I see errors in sxmb_moni with Message class "Application error". But when I go into the payload I cannot see the xml. Instead it says "Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later." When I click view source I see the xml with the message "Required field c is missing". A file is also not written. Can anyone help me figure out what I am doing wrong?
    Thanks,
    Jahnavi

    Hi Jahnavi,
    yes, the asynchronous scenario cant work because there is no answer.
    I think you should have  exception types in your interfaces and map the fields of the exception. I m not shure if the answer of the webService in case of exception (AccountUtilsException) is a xml msg, you shoud be able to find out that at RTW message monitoring. You should be able to put that into a the exception type of the interface. Another possiblility to pick the exception up would be an alert.
    Regards,
    Udo

  • File to SOAP scenario in PI 7.1

    Hi
    I am developing file to SOAP in 7.1 version  and have the web service Url to call, Do I need upload the WSDL file of the SOAP into ESR under the external objects
    Please let me know
    Thank
    PR

    Hi,
            it is not mandatory to upload the WSDLs of your webservice. You can create similar structure and call your webservice . But, using the WSDLs imported in your ESR you can save time spent in creating datatypes and message types. Even if you import WSDL under external definition, you need to create your service interfaces using WSDL.
    Regards,
    Reyaz

  • How many Receiver determination in File to SOAP scenario

    Hi,
    I am trying a File -SOAP-File scenario, where file will be send to PI asynchronous. BPM is configured to receive the file and
    call the web services and get the response (Synchronous call) .After that BPM send the file asynchronous to File via FTP .
    It is basically asynchronous/ Synchronous bridge scenario.
    To do this I have  have configured the BPM  & created 3 Communication channel . 1 sender (File) & 2 receivers ( SOAP & File)
    But i got confused in Receiver determination. How many Receiver determinations do we require in this step?  2 or 3. If 3 how they will look like. I believe Interface determination is same as Receiver determination. I am suing Business System to send & recv the file.
    Points will be rewarded for suitable answer.
    Thanks

    hi,
    You require 3 receiver determinations.
    one from File to BPM(XI)..
    another from BPM to SOAP and other from SOAP to FILE.
    This is exactly the same scenario.
    RFC Scenario using BPM --Starter Kit
    Thanks,
    Vijaya

  • File --- XI --- SOAP scenario

    I have a scenario where I would be reading a input file and invoke a Soap adapter and then get back the response and write to another output file.
    So, i need to configure two asyncronous file adapters(one for inbound and one for outbound) and one synchronous soap receiver adapter right?
    What are the other configurations i need to do? am I missing anything?
    Thanks,
    Madhavi

    HI,
    <i>
    So, i need to configure two asyncronous file adapters(one for inbound and one for outbound) and one synchronous soap receiver adapter right?</i>
    >>Yes you are right.
    If you want to achieve these with one single interface, then you need to use BPM here,
    It is like this:
    1) File is picked by XI - i.e Recieve file message
    2) Send this message into Webservice by using Synchronus SOAP Adapter and then get the response back to XI
    3) Then send this response to another file thru Receiver File adapter asynchronously.
    The given document is RFC I knew that,. But in your case, u need to have SOAP instead of RFC. SO it is similar requirement.
    Regards,
    moorthy

  • Two senders and One receiver for File to SOAP scenario

    Dear Friends,
    I got a new requirement like we have a to different ECC systems from there they will send the Two different Files to XI, XI will send the same file to receiver, but we have only one receiver.
    for soap adapter purpose they provided only one webservice url.
    Please suggest me how to do multiple senders and single receiver.
    Regards,
    Shalini Shah

    >
    shalini shah wrote:
    > Dear Madhu,
    >
    > I am receiving the files from two different ECC servers.
    > ECC1 will send the files at different time
    > ECC2 will send the files at different time
    > but receiver webservice is only one .
    > two sender Communication channels are required for pointing to two different ECC servers and one receiver CC is for receiver purpsoe.
    >
    >
    > Regards,
    > Shaini Shah
    BPM ....not possible to collect the messages otherwise!

  • Simple File - PI - SOAP scenario

    Hi,
    I'm trying to create a scenario to send a binary file via webservice in PI, the receiver webservice is expecting to receive a base64 string representing the binary file.
    My question is if to achieve this do I need to create a Java Mapping, or can a message mapping be used in IR to achieve this?
    Regards,
    Leandro Fonseca

    If you want to send data in a single field of receiver webservice, then you may pass it using message mapping. If you want to convert the base64 data to understandable format (encoding or decoding), you may write the java code in UDF for the conversion.
    For decoding or encoding the data, a simple way there would be directly use of java mapping or adapter module.
    /people/farooq.farooqui3/blog/2008/05/22/decode-base64-incoming-encoded-information-in-sap-xipi-using-java-mapping
    Regards,
    Prateek

  • File to Soap synchronous Scenario

    Hi Experts,
       I have designed an synchronous File to SOAP scenario in PI 7.31.  I am able to send the request am getting the response to target path also  correctly  but am not able to see the msg in SXMB_MONI.am not using ICO am using dual stack in  PI 7.31    plz help on this.
    Regards,
    Rajendar K

    Hi Rajendar, what does your configuration look like? (e.g. Service Interfaces, Oparation Mapping)
    I'm trying to do the same but SOAP response message is not getting back into IE. I have LOGGING_SYNC already set to 1.
    Thanks, Aaron

Maybe you are looking for

  • Air Mid 2011 hot cpu, fan on high, short battery life

         Since it seems many have this problem, here is what I have found so far. Background: Air i7 Mid 2011 4gb RAM, 256 SSD, purchased in Aug 2011. Battery life is normally 5.5hours with wifi on, blue tooth off. I charge the battery until status says

  • 500 GB DVR Upgrade Transition

    Is it possible to upgrade to the new 500GB multi room DVR without losing the programs I have already recorded on my old multi room DVR?  Can I run both multiroom DVR's in my home for a short period of time while I transition from one to another?  How

  • File can not be saved

    Hello. I recently moved my Logic Project files to an external drive. When I try to save them, or save as, Logic errors with "the file [xxx] can not be saved". It will still save on my main hard drive if I change the save location. The external drive

  • No pictures on published site, what's happening?

    After a few months of no activity, I wanted to add some pictures from an iPhototo album to my website. To my surprise, the pictures were not published to the website. First I thought it was a problem with the ftp upload. I have published the site loc

  • Will my airport extreme 2nd generation work with docsis 3.0 cable modems?

    Will my airport extreme 2nd Gen work with docsis 3.0 cable modems?