Expose RFC as Web Service

Hi Guys;
Can anyone provide me step by step procedure for RFC to Web Service scenario?
meaning to expose the RFC as Web Service in the SAP CRM?
Thanks
Kfir

Hello Kfir,
You can host webservice  by doing the below steps:
Login to CRM system and goto txn:BSP_WD_CMPWB
Give component as :WS_DESIGN_TOOL
Hope this helps!
Best Regards,
Shanthala Kudva.

Similar Messages

  • Exposing RFC as Web Service in XI

    Hi,
    I want to expose RFC of an external R/3 System as a Web Service in XI. I do not have much Idea about XI.
    It will be great help If I can get some documentation on step by step tutorial of the same type of Scenario.
    Thanks
    Naresh

    Technically it can be done though.
    I have done it in Xi 3.0.  You create a synchronous interface in XI.  Generate the WSDL from the repository.  The calling systems consumes it using SOAP.  The destination system does not need to be WAS.  It can be 4.6C, or even non-Sap.
    I have tested this for Asynch postings into 4.6C and it works fine so it should work for synch also however, XI has some problems with the bindings in the WSDL at this stage.  You may need to manipulate the WSDL generated in the repository to create SOAP bindings.  I understand the problem is being resolved in SP4....
    If you do not know about WSDL bindings go to: http://www.w3schools.com/wsdl/default.asp
    Regards,
    Jason

  • Discovery System: Problems with exposing RFC as web service

    We have a version 2 discovery system and have successfully implemented the three exercises from the TechEd workshop (Sales Order Distribution, Creating a PO Store Record WS, Adding a New Step to the Procurement Scenario with SAP CAF GP). It seems to work fine except for two issues with the RFC/WS:
    1) The RFC, and therefore the WS, always returns an empty string instead of the 'X' that the documentation shows in Step 4.h. We checked the RFC itself and it looks like it has an error with the price field; it always appends a blank to the end of the price string and then errors.
    2) The created web service does not show up on the Web Services Navigator page. Since the instructions tell you to save the URL to the WSDL, we can find the web service and test it, but you cannot find it on the Navigator page.
    Neither of these problems are huge, but they make me worry that something is not quite right in the Discovery System and we may end up with larger problems later. Any ideas what could cause these two problems, and how to fix them?
    Thanks, Eric
    Message was edited by:
            ERIC HAMER

    Hi Eric,
    First of all let me assure you that your system is perfectly fine and both topics that you have raised are the way the system is suppose to respond.
    1. The reason that the service is returning a null is because you are entering the same input parameters more than once. Since some of the parameters are used as primary key's in the database, you will need to change them in order to successfully store the data.
    2. The reason that you don't see the service in the Navigator page is because this service resides in the ERP and not in WebAS. Only services deployed on the WebAS will appear in the Web Service Navigator page.
    Thanks,
    Itai

  • Any existing BAPI that can be wrapped and exposed as a web service ???

    Hi ,
    I am designing PI Collaboration Platform and that all about Monitoring across SAP ECC, SAP PI and Non-SAP applications.
    BUSINESS CASE: Some clients are  looking for a solution that allows there management some visibility into the end-to-end aspect of processes, we will limit our discussion to SAP ECC and PI.
    SOLUTION: BAM ultimately helps solve this problem at an enterprise level - however that is a heavy investment for most organizations - is there an alternative that we can provide ? Example a generic web service that can be invoked from a 3rd party tool to provide reports.
    We do have solution :
    We can configure Proxy adapter and can write Java web service to invoke a method to extract the data from ECC and one or more report generating methods based on the standard ( like PDF,EXCEL etc)
    but we are still looking  for an existing BAPI that can be wrapped and exposed as a web service ????
    Need solution for the above ?

    Hi Sanjay,
    Yes  BAM  has a bigger take, if you are looking for PI monitoring reports  then please have a look at the following blogs which might
    give you some insight.this basically deal with reading data from SXMB_MONI tables.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/909760cb-0ec8-2a10-4a96-ee8417acfbc9
    http://wiki.sdn.sap.com/wiki/display/Snippets/PIMonitoringFunctionality-FetchingDatafromSXMB_MONIStandardTables-PartI
    i dont think there is any BAPI as such atleast wrt to PI.
    Best Regards,
    Srinivas

  • Gettinfg error in RFC to Web Service scenario

    hi friends,
    I am getting the following error while configuring RFC to Web Service scenario.
    I have used the ws :http://webservices.imacination.com/distance/Distance.jwsPlease help me out.
    <!--  Inbound Message
      -->
    - <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: invalid content type for SOAP: TEXT/HTML; HTTP 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Hi
    check this thread
    Getting error in target SOAP communication channel
    regards
    krishna

  • RFC- XI- Web services

    Hi All,
          We are configuring RFC->XI->Web Services scenario.
    We are using SOAP adapter in the receiver side. We are getting the following error message.
    soap fault: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: ConversionRate. at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing).
    Kindly help.

    Hi,
    Quick checks-
    1) Reciever SOAP Adapter configuration
    2) Check the Target URL - it should be wsdl URL
    3) Transport protocol used (HTTP)
    Check this blog about SOAP Adapter Configuration carefully-
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    http://help.sap.com/saphelp_nw2004s/helpdata/en/29/5bd93f130f9215e10000000a155106/content.htm
    Regards,
    Moorthy

  • RFC - XI - Web service

    Hi All,
    I have a RFC -> XI -> Web service synchronous scenario.
    After setting up scenario in XI, I execute RFC. When I check sxmb_moni, it shows me error.
    The error is pasted here.
    <?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: failed to get the input stream from socket: java.lang.NullPointerException</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Can somebody explain me, why is this or to cross-verify my settings, steps in detail to set up this type of scenario.
    Please don't take me to the documentation present here which explains about configuring Web service based scenario.
    I have already looked at it and understood that it's not much useful at this stage.
    Your help is highly appreciated.
    Thanks & Regards,
    -smita

    Hi Smita,
    How are you doing the communication from FRC ==> XI ??
      1. Are you using Outbound(sender)RFC Adapter, if so did you create a registered program for communication from r3 to XI (rfc destination
         sm59->tcpip)
      2. Are you using an outbound(Sender) Client abap proxy??
      3. Are you calling an external webservice(not in XI)if
         so make sure the soap action is correct
    Naveen
    Message was edited by: Naveen Pandrangi

  • Synchronous RFC-XI-Web Service with no request method

    Hello guys,
    I'm trying to set up an RFC-XI-Web Service scneario.  But with the particularitity that the WSDL does not have a request method. It only has a very simple response method.
    How can I make this? How can XI call the Web Service, if I dont have any request method?
    Thanks for your help.
    Felipe

    Matias, after some test I think that VJ is correct.
    It is failing at the moment of delivering the message to the WS, I'm getting the followin error messages:
    com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/PLAIN; HTTP 302 Moved Temporarily
    I tested the WS with XMLspy and works correctly.
    I'm starting to believe that the best solution is to simply create a dummy request in the WS.
    It would be great if someone else test in their own and see if we get the same result.  Thanks,
    Felipe

  • Developing an application and exposing it as web service

    Hi all,
    I have succesfully deployed and run helloworld service with Apache soap and tomcat.
    Now i want to develop a financial application to find account balance given credit and debit and expose it as web service.
    The problem is I am New to Java.
    Can anybody guide me how to proceed from scratch
    any help will be highly appreciated
    Thanks and regards
    nehaa

    There's a complete example of a bank application in the J2EE tutorial:
    http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Ebank.html

  • Authentication while consuming a BAPI exposed as a web service

    Hi all,
          This is the scenario - I am consuming a web service in my web dynpro application. The web service is nothing but a BAPI which is exposed as WS.
    My query - how do I achieve authentication from the web dynpro application to the web service using SAP Logon ticket?
    In NWDS, after I import the Web service and create a WS model, there's a node called 'Logical Ports'. In that node, I've set the authentication type in the security tab as 'Use SAP Logon Ticket'. But that doesn't work.Is there any other configuration to be made?
    Also, immaterial of the type of authentication I specify(even if I specify 'no authentication'), only if I set the userid & password for accessing the backend in my code, does my application work!! Otherwise, it throws an authorization error!!
    I'm struck with this issue for quite sometime. Have gone through help.sap links and also SAP docs. Most of the docs deal with either security for an RFC model or for a Web service project(EJB). I am not able to find a solution for my case.
    Can somebody help me solve this?
    Points assured.
    Thanks & regards,
    M.Subathra

    Hi,
    Have a look at the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9bdcb279-0e01-0010-b5ac-ef7f99e44c68">following document</a> (or <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webservices/authentication%20of%20a%20ws%20client%20using%20a%20sap%20logon%20ticket.pdf">this one</a>).
    I hope it answers some of your questions.
    Kind regards, Jack

  • Meaning of RFC and web services

    Experts,
       Can anyone explain the basic meaning of RFC and webservices.What do u mean by RFC call etc.When do we use webservices and what are the advantages of using this?
    I will not disappoint any  expert.
    Thanks
    Veeru

    Simply put , for a lay man
    RFC is a piece of code ( function module in ECC which is remote enabled . ...as it can be accessed and used depending upon the functionality in  ECC
    from PI perspective . RFC is used as a technique to interface with ECC in different scenaros .. preferably in synchronous interfaces
    Web services on the other hand are functionalities exposed on to the internet  which can be created and consumed (utilized) on the web
    for more info on web services also google WSDL, SOAP , HTTP and UDDI
    they will be reallly helpful

  • Generate XML file from RFC using Web Services

    Hi,
      I am trying to save an RFC enabled Function Module output to an XML file using ABAP web services.
    I could able to create Web Service and release it using WSCONFIG/WSADMIN. I can actually get the output in XML file when i launch the web service home page. But I need this to be done in the ABAP program itself. So If i run the RFC I could able to create,release web service and capture the Generated XML file by SOAP runtime.
    Any FM available?
    Thanks,
    Ram Sanjeev

    which version of WAS you are on .
    if you are on WAS6.40 check the following weblog on how to consume webservice using the wsdl file.
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    lower version of WAS use class cl_http_client.
    if this case you have to manually build the soap message.
    /people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap
    Regards
    Raja

  • Proxy exposed as a web service but cannot be reached

    Hello,
    I've exposed a server proxy as a web service and it looks OK in WSADMIN and WSCONFIG, also a service is created in ICM. But when I test the service, the browser page that opens cannot be reached and if I try to send a message to the service, I get the error HTTP Error: Could not POST file.
    What might be the cause?
    Thanks,
    Gökhan

    I had an error in my implementation.. nothing serious.

  • Exposing and Consuming web service using NWDS

    Hi all,
    I want to expose and consume a webservice using NWDS.
    My java application will interact with the SAP web service to create materials in r3.
    I just want to know how to create a EJB project that contains the Web service and deploy on the SAP WAS.
    and from the java application how would I access the same.
    do I need to AXIS jar ?
    How would get The WSDL corrosponding java files ?
    I will be very thank ful if you can provide me with the some study materials also.
    Warm regards

    Hi
    Refer these links
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/60dbd7ac-4788-2910-539b-b3599c64be12
    http://help.sap.com/saphelp_nw04s/helpdata/en/d6/f9bc3d52f39d33e10000000a11405a/frameset.htm
    Regards
    Abhishek

  • RFC vs web services

    Hi
    i want to extract data from portal to BI .
    some one asked me prapose technology whether rfc is better or webservices is better.
    can u give me any advantages for this technologies

    Hi Johannes,
    Go through below help documents.
    Adaptive Web Service Model:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b04308ed-62d5-2910-b3a6-c26771b1c78e
    Do and Don't with Adaptive RFC Model:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/11c3b051-0401-0010-fe9a-9eabd9c216de
    Benefits and important infomation about the Adaptive Webservice model:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7
    Once you go through the above mentioned documents, you will understand which one to use in which scenario.
    Thanks
    Krishna

Maybe you are looking for

  • Mavericks can'i import iPhoto library from MBP

    Trying to import an iPhoto library from an older MBP running Lion onto a new Mac mini, I follow instructions to upgrade the old library, so the newer version of iPhoto on the mini can see it. Downloaded the upgrader and run it but iPhoto quits. Going

  • Reducing size of table

    Hello , i have a barcode in a smartfom . now the issue is i have to reduce the size of the bar code and fit one more in the same space , separated by a line . Any suggestions , Honey

  • Adding logo or image to email signature

    I have added my logo (a jpeg image) to my email signature. When I send an email to someone else who is using an Apple mail program it opens up fine. However, when I send an email to someone who is using, for example, a yahoo mail account, the logo do

  • Delete Apple ID Account

    Hello, How can I delete "one" of my Apple ID account so that I only let "one" to use with icloud & app store? Thank you.

  • PDF LINKS NOT WORKING !!!!!

    Dear all, I tried several time to load a pdf file and clickable for each sublinks. this is the code in my root: var newsXML:XML = new XML(); newsXML.ignoreWhite = true; var output:String = ""; newsXML.onLoad = function(success) {     if (success) {