SOAP - RFC - SOAP

Hi,
I want to achieve the following:
Have a sender SOAP adapter configuration with the following functionality:
Expose a web method of the form
  string Method( string request )
In other words, I want to receive a 'request' as a string using a sender SOAP adapter, call the 'Method' in the form of an RFC enabled Function module on R3 returning a string . The response I want to send back as response to the original request.
Is this possible without an elaborate integration process or will I have to do a Synchronous / Asynchronous bridge type interface ?.
Some guidelines / references will be greatly appreciated.
Thanks
Andre

Hi,
You can do it without BPM.
SOAP (sync) <-> XI <-> RFC(sync)
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
Regards
Suraj
Message was edited by: S.R.Suraj

Similar Messages

  • ERROR During call of SOAP with a SOAP- RFC- SOAP Synchronous scenario

    Hello Experts,
    I've recently created a SOAP->RFC->SOAP synchronous scenario but every time I'm invoking the SOAP via XMLSpy then i will hang and send a timeout error. Also a log in XI was generated as shown below.
    I hope you could help me on this one.
    Runtime Errors         DBIF_RSQL_SQL_ERROR
    Exception              CX_SY_OPEN_SQL_DB
    Date and Time          28.09.2010 09:31:23
    Short text
         SQL error in the database when accessing a table.
    What happened?
         The database system detected a deadlock and avoided it by rolling back
         your transaction.
    What can you do?
         If possible (and necessary), repeat the last database transaction in the
          hope that locking the object will not result in another deadlock.
         Note which actions and input led to the error.
         For further help in handling the problem, contact your SAP administrator
         You can use the ABAP dump analysis transaction ST22 to view and manage
         termination messages, in particular for long term reference.
         Note which actions and input led to the error.
         For further help in handling the problem, contact your SAP administrator
         You can use the ABAP dump analysis transaction ST22 to view and manage
         termination messages, in particular for long term reference.
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
          in
         procedure "DELETE_LUW_PACKET" "(FORM)", nor was it propagated by a RAISING
          clause.
         Since the caller of the procedure could not have anticipated that the
         exception would occur, the current program is terminated.
         The reason for the exception is:
         The database system recognized that your last operation on the database
         would have led to a deadlock.
         Therefore, your transaction was rolled back
         to avoid this.
         ORACLE always terminates any transaction that would result in deadlock.
         The other transactions involved in this potential deadlock
         are not affected by the termination.
    Regards,
    Alfred

    Normally such an error comes when the DB of SAP PI is full.
    Contact your BASIS or ADMIN team and ask them to free the DB space.
    Regards,
    Abhishek.

  • File Soap Rfc

    In my scnario file soap rfc i have used BPM.Even though the file is not picking up & its not calling webservices.Basically my requirement is i need to send a file which has to call webservice and the response has to get back to rfc.i am tring to work on this weblogs
    /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
    I am able to get response for rfc to soap,but i want to work on a scenario file-soap-rfc and the response has to come to file.
    Can any one please help me out.
    Thanks
    sriram

    Thanks moorthy for your response
    I have already configured receiver determination from file to bpm,even i  bpm after sync step i have taken asyn
    step..
    In adapter Framework
    Channelscn8_OB Sender Adapter v2727 for Party '', Service 'DEV_Integration_Server':
    Configured at 2006-05-11 10:56:36 GMT-07:00
    History:
    - 2006-05-11 11:08:37 GMT-07:00: Polling interval started. Length: 60.000 s
    - 2006-05-11 11:08:37 GMT-07:00: Processing finished successfully
    - 2006-05-11 11:08:36 GMT-07:00: Processing started
    - 2006-05-11 11:07:37 GMT-07:00: Polling interval started. Length: 60.000 s
    - 2006-05-11 11:07:37 GMT-07:00: Processing finished successfully
    But the file is not picked from directory
    But i could not see any response from soap adapter,
    Thanks
    sriram

  • RFC -- SOAP Error

    Hello Everybody!
    I am implementing a scenario wherein:
    1) Data is passed from R/3 to xi and then to a web server.
    2) From webserver the updated data is sent back to xi.
    3) A particular field is boolean checked in XI, if true the data is sent back to webserver.
    4) and then again the updated data is sent back to r/3 via xi.
    R/3 ---> XI ---> Web Server ---> XI -(If condition true)-> Web Server ---> XI ---> R/3
    R/3 ---> XI ---> Web Server ---> XI -(If condition false)-> XI ---> R/3
    I am getting a error message when i run the Synchronous) RFC function Module using a report.
    <b>The error message is:</b>
    Runtime Errors         CALL_FUNCTION_REMOTE_ERROR
    Date and Time          29.09.2006 13:07:10
    <b>ShrtText</b>
         "call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryExcepti
    <b>What happened?</b>
         Error in ABAP application program.
         The current ABAP program "Z_ALTINN_TEST" had to be terminated because one
          the
         statements could not be executed.
         This is probably due to an error in the ABAP program.
         The error occurred in an RFC call to another system.
         The target system has also written a short dump.
         Consult this short dump for more precise information about
         the cause of the error.
    <b>What can you do?</b>
         Print out the error message (using the "Print" function)
         and make a note of the actions and input that caused the
         error.
         To resolve the problem, contact your SAP system administrator.
         You can use transaction ST22 (ABAP Dump Analysis) to view and administer
          termination messages, especially those beyond their normal deletion
         date.
         is especially useful if you want to keep a particular message.
    <b>Error analysis</b>
        An error occurred when executing a REMOTE FUNCTION CALL.
        It was logged under the name "RFC_EXTERNAL_ABORT"
        on the called page.
    <b>How to correct the error</b>
        Please refer to the notes described in the
        short dump.
    <b>Internal notes</b>
        The termination occurred in the function "RfcExtendedRece
        Basis System, specifically in line 416 of the module
         "//bas/640_REL/src/krn/rfc/abrfcrcv.c#3".
        The internal operation just processed is "FUNC".
        The internal session was started at 20060929130708.
        Status of connection:
        RFC status: " "
        RFC error text: " "
        CPI-C error text: "call to messaging system failed:
         com.sap.aii.af.ra.ms.api.DeliveryException:
         XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api"
    <b>and the error message in the SXMB_MONI is :</b>
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30"
    xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: java.io.IOException: invalid
    content type for SOAP: TEXT/HTML</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Can someone help me with this.
    Regards,
    Ashish

    Hi Ashish,
    To know what to do to close the posts as pointed out by Dirk,please go through this link.....
    /people/mark.finnern/blog/2004/08/10/spread-the-love
    <b><i>Runtime Errors CALL_FUNCTION_REMOTE_ERROR</i></b>
    Check if the RFC is remote enabled..
    Please go through this link to know more about the same...
    http://help.sap.com/saphelp_nw04/helpdata/en/f9/3f69fd11a80b4e93a5c9230bafc767/content.htm
    Also just see if you have used BAPI_TRANSACTION_COMMIT.
    And finally, Try checking the userid auth. for RFC destination,if it has remotes access.
    To check the same, you just have to do a remote logon from SM59 transaction.
    <b>
    <i>"call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryExcepti</i></b>
    Try checking the userid auth for RFC destination wether it has remotes access.
    Just if you are able to do a remote logon in SM59.
    This error usually occurs when the RFC is not remote enabled so plz check that...
    Also go thru this link..
    http://help.sap.com/saphelp_nw04/helpdata/en/f9/3f69fd11a80b4e93a5c9230bafc767/content.htm
    Also go through this thread..
    "call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryExceptio
    And for mapping check the incoming payload in sxmb_moni and see whether it conforms to Design>Msgmapping>Test(source XML).
    Regards,
    Abhy

  • Payload not visible in cc monitoring for SOAP-RFC synchronous AAE scenario

    Hello consultants,
    I have a synchronous SOAP-RFC scenario over the AAE (Java only). When I test the service in WSNAVIGATOR the response message contains an error that results in the error message:
    "<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
              <context>XIAdapter</context>
              <code>ADAPTER.JAVA_EXCEPTION</code>
              <text><![CDATA[
    java.io.IOException: Parsing Error: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed." the same errror is present in communication channel monitoring for the SOAP adapter.
    The status in message monitoring however is succesful.
    Is it possible to check the payload for the response message of the RFC call. In CC monitoring I cannot access the payload, it is not there. It does not have to be in cc monitoring, anywhere would be fine.
    Since this is an AAE scenario there are no messages in SXMB_MONI.
    All tips are appreciated.
    Peter Jonker

    Hello!
    Please set the "messaging.syncMessageRemover.removeBody" parameter to "false", on the SAP XI AF Messaging Service. Use the help page below for more information.
    Properties Related to the Messaging System:
    http://help.sap.com/saphelp_nw04s/helpdata/EN/59/25ee41c334c717e10000000a155106/frameset.htm
    Best regards,
    Lucas Santos

  • SOAP service /sap/bc/soap/rfc/sap does not exist

    Hi!
    I implement ABAP-Proxy to SOAP scenario.
    For the receiver communication channel (SOAP Adapter) I need to put target-URL
    http://<server>:8000/sap/bc/soap/rfc/sap/BAPI_MATERIAL_EXISTENCECHECK?sap-client=200.
    Unfortunately the URL cannot be displayed in brwoser.
    I also could not detect the appropriate SICF service sap/bc/soap/rfc/sap under tcode SICF.
    Can some one help me to solve this problem?
    Thank you very much!
    regards
    Holger

    Hi!
    What is the difference between the both URL's?
    http://<server>:8000/sap/bc/soap/wsdl11?services=BAPI_NAME&sap-client=200
    http://<server>:8000/sap/bc/soap/rfc/sap/BAPI_MATERIAL_EXISTENCECHECK?sap-client=200.
    Thank you!
    regards
    Holger

  • NO_MAPPINGPROGRAM_FOUND SOAP RFC Adapter

    Folks...
    Fun new problem.
    Details Are:
    --SOAP Sender Adapter to RFC Receiver Adapter
    --Synchronous Call
    --Appears to Complete all steps of the pipeline except the Response Message
    --Mappings for both Request and Response Messages have been declared.
    The error is as follows.
    If anyone can point me to a log file to debug this problem that would be great.
    <?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="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code>
      <SAP:P1>http://test.tsopetro.com SOAP_To_RFC</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Unable to determine name of mapping program</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Many Thanks,
    J-

    More Info...
    Here more info from the SOAP Message
    It appears that it begins to try to Map the Response, and just dies....
    I tried to update the cache, and I re-activated all objects to see if this cleared out the error to no avail.
    Is there some way to tell what Mapping it is looking for?
    Maybe my namespace is off...
    SAP:Name type="PLSRV">PLSRV_CALL_ADAPTER</SAP:Name>
      <SAP:Timestamp type="end" host="<servername>">20050511224747.81</SAP:Timestamp>
      </SAP:RunTimeItem>
    - <SAP:RunTimeItem>
      <SAP:Name type="PLSRV">PLSRV_MAPPING_RESPONSE</SAP:Name>
      <SAP:Timestamp type="begin" host="<servername>">20050511224747.998</SAP:Timestamp>
      </SAP:RunTimeItem>
    - <SAP:RunTimeItem>
      <SAP:Name type="CORE">INTEGRATION_ENGINE</SAP:Name>
      <SAP:Timestamp type="end" host="<servername>">20050511224748.202</SAP:Timestamp>
      </SAP:RunTimeItem>
    also I included <servername> in the message for security reasons.... This element is pointing to the right server...
    Thanks,
    J-

  • SICF - HTTP 500 Error when testing SOAP RFC Service for XML load into BW

    I am trying to load a XML file into BW w/o XI.  So there is no source system as such.  I followed the 'How to guide on loading XML to BW.  I am on BW 3.5.  I went to
    transaction SICF>default_host/sap/bc/soap/rfc
    I did a RMC and selected Test Service.  A browser window open like it is trying to connect to the BW system, but I see the HTTP 500 - Internal Server Error.
    What is causing this?  All services are appearing as Active (grayed out).  I am basically trying to put the XML file into the BW delta queue.  The BW data source have been created and ther is a green entry in RSA7.
    Thanks in advance.

    Dinesh,
    My question was more reagrding one of the steps that is not working i.e. testing for webservice.  I am aware of the datasource etc.
    Hence, still looking for help on what could be the causes of my error as described in the original message above.
    Thanks!

  • Soap-rfc-file:how to start

    hi frens,
                 I need to do a scenario in which the request will be coming from EP and the rfc response has to be posted as a file in FTP folder.this file will be an input to another system which is out of the scope of XI.This system will again post a file in FTP folder and another rfc will pick it and the response of rfc is given to EP.
    do i need a BPM for this or can i do it in any other way??If BPM required what are the steps
    thanks,
    Nisheeta

    Hi,
    While all this is happening, the webservice that sent the request would need to wait until it gets its response right?
    You wouldn't be able to achieve this without a bpm.
    However, in case, the webservice request is asynchronous(which is most probably not the case) you could go ahead with the design you suggested, since the source, need not as such, wait for a response.. and you could create a new file-rfc-soap scenario which would send back a response to a webservice, with a separate sender agreement.
    Regards,
    Smitha.

  • Soap request- XI- RFC- RFC- soap response

    Hi,
    I want to implement a scenario like this.
    A third party system use the soap adapter to call the ECC RFC via XI.
    AND I want to write the RFC response into another RFC.
    After that i want to send back another Rfc response result to soap client (third party system).
    So the scenario looks like this
    soap request->XI->RFC->RFC->soap response
    I want to use BPM,but have not too much experience.appreciate your help.
    Regards

    Hi,
    You would need a Synch Asynch Bridge in this case.
    Steps in BPM.
    1. Receive --> Receives SOAP request message --> Select Opens Synch Asynch Bridge
    2. Transfrom --> Map SOAP request to RFC 1's request Message
    3. Send Synchronous --> Make the Synch Call to the RFC and get the Response back.
    4. Transform --> Map RFC 1's response  to RFC 2's Request
    5. Send Synchronous --> Make the Synch Call to RFC 2 and get the RFC response back
    6. Trasnsform -->Map RFC 2's response to SOAP response.
    7. Send --> Select Closes Synch Asycnh Bridge and Send SOAP response back.
    For synch asynch bridge , take a look at this too,
    http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm
    Regards,
    Bhavesh

  • RFC - Soap(Webservice_1, webservice_2) multiple recevers with synchronous

    Hi Experts,
    My scenario is RFC <-> Soap(Webservice_1, webservice_2) multiple recevers with synchronouse
    I get campus_code field from RFC, when campus_code is 25 i need to call webservice_1 , when the campus_code is 35 i need to call webservice_2 as synchronouse call.
    Can you please tell me how to implement step by step in recever determination.
    Thanks
    Dhanush.
    Edited by: Dhanush on Jun 16, 2008 5:03 PM

    Hi Dhanush,
        Did you try to give a condition in the XPATH Condition editor of the receiver determination section?
    1) Click on the Condition editor button in the receiver determinatuion section.
    2) YOu will get a pop up screen.
    3) On the left hand side of the expression, give the XPATH for the CODE_ID (YOu can use the serach help button to chose your source field.
    4) Chose the relation operator as '='.
    5) On the righ hand side of the expression, GIve the constant value 35.
    Press OK.
    Chose the corresponding party and service for your weservice1.
    Do the same in next line for webservice2.
    After that, you have to define separate Interface determination and receiver agreement for webservoce1 and webservice2 scenarios.
    Regards,
    Ravi

  • RFC-SOAP (B2B)

    Hi....All,
    1) I am doing RFC-SOAP Scenario (B2B), we r getting the response from target(soap) system to XI, from XI we want to send the response to sap system inbox.. how we will send the response from xi to sap inbox.
    pls suggest me..its very urgent?
    2) for RFC-SOAP Scenario WSDL File required or not, pls suggest me...
    if anybody is having the ex scenario pls send it to me that is very great help for me..
    ****for helpful answers i will assign the points*****
    regards,
    Pasi.

    >
    > 2) for RFC-SOAP Scenario WSDL File required or not, pls suggest me...
    To create the message/data structure in IR , which you want to send it  to target system, there are two ways
    1) Manually create it
    OR
    2) Import WSDL file through External Definitions, it will automatically created.
    For communicating( in ID) no WSDLis required only URL is required to communicate with Web Services which is mentioned in WSDL file or you can ask it from client directly.
    Regards,
    Piyush

  • SOAP - RFC possible with Direct Connection?

    On our PI 7.1 system we have a RFC which we want to expose as a webservice with all the standard monitoring SAP PI provides. On PI 7.0 is used to create a configuration scenario in Integration Builder and generate a WSDL.
    I have read the document 'Configuring Web Service Scenarios', but it is not clear to me if i can create a AS JAVA 7.1 -> AS ABAP 7.1 scenario and if the 'Direct Connection'-functionality of SAP PI 7.1 offers me a solution.
    Please advise me...

    Hi,
    in PI7.1 direct connection uses WS adapter which works on WS-RM protocol.............your req is to expose RFC as web-service which do not work on WS-RM protocol and moreover you will require RFC adapter for configuration of your scenario.... So SOAP->RFC is not possible with Direct connection in PI7.1.
    Regards,
    Rajeev Gupta

  • SOAP- RFC- FTP Scenario

    Hi experts,
    Could you please show me the link which guides to create a scenario such as: request sent from SOAP client to XI server to get data from an ECC system, then the response will be sent to FTP server as file.
    Thanks in advance

    Hi,
    RFC -> XI -> WebService - A Complete Walkthrough
    RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
    RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
    SOAP-RFC-WEBSERVICE
    SOAP-RFC-WEBSERVICE

  • Rfc-soap

    Hiu2026All,
    I am trying to do RFC-SOAP scenario with out using WSDL file, is it possible or not ?
    Or I want to change the scenario.
    if posible how i will procedd pls suggest me
    thanks in advance,
    Jain.

    Hi JAIN,
         If you don't have the WSDL( containing both request and response structures), You must be having the individual request and reponse XSDs right which should be imported in your external definitions.. You can procede with them.You don't need to change the scenario.
    In the following blog you can see this and the usage of XML spy too.
    /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
    Thanks,
    Vijaya.

