File - Webservice Scenario

Is it possible to develop following scenario without BPM.
XI Picks up File
XI Invokes Webservice synchronously
on receiving response XI should parse contents and send to Mail receiver
How to do this without using BPM ?.
Thanks

Hi Ram,
You can do the following without BPM
XI Picks up File
XI Invokes Webservice synchronously
and send response back to XI.
but you can't use this to send data to Mail receiver without BPM.
This is because Mail adapter support only asynchronous call.
And hence you need to use a Sync-Async bridge.For which you need BPM.
Bipin

Similar Messages

  • Can I include 2 diff strctures in d same wsdl file in a webservice scenario

    Hii all,
    We are using webservice to webservice scenario in which sender shld b able to send all the new rquest to the target and receive any updations or modifications from the receiver.
    Few fields are different for request and modification structures. so i created 2 diff structures for source and target.
    can any one suggest me who can i use single wsdl file for both the msgs( Creation and modifications) mean how to implement multi maping ( 1 to many) using wsdl
    Regards
    Anu

    A simple way to include the 2 structures in one WSDL would be to create a combined structure similar to the one below:
    <RequestPackage> (1 occurrence)
       <Request> (0 to n occurrence)
          <Create> (0 to 1 occurrence)
             ... Create Fields u2026
          </Create>
          <Modify> (0 to 1 occurrence)
             u2026 Modify Fields u2026
          </Modify>
       </Request>
    </RequestPackage>
    This is more complex than using 2 wsdls but it would allow you to easily send multiple create and modify records in the same message.
    - Craig

  • Need inputs for FILE-Webservice-File using BPM scenario

    Hello All,
    can any one tell me how to do the file-webservice(soap adapter)-file with out BPM.
    If we cant do with out BPM then, please let me know after importing the WSDL file, how many Message interfaces i need to create what are they.
    Thanks and Regards,
    chinna

    Hi Chinna,
    Check this links for the receiver side SOAP configuration
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    Sender side File adapter configuration is as usual
    > please let me know after importing the WSDL file, how many Message interfaces i need to create what are they.
    It is a synchronous scenario so you need to create the two message interfacess for the sender (one is for request message and another is for response message). For receiver you don't need to create any message interfaces, because the WSDL internally having the two messages (request and response).
    Regards
    Ramesh

  • Error in file-webservice- file (Error: java.lang.NullPointerException)

    Hi everybody,
    I have configured a file-webservice-file without BPM scenario...as explained by Bhavesh in the following thread:
    File - RFC - File without a BPM - Possible from SP 19.
    I have  used a soap adapter (for webservice) instead of rfc .My input file sends the date as request message and gets the sales order details from the webservice and then creates a file at my sender side.
    1 communication channel for sender file
    1 for receiver soap
    1 for receiver file
    Error: java.lang.NullPointerException
    What could be the reason for this error
    thanks a lot
    Ramya

    Hi Tanaya,
    I monitored the channels in the Runtime work bench and the error is in the sender ftp channel.The other 2 channel status is "not used" in RWB.
    1 sender ftp channel
    1 receiver soap channel
    1 receiver ftp channel.
    2009-12-16 15:02:00 Information Send binary file  "b.xml" from ftp server "10.58.201.122:/", size 194 bytes with QoS EO
    2009-12-16 15:02:00 Information MP: entering1
    2009-12-16 15:02:00 Information MP: processing local module localejbs/AF_Modules/RequestResponseBean
    2009-12-16 15:02:00 Information RRB: entering RequestResponseBean
    2009-12-16 15:02:00 Information RRB: suspending the transaction
    2009-12-16 15:02:00 Information RRB: passing through ...
    2009-12-16 15:02:00 Information RRB: leaving RequestResponseBean
    2009-12-16 15:02:00 Information MP: processing local module localejbs/CallSapAdapter
    2009-12-16 15:02:00 Information The application tries to send an XI message synchronously using connection File_http://sap.com/xi/XI/System.
    2009-12-16 15:02:00 Information Trying to put the message into the call queue.
    2009-12-16 15:02:00 Information Message successfully put into the queue.
    2009-12-16 15:02:00 Information The message was successfully retrieved from the call queue.
    2009-12-16 15:02:00 Information The message status was set to DLNG.
    2009-12-16 15:02:02 Error The message was successfully transmitted to endpoint com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 500 : Internal Server Error using connection File_http://sap.com/xi/XI/System.
    2009-12-16 15:02:02 Error The message status was set to FAIL.
    Now, the error is internal server error.What can I do about this?
    thanks a lot
    Ramya

  • File-webservice-file , error in BPM workflow

    Hi GURUs,
                          I am working on file-webservice-file scenario. I have followed the blog /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit . In my BPM workflow I am getting error right at the receive step it self and not proceeding to next step. Error in workflow log saying, no proper message id for the outbound abstract interface. Main thing here is we dont have any value passing fields in our outbound request message type as well as in the request in the wsdl. In these two emssagess we have only on element hich is not of any type. Is this the reason for the error I am getting. 
    any help ill be appreciated,
    Regards,
    Reyaz

    Means, in the outbond request message type and the request message type in the WSDL .  in these messages we dont have a single field which can carry some value. We have an element which is not of any type like string , number etc..
    Regards,
    Reyaz
    Edited by: Reyaz  Hussain on Feb 27, 2009 3:37 PM

  • Want to create IDoc to Webservice Scenario

    Hi All,
    I wan to do Idoc to Web Service Scenario, I have already done Idoc to File Scenario and I have mapped the file of both end in ESR and I am done with Configuration in Integration Directory.
    Now If I want to convert it to IDoc to Web Service Scenario, what all steps need to be done. and also want to know that How we can access and Send the files from Web Service to PI 7.1. As such web service is not available need to create the same also.
    Can anyone provide How to guide on this scenario.
    Regards,
    Nitin Patil
    Edited by: Nitin Patil on Dec 19, 2008 2:44 PM

    Hey,
         as you have familiar with idoc to file, the idoc to webservice scenario is not different.
         You need to do the ALE settings on the R\3 side. import the Idoc in XI.
         Now for mapping purpose you need the source and the target structure.
         In case of webservice you need to import the WSLD (unlike the file in which you wold have created the data type and message type)
    In order to import the WSLD, you need to do following things.
    Ou require NWDS and the following settings needs to be done
    Deployement of Web Services:-
    Step 1)
         Goto Windows->Open Perspective->J2EE development.
    Step 2)
         Goto File->new->Ejb module(give project name).
    Step 3)
         Right Click on the <project name> eg. work_ejb select new->Ejb.
    Step 4)
         Give an appropriate EJB name and default package (eg. com.xxx.yyy).
         Also select stateless Ejb.
         Click next then next and then next.
    Step 5)
         Add method with an appropriate name.
         Mention the return type and also assign the required parameters.
         Logic is written in the EJB module bean.
    Step 6)
         Right click on the <project name> and build.
         Creates .jar
    Step 7)
         Goto File->new->Enterprise Application project(to create EAR)
    Step 8)
         Give project name, assign EJB and build.
         Creates EAR.
    Step 9)
         Right Click on the EJB.
         Goto new->Web services.
         Specify name of the web service.
         Specify EAR in the WEB service.
    Step 10)
         Build EAR.
         Build Ejb.
    Step 11)
         Goto Windows->Prefrences->SAP j2EE engine.
         Give the message server host name.
    Step 12)
         Right Click on EAR and deploy.
    Step 13)
         Goto-> http://<host name>:<port no.>/index.
    Step 14)
         Choose the web service name,test it and download it(default WSDL).
    Step 15)
         Import port(WSDL) in External definition of SAP PI.
    After you import the wsld, you need to follow the same procedure as idoc to file.
    regards,
    Milan

  • Polling in webservice scenario

    Hi Experts,
    I know Sender File Adapter and JDBC Adapter supports polling. Is it possible to use polling in webservice scenario?
    Is it possible to expose a File Adapter and JDBC Adpaters scenarios as a webserice?
    Regards
    Sara

    Sara,
    Can you go through the urls:
    sender JDBC by schedule function
    JDBC
    If it doesnot work for you, then try to see the SXMB_MONI or the JDBC
    Try using:
    "Disconnect from Database After Processing Each Message" indicator
    http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    Polling at intervals
    Thanks,
    Satya Kumar.
    Edited by: SATYA KUMAR AKKARABOYANA on Apr 25, 2008 2:25 PM

  • File -- Webservice

    I would just like to confirm that what I have set up in the IR is correct for a file to webservice scenario where I am expecting a response message
    Message Interfaces = 5:
    1 For Async Outbound Request
    1 For Async Inboune Response
    1 For Async Abstract Request
    1 For Async Abstract Response
    1 For Sync Abstract Containing both Request and Response
    I have 4 Message Mappings:
    1 For Async Outbound Request --> Async Abstract Request
    1 For Async Abstract Response --> Async Inboune Response
    1 For Async Abstract Request --> Sync Abstract Containing both Request and Response
    1 For Sync Abstract Containing both Request and Response --> Async Abstract Response
    I have 3 Interface Mappings
    1 For Request to Abstract Request
    1 For Abstract Response to Response
    1 For Request/Response Synchronous call to Web Service.
    Does this look about right?
    The abstract Request and Response are for BPM!!!

    Hi,
    if you are connecting to a web service as receiver and you expect a response, the inbound interface on the web service side should be synchronous.
    Only if the response is decoupled from the connect to the web service an asynchronous response (but then it is  async outbound and works for a sender!)
    makes sense!
    if the connect to the WS waits for a response you need
    additionally to the async abstract interface for the BPM container an abstract sync interface to connect to the sync inbound interface to the WS.
    sender side
    async outb interface
    async abstr interface
    with an corresponding mapping and an interface mapping
    in BPM:
    async abstr interface for container of message to WS
    and
    async abstr interface for container of response from WS
    corresponding mapping for changing from outb. message to fitting message connecting the WS
    correspoding IF for transformation step to com from outbound message to sync call message to WS
    Connect to WS:
    sync abstr. interface for BPM as sender to WS
    sync inb. interface for WS
    corresponding mapping and interface mapping
    And async inb. interface with mapping and interf.mapping to move the WS response from BPM to destination if required to be provided with response.
    Hope this helps!
    Regards
    Dirk
    Message was edited by:
            Dirk Meinhard

  • File-to-File/RFC scenario with reading filename

    Hi,
    i have a File-to-File/RFC scenario which causes some problems in desining it correctly. Maybe some of you has an idea how to do this.
    Scenario:
    - A file is picked up by a File-Adapter. The files are different: pdf, doc, tiff, jpg, txt, ...
    - The file must now go through a business process (not necessary the file, but i need the filename in the business process).
    - The process has to contact several backend systems (SAP R/3) to collect some data. To achieve this the filename has to be send to this systems.
    - The collected data are send via SOAP to a receiver system
    - The file itself has to be stored in a directory via File-Adapter.
    Here's my problem:
    - Is it possible to transport the binary file content within a message which contains other elements (e.g. filename)?
    - Is it possible to do graphical mappings with such a payload (only 1 to 1)? Or must i use Java Mappings only?
    - How to generate a Message from the sender File Adapter which contains binary file content AND filename? Is this possible with a Module?
    - Is it better to create 2 messages with an adapter module? One with the image the other with the filename. Or is it better to split them later in a Mapping?
    Thanks in advance,
    ms

    If all that you need is the file name, use adapter specific settings in the sender file adapter. Then you can access the file name in mapping runtime in UDFs. If you want to have content of the pdf, jpg etc images, i do not think there are ready modules available except for reading pdfs ( you might have to research on this).
    For look ups etc with R3 systems, you can use the file name that you got from the adapter and store it in mapping fields.
    VJ

  • N:1 file merging scenario in bpm

    Hi friends,
    Can anybody send me link of blog for file merging scenario in BPM. i hav two files and i hav to merge it into one single file. I am new to XI, plz help me.
    Thanks in advance,
    Shweta

    Hi,
    Check this blogs...
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    Merging using corelation -
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    Example using correlation:
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    Please reward points if it helps
    Thanks
    Vikranth

  • XI is not able to archive file in file-idoc scenario

    Hello friends,
    I have an issue in my file->idoc scenario. When a file is placed to XI's filesystem using FTP, it is placed under xiftpuser user. Owner of all directories in this structure wher the file is placed is xiftpuser. XI is not able to archive the file because of the permissions on the archive directory. But the problem is, permissions on this directory are 775 and xiftpuser and xipadm user are in the same group. So this should work. But it doesn't. When I change permissions to 777 everything works fine.
    Do you have any idea what could be wrong?
    Does it matter, that xipadm user has been added to the common group with xiftpuser "later", when XI was up a long time before? Do we need to restart j2ee to take these new permissions into account?
    Thank you,
    Olian
    Edited by: Olian Saludew on Sep 23, 2008 11:46 AM

    Hi,
    If archive directory Path is d:\archive
    Put a '\' after it.
    e.g. "D:\archive\"
    It will work.
    Regards,
    Akshay.

  • ATTRIBUTE_IDOC_RUNTIME error in File-IDOC Scenario

    Hi,
    I got this error in FIle-IDOC scenario.
    ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
      <SAP:P1>Transaction IDX1: Port SAPMMX, client , RFC destination contain errors
    There are many threads on same issue. Almost in all threads, the suggestion given was, we need to check the Channel Definition(Port should be SAP<SYSID> and not SAP<SYSID>_<CLIENT>)
    I have given the proper values for RFC desitnation and port. Even then, I m getting this error.
    Is there any other suggestions?

    Hi aarthi,
    I suggest u chk all d settings dat u hav done..
    Steps for ALE settings:-
    Steps for XI
    Step 1)
         Goto SM59.
         Create new RFC destination of type 3(Abap connection).
         Give a suitable name and description.
         Give the Ip address of the R3 system.
         Give the system number.
         Give the gateway host name and gateway service (3300 + system number).
         Go to the logon security tab.
         Give the lang, client, username and password.
         Test connection and remote logon.
    Step 2)
         Goto IDX1.
         Create a new port.
         Give the port name.
         Give the client number for the R3 system.
         Select the created Rfc Destination.
    Step 3)
         Goto IDX2
         Create a new Meta data.
         Give the Idoc type.
         Select the created port.
    Steps for R3.
    Step 1)
         Goto SM59.
         Create new RFC destination of type 3(Abap connection).
         Give a suitable name and description.
         Give the Ip address of the XI system.
         Give the system number.
         Give the gateway host name and gateway service (3300 + system number).
         Go to the logon security tab.
         Give the lang, client, username and password.
         Test connection and remote logon.
    Step 2)
         Goto WE21.
         Create a port under transactional RFC.(R3->XI)
         Designate the RFC destination created in prev step.
    Step 3)
         Goto SALE.
         Basic settings->Logical Systems->Define logical system.
         Create two logical systems(one for XI and the other for R3)
         Basic settings->Logical Systems->Assign logical system.
         Assign the R3 logical system to respective client.
    Step 4)
         Goto WE20.
         Partner type LS.
         Create two partner profile(one for XI the other for R3).
         Give the outbound or inbound message type based on the direction.
    Step 5)
         Not mandatory.
         Goto BD64.
         Click on Create model view.
         Add message type.
    Step 6)
         Goto WE19
         Give the basic type and execute.
         fill in the required fields.
         Goto IDOC->edit control records.
         Give the following values.(Receiver port,partner no.,part type and sender Partner no. and type)
         Click outbound processing.
    Step 7)
         Go to SM58
         if there are any messages then there is some error in execution.
         Goto WE02.
         Check the status of the IDOC.
         Goto WE47.
         TO decode the status code.
    BD87 to check the status of IDOC.
    In case if not authorized then go to the target system and check in SU53, see for the missing object
    and assign it to the user.
    SAP r3
    sm59(status check)(no message)
    WE02(status check)
    WE05(status check)
    BD87(status check)
    Xi
    IDx5(Idoc check)
    SU53(authorization check)
    reward points if helpful...
    MenoN

  • Error in SXMB_MONI for HTML to Webservice Scenario

    Hi Experts,
    I am facing following error Error in SXMB_MONI for HTML to Webservice Scenario
    "Runtime exception occurred during application mapping com/sap/xi/tf/_MM_EmailRequest_To_ValidateEmail_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Content is not allowed in prolog."
    Only one field is used i.e. email address and mapped properly in IR but still the error is persisting, Please suggest some way out.
    Regards,
    Nitin

    Hi,
    Mapping internall follows the SAX parser. Please check if you are trying to process the data of large size.
    generally while parsing the large data this exception get raised. Even though there is just one field, what is the data size you are trying to pass.
    Thanks
    Swarup

  • Rfc to webservices  scenario

    hi,
        i am taking 2 FM's in rfc side and i am taking external definition in receiverside i.e in soap side
    rfc to webservices scenario
    could any one help me immediately.
    urs
    suman

    HI
    Refer this
    RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
    RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
    Steps
    Import the RFC meta data to PI
    Import the WSDL to PI
    Create MI for RFC -outbound Sync (if response is involved else Async)
    Create MI for WSDL service you want type Inbound Sync (If response involved)
    Create MM(external definition and RFC), IM for these
    Create Sender RFC adapters with SA
    Create Receiver SOAP and do necessary pipline steps
    Thats it
    Thanks
    Gaurav

  • Data tuncated in file adapter scenario

    Hi,
    File adapter scenario - Sender systems passes a file (csv format) to PI which has one of field as 0001. This field is received at PI without the prefix 000. But, the target systems requires the data to be in the same format as the sender. How to solve this?
    Thanks

    Satish,
    It is the behaviour of the CSV files that it trims leading zeros in the columns with numeric values, try this open the CSV file and select the column and right click it in the context menu you would find FORMAT CELLS and change the type of the column to TEXT so that whatever values you enter in that column remain as it is without truncating.
    Also, the trick at following link would help
    [http://www.howtogeek.com/howto/microsoft-office/how-to-import-a-csv-file-containing-a-column-with-a-leading-0-into-excel/]
    Hope this resolves your issue!!
    Regards,
    Amit

Maybe you are looking for

  • I had to give

    I'm a long time CL user. This is the very first time I'm giving up on a CL card. I have the XFi Fatality pro. This card was Great in XP. I built myself a new system and decided to make the move over to Vista Ult. The only hardware that came?over from

  • Deleted Sales Order

    I would like to understand the possibility of looking the details abt a sales order that got deleted from the SAP system. I believe tables VBAK and Changes related tables will not help me out to find the same information as the deletion of the order

  • Embedded VIdeo Play Issue in Firefox

    Hi peeps. My OS is Win7 Home Basic 64-bit. I can't play any embedded video in Firefox, but I can in Chrome and IE. The video screen just goes black with circle loading stopped in motion. The tab isn't frozen or not responsive, simply the video wouldn

  • X11 broken by Snow Leopard

    I recently upgraded to Snow Leopard which broke X11. Previously I had installed something to get X11 working properly (possibly XQuartz but I'm not sure, all I remember is that it took days of fiddling to get X11 working under Leopard). The error I a

  • When I try to download adobe flash it says there is a general installation error.

    My MacBook Air will not download Adobe flash.