Is it possible to create web services for classes and bol objects?

i am new to crm web channel,can any one  please ,help me....
thank u in advance,
kiran.

Hi Kiran,
Here, when you are talking about classes and BOL objects together, I assume you are talking about the BOL layer for CRM. If that is the case, and you have no dependency on WCEM for these objects, I would suggest you use the NW gateway to expose Odata web services from the CRM box itself. If you would like to expose the Odata web services from WCEM, please have a look at Ch 7 Dev & Extension Guide available in help.sap.com/wec301.
Good luck!
Regards
Pranshu

Similar Messages

  • Creating web service for bapi and consume in portal.

    Hi ,
    I am new to Web Services. This is my requirement I need to publish the functionality of bapi as a web service and consume the web service from portal side.
    I have followed these steps to create web service.In transaction se80 i have created service definiton and a wsdl file is generated.
    When i am exporting that WSDL file and creating a model in a webdynpro project. I am getting the following error. I dont know how to proceed further.Error while loading WSDL.Check error log for more details.
    Whether the proxies need to be generated?What is the purpose of it? Where the proxies need to be generated?
    Is Process integration needed to use web services?
    Kindly guide me how to proceed.
    Best Wishes
    Idhaya R

    the proxy is the object that make possible to use the service; even if service and consumer are on the same host, you need a proxy to use it.
    try to check this blog
    /people/thomas.jung/blog/2007/12/17/consuming-services-with-abap

  • Is it possible to create Webservice for Classes and BOL Objects?

    hi all ,
    i am new to  sap crm please help me out.
    thanks and regards,
    Ahmad

    Hi Narayana,
    Use BDC's for better maintainance of relationship. which worked fine for me.
    thanks,
    vasu.

  • How to create web service for a Java class in SAP NetWeaver Studio

    hi all,
    i am using SAP Netweaver Developer Studio.have created a normal java project and i want to create web service for one of the classes in this project. i used the  Web Service Creation Wizard to create a web service for this class. but it says there's no methods available for VI. all my methods in this class are public, what should i do?

    Hi,
    I guess there are other ways. But this is an easy way, if you find the right wizards.
    Besides this it is good practise to define interface methods so that session bean implement these interface methods, and thus seperate the interface from the implementation.
    In this approach you will need 3 projects:
    An enterprise application project (will contain EJB Module)
    An EJB Module project (will contain session bean)
    A Java project (contains code that implements the session bean methods)
    In my previous post I suggested to use a J2EE web mudule project. This was a mistake, it should be EJB module.
    But it should be possible to do it in another way. It is up to you.
    Good luck, Roelof

  • XI for create web servicies for SAP R/3 4.6C

    Hi All,
    we are implementing PM (Plant Management) module of SAP R/3 4.6C and we have the necessity to create web services for some PM functionalities. Infact we need to integrate our SAP R/3 4.6C with other applications (non-SAP) through TIBCO (it's mandatory). So we think to use SAP XI. Moreover our users don't want to use SAP GUI for the accessing to the PM functionalities but they want an UI more friendly. So we think to use SAP EP.
    Which is your opinion about this architectural scenario? Is it possible to fulfil the requirement of our business users with a more simple architectural solution (for example with WEB DYNPRO)?
    Many thanks in advance for your collaboration.
    Regards,
    Bob

    Infact we need to integrate our SAP R/3 4.6C with other applications (non-SAP) through TIBCO (it's mandatory). So we think to use SAP XI.
    TIBCO is another middleware. So once you expose your R/3 functionalities as web service, you may directly use TIBCO to integrate and XI won't be required at all.
    Moreover our users don't want to use SAP GUI for the accessing to the PM functionalities but they want an UI more friendly.
    WebDynpro application would provide you an easy GUI and could act as Soap client as well to send data.
    Regards,
    Prateek

  • Issue in creating web service for a ABAP Function Module

    Hi,
    now i'm learning how to create web service for a ABAP Function Module. I used the following steps.
    1. select the Function Module, named "zws_test".
    2. in the context menu, select "create->proxy object". so we enter into wizard.
    3. in the wizard, press the radio button "Service Provider".
    4. in the next page, press the radio button "Existing ABAP Objects(Inside Out)".
    5. In the next page, Enter the "zws_test_prvider" as Service Definition and select "Function Module" as Endpoint Type.
    6. in the next page, enter "zws_test" as Function Module and mark the "Mapping der Namen" button
    7. in the next page,select "PRF_DT_IF_SEC_LOW" as Profile and mark "Deploy Service".
    8. Save in the local package.
    9. then it will pop up a window with title "WSDL Source". i selected "URL/HTTP Destination" and press "OK".
    10.in the next page, i enter the URL as "http://hostname:portnumber/", and press "OK".
    11. then it will pop up a window with title "Display logs". A record with error message "HTTP error(return code 404, message "Not found")" appears.
    12. i press "ok" and a service provider with name "zws_test_prvider" appears in my local package.
    13. i use "zws_test_prvider"'s URL to create a service consumer "ZCO_WS_TEST_CONSUMER" and logic portal "LP1".
    14. But when i test my service consumer "ZCO_WS_TEST_CONSUMER", it will throw an exception "cx_ai_system_fault" with errortext "SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/".
    15. I use t-code SM59 to test connection  and get the following info.
          Status HTTP Response     200
          Status Text                      OK
          Duration Test Call             328 ms.
    who can give me the reasons about item 11 and 14, and explain me how to create service provider and service consumer for a Function Module.
    Thanks in advance
    Johnney

    have you seen this weblog
    /people/thomas.jung3/blog/2004/11/15/bsp-150-a-developer146s-journal-part-xiii-developing-abap-webservices

  • Is it possible to create WEB SERVICE in SAP 4.7

    Hi guys,
    is it possible to create WEB SERVICE in SAP 4.7 ?
    i want to make a FM as web service enabled.
    plz advice.
    Regards
    pabi

    Hi,
    The definitive (and in my experience only) documentation on this is at;
    http://help.sap.com/saphelp_47x200/helpdata/en/94/f8c8a2e68811d6b2dc00508b5d5211/frameset.htm
    This same information is available combinded as a single pdf, but I can't find this.
    Regards,
    Nick

  • Creating Web service for PL/SQL Procedure with Complex Data Types

    I need to created web service for PL/SQL Procedure with Complex Data types like table of records as parameters, how do we map the pl/sql table type parameters with web service, how to go about these?

    Hello,
    When you are creating a service from a Stored Procedure, the OracleAS WS tools will create necessary Java and PL wrapper code to handle the complex types (table of record) properly and make them compatible with XML format for SOAP messages.
    So what you should do is to use JDeveloper or WSA command line, to create a service from your store procedure and you will see that most of the work will be done for you.
    You can find more information in the:
    - Developing Web Services that Expose Database Resources
    chapter of the Web Service Developer's guide.
    Regards
    Tugdual Grall

  • How to create web service for database application

    Hi everyone
    Is it possible to create a web service for an apex database application page which has reports and radio fields and dialog boxes and validations in it. IF it is possible to create, pls help me with example or step by step procedure. I have seen all oracle docs of implementation of Web services in apex but unable to figure out how to get that link of wsdl for an application.
    Thanks in advance.
    Regards
    Sandeep Artham

    Hi,
    I guess there are other ways. But this is an easy way, if you find the right wizards.
    Besides this it is good practise to define interface methods so that session bean implement these interface methods, and thus seperate the interface from the implementation.
    In this approach you will need 3 projects:
    An enterprise application project (will contain EJB Module)
    An EJB Module project (will contain session bean)
    A Java project (contains code that implements the session bean methods)
    In my previous post I suggested to use a J2EE web mudule project. This was a mistake, it should be EJB module.
    But it should be possible to do it in another way. It is up to you.
    Good luck, Roelof

  • Its possible to Create Bussiness Service for IDOC Communication Channel

    HI FRNDS,
    My scenario File to Idoc,
      When we will go for business Service , Its possible to create Business Service SAP R/3, its a Good advice.
    To which Adapters we will use business Service, business System
    Regards,
    raj

    Hi,
    This is the basic difference between Business Service and Business System. This will help you in concluding why you use them and hence you can deduce your answer....
    Business System
    Business systems are logical systems that function as senders or receivers within the SAP Exchange Infrastructure. You configure business systems in the SAP System Landscape Directory (SLD). A business system is always associated with a technical system (here: SAP Web AS ABAP system).
    Business Service
    Using a business service, you can define the technical or business subunits of the companies involved and then assign them the relevant interfaces.
    You usually use business services when configuring cross-company processes. In this case, you only make your interfaces known to the business partners involved and either do not make any details about your own system landscape available, or only specific details.
    Regards
    Arpil
    Reward points for the useful answer

  • Can't create web service for other servers

    I am trying to create EJB web service for JBoss 4.0 but getting error in "build-impl.xml " file on the following line
    "<taskdef name="wscompile" classname="com.sun.xml.rpc.tools.ant.Wscompile">"
    Is there any way to create an web service for another servers.
    OR
    Is there any way to configure "wscompile" tool to generate the web service for other servers
    It would be of greate help if any-body responds
    thanks in advance
    parag

    Hi,
    The following article
    http://developers.sun.com/prodtech/javatools/jsenterprise/reference/docs/jse7/jse7_jboss_plugin.html
    describes how to configure the JSE IDE to develop and deploy a J2EE application on a JBoss Application Server by using the JBoss plug-in.
    Hope this helps.
    Radhika

  • Create web service for /POSDW/CREATE_TRANSACTIONS_EXT

    Hello Experts,
    In our POSDM implementation, we are trying to connect third party POS to POSDM via custom Middleware (.net application). I am trying to create a webservice for /POSDW/CREATE_TRANSACTIONS_EXT function module so that via middleware we can upload the T-log into POSDM.
    While creating a web service we are getting an error "
    SOAP application
    "urn:sap-com:soap:runtime:application:rfc:710"
    does not exist"
    I have also checked the function module is RFC enabled. If anybody can put some light on how to solve this problem would be really appreciated.
    Thanks
    Mayank

    Hi Mayank,
    Use transaction ST22 in R3 (where you have created the RFC) and see what error has occoured. This will help you to solve your problem.
    Since you got RFC_ERROR_SYSTEM_FAILURE exception, therefore have a look at the dev_jrfc.trc files. These files are written by JRFC and can be found in the directories j2ee/cluster/server* of the J2EE Application Server Installation.
    Thanks and Regards,
    Ramesh D

  • Question about creating Web service for Xcelsius

    Has anyone successfully written a Web service in .Net C# that Xcelsius can use? I was just trying to create something simple and it will not work. I get data in my Xcelsius report, but it is all lumped into one 'cell' and the XML tags are still in there. If anyone has some sample code that does work it would be much appreciated.
    Here is what I have:
    public string getTableInfo()
    SqlDataAdapter dbadapter = null;
    DataSet returnDS = new DataSet();
    using (SqlConnection dbconn = new SqlConnection(
    "Server=SERVER;"
    + "Database=DB_NAME;"
    + "User ID=ACCOUNT;"
    + "Password=PW123;"
    + "Trusted_Connection=False;"))
    SqlCommand cmd = new SqlCommand();
    string sqlQuery = "select FIELD1, FIELD2 from TABLE";
    cmd.CommandText = sqlQuery;
    cmd.Connection = dbconn;
    dbadapter = new SqlDataAdapter(cmd);
    dbadapter.Fill(returnDS);
    return returnDS.GetXml();
    thanks!!!

    Hi Jeremy,
    This might get you closer (VB.net): VB.net code to create XML
    Regards,
    Matt

  • T is possible to create Multiple services for PM order

    Hi,
    Is it possible to take multi-service in a single maintenance order,so that cost will book on that equipment only and at cost center accordingly.At present the equipment and functional location field are disabled in the system.
    Thanks

    As I mentioned, do the config in Define Notification & Order Integration in IMG.
    Then give the equipments in Object List. Then select the equipment & click the button Assignments at the bottom.
    Then you can find the operations. Select the operation which should be assigned to the selected equipment.
    So that, in Operation details screen, you can find that equipment.
    You cant edit the equipment / FL field in operation details screen.
    Regards,
    Maheswaran.

  • Communication error when calling web service for checkin and checkout files

    Hello,
    I am trying to checkout  and also to checkin files within the DMS via web service. The files are stored in the VAULT (=TRESOR) without the data server parth and DVA computer.
    For checkout:
    Original zum Ändern auschecken
      CALL FUNCTION 'BAPI_DOCUMENT_CHECKOUTMODIFY2'
        EXPORTING
          documenttype    = pi_documenttype
          documentnumber  = pi_documentnumber
          documentpart    = pi_documentpart
          documentversion = pi_documentversion
          documentfile    = lf_documentfiles
          pf_http_dest    = ''
          pf_ftp_dest     = ''
        statusextern    = lf_status
        IMPORTING
          return          = lf_return
          checkedoutfile  = ls_checkedoutfile.
    and for checkin:
    Dokument einchecken
      CALL FUNCTION 'BAPI_DOCUMENT_CHECKIN2'
        EXPORTING
          documenttype    = pi_documenttype
          documentnumber  = pi_documentnumber
          documentpart    = pi_documentpart
          documentversion = pi_documentversion
          hostname        = ''
          statusintern    = ''
       statusextern    = lf_status
          statuslog       = ''
        IMPORTING
          return          = lf_return
        TABLES
          documentfiles   = lt_files.
    But it is not working cause I always get a 'communication error' from the function CV120_FTP_START_REG_SERVER when calling one of these BAPIs via web service:
    IF pf_check_gui = 'X'.
        CLEAR: gf_gui_exist,
               gf_gui_checked.
        CALL FUNCTION 'RFC_PING'
             DESTINATION 'SAPGUI'
             EXCEPTIONS: communication_failure = 1 MESSAGE lf_msg_text
                         system_failure        = 2 MESSAGE lf_msg_text.
        IF sy-subrc = 0.
          gf_gui_exist = 'X'.
        ELSE.
          CLEAR gf_gui_exist.
        ENDIF.
        gf_gui_checked = 'X'.
      ENDIF.
    Afterwards the following function is called where I got the error 'Program no longer started via RFC. No return possible.':
    -> Vault with DVA -> ** Start FTP on the client
      CALL FUNCTION 'SYSTEM_START_REG_SERVER'
           EXPORTING: progname    = 'sapftp'
                      startmode   = ''                          " X
                      exclusiv    = 'Y'
                      waittime    = 500
                      startcomp   = 'C'    " G=gui, C=RFC
                      startpara   = ' '
          IMPORTING: err_code    = lf_errno
                     err_mess    = lf_error_msg
                     destination = pfx_destination.
    Regards
    Jens

    Hi! As mentioned below I had the same problem.
    There are two notes concerning security setting of the SAP Gateway:
    1069911 - GW: Changes to the ACL list of the gateway (reginfo)
    1480644 -  gw/acl_mode versus gw/reg_no_conn_info
    Your basis team should check if the Gateway settings allow external programs to register on the gateway.
    Best regards
    Dominik

Maybe you are looking for

  • How to can we do selection-screen modification for LDB?

    Hi All, I have custom field in my selection-screen of LDB PNP. Can you people please let me know how can I put the selection-screen modificaiton For ex: i have created parameters a as checbox. select-options: p_btrtl for p0001-btrtl no-intervals. now

  • Can InDesign Account for a Thick Signature?

    I'm scoping out InDesign and wanted to know if there's a way for it to account for thick signatures? I'm basically planning to make a small book of about 20 pages folded in half. If I print it out, due to the thick fold, the content of the pages shif

  • Rename State Service Database in SharePoint 2010

    As the title says, I want to rename/change database for State Service Application. I did some experiments wit it as suggested by others but I think I somehow managed to broken my service. I can SharePoint Products Configuration again and I got anothe

  • Purchase requisition delivery date before the requested/created date

    Dear Experts, We are getting an issue that Purchase requisitions created by APO are having Delivery Date one day before of requesed Date. Eg Purchase requistion created on 20.02.2015 and having delievery date on 19.02.2015. I have checked contract, P

  • HCM period skipping

    Dear All, My question is this, i want to skip the HCM period. Mean if i change the earliest retroactive date in Control record and also change the earliest retroactive date in IT003 for employees through RPUTRBK0. then in payroll system skip the peri