Expose IDoc as Webservice without PI/XI

Is it possible to expose an IDoc as an webservice without PI/XI?
I noticed there is a port called XML-HTTP. Does it use SOAP? Can i use this port for webservices.
Thanks.

Hi,
Precisely.
Idoc is not a program but structure. You can create RFC which interact with this Idoc or related structure and then expose this RFC as webservice.
Regards,
Gourav

Similar Messages

  • Expose IDoc as Webservice

    Hi,
    <i>"RFC-enabled function modules, function groups that contain an RFC-enabled function module, BAPIs, and XI message interfaces can be made available as Web services without any additional programming."</i>
    http://help.sap.com/saphelp_nw04/helpdata/en/e5/a68d10f4eb894087fc9c1c3f9ae433/content.htm
    I like to know if IDoc's can also be exposed as a Webservice..? If Yes, How.
    Cheers,
    Siva Maranani.
    Message was edited by: siva  maranani

    Hi siva,
    Have you achieved this thing?
    Have you succeeded to expose IDoc as webservice?
    If yes then how you have done it?
    Thanks in Advance,
    Bhavik

  • Exposing IDoc as Webservice

    Hello Everybody,
    I want to find the way how can i expose the IDoc as webservice.
    First of all is it possible? If yes then how can we achieve this?
    Thanks In advance,
    Bhavik

    Hi Bhavik,
       There is a basic difference between web service and IDOC. Web service is a call based interface, where you use request and response mechanism to call a functionality, these are mostly synchronous. IDOC is document based interface, these are mostly assynchronous.
       Coming to your problem, since you want to use IDOC's you can not expect to get a response synchronously(Processing of IDOC depends on partner profile) and I am quite sure you are talking about an inbound scenario because for outbound scenario you will consume web service rather than exposing web service.
       If my assumption is correct then from WAS 6.20 onwards you can use FM IDOC_PROCESS_ASYNCHRONOUS (I can't recall the exact name of the FM but it sounds like this) and create a WSDL for this using BSP application 'WEBSERVICEBROWSER'.
    Regards,
    Sanjeev

  • Idoc to Webservice to Idoc scenario- is this possible without BPM?

    Hi guys
    We have a scenario where we need to send an IDoc to webservice and get the response back into another IDoc.
    Questions:
    1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge).
    2. Is there a Async to Sync bridge in BPM?
    3. How do I use this bridge in my scenario and customize it?
    Appreciate your quick response
    Regards
    Satya

    Hi Satya,
    >>1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge?
    You need BPM
    2. Is there a Async to Sync bridge in BPM?
    You dont need a "bridge", just take a synchronous send step
    3. How do I use this bridge in my scenario and customize it?
    Map the IDoc to request container and the response container to the second IDoc.
    Your need 4 container, receive step, transformation, send step (synchronous), transformation, send step (asyncronous)
    Regards,
    Udo

  • IDoc to webservice and get the response back into another IDoc.

    Hi guys
    We have a scenario where we need to send an IDoc to webservice and get the response back into another IDoc.
    Questions:
    1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge).
    2. Is there a Async to Sync bridge in BPM?
    3. How do I use this bridge in my scenario and customize it?
    4. If not possible, provide me the related docs using BPM for the same scenario.
    Appreciate your quick response
    Regards
    Naidu

    Hi,
    this link may help u............,
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1134. [original link is broken] [original link is broken] [original link is broken]
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403. [original link is broken] [original link is broken] [original link is broken]
    Regards,
    Azeez khan.

  • Idoc to Webservice using BPM

    Hi
    I am using the BPM for the IDOC to Webservice Synchronous Scenarion...
    When i trigger the IDOC from SAP it stuck in the Queue ...when i checked in the SXMB_MONI and when i clicked in PE it taking me to the INbound Queue ..
    When i opened the Queue its showing the SYSFAIL ..and when i double click on that its shoes me Permanent ERRor in BPE Inbound Processing..
    In BPM i used the Receive and Send Synchronous and Send Asynch steps ..
    Did i miss Any thing
    SV

    HI,
    I think for IDOC to Webservice you are going for Async to Sync bridge with BPM and have the similar steps as mentioned in below link.
    Asyn - Synch BPM - Async/Sync Communication using JMS adapter without BPM (SP 19)
    If there is some other flow plz let me know. Also let me know the exact error that you are facing with it.
    Thanks
    Swarup

  • IDOC to Webservice to Email - Async to Sync Scenario

    Dear Experts,
    I have a scenario: IDOC to Webservice (Async to Sync)
    The response from the webservice needs to be sent via email. So I have a Email channel added to the Business service (ECC).
    I tried this with BPM, but it does not work complaining about multiple receivers in a sync receiver interface.
    Anyone has done similar to the above?
    1. Using BPM?
    2. Without BPM?
    Thank you.

    Thank you for the reply. This is what I have:
    Repository:
    1. Async ABS Interface for webservice request message
    2. Sync ABS interface with webservice request message and response message
    3. Async ABS interface for the reposnse message
    5. Async IB interface for hte email message
    4. Message mapping between IDOC and webservice request message
    5. Message mapping between webservice response message and email message
    6. 2 Interface mappings with the above mapping objects
    7. Integration Process BPM with Receive step (Async w/s req), Sync send step (w/s req and respp) and Async send step (w/s response)
    Directory:
    1. Receiver agreement with BPM as sender and Webservice as receiver with SOAP receiver channel
    2. Receiver agreement with BPM as sender and ECC as receiver with email receiver adapter
    3. Interface determination for request mapping
    4. Interface detrmination for response mapping
    5. Receiver determination with ECC as sender and BPM as receiver
    6. Receiver determaination with BPM as sender and Webservice as receiver
    7. Receiver determination with Webservice as sender and ECC as receiver
    is the above sufficient and right?
    Thank you.

  • Idoc o webservice

    Hi
    I have a scenario where i have to map Idoc to webservice and webservice response to another idoc ..
    is this possible ..
    Sv

    Hi sv
    check this links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    Testing XI exposed Web-Services
    Testing XI exposed Web-Services
    Invoke Webservices using SAPXI
    Invoke Webservices using SAPXI
    http://help.sap.com/saphelp_nw04/helpdata/en/cd/d988966a2211d3805400c04f99fbf0/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10c73036-f019-2b10-20bc-f15a25be9588
    regards
    srinivas

  • IDOC to Webservice

    HI
    I am doing IDOC to Webservice Synchronous scenario using the BPM.. when i execute the scenario
      i am getting error : SOAP: call failed: java.net.UnknownHostException:
    In the receiver SOAP Communication Channel i dont have the SOAP Action.. is this mandatory
      to fill the SOAP Action in the Receiver SOAP Communication Channel...
    S V

    Hi SV,
    In ur altova XML spy ..open the WSDL, find out what is your
    <soap:address location="
    http://sapapp02.xxx.xxx.xxx.com:8002/XISOAPAdapter/MessageServlet?channel=:
    xxx:CC_xxxy (this is just example soap address in WSDL)
    u copy the SOAP address location from ur WSDL
    ( http://sapapp02....xxxy)
    and paste in SOAP Comm. Channel connection parameters.
    Check it again.
    I think the SOAP URL which u use in Altova xml spy and SOAP CC is different.
    Plz try and let me know the response.
    Thanks
    Prabaharan
    Edited by: Prabaharan on Aug 13, 2008 12:39 AM
    Edited by: Prabaharan on Aug 13, 2008 12:50 AM

  • IDOC-XI-Webservice-XI-FIle

    Hi,
    I am doing IDOC-XI-Webservice-XI-FIle,
    I am using Asyn-synch bridge.
    While I am creating Synch_ABS ( IDOC & File ) it is showing that u cannot create interface with IDOC & non IDOC,
    How should i proceed the scdenario.
    Regards,
    Jayasimha Jangam

    Hey,
        Create a request structure for webservice
        Create a response structure for webservice.
        Create a Structure for file.
         Map the idoc with the webservice request structure.
         Map the webservice response structure with the file structure.
       Abstract asynchronous interface:- Idoc
       Abstract synchronous interface
                   Request:- request webservice
                   Response:- response webservice
    Abstract asynchronous interface:- file
      BPM design
    Receive step:- abstract asynchronous interface
    Transformation step:- mapping between Idoc and webservice request
    Send step:- abstract synchronous interface
    Transformation step:- mapping between Webservice response and file
    Send step:- abstract asynchronousp:- file
    regards,
         Milan

  • SAP(IDOC) ---PI---webservice

    Hi
    Is it possible or not to send IDOC to webservice via PI ?
    I need a necessary things and steps to setup in PI (BPM etc) to send the IDOC from SAP to Webservice via PI
    thanks
    manian

    Hi,
    Yes You can send the Idoc to Webservice Very Well through XI
    If you want Response back to SAP means we need to configure BPM else no need of any BPM
    ALE Settings
    Steps
    SAP XI
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (IDX1)
    a) Select create new button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Load Meta Data for IDOC (IDX2)
    a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1.
    SAP R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    In SLD u2013 System Landscape Directory
    TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
    Ts for Third Party (Logical system):-
    BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
    BS for Third Party (Logical system):-Enter the XI logical system name.
    In Transaction SALE
    Define and Assign the logical system name.
    IR
    1)Import the Idoc in IR for Sender Side Structure and use this Idoc itself as DT MT and MI. No need to create
    2) Import the wsdl file given from the webservice team
    3) create MI for this webservice
    4) create Mappping and interface mapping
    ID
    1)No need to create any Sender CC for Idoc, why because Idoc Sits on ABAP Stack and can directly interact with the IS
    2) Create Receiver SOAP CC
    3) Create Receiver Determination and Interface Det
    4) Create Receiver agreement
    5) no need of Sender agreement
    REgards
    Seshagiri
    Edited by: N V Seshagiri on Aug 12, 2008 7:01 AM

  • 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

  • IDOC To WebService Asynchronous

    Hi Sap All.
    i have got an issue in an IDOC to Webservice Asynchronous.
    the Issue is the IDOC has got 10 fields which should be mapped with 10 fields in webservice(XSD) structure but then after mapping to the webservice structure of 10 fields ,all the 10 fields in the reciever webservice should be converted into a single long string which should be passed to reciever via an SOAP reciever channel.
    the reason y  pi need to convert all 10 fields of reciever webservice structure to a single long string is :
    i have got a target url as http://trsdevapp1:9080/xxwww/services/ServiceHandler/wsdl/ServiceHandler.wsdl which pi need to send the data to,but when i type this url in my soap test tool it has given me the structure with only one long string where pi need to send the data to.
    can any body help me in doing this .
    regards.
    Varma

    Hi Varma,
    The XSD hwta you have it has 10 fileds and you have done mapping accordingly,that is the reason you getting data with 10 fileds.
    If you want to append to onse sttring then get XSD for only new structure , like how you want to append ,like you want to genarate one string ??
    check out this blog
    /people/jyothi.anagani/blog/2010/06/17/convert-the-input-xml-to-string-in-pi-71-using-standard-graphical-mapping
    Regards,
    Raj

  • IDoc to WebService szenario

    Hello together,
    I don't find any useful posts for a IDoc to WebService szenario inclusive async-sync-bridge.
    Is there no step-by-step blog for such a scenario?
    Thx
    manuku

    Hi Manuku
    You could have a look at the following blog: /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    It is RFC -> XI -> WebService scenario, but it should be fairly easy to change the RFC part with IDOC.
    Best regards,
    Chris

  • IDOC to Webservice (Async/Sync scenario)

    Hi Experts,
    Can you please help me out need to design an SEnario
    IDOc to webservices useing SOAP. to External WEbservice,
    I need some step to design.and Need to validate VEndor Number in that. in External webservice.
    Reg's
    Raj

    hi raj,
    u can use asynch/synch bridge in bpm for synch idoc-xi-soap.
    for bpm refer:
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    for soap adapter refer;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    for idoc refer:
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi - ALE settings for R3-XI
    u can refer all these links and complete ur scenario.
    [reward if helpful]
    regards,
    latika.

Maybe you are looking for