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

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 IDOC Scenario using BPM

    Hi Experts,
        I am working on file-Bapi-Idoc scenario using BPM.
        I have two conditions
    1. If the Sonumber is populated then need trigger an Bapi_change
    2.If the Sonumber is not populated from the file then need to trigger a Bapi_Createfromdat to create the sales order and receive the salesorder number as response from Bapi
    and the response of these BAPIs should be validated whether the Bapi is successful or not.
    If it is successful message then need to trigger IDOC or else should throw an alert message.
    let me know the steps involved in this scenario.
    can i send alert message to other email IDs or can i send it to only XI admin?
    Please let me know u r inputs.
    Thanks in advance
    Praveen

    Hey,
    You need to have a BPM for this.
    BPM design.
    Recieve step(abstract asynchronous) for file structure
    Switch Case(condition whether sonumber is populated or not) 
    if populated
    Branch 1(of switch)
        transforamtion step:- mapping between File and Bapi_Change(Request structure)
      Send step(abstract syncronous) To send the BAPI_change
    Branch 2(of switch)
    transformation step:-mapping between file and BApi_Create
    Send step(abstract synchronous) To send the BAPI_Create
    Block step(which will include the Switch step)
        trigger an Execption in case of an error(in any of the two branches) through the block
        The Exception will trigger an alert.
    Now after the Block step there will be a transformation step(which will have the mapping between RFC response and Idoc)
    Next is the send step(abstract asynchronous) for the idoc
    In case if there is no exception the Idoc will be triggered or the exception branch will trigger the alert
    rewards points if useful
    regards,
          Milan

  • 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

  • File to RFC scenario using BPM : a synchronous one

    Hi All
    I am doing File>RFC>File scenario using BPM with help of the blog
    RFC Scenario using BPM --Starter Kit
    here everything is explained but i am getting error while the processing of BPM part
    Input file is being picked (this part is success) but rest BPM and response i am not getting back in .
    interface names
    filereq_MI >Filetoabstract_MI>Sync_MI>RFCtoabstract_MI>Fileres_MI
    (abstract means its an abstract interface)
    i have configuered the Integration process as follows
    Start>Recieve>synch_send>send>end
    step :  Recieve
    mode : asynch
    message:Filetoabstract_MI
    step :  synch_send
    mode : synch
    synch interface : synch_send
    req message:Filetoabstract_MI
    res message : RFCtoabstract_MI
    step :  send
    mode : asynch
    message:RFCtoabstract_MI
    and i have given interface mapping during second (synch_send) step but here mapping is giving problem its showing exception error during mapping
    error is there
    1) Integration process ---> file
    2) Integration process-->R/3 system

    Hi,
    Configure the Integration Engine According to this Blog and Trigger the Process again
    Configuration of a Central Integration Server
    Regards
    Seshagiri

  • File to RFC Scenario using BPM

    Hi,
    Scenario:We have to post data 1 by 1 to SAP and also handle errors
    The file will be picked by the sender file adapter and given to bpm,bpm (uses message splitting) posts the data one by one to the sap r/3 system using receiver rfc adapter.
    errors could be due to connectivity..in this case we need to send alerts to users uing alert framework.
    good blogs or docs or ppt/pdf explaining a similar kind of scenario, will be highly helpful.
    thanks,
    younus

    hi
    for this u need the concept of ALERTs creation.
    U can use the following links to create alerts;
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
    XI ALerts with container elements - /people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
    http://help.sap.com/saphelp_nw04s/helpdata/en/d0/5e073c8e56f658e10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2327---- [original link is broken] [original link is broken] [original link is broken]> [original link is broken] Trouble shoot alert config
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9c/34193cb4f5131de10000000a11405a/content.htm--SAP LIBRARY
    http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm -->Categories
    rewards points if helpful
    ragards
    sreeni

  • 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

  • Could any one provide me with the links of file to file scenario using BPM

    Could any one provide me with the links of file to file scenario using BPM

    Hi,
    omit RFC part
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • 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

  • 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 JDBC Scenario through BPM

    Hello All,
    Kindly help me to create a below XI scenario using BPM.
    Scenario:
    I want to take the file data and update the details in JDBC and if the records gets updated, i mean update count > 0 then only i want to archive file otherwise i dnt want to move the file from source folder.
    Thanks & regards,
    Vanita

    Hello Vanita Jain,
    Please follow these documents which is mentioned in thread mentioned by Shiva.
    Check out the weblog and help for writing stored procedure:
    JDBC Stored Procedures
    Calling stored procs in MaxDb using SAP Xi
    http://www.ics.com/support/docs/dx/1.5/tut6.html
    http://java.sun.com/docs/books/tutorial/jdbc/basics/sql.html
    http://www.sqlteam.com/article/stored-procedures-an-overview
    Read the documents and try to configure it.
    Regards,
    Amit Barnawal

  • File-To-RFC without using BPM

    hey guys
    is a File-To-RFC scenario possible without using BPM? i have gone through the blog by Arpit Seth ( /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit ) but it uses BPM.
    i am new to XI and not very comfortable with BPM.
    please let me know if BPM is the only way out or are there some other methods too.
    Also under what circumstances one should use BPM?
    thanx in advance.
    aamir suhail

    Hi,
    it's a standard non BPM scenario
    (you can find many weblogs like this)
    the only different thing is the RFC signature import
    (inside repository)
    and the use of different channels (file and RFC)
    you can find many examples in my XI FAQ
    (document section)
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • File to File output not received using BPM

    Hi...
       I am doing simple  File to File scenario using BPM. Everything id fine. But i am not getting output in receiver side.Could you please help me out in this issue.
    Thanks
    Leela

    Let me tell you ID configuration for this blog...
    1)Sender Agreement :
      Sender service : Source Service  interface : source_ob
      Receiver service : BPM 
      create sender channel
    2)Receiver agreement :
       Sender service :BPM    interface : target_abs
       Receiver service : Target service
    3)Receiver determination 1:
      Sender service : Source service interface : source_ob
      Receiver service : BPM
    4) Receiver determination 2:
        Sender service : BPM  interface : target_abs
        Receiver service : Target
    5)Interface determination 1:
          Sender service : Source  interface : source_ob
           Receiver service : BPM
      Inbound interface : target_abs
      Interface mapping : specify the interface mapping name
    6)Interface determination 2:
          Sender service : BPM  interface : target_abs
           Receiver service : Target
      Inbound interface : Target_IB
      Interface mapping : N/A
    Check the above config with ur configuration

  • Step by step File to RFC Scenario with BPM

    hi
    for the following scenario i m following the webblog
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    i have successfully created the design phase
    in the configuration stage
    i need to create a business system or business service will do to create the communication channel
    i have not created the systems so i feel i should not create the business systems
    i would like to create the business service
    so in only one business service can i assign all the communication channel
    useful answers will be rewarded
    Regards
    JM

    There are 3 parts of communication: Sender service to Integration Process (Asynch.), Integration Process to RFC (Synch.), Integration Process to Receiver Service (Asynch.)
    The configurations should be like as follows:
    <b>Sender Service to IP</b>
    Receiver determination:
    Sender Service->Request Outbound Message Interface->Integration Processs.
    Interface Determination:
    Sender Service->request Outbound Message Interface->Integration Process->Request Outbound Abstract Interface. (No interface Mapping is required as the interfaces share the same structure.)
    Sender Agreement:
    Sender Service->request Outbound Message Interface->Integration Process->Request Outbound Abstract Interface>FileRFC_Send
    <b>IP to RFC</b>
    Receiver determination:
    Integration Process->Request Outbound Abstract Interface->Business service.
    Interface Determination:
    Integration Process->Request Outbound Abstract Interface->Business service->RFC Structure->Corresponding Interface Mapping between file structure and RFC structure.
    Receiver Agreement:
    Integration Process->Request Outbound Abstract Interface->Business service->RFC_Receiver
    <b>IP to Receiver Service:</b>
    Receiver determination:
    Integration Process->Response Inbound Abstract Interface->Business service.
    Interface Determination:
    Integration Process->Response Inbound Abstract Interface->Business service->Response Inbound Message Interface. (No interface Mapping is required as the interfaces share the same structure)
    Receiver Agreement:
    Integration Process->Response Inbound Abstract Interface->Business service->FileRFC_Receive.
    Hope you find this useful.
    Regards,
    Amitabha

Maybe you are looking for

  • Memory upgrade on Equium A60 155

    I have an Equium EA60-155 Notebook and the problem is it running very, very slow. I would like to upgrade the memory. This laptop has only 1 slot and 256 non-removeable memory installed. My question is: what type of memory should I buy (can it be 512

  • Crashing on start up on MacBook Pro had no trouble...

    Crashing on start up on MacBook Pro had no trouble until 03-10-15 OS Version:            Mac OS X 10.10.2 (14C1510) Report Version:        11 Anonymous UUID:        FDA4D1C5-18C3-DF9C-CC74-768C8C114969 Time Awake Since Boot: 3400 seconds Crashed Thre

  • IOS 6.1.3

    With this new update iOS 6.1.3 my battery life seems to wear down very fast are is it just my battery is no good

  • A Problem with Rolling forecast

    Hi Experts, Currently i have a problem in the Query Designer. Any help or suggestion will be very much appreciated. The system that we have is BI 7. What we want to have is a rolling forecast for the Profit and Loss Account. It means that we will loc

  • Motherbord swape

    Can I use 820-2110-A instead of 820-2301-A on my ALU imac 24" 2.8Ghz, early 2008, model: A1225, serial:YM819240TE4  ??