Skip to Content
In RFC -> XI -> WebService – A Complete Walkthrough (Part 1) of this weblog we looked at Design in the Integration builder. Now let us continue on to the configuration and the testing of the end to end scenario. Configuration : Assumption : 1. We have a Business system or a Business service ready to use. 2. The Sender agreement, Receiver agreement , Receiver determination and interface deterimination steps will be done by the reader. There are two adapters we need to configure for this scenario, a RFC sender adapter and a SOAP receiver adapter. For configuring your RFC sender adapter refer this The specified item was not found. which gives you a detailed step by step procedure. The SOAP receiver adapter needs to be configured as follows: image We need to specify the following; 1. Target Url : http://webservices.imacination.com/distance/Distance.jws 2. Configure Proxy : If your network has a proxy setup you need to provide the detaisl of the same. 3. Configure proxy User Authentication : to be specified in case. 4. SOAP Action : Provide getDistance since that is the operation the webservice will use in our case. Once all of the configuration is done and the objects are activated, we proceed to the testing part of the scenario. Testing : I have written a small ABAP code for test purpose. Once this program is executed we get the reply from the Webservice. image A screenshot of SXMB_MONI shows the request and response XML: image Request : image Response : image and thus this brings us to the end of a successful implementation of a RFC -> XI-> Webservice scenario. 🙂 Note: Please feel free to discuss, comment and get back in case of queries regarding the weblog here or in the Process Integration (PI) & SOA Middleware
To report this post you need to login first.

11 Comments

You must be Logged on to comment or reply to a post.

  1. pkumar reddy
    During the migration process problems have been reported for this blog. The blog content may look corrupt due to not supported HTML code on this platform. Please adjust the blog content manually before moving it to an official community.
    (0) 
  2. sriram raju
    Thanks Shabrish,Your scenario is real help full for me rfc xi webservices,i am tring to work on a scenario file to webservice and the response has to go back to rfc,in my work i have to work on this scenario,i have been tring to work using bpm rec step synshronus step, send step, & i have functional module to get the webservice response,i am unable to call the webservice,if u have worked on a similar it would be great if u can keep weblog or can  u plz guide me how to work.

    Thanks
    sriram

    (0) 
  3. sriram raju
    Thanks Shabrish,Your scenario is real help full for me rfc xi webservices,i am tring to work on a scenario file to webservice and the response has to go back to rfc,in my work i have to work on this scenario,i have been tring to work using bpm rec step synshronus step, send step, & i have functional module to get the webservice response,i am unable to call the webservice,if u have worked on a similar it would be great if u can keep weblog or can  u plz guide me how to work.

    Thanks
    sriram

    (0) 
  4. VenkataNarayana Vagu
    when I am running RFC from R/3 system.It is giving the error like “CALL_FUNCTION_REMOTE_ERROR”.

    What actually I done is I created the RFC in one R/3 system and I created the scenario in my XI system.when I run the RFC from R/3 system.it is giving the above error.

    I mistake I done.can you guide me

    (0) 
    1. Saras Jain
      Hi,
      I have done the same thing and facing the same problem getting error as CALL_FUNCTION_REMOTE_ERROR”.

      if anybody found the solution for this problem then please help me.

      Regards,

      (0) 
  5. Rohit Goel
    can i use Client abap proxy in place of RFC.
    can u please make me understand client proxy to web service scenario.
    (0) 
    1. Ming Fei Pua
      Hi Shabarish,

      I have succesfully implemented the scenario above and almost vomit blood on trying to make it working.

      There is a mistake in your step there..the target url of the webservices should be:-

      http://webservices.imacination.com/distance/Distance.jws?wsdl  which is pointing to the actual wsdl file

      and not

      http://webservices.imacination.com/distance/Distance.jws as you mentioned in your blog.

      Anyway, thanks for the great blog for everyone! 🙂

      (0) 
  6. hussaan Me

    Hi,<br/><br/>Your blog is really helpful but when i did it i am getting this error. I searched in sdn and other posts but i am not getting solution Can you help me………..my url is fine, i also add module for text/plain etc. i do not know where is problem, i started thread on forum but no fruitfull results<br/><br/>  <SAP:Category>XIAdapterFramework</SAP:Category> <br/>  <SAP:Code area=”MESSAGE”>GENERAL</SAP:Code> <br/>  <SAP:P1 /> <br/>  <SAP:P2 /> <br/>  <SAP:P3 /> <br/>  <SAP:P4 /> <br/>  <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request</SAP:AdditionalText> <br/>  <SAP:ApplicationFaultMessage namespace=”” /> <br/>  <SAP:Stack /> <br/>  <SAP:Retry>M</SAP:Retry> <br/><br/>regards<br/>hussaan

    (0) 

Leave a Reply