Maybe you are looking for

  • Hp Photosmart C7280 won't scan but will print

    Recently my scanner stop working, when I try to scan I get an error message saying the HP Device was not found.  Try the following steps......and then try again.  I tried all the steps and I can't scan anything.  The device is online, it is working,

  • No Sound on iTunes exports on Apple TV

    So I finally got to use iMovie '09 yesterday, and really enjoyed the new features. I threw together a short film featuring my baby girl, and exported it, as usual, in large, medium, and mobile to iTunes and my MobileMe gallery. So far so good.... The

  • 169.254.1.97 (MS failover Cluster Adapter) - Exchange 2010 sp3

    My exchange DAG with 2 nodes. noticing this weird IP address 169.254.1.97 (MS failover Cluster Adapter) on both nodes when I run IPCONFIG/all.  Time to time I see this address in the msg headers too.  I can ping this address from either nodes but can

  • Cube Solve Time when using MAX Aggregation Operator

    Hello, We have created a cube to implement the count distinct measure we need. The cube contains only one measure (COUNT) and uses the MAX operator to aggregate across all other dimensions except for the one we want to count (which uses the SUM opera

  • Where are Aperture Prefs in Lion

    I have always had an intermittent porblem when i try to import pictures into Aperture it will not recognize any picture to import regardless of what format they are in. The way around this is to trash the Prefs from the Preferences folder and start a