ABAP Proxy, WEB SERVICE and RFC

Hi
I have to pull the data from XI.
I have the PDFdocument of how to integrate XI with BI.
But i am not clear what is abap proxy and web service.
Could anyone let me know basic of what is abap proxy and webservice.
Is abap proxy and webservice are present in both the systems XI&BI ?
REgards
annie

Hi,
ABAP proxy is a  connection between SAP XI & BI . For all the connections need to chk  in SM59, and SICF .
proxies are a replacemet for adapters whereas webservices(WSDL) are replacements for data typesYou generate proxies from an interface description in WSDL (Web Service Description Language) by using ABAP proxy generation.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/46d6c25d-0b01-0010-06a9-8e8218753c02
The SOAP adapter enables you to exchange SOAP messages between remote clients or Web service servers and the Integration Server. Also you can use the axis framework with SOAP adapter. Check this help:
http://help.sap.com/saphelp_nw04/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/content.htm
We can Communicate between SAP System & Webservice Using Proxies. Check this weblog for some information on this:
/people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies
ABAP Proxy -> XI -> Webservice :
pls chk this links;
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
http://www.webservicex.net/WS/WSDetails.aspx?CATID=4&WSID=59
/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3022- [original link is broken] [original link is broken] [original link is broken] Activate Proxy
/people/siva.maranani/blog/2005/04/03/abap-server-proxies -ABAP Server Proxy
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Client Proxy
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
Hope this helps,
Regards
CSM Reddy

Similar Messages

  • Difference between Web Services and RFC (both Advantages & Disadvantage)

    Hi All,
    will you please explain the difference between  Web Services and RFC (both Advantages & Disadvantage)
    Thanks,
    jyothi.

    Hi,
    If you want have a communications between SAP systems within a network, we can go for an RFC.
    If you want have communication between SAP systems through a medium like internet, we can probably go for a webservice.
    Please refer the following links:
    What is the difference between RFC vs. Web service ?
    Webservice
    If you want to convert an RFC fuction module to an webservice, you can refer the following link,
    Using RFC as WebService in WebDynpro
    Hope this will help you.
    Regards,
    Jithin

  • ABAP proxy web service authentication

    Hi,
    We are trying to develop an ABAP proxy for a web service call on ECC6 (SP14).
    The web service (provided by another SAP system) uses basic authentication. The proxy has been created as has the logical endpoint/service (via SOAMANAGER). In the endpoint I have provided the credentials for authentication.
    Manually testing the proxy via SE80 works fine.
    When I try and call the proxy via a program it prompts for user id/password. If provided the call works.
    DATA: ZPROXY   type REF TO ZMY_PROXY,
              INPUT       type ZMY_PROXY_REQUEST,
              OUTPUT    type ZMY_PROXY_RESPONSE.
      TRY.
         CREATE OBJECT ZPROXY.
         CATCH CX_AI_SYSTEM_FAULT.
      ENDTRY.
      TRY.
         CALL METHOD ZPROXY->LIST_USERS
           EXPORTING
             INPUT  = INPUT
           IMPORTING
             OUTPUT = OUTPUT.
         CATCH CX_AI_SYSTEM_FAULT .
         CATCH CX_AI_APPLICATION_FAULT .
      ENDTRY.
    My expectation is that the proxy would derive the credentials from the logical endpoint.
    Am I missing something?
    Thanks in advance.

    Hi Olivier,
    Yes - the consumer system is ABAP Netweaver 7.0.
    It has SP14. The webservice provider system is running at the same level.
    The webservice provider was created using the wizard to convert an RFC enabled function module. I then used SOAMANAGER to created the provider endpoint. On the consumer side it was the same - wizard to create the proxy & then SOAMANAGER for the endpoint.
    I checked the services on the provider system & the service indicated was activated already - which was expected as the web service call itself works fine.
    /default_host/sap/bc/srt/rfc/sap/<webservice>/<client>/<method>/<binding>
    Any other suggestions?
    Thanks again,
    Tim
    Edited by: Tim Brown on Mar 10, 2009 10:58 PM

  • Abap Proxy = Web Service - Connection timeout

    Hi Experts,
    I request your help on some issue we encounter actually on our Web services interfaces.
    We have sceanario in which from SAP, we are sending a message to PI via Abap proxy.
    PI then, send the message to the external system via a Web Service (we have configured the URL and authentification values).
    When we want to test the scenario we have an issue.
    - We see in SXMB_MONI message has status sent succesfully
    - When we check the external system, we see that no message is received (no trace of message from PI).
    - Then we check on PI runtime workbench, we see in the receiver communication channel error saying "Connextion Timeout"
    (in detail: SOAP: call failed: java.net.ConnectException: Connection timed out")
    We would like to investigate the issue.
    Have you already encountered this kind of issues ? And how we could investigate the root cause here ?
    And thanks for ur help,
    S.N

    This might be due to following reasons.
    Please check whether firewall exist between Pi and external system. If so check with  network team weather port or connectivity is established between PI server and external system. This should be the main reason.  Also check the target URL and see whether you can able to consume the webservice directly from Soapui without PI.  If your workstation is within PI's landscape and you see the same timed out error, then the network connectivity is the issue.  Ask them to enable the port.

  • ABAP SE37 Web Service and x.509 certificate

    ECC 7.01 EPH 1
    I have created a Web Service from an ABAP function module. I then created a service using SOAMANAGER and have configued it and tested it using Web Navigator. This WS uses no auththentication or username/password.  It also works being consumed from a non-SAP server/application
    I want to have another non-SAP server and application use this WS. Currently the non-SAP  can consume it passing the user/password.
    I now want to have the WS consumed using x.509 certs.
    I have tried multiple methods with no success.
    On the server I have imported using STRUSTS
    Maintain the serveru2019s SSL server PSE.
    Use the trust manager (transaction STRUST) and import the issuing CAu2019s root certificate into this PSEu2019s certificate list.
    Created Web Service communication user, technical type with security roles --> zwebserviceuser
    Cretaed entries in table USREXTID using transaction SM30, view VUSREXTID
    external type = DN
    imported non-SAP server cert into external id
    user = zwebserviceuser
    activated
    Tthe ICM to request a client X.509 certificate. (check icm/HTTPS/verify_client profile parameter) was alreday configued
    I choose tha appropriate security profile for your ABAP web service --> security HIGH
    I choose in SOAMANAGER http authentication and x.509 certificate
    The NON-SAP Server/application is calling the SAP WEBservice and sends the "certificate"
    The RunTime error is
    The request failed with HTTP status 401: Unauthorized.
    Any Help would be appreciated
    thank you,
    Sarah

    Take a kind look on SAP note 495911 to analyse ABAP logon errors.
    Most likely you have forgotten to add the root certificate of the CA which has issued the SSL client certificate (of the WS consumer) to the certificate list of the SSL server PSE (of the NWAS ABAP, acting as WS provider). In that case the SSL handshake will be incomplete: the SSL client certificate will not be requested by NWAS ABAP and thus no SSL client certificate will be send by the WS consumer. That's why no credentials are there resulting in the 401 error.

  • Im am trying to set up my printer for web services and it is asking me for a proxy address

    im am trying to set up my printer for web services and it is asking me for a proxy address

    Have you downloaded and installed an App Store app that you downloaded free from some website instead of from the App Store? If so, that's a stolen app, and you need to delete it.

  • Problem testing a Proxy / Web Service

    hi everybody.
    I created a proxy / web service for an interface defined in the xi repository. i can test this service in the Enteprise Service Browser in SE80 (F8) sending a soap request and and everything works fine.
    now my intention is to call this web service from outside. I defined an endpoint using transaction SOAMANAGER and used the wsdl document for that binding (from the given link) to send a soap request using the testing tool soapUI.
    if I do not define username and password i receive: Logon Error Message. but giving the information I also receive a error:
    <soap-env:Fault>
      <faultcode>soap-env:Server</faultcode>
        <faultstring xml:lang="en">SRT: Authorization denied</faultstring>
           <detail>
              <ns:SystemFault xmlns:ns="http://www.sap.com/webas/710/
    soap/runtime/abap/fault/system/">
                   <Host>Provider</Host>
                   <Component>SECURITY</Component>
                   <ChainedException>
                      <Exception_Name>CX_SOAP_CORE</Exception_Name>
                      <Exception_Text>SRT: Authorization denied</Exception_Text>
                   </ChainedException>
                </ns:SystemFault>
         </detail>
    </soap-env:Fault>
    for the service and point I have activated http authentification and checked the box user-id/password (authentification method is sapsp:HTTPBasic)
    by the way I did not configure a J2EE host and port in the system settings of SOAMANAGER. is this a must? where and why do I need this for?
    thanks for any help!

    hi everybody.
    when calling the web service/abap proxy with an user having SAP_ALL everything works.
    for me this seems curious because before we gave me all the user roles mentioned in sap help and the tutorials:
    SAP_BC_WEBSERVICE_ADMIN
    SAP_BC_WEBSERVICE_ADMIN_BIZ
    SAP_BC_WEBSERVICE_ADMIN_TEC
    SAP_BC_WEBSERVICE_CONSUMER
    SAP_BC_WEBSERVICE_DEBUGGER
    SAP_BC_WEBSERVICE_OBSERVER
    SAP_BC_WEBSERVICE_SERVICE_USE
    which role is missing which is necessary for using web services via soap? does anybody know?

  • How to connect to external web service and convert XML to a table

    Hi experts,
      I need to connect to external/non-SAP web service and convert XML in that site to a SAP table?
    Is there a function call(SE37) to do this? Is it a must for me to install AS JAVA or PI and configure enterprise service? Please provide a link for me to retrieve relevant infomation, thx.

    No, you don't need PI or the Java stack for this.  You can create an ABAP proxy using the WSDL file for the web service and call the web service using the proxy class in an ABAP program.  You can transform the XML response to internal tables/structures/variables using a transformation template that you create.

  • Connect Java programs to ABAP generated Web Services

    Hi everybody again!
    This time I write looking for code examples about connecting my java programs in Netweaver to Abap generated web services.
    Could anyone send me any example, please?
    Thanks in advance again!
    Alberto.

    Hi,
    I'm also looking for code examples about connecting Java programs to ABAP generated Webservices... could you, please, send it to me ?
    actually, I need to call bapi from a java Web site.
    (as an SOAP request ...)
    is it better to <b>generate webser</b>vices from the Bapi then call it,
    Or shall i keep the Bapi, and call it from a java webservices based on <b>JCO/RFC</b> calls ...
    what's more efficient ?
    java webservices + Jco calls to the bapi ?
    or direct calls to generated abap webservices ?
    thanks
    saber

  • Using JAX-RPC handlers to proxy web service traffic

    Hi,
    I want to use JAX-RPC handlers to proxy web service traffic. In some instances the handler should modifiy / verify the message before forwarding the request to the remote web service end-point. Hence, the handler should forward the call by invoking the remote web service. In some cases the result from invoking the remove service should be post-processed by another proxy handler. To ensure that the result from invoking the remote service is available for post-processing I assume that the handler invoking the remote service must add the response message to the message context ( e g setProperty method) in the handler. Is this correctly understood?
    I would like to understand that this is a technically feasible and reasonable approach of using JAX-RPC. I'd really appreciate some feedback here.
    Many thanks,
    Tom

    Hi Eric,
    Thanks for your response. we are trying to access WSRR( manages end point urls for 7 different environments) and generate the end point dynamically at the design time. As we figured out WSRR is not compatible with OSB we are trying to implement these client side (OSB Proxy service) handlers which would get the dynamic endpoint depending on the environment used. I was able to create the handlers for this and set the jar in the classpath but the client service which should be using these handlers have to have these handlers defined in the deployment descriptor(web.xml) which am unable to see with a OSB project.
    Will there be a deployment descriptor(web.xml/webservices.xml) associated with Proxy services on OSB? Or Is there any other way to add custom JAX-RPC Handlers to a proxy service? Or is there any way to connect to WSRR directly?
    Thanks,
    Swetha

  • How to call an ABAP based web service from a web page (form)

    Hi,
    I am trying to figure out how I can call my own developed ABAP based web service. I was able to successfully test it in the WS navigator and am now wondering what I need to do to embed the service call in a plain simply web page (form). Basically I'd like to create a web form allowing to specify the parameters and with a 'Submit' button pass the parameters to the web service and launch it.
    Is this possible or do I need some kind of SDK to accomplish this?
    Thanks for any hints and tips.
    Wolfgang

    Hi,
    refer the following link and this is for cosuming the web service form Web dynpro Java
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/50d70a19-45a3-2b10-bba0-807d819daf46&overridelayout=true
    and please go throught the following link if you want to cosume it through web dynpro abap and find the answer given by the Moderator Thomas Jung
    regards
    Manohar

  • Web Service from RFC function module

    Hi all,
    I'm searching for a way to create web services from RFC-enabled function modules. I know there is a wizard, but it's not suitable for my problem:
    I have around 30 function modules (number raising in near future) I want to enable for web services, most of them share the same structures representing the underlying data model. When one structure is modified (i.e. a new sub-structure is added) I have to recreate all web services, which is quite uncomfortable.
    In addition, using the wizard results in one wsdl-file for each web service operation, that leads to an administration overhead using this web services from a java frontend.
    So I'm searching for a "bulk creation". I also know the wizard can be used for a function group, but I can't put all my RFC-enabled function module in one function group, that would lead to confusion in the package.
    Does anyone know how web services are created programmaticaly? If I had a function module which creates the web services I could write a function module which creates all web services I need.
    Thank you in anticipation!
    Florian

    I'm not sure I understand the 're-create' part...how are you re-creating the web service?  if you modify the interface of a function-based web service, then you use the 'modify operations' functionality (context menu - right-click) to regenerate the web service interface; this works for a function group based web service as well and hits all of the methods at once.  As for the java overhead on function group services, stating the obvious, maybe you just need to lower the number of functions in your groups.  We use .Net-developed applications with multi-function webservices and don't have any overhead issues.

  • ABAP Proxy Set up and Load balancing

    Hi All,
    We have a SAP ECC 5.0 PRD server in our landscape. I need to set up ABAP Proxy in the server.
    They have implemented Load balancing in the ECC 5.0 PRD server. They have two servers (One Central Server and another APP Server) and one of the servers will be used at any point in time based on load conditions.
    Now where exactly i have to perform the ABAP Proxy set up and how does it work at runtime.
    Thanks in advance.
    Regards,
    Sudharshan N A

    Hey,
        refer to this.
    R3 side
    SLDCHECK
      Use this transaction to access the SLD of XI.
    SLDAPICUST
      Create an entry for respective XI server
      requires hostname, port username and ip.
      Can have multiple enteries for different servers.
      But you can check only one entry.
      based on the entry that is checked, respective SLD API will be triggered from
      SLDCHECK.
    SM59 (T type connections).
      To connect to the SLD you need 2 types of TCP/IP connections.
      1)LCRSAPRFC:-
          In this you require the gateway host(ip address) and gatewayservice(sapgw[system no.])
          YOu also need to give Program ID.
          Entry of corresponding Program ID must be maintained in SMGW.
          IN SMGW Click GoTo->logged on Clients.
          If entry is not there for corresponding XI.
          Create a communication channel in XI, pointing to R3 and give a Program ID
          in the channel. Once the channel is activated, corresponding Program ID wil
          appear in SMGW.
      2)SAPSLDAPI:-
         In this case follow the same porcedure as for LCRSAPRFC.
       As far as the Program ID is concerned te procedure mentioned above is for
       Customized RFC's
       The RFC destinations mentioned here are both standard RFC's
       Hence for these two RFC's no need to Create Program ID's. you just need to
       change the System ID of the Program ID.
       Both these RFC's are maintained in the J2ee server of XI.
    SPROXY.
       In this transcation you can check the Proxies.
       If the proxies are not activated (i.e. if the message interfaces are not active)
       this step is optional
       then you need to maintain one G type RFC destination pointing the resepctive XI server.
       In the G tpye RFC destination give the Ip adress of the XI server in the target
       host and set the path prefix as /rep.
       Goto SPROXY->Goto->connection test-> click on the table SPROXSET.
       In this table maintain enteries for ADDRESS_ONLY_FROM_SPROXSET and IFR_HTTP_DEST
       The values corresponding to these enteries will be the G tpye RFC destination.
    In order to connect R3 to the Integaration server you need to maintain H type
    The default RFC is XI_INTEGRATIONSERVER. In you need to give the Target host entry as the
    Ip address and Path Prefic as.../sap/XI/engine/?type=entry (this you can get from SXMB_ADM of XI)
    You can also create the H type RFc of your own.
    goto SXMB_ADM(r3) and open Integration engine configuration.
    regards,
        Milan

  • How to Create Web Service from RFC?

    Hello Friends,
    Can anybody tell me how to crete Web Service through RFC. Our client server has no SOAMANAGER. I have to proceed through WSADMIN and WSCONFIG.  Please help me to create WS through these transactions.
    Give me the step by step proces i have to follow.
                        Kumar

    hi Kumar,
    Refer this Doc:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c05b36f9-e7d4-2910-4488-a46be7ba2906
    How to consume the Web Servise
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6066fbe8-edc4-2910-9584-a9601649747d
    regards
    Vivekananthan.S

  • Web services enabled RFC for SO creation in SAP  5.0 is not responding

    Dear Members,
    Third party application is not able to getting response from SAP R/3 web service enabled RFC.
    We have created a RFC for creation of Sales order by passing mandatory values into SAP thorugh third party application from outside SAP. Accessing RFC in SAP through Web service is not sending response properly. However Sales Order is getting created in the SAP system perfactly, in return to third party application to out side SAP through web service throughing an Exception.
    As standalone RFC in SAP, which is creating Sales order perfactly.
    Here we have deleted web service of RFC many times and recreated also, still the problem is not get resolved.
    Web services is got configured perfactly in the SAP, because other RFCs are working fine.
    Please someone suggest how to resolve this issue in case of Sales Order creation through web service enabled.
    Sudheer

    Hi ARC,
    Here the issue is that, Sales Order is getting created but while sending the Order num. to Webpage through web service then rasing below Exception.
    Runtime Error UNCAUGHT_EXCEPTION
    Except. CX_SOAP_CORE
    Date and Time 07.05.2008 20:13:24
    ShrtText
    An exception that could not be caught occurred.
    What happened?
    The exception 'CX_SOAP_CORE' was raised but was not caught at any stage in the
    call hierarchy.
    Since exceptions represent error situations, and since the system could
    not react adequately to this error, the current program,
    'CL_SOAP_TRANSPORT_EXTENSN_ROOTCP', had to
    be terminated

Maybe you are looking for

  • Getting the folder name of the service in Tomcat 5.5

    Hi, I am using Tomcat 5.5. I have a problem getting the folder name my service is located in. Ex. \webapps\myApp\... Here i would like the string "myApp" - does anyone know how to get this? The reason for this is that i use a war file to deploy "myAp

  • Addon Installer - Wrong Signature

    Hello Experts, I create an Addon for my company and the installer  at the end of installation a error message tells me:  Wrong Signature... SAP Version:   8.82  PL11 Visual Studio: 2010 B1DE I created a installer wiht B1DE  and the ARD with the tool

  • Basic questions for a self-taught re: HDV for SD HDV (yes again)

    ok - like many others posting on this topic, I am apologising for going over what seems to be one of the most covered topics out there, that still isn't clear! I am trying to teach myself DVD SP4 in the same way I did with FCP5 (trial, error and lots

  • ORA-24544 When Creating a Standby From RAC One Node

    I have a RAC One Node database running on node A and am attempting to create a Data Guard standby on node B using the following RMAN command - duplicate target database for standby from active database Error returned is - RMAN-00571: ================

  • Updating Outbound Delivery with picking and delivery quantity.

    Hi, I have a scenario where in an idoc will come from external system(DELVRY05) and based on the data in the idoc I have to update the picking and delivery quantity for the outbound delivery created in SAP.The idoc has the outbound delivery number an