RFC Vs Webservice

In R/3 if a Function Module needs to be available for the other Applications then I am declaring that as an Remote Enabled Function and then it becomes accessible from the Remote Applications.
How can I convert this Function Module in R/3 as an Web Service?
How does an RFC and an Web Service Different from each other?
What are all the advantages over each other?
Thanks.

Hi Rohini,
If you're on WAS 6.20 and up, you can expose an RFC as a webservice directly from WAS.
Or if you’re on Basis layer 4.6D, you'll need to use XI (or some other integration tool) to expose the RFC as a webservice.
To do this in XI you'll need to:
Integration Repository
1) Import the RFC
2) Define a message and datatype for the SOAP interface
3) Create inbound and outbound interfaces
4) Create maps between the RFC and SOAP messages
5) Create an interface map
Integration Directory
1) Create an RFC Receiver Channel
2) Create a SOAP Sender Channel
3) Generate the WSDL (Tools->Define Web Service)
You can then handoff the WSDL and a login username and password to your developer and they will have everything they need to make the WS call.
Here are answers to a few doubts u might have:
1) Do I need to actually create a WS that calls the RFC ? Isn’t the virtual interface exposed by the XI sufficient?
Yes, you need to create a WS in XI that calls the RFC.
2) If I really have to create the WS and deploy it in order to expose it with the XI, then what is my benefit of exposing it with the XI, why not just exposing it as a normal WS ?
You don't have WAS 6.20 or up. Even if you did, you may still want to expose it using XI in order to have all of your integration go through the same application.
3) If I expose my web service through the XI, how does the client application executes one of its methods? To which url does it have to access (the XI or the actual WS)?
You expose a SOAP interface in XI by generating a WSDL file. This file contains all of the information a developer will need to call the webservice including the URL.
You actually specify the URL when you generate the WSDL. Be sure to read the documentation to get the correct format because the URL that the wizard suggests isn't correct.
Regards,
Abhy

Similar Messages

  • RFC - XI - Webservice

    I am working on a RFC -> XI -> Webservice.
    I have found an follow
      <?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>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_WS_TEST_REQ_</SAP:P1>
      <SAP:P2>java.lang.NullPointerException</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_MM_WS_TEST_REQ_:</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    <Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>
      <Trace level="2" type="T">Mode 0</Trace>
      <Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_MM_WS_TEST_REQ_.</Trace>
      <Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._MM_WS_TEST_REQ_</Trace>
      <Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_MM_WS_TEST_REQ_</Trace>
      <Trace level="1" type="T">java.lang.NullPointerException at com.sap.aii.mappingtool.tf3.AMappingProgram.exceptionCaught$(AMappingProgram.java:59) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException(Transformer.java:182) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:149) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor230.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy191.processFunction(Unknown Source) at sun.reflect.GeneratedMethodAccessor673.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:219) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:169) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156) at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7701) at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2376) at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1700) at com.sap.mw.jco.JCO$Server.listen(JCO.java:8061) at com.sap.mw.jco.JCO$Server.work(JCO.java:8181) at com.sap.mw.jco.JCO$Server.loop(JCO.java:8128) at com.sap.mw.jco.JCO$Server.run(JCO.java:8044) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:124)</Trace>
      <Trace level="1" type="T">Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_WS_TEST_REQ_: java.lang.NullPointerException; null</Trace>
      <Trace level="1" type="T">com.sap.aii.ibrun.server.mapping.MappingRuntimeException: Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_WS_TEST_REQ_: java.lang.NullPointerException; null at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:73) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor230.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy191.processFunction(Unknown Source) at sun.reflect.GeneratedMethodAccessor673.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:219) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:169) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156) at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7701) at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2376) at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1700) at com.sap.mw.jco.JCO$Server.listen(JCO.java:8061) at com.sap.mw.jco.JCO$Server.work(JCO.java:8181) at com.sap.mw.jco.JCO$Server.loop(JCO.java:8128) at com.sap.mw.jco.JCO$Server.run(JCO.java:8044) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:124) Root Cause: java.lang.NullPointerException at com.sap.aii.mappingtool.tf3.AMappingProgram.exceptionCaught$(AMappingProgram.java:59) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException(Transformer.java:182) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:149) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor230.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy191.processFunction(Unknown Source) at sun.reflect.GeneratedMethodAccessor673.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:219) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:169) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156) at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7701) at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2376) at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1700) at com.sap.mw.jco.JCO$Server.listen(JCO.java:8061) at com.sap.mw.jco.JCO$Server.work(JCO.java:8181) at com.sap.mw.jco.JCO$Server.loop(JCO.java:8128) at com.sap.mw.jco.JCO$Server.run(JCO.java:8044) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:124)</Trace>
      <Trace level="1" type="E">CL_XMS_PLSRV_MAPPING~ENTER_PLSRV</Trace>
      </Trace>
    Thanks a lot
    Any help will be appreciated
    Message was edited by:
            Chang Hwa Chung

    Hi,
    The error message states you are using a java mapping. Have you testd the mapping?
    You can use these blogs for this,
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    /people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
    Regards,
    Bhavesh

  • RFC-XI-WEBSERVICE = ABAP DUMP ERROR(V.URGENT)

    Hi Experts,
    I am trying to create a RFC-XI-Webservice scenarion in which i have made a function module giving the parameters which needs to be displayed in my webservice . I call this function module in a report zlv_distance.
    .I am getting a dump while executing my Function module . I am copying the dump as under:-
    Runtime Errors         CALL_FUNCTION_REMOTE_ERROR
    Date and Time          11.10.2007 10:23:56
    What happened?
         Error in ABAP application program.
         The current ABAP program "Z_WEBSERVICE_TEST_SARAS=======FT" had to be
          terminated because one of 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.
    Error analysis
         An error occurred when executing a REMOTE FUNCTION CALL.
         It was logged under the name "RFC_EXTERNAL_ABORT"
         on the called page.
    Trigger Location of Runtime Error
         Program                                 Z_WEBSERVICE_TEST_SARAS=======FT
         Include                                 Z_WEBSERVICE_TEST_SARAS=======FT
         Row                                     68
         Module type                             (FORM)
         Module Name                             FUNCTION_CALL
    Source Code Extract
    Line  SourceCde
       38 DATA: %_VDISTANCE TYPE CHAR10.
       39 FORM EXISTENCE_CHECK CHANGING VARIA.
       40   VARIA = 1.
       41 ENDFORM.
       42 FORM FUNCTION_CALL.
       43   CLEAR %_ODISTANCE.
       44 *  TRANSAKTION = 'Repo', PROGRAM = REPORT
       45   IF ATRA = '1'.
       46     SET RUN TIME ANALYZER ON %_INTERNAL.
       47   ENDIF.
       48 IF DESTI IS INITIAL.
       49 IF DEBUG = '1'. BREAK-POINT AT NEXT APPLICATION STATEMENT.
       50 ENDIF.
       51 DEBUG = SPACE.
    52 GET RUN TIME FIELD TIME1.
    53 CALL FUNCTION 'Z_WEBSERVICE_TEST_SARAS'
    54 EXPORTING
    55 FROMZIP = %_IFROMZIP
    56 TOZIP = %_ITOZIP
    57 IMPORTING
    58 DISTANCE = %_ODISTANCE.
    59   IF ATRA = '1'.
    60     SET RUN TIME ANALYZER OFF %_INTERNAL.
    61   ENDIF.
    62 ELSE.
    63 GET RUN TIME FIELD TIME1.
    64 *  TRANSAKTION = 'Repo', PROGRAM = REPORT
    65   IF ATRA = '1'.
    66     SET RUN TIME ANALYZER ON %_INTERNAL.
    67   ENDIF.
    >> CALL FUNCTION 'Z_WEBSERVICE_TEST_SARAS' DESTINATION DESTI
    69 EXPORTING
    70 FROMZIP = %_IFROMZIP
    71 TOZIP = %_ITOZIP
    72 IMPORTING
    73 DISTANCE = %_ODISTANCE.
    74   IF ATRA = '1'.
    75     SET RUN TIME ANALYZER OFF %_INTERNAL.
    76   ENDIF.
    77   ENDIF.
    78   GET RUN TIME FIELD TIME2.
    79   RC = SY-SUBRC.
    80   CLEAR EXCEPTIONS.
    81   READ TABLE EXCEPTIONS INDEX RC.
    82   IF SY-SUBRC = 0.
    83   OEXCEPTION = EXCEPTIONS-NAME.
    84   ELSE.
    85   OEXCEPTION = RESULTAT.
    86   ENDIF.
    87   TIME1 = TIME2 - TIME1.
    I have made my function module Remote enabled.
    My RFC destination is working fine .
    I have already tested that.
    Please help me on this.
    Regards
    Saras Jain

    Hi,
    possible solution could be a ConversionException in you RFC Adapter because of mismatching data types in your source and receiver message.
    Just goto RWB an monitor the Processing Details for Cluster Node Server of your adapter in the Channel Monitoring.
    Afterwards you have to adjust your importing or exporting structure of the used RFC function module.
    Cheers,
    André

  • RFC to WebService Scenario  doubt

    Hi,
           I'm passing  parameters from R/3 system  RFC.. and  based on that selection criteria  the data will fetch from the  Remote Application.. and  send it to R/3.. finally my RFC will load these data into  R/3 system. this is my Scenario( that means.. RFC to WEBSERVICE)  so, in the reciever side i should use the SOAP adapter..
         but for these type of scenarios..  is  WSDL file is   mandatory or.. with out WSDL file also can we do the  scenario.. and  if this is mandatory means..  how we will get the WSDL file... 
            because  according to my reqirement i know only the sender system (R/3) and Receiver system(Remote Application) details..  I dont know any thing about  other details..
    please  suggest me what are the things are needed.. so, that i will get from my client..
    Regards
    Jain

    Hi,
    WSDL contains the message /data structure for you input and output.
    If you know the Web Services input /output data , you can create it manually or if you have WSDL, you can directly import in IR and all the request/response message would be generated automatically.
    To call a Web Service, only URL is required.
    You can ask your client to provide the WSDL file.
    Regards,
    Piyush

  • 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

  • Project with RFC to WebService..

    Requirement : Solutions for RFC to WebService..
    Data Flow :
    1. RFC call to WebService
    2. WebService will serach concern record and will reply back to RFC
    <RFC> <Synch Outbound Interface> <RFC Adapter> <PI 7.1> <SOAP Adapter> <Synch Inbound Interface> <WebService>
    Suggest me complete roadmap for the scenario, as i m bit confused to use wether workout on java function for searching concern record from multiple webservices or anything else is possible.
    Thanks and Regards,

    /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
    those are based on PI 7.0 but that is quite similar to what you will do in 7.1
    Are you looking for something other than that?

  • RFC- XI- WebService messages not showing up in Monitor

    Have a working RFC->XI->WebService synchronous scenario working but for some reason I cannot see any of the messages in the monitor(SXMB_MONI). I can see them in the runtime workbench.
    It does show the messages when there's a failure however. But when it works fine, you only see in the RWB.
    Any particular reason this can occur??

    that's whats getting me... there is no problem when there's no message and there is a problem when there is.. let me give an example..
    before I had this working, i had the wrong URL for the web service... when i ran the scenario i saw entries in the monitor..
    after i fixed the URL and re-ran the scenario, it successfully invoked the WS and returned a value to the RFC.. however, there was no record of this in SXMB_MONI at all... you did see it in the RWB..

  • RFC - XI - WEBSERVICES scenario - Where to create RFC Destination

    Hi  Experts
    For my RFC - XI - WEBSERVICES scenario, I have to create one TCP/IP RFC destination on R/3 system with the following details
    RFC Destination Name    : XXXX
    Connection Type            : T (TCP/IP)
    Activation Type              : u201CRegistered Server Programu201D
    Program ID                      : YYYY
    Gateway Host                : R/3 Details ..??
    Gateway Service           : R/3 Details ..??
    My Function Module (Remote-Enabled) - u201CZZZZu201D is defined in R/3 System.
    This Function Module should be communicated with the target system i.e. NW XI system 
    As per the Note from SAP Help: To be able to communicate using RFC, you need to define the target systems as RFC destinations in the sending system(R/3)
    Target system u2013 XI Server
    Sending system u2013 R/3 System
    Are my details provided are good enough as per my explanation? Please guide me in this regard.
    QUESTION : Where exactly do I need to create the RFC Destination(SM59)? on R/3 side or on XI side?

    Refer the following link-
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414700)ID1636235450DB01012070359836134304End?blog=/pub/wlg/1438
    what are the inputs should be given to Gateway Host and Gateway Service while creating RFC Destination??
    Open transaction SMGW on the R/3 system and choose
    Goto -> Parameters -> Display. Beneath Attributes there will be the
    entries 'gateway hostname' and 'gateway service'.#

  • How to create or simulate a WEB service? Scenario RFC to WEBService.

    Hello PI experts,
    I'm creating an interface with this scenario: RFC->PI->WEBService, the message is synchronous. The problem is that we don't have nothing at the webservice yet, I just want to know if have a way to create or simulate a webservice to test my interface? If someone have some material or information please it will be very helpfull.
    Thanks

    Create two scenarios.
    1) Using SOAP sender you can create a web service.  So create a simple scenario using soap sender and  use some receiver like jdbc or file or something for your test.  Create WSDL using sender agreeement and save the wsdl.
    2) create RFC to SOAP scenario. In the receiver side use the WSDL as external definition for the receiver mesg structure. Configure SOAP receiver to point  the soap service created using soap sender in the step 1.
    Basically you need to know SOAP sender for the step 1 and Soap receiver for the step 2 configuration and design.
    Refer these links
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
    http://www.riyaz.net/blog/xipi-a-guide-to-using-sap-xi-soap-adapter/technology/sap/113/

  • RFC - XI - WebService, scenario error in RFC Test

    Hi
    I am following this scenario
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    and did sender RFC Adapter configuration according to michal's weblog  
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    when I did RFC connection test it gives me the following error
    http://www.flickr.com/photo_zoom.gne?id=1202592205&size=o
    <b>Connetion test:</b>
    Connection type: TCP/IP connection
    Connection error: Program sdnweblogs not registered/ CPI- C error CM_ALLOCATE_FAILURE_RETRY
    Can you pls let me know what is this error , how to solve this ?
    Thanks
    srinivas

    > The Program name which you have defined in the TCP/IP
    > Connection needs to be registered in the J2EE Visual
    > Admin. until you do that this will not work.
    This is not needed at all.
    Your RFC adapter and the TCP IP Connection should use the same Program ID. No need for registering it in the VA.
    Just make sure that the Gateway Host and Service in the Sender RFC adapter and in the TCP IP Connection use the Gateway Host and service of the R3 system.
    Regards
    Bhavesh

  • RFC to WebService Receiver Determination Problem

    Hi,
      I am doing RFC to WebService with the help of this weblog
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2  In  Interface Determination - when picking  Inbound interface is coming as No objects found.
      How to resolve it?
    regards,
    Ansar.

    Ansar,
             In RFC to Web service the inbound interface should be the WSDL.
    Did you import WSDL under 'External Definations'.
    After importing you need to create a inbound message interface of the Message within the WSDL that you need to use.
    Regards,
    Ashish
    Message was edited by:
            Ashish Goyal

  • RFC as Webservice

    Hi Experts,
    I have defined the RFC as webservice in ECC 6.0 as below
    se37-->utilities-->more utilities-->create webservice
    please suggest how can call this webservice from a intranet application(java).
    Thanks in advance.
    MK

    Hi,
    Go to TCode wsconfig
    Click on u201CDisplayu201D button
    Click on u201CICF Detailsu201D button [For webservice details]
    Go to transaction code wsadmin
    Select the wsd for which the wsdl has to be generated
    Make sure the administrative settings has been configured 
    GOTO--> Administration setting
    Give URL of J2EE Server
    Click on Generate
    Here select Style
    Execute ur web service it will give
    WSDL:
    http://yhsapx09.yashsap.com:8003/sap/bc/srt/rfc/sap/Z_ESA_GETCARRIERS_WSD?sap-client=100&wsdl=1.1

  • Difference between RFC and Webservices.........??

    Hi
    <b>What is the difference between RFC and webServices... Like webServices these RFC also i can use in any language rite?? Then what is main difference</b>
    Can any one tell me which perfomance is good.. either webService or RFC...? and why??
    While creating webService in R/3 its asking the following details can any one explain those
    <b>
    Virtual Interface</b>
    <b>End PointType</b> : what is the end point type. please explain about the different options available...(Business Object, Funtion Group, Function Module, XI Message Interface)
    On next Screen
    <b>
    Application</b> -- ex FI-AR
    <b>Business Object</b> -- ex KNR
    Next Screen
    <b>Porfile</b>
    >>> Basci Authorization:SOAP Pro
    >>> Secure SOAP Profile
    Best Regards
    Ravi Shankar B
    Message was edited by:
            RaviShankar B
    Message was edited by:
            RaviShankar B

    Hi Ravi,
    Jin has correctly explained.
    Only two connectors are provided from SAP
    JCO- for connecting java applications
    >.Net connectors - for connecting >net applications
    And SAP has provided these connectors bcoz these the two most popular technologies or framefork these days which are very common.
    But In my previous examples , I try to explain the concepts only by giving .net as example.
    Now for making you clear, No SAP connector is available for C++ for accessing RFC but C++ can access web services using XML and SOAP
    Again Note these points.
    RFC is SAP specific.
    Used For----->
    SAP applications- SAP applications
    SAP Appl - Java Applications(Using JCO)
    SAP Applications->Net Applications( using >NEt connectorprovided by SAP)
    Web Service is open standard
    Any Platform/Any Language to Any Platform/Language( which can understand SOAp and XML).
    For Web Service Detail--
    Refer to this link
    Re: What is meant by Webservice
    Regards,
    Piyush

  • Rfc Or webService

    Hi,
    what have the best performance rfc or Webservice ?
    or it defndes of the use ?
    Regards

    Hi Experts,
    i ask it differently,
    what is the advantage and disadvantage of  Rfc vs. Webservice.
    Regards

  • How to test XI- Reciever connection from RWB. (RFC-XI-WebService)

    Hi Experts
    I have built the RFC to XI to Web Services scenario. My RFC destination is yet to be created. But I wanted to test "XI to Web Services" part in the Run time Work Bench.
    As per my scenario design I have to send 1. First Name and 2. Last Name as pay load and the webservice will accept the two parameters, concatenate the two strings and send "Full Name" to XI.
    Kindly provide me the steps to test the Webservice part in my scenario from RWB.
    Regards
    Ram

    Hi,
    1. With the below provided steps you can monitor up to IE
    Open Message/ Interface Mapping > Enter the details (First, Last Name)> Change the view to get the source code...just click SRC button--> Copy the entire payload --> RWB: Component Monitoring --> Integration Engine > Test Message> Enter Details --> Send.
    2. If you want to see target then ask your web service team to provide target web service URL and details
    Rgds,
    MFH

  • RFC and Webservice which one i should use and why?

    Hi,
      I have to write a extractor program in BI which would be fetching a huge data from CRM.
      I have two options to achieve this targer.
               1-> Create a RFC which will give me all the data
               2-> Create a Webservice in CRM and use it in BI
    Please advice me , which way i should go and advantage of that way.
    Regards
    PG

    Hi,
    If amount of data is huge then it is recomnded to use RFC because of its speed and reliability. Webservice not yet proven good for extracting and handling very large chunk of data.
    Regards,
    Gourav Khare

Maybe you are looking for

  • Performance Issue when setting connection information

    I am writing a Winforms application using VB.NET I have developed a method that sets the Crystal Reports Connection. This method first grabs the connection string from the config file creates a Crystal Reports ConnectionInfo object. The following cod

  • Qla2310f not shown in cfgadm/luxadm (san 4.4.11)

    I have a problem, with two qlogic qla2310f HBA�s (not sun branded) that are not detected in luxadm/cfgadm. The box is a SUN Fire 280R running solaris 8: SunOS [hostname] 5.8 Generic_117350-27 sun4u sparc SUNW,Sun-Fire-280R Originally it was connected

  • Experiences around the nCo 3.0 RfcDestinationManager

    Hello everyone, I'm very interested in your application architecture around the .NET connector 3.0. For example I just don't manage to be friends with the RfcDestinationManager Example 1: Okay so there's this MAX_POOL_SIZE and POOL_SIZE setting. Acco

  • User dictionary

    Why is it my spell checker reverts to US English every time I paste in some text from another source ? I use Australian English as my preference and cannot see why a bit of pasted text sends my spell checker back to US English. This happens even when

  • I start to download os x maverick and its stuck on "waiting".

    what should I do? tnx