Web Service in CRM 5.0

Hi All,
             I have created Web service definition in CRM5.0.I have to access it from outside my company. I have created client proxy(by using the WSDL file of the web service) and logical port.when we test the webservice using the WSADMIN its working fine.But when we test using the SICF its not working.
    do we need any Basis settings to be done? In WSDL file we gave the address as: soap:address location="http://<sapserver.domain.local>:<icmport>/sap/bc/srt/rfc/sap/"/
<REMOVED BY MODERATOR>
Regards
Ashok
Edited by: Alvaro Tejada Galindo on Apr 28, 2008 12:02 PM

check this weblog by Thomas Jung
/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
Raja

Similar Messages

  • Calling a Web Service in CRM . Is WEB UI the right place ?

    Dear Friends,
    We have some ECC Web Service to read some BP related data  available on ECC.
    I would like to red this ECC- BP Data in CRM using a readily available Web Service and then disply on WEB UI.
    I know how to create a web service in SAP CRM using the new WEB SERVICE tool as well as the old ways of creating a Web Service ( throgh WSADMIN which is obsolete now) . I also know how to cosume web service in a Word Template or Adobe form...
    What i dont know and would like to you experrts to help me know is
    How can i consume a web service in CRM and read the data on ECC for which this web service is exposed ?
    Is it possible to do it in WEB UI or there is any other way ?
    Any help in making me understand how to consume a web service in SAP CRM ( to read and use data in WEB UI and not word template or Adobe) is greatly appreciated.
    Looking forward for replies.
    Thanks & Regards,
    Suchita

    Hi suchita,
    There is this useful little search field just on the upper right corner of this page. Ever tried to use it with "webservice consumption"?
    My hits from 5 minutes searching:
    SDN is a good resource:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/40b63d4a-0ff1-2b10-41aa-8a5f65a81ab3
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/202a9cab-0ff1-2b10-f199-a3ba4a2ee18c
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/801a53cc-0ff1-2b10-ffb7-c5e2e8a30276
    Sometimes it makes even sense to try the infamous help.sap.com:
    http://help.sap.com/saphelp_nw70/helpdata/en/47/3a989cbcef2f35e10000000a1553f6/frameset.htm
    cheers Carsten

  • Calling Web Service from CRM using proxy

    Hi all,
    I'm facing a problem trying to call a web service from CRM (WAS 620) via XI 3.0. The response that XI recieves from the web service contains SOAP Envelope, and the mapping fails because of it. I built the proxy manually, because if I load WSDL the proxy generation in CRM generates error that sais that external definition coudn't be used.
    Is there any way to remove SOAP envelope from the response while mapping?
    Is it possible to call web service from WAS 620?
    Thanks!!!!
    Anya.

    Hi Manish,
    SOAP adapter does pass the message to XI (this message contains SOAP envelope although XI expects to get message without it), and during the mapping step i get "Runtime Exception in Message-Mapping transformatio~".
    I suppose it's because i created proxy manually. I did so because when i imported WSDL, and tried to generate proxy in CRM, i got an error message that said that proxy couldn't be generated because external definitions are only allowed in XI 3. But my XI version is 3.0! And when I generate the same proxy in my R/3 system that is installed on WAS 640, it works.
    What can I do?
    Cheers,
    Anya.

  • How to create Web Service in CRM 7.0

    Hello all,
    Can anyone help me with the steps/procedure involved in the creation of Web Service call in CRM 7.0.
    Any help is greatly appreciated.
    Regards,
    Ganesh

    You can very simply create web service with new web service tool in 4 steps. in first step you define the object and type of operation (read/create/change). Then in secend step you select atributes which you want to be available in ws. In third step you can define default values for atributes. And in last step you activate ws and set it to productive state to be able to use it.
    You can find web service tool if you loog in SALESPRO role under Sales operations workcenter.
    regards.

  • Help needed in how to find out Web services in CRM

    Hi All,
    I have a requirement where in i am trying to check out what all CRM business objects are supported as web services as standard SAP functionality.
    Any pointers on this will be really helpful.
    Thanks,
    Udaya

    Hi Udaya,
    Did you check in the Enterprise Service Browser in NWDS?
    (Assuming CE7.1 infrastructure)
    I currently do not have access to confirm on CRM business object, but in the Services Browser some standard services were available.
    This information should also be available on SOAMANAGER or Service Repository (http://<server>:<port>/sr but I haven't checked it personally.
    Hope this is helpful.
    Regards,
    Vandana.

  • How to code in java to use the web services of CRM

    Hi,
    I am new to CRM on demand web services. I want to develope a java J2EE application to insert some lead data into CRM on demand. But i have no idea of how the wsdl provided by CRM can be converted to a java class so that i can use the API's provided by them in my program. I am using Eclipse Galileo IDE for my java application development. Can any one tell me the way to reference the wsdl in my program or any other way to build my application.
    Please help me out.
    Thanx in advance.

    May be it's the 'stub' you should be looking for.
    Any Account related queries/creations - AccountStub
    --> Query : Populate AccountQuery, populate AccountQueryPage_Input, call accountStub.accountQueryPage(input);
    --> Creation: Populate AccountData, populate AccountInsert_Input, call accountStub.accountInsert(input)
    It's the same procedure for other objects like Contact, Lead, Opportunity.
    I worked on other web-services using Axis2, and 'Stub' has been the one which we use to connect to the web-service.
    Edited by: 838315 on Mar 30, 2011 11:17 PM
    Edited by: 838315 on Mar 30, 2011 11:59 PM

  • Calling a Web Service from CRM 620

    I prototyped from ECC 640 and created a client Proxy to call a WebService.  However,  Does anyone know if it is possible to call a WebService from CRM 620?  If so, how do you do it.  So far I have found documentation to create Server Proxies but not client proxies.
    I attempted to import the wsdl to XI as an external definition, then in CRM executed transaction: SPROXY to bring in the wsdl definition.  This did not work....
    Here is our landscape:
    -CRM 4.0 with XI-addon 2.0 & kernel patch level 1253
    -XI 3.0 SP 15
    thanks
    -steve

    Welcome to SDN.
    CRM 620 - i have no knowledge on CRM, but i guess its on WAS6.20. if yes you can consume websevice using CL_HTTP_CLIENT class.
    check out the following weblog for details.
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    Regards
    Raja

  • Web Services of SAP CRM ABAP 7.0 not show up

    Hello Experts,
    We are testing SAP CRM 7.0.
    In T-cd:sproxy in CRM system, the Software Component Version SAP CRM ABAP 7.0 doesn't show up.
    We'd like to see the web service definitions for CRM Service Processing,
    but can't find them such as "ServiceOrderCRMCreateRequestConfirmation_In"(described in ES Workplace)
    to create Service Order in T-cd:sproxy nor T-cd:SE80 Repository Information System>Enterprise Services>Service Definitions.
    (We found the web service definitions of SAP CRM ABAP 5.1 there, but not SAP CRM ABAP 7.0)
    The support package versions are as follows:
    - SAP_ABA : SAPKA70106
    - SAP_BASIS :  SAPKB70106
    - PI_BASIS : SAPK-70106INPIBASIS
    - BBPCRM : SAPKU70006
    Could you please advise us what's required to find Web Services SAP CRM ABAP 7.0?
    Thank you in advance for your help.
    Best regards,
    F.T.

    Hi,
    You need to download SWCV "SAP CRM ABAP 7.0" in your CRM system from service market place. Also download PI content for SWCV: "SAP CRM ABAP 7.0" and import them in ESR.
    Regards,
    Gourav
    PS: Similar questions are answered several time on this forum, so please do search before posting.
    Edited by: Gourav Khare on Dec 13, 2010 11:56 AM

  • CRM 5.0 and Web Services

    Hello.
    My employer is attempting to create a packaged composite application that will need to communicate to a SAP CRM 5 backend system connected through my employer's VPN.  Specifically, we would like to make web services method calls that will allow us to create and maintain service tickets for the Service Ticket application of the CRM Service module.  First off, does SAP already expose web services in CRM 5 that do this?
    Thanks in advance for any assistance that anyone may be able to provide.

    Hi Ric,
    All the Functionality provided in R3 Based System in the backend utilizes RFC's or BAPI's.
    These BAPI's are generally also available as Web Services. Moreover if they are not, you can easily expose a bapi as a web Service and utilize it in your custom Application.
    I think the following article will help you,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/244e7923-0a01-0010-5887-fe0b0c6dbb8d
    Moreover before going into that plz. check the functionality provided by Business package for SAP CRM for the Enterprise Portal. If your Employer is interested in using the portal, i think this option would benifit you in terms of time saving as there is huge amount of readymade content.
    Goto
    https://www.sdn.sap.com/irj/sdn/developerareas/contentportfolio
    goto http://service.sap.com/swdc >> Content >> Content for Business Suite 2005.
    In field "Step 1" choose mySAP CRM 2005 and in field "Step 2" choose the needed functionality.
    There u can find many bussiness packages.
    Select the bussiness packages need to deploy in EP .
    also help is available at http://help.sap.com/saphelp_crm50/helpdata/en/93/35c73c3d91995be10000000a114084/frameset.htm
    Hope it helps you ,
    Cheers
    Gaurav

  • How to start Web Service Creation Tool in CRM 6.0 ?

    Hi,
    I am trying to create new web service in CRM 6.0. I have gone through the documentation and no where I see how to start this tool. Can anyone explain how to start this tool please.
    Thanks for reading this message. Your help will be appreciated.
    Regards,
    Phani.

    Hi,
    There are 2 ways how you could call up the WebService Tool. The first one is already described before, this is directly from the component workbench (see comment before) in the test mode.
    The second one is to integrate it into any role directly and start it directly from that role. Therefore you have to do the following:
    1. Go to the IMG - Customizing in SAP Gui (transaction SPRO)
    2. there in Customer Relationship Managment-> UI Framework-> Technical role definition enter "define navigation bar profile"
    3. There you will find an logical link (which is the basis for you beeing able to navigate to the WebService tool) named "WEB-SER".
    4. You have to assign this link in the next folder to a Work Center Link Group under "assigned links"
    5. Then you go to the next folder "Define Work Center" and there you assign your "work center link group" to a work center
    Now you have done the basics and now you have to decide in which Role you want to have it displayed. Therefore you go to "Define Profile" further down in the same Tree
    1. Select the role where you want to assign the Work Center to
    2. Go to assign WorkCenters and add it there
    3. Decide on the position number where the work center should appear in your role.
    If you have done this you should and you have not done it so far, go to "Business role" (you could do this in IMG or in the WebUI). As you are already in IMG lets assume you stay there:
    1. Go to "Define Business Role"
    2. Check at the details of the business role that your Navigation bar Profile used in "Define Profile" above is assigned to your business role
    3. Go to "Adjust Work Center" and make sure your work center is there and is not set to "invisible".
    4. In "Ajust Work Center Link Groups" decide if the your new entrie should be displayed in the 2nd Level Menue of your role via flagging "in menu" or if it just should be reachable via the work center (not flagging in menue) but have it visible.
    Via this the new entry should appear in the Work Center (when the user is pressing on the left side just the button of your Work Center or also in the second level menue when he uses the little arrow on the Menue itself.
    Hope this helps
    Florian

  • Edit Web Service Created by WS_DESIGN_TOOL

    Hi all,
    I'm having a look at creating Web Services in CRM for Office/PDF integration. All has gone well and I have the ability to create attachments 'With Template'.
    However, I now wish to add another field to the output and I see that I cannot Edit the Web Service, the Edit button is disabled. I figured it was probably because I'd marked the WS as Productive, so I marked it as Not Productive... this did not help.
    I've had a look in to the code of the WS_DESIGN_TOOL component and in one of the Views for the wizard I've looked at the method IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS. The following code defines the Edit button
    ls_button-on_click = 'edit'.                              "#EC NOTEXT
      ls_button-page_id  = iv_page_id.
    * allow edit of Level1 and Example Services only in SAP System
      IF iv_system_type = 'A' AND  iv_obj_usage <> 'S'.
        ls_button-enabled  = abap_false.
      ELSE.
        IF iv_obj_state = 'PROD' OR iv_obj_state = 'NPRD'.
          ls_button-enabled  = abap_false.
        ELSE.
          ls_button-enabled  = abap_true.
        ENDIF.
      ENDIF.
    So, even non productive WS's cannot be edited.
    So, is there any way to edit a WS after you've marked it as productive?
    If not, it means that any small change in the future will require a new WS to be created, which will then require a new form to be created. This seems like a huge amount of work just to add a new field to a form.
    Can WS's be edited? Perhaps from WinGUI?
    Thanks for your time,
    P.

    Hello,
    We've encountered exactly the same problem as you. I was also astonished by the fact that a webservice cannot be edited after it has been set to productive. If I recall correctly this was only the case for Productive webservice, in any other state they do were editable in the source system.
    In the beginning I did the whole nine yards (copying the WS and re-create the template) but this was indeed quite time consuming.
    Once I was fed up and forced the edit button to be enabled via debug. This worked and I was able to save and transport the WS successfully.
    However, no standard SAP solution for this.
    Hope this helps,
    Kind regards,
    Joost Stallaert

  • Why do I get parsing errors with my WSDL URL for Web Services usage

    Hi,
    I am puzzled with the errors I get when I want to create a Web Service datastore.
    Scenario: I have created a SAP Web Service from CRM using SOAMANAGER. The WSDL URL produced by SOAMANAGER is accessibile when pasting the URL directly in Internet Explorer. WSDL URL [http://UXCIQ0M.WDF.SAP.CORP:50076/sap/bc/srt/wsdl/srvc_CBDCB34C89C29304E10000000A4282C0/wsdl11/allinone/ws_policy/document?sap-client=504]
    When using the WSDL URL in the Web Service datastore URL field, I get the error An error occurred while importing metadata: WSDLException; faultcode=PARSER_ERROR: Problem parsing: The element type "br" must be terminated by matching tag "/br". (BODI-1111469) (BODI-1112446)
    When I save the WSDL defintion in a local file and use a local file path, I get the errors An error occurred while importing metadata: WSDLException (at /wsdl:definitions/wsdl:portype/wsp:Policy): faultcode=INVALID_WSDL: Encountered unexpected element 'Policy. (BODI-1111469) (BODI-1112446)
    My questions:
    - Why do I get different parsing errors despite the fact that the XML is the same?
    - The WSDL is generated by SOAMANAGER. Shouldn't it work directly when integrating with Web Services generated from an SAP environment?
    - Is this related to confiurgation issue? I have set the Job Manager to Support adapter, message broker and SNMP communication
    - What is the difference between the datastore of type Adapter and the datastore Web Service? In the white paper [http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/20bd5e60-11f9-2b10-2bbb-b5109cceff08?quicklink=index&overridelayout=true] it is mentioned to use the Adapter type to consume a Web Service. It is not clear to me why we have those 2 types.
    Thanks & Best Regards
    Isabelle

    Some updates on this issue, which might help others in the community.
    - Data Service doesn't support ws_policy.
    - SAP NetWeaver 7.0 SOAMANAGER generate WDSL with ws_policy. In future releases, it is possible to specify not to use ws_policy
    - In most cases, replacing ws_policy with standard  in the URL directly, works. It doesn't work with Data Services :(.
    - Replacing ALL ws_policy in the XML directly is currently the only way to have the WSDL definition being parsed properly by Data Services.

  • Web service reference problem

    Hi, I am trying to create a web service reference from Windows Dynamic CRM web services. CRM uses windows authentication. I can open WSDL file with IE and firefox. But the same username and password don't work with APEX.
    Does anyone have a clue? Many thanks!
    Crystal
    Edited by: user8991541 on Aug 4, 2010 8:40 AM

    I was able to resolve the problem -- in the latest version of the RESTful web service that I created, I had left out the creation of the Header Parameter bind variable. Once I did that everything works fine!! I was able to test in the application and got the record of an individual student.
    Thanks,
    PM

  • Web Service Error on DOWNTIME

    We are developing Web services applications.
    Someone following items, please tell us.
    1) If, Web services, Oracle CRM On Demand to connect the downtime if the error?
    2) If, Web services and data to be added to the capacity is exceeded, an error?
    1) and 2), we are certain Errors and I want to know whether there is an error message.
    We are handling these errors.
    Thank you.

    1. If web services are down or OnDemand is down -> you will not able to log in and you won't get the jsession id. Most probably reason will be server unavailable.
    2. capacity is exceeded -> Definitely you will get the error message, i am not sure exactly what message you will get.

  • How to call web service on a button click in Web UI

    Hi Experts,
    I have a requirement to call/consume external web service on a button click in CRM web UI. Can someone help me with the code sample for invoking web service from crm web ui?
    Thanks in advance.
    Cheers,
    Sumit Mittal

    Consuming external web service directly without xi system in between.
    u2022     SE80
    u2022     Create Enterprise Service-> Choose object type as u201CService Consumeru201D
    u2022     Select URL HTTP destination in the next step
    u2022     Give the WSDL url in the url point
    u2022     Give any package name or store it in the local object.
    u2022     Corresponding proxies and data types will be generated inside the enterprise service tag
    Code sample for invoking the service via report.
    u2022     Create an object of the client proxy type here itu2019s io_clientproxy.
    u2022     Declare input and output parameters as per the structure of the service input/output parameters.
    u2022     Fill in input parameters what your service expect and call the object methods for relevant task.
    REPORT  ZWEBSERVICE_CREATNUPDATE.
    DATA: io_clientproxy TYPE REF TO zzco_user_data_service .
    DATA: output_crnup TYPE zzcreate_or_update_user_data1,
          input_crnup TYPE zzcreate_or_update_user_data_1.
    DATA :
           ls_param_crnup_in TYPE zzcreate_or_update_user_data, " CU input
           ls_param_crnup TYPE zzcreate_or_update_user_data_r, "CU Response
           ls_return_crnup  TYPE zzcrm_user, " CU Response
           ls_arg0 TYPE zzcrm_user.
    ls_arg0-first_name = 'shashank'.
    ls_arg0-last_name = 'testw/ouserid'.
    ls_arg0-org_name = 'Test_Org'.
    "ls_arg0-USER_ID = '369713'.
    ls_param_crnup_in-arg0 = ls_arg0.
    input_crnup-parameters = ls_param_crnup_in.
    TRY.
        CREATE OBJECT io_clientproxy
          EXPORTING
            logical_port_name = 'LP4'.
      CATCH cx_ai_system_fault .
    ENDTRY.
    TRY.
        CALL METHOD io_clientproxy->create_or_update_user_data
          EXPORTING
            input  = input_crnup
          IMPORTING
            output = output_crnup.
      CATCH cx_ai_system_fault .
      CATCH cx_ai_application_fault .
    ENDTRY.
    ls_param_crnup = output_crnup-parameters.
    ls_return_crnup = ls_param_crnup-return.
    IF ls_return_crnup IS INITIAL.
      WRITE : 'User creation failed'.
    ELSE.
      WRITE :  'Process Status : ',ls_return_crnup-process_status,
               /'User Id : ',ls_return_crnup-user_id,
                       /'First Name :',ls_return_crnup-first_name,
               /'Last Name :',ls_return_crnup-last_name,
               /'Org Name : ',ls_return_crnup-org_name.
    ENDIF.

Maybe you are looking for

  • One table or many?

    I'm just starting to re-write a web app and looking at the database one of the tables is getting quite large (field wise) The table in question is for room attributes but is used in 3 different apps. It's not particularly large in either direction an

  • I have a new imac and want to transfer my itunes from a pc

    hi, I just bought my first mini mac.  I been using a HP with windows 7.  I want to transfer my itunes on my mini mac.  How can I do this without the need of my iphone to transfer. Thank you, Debbie

  • NaN on the run (add cell contents) [CS3, JS]

    Hello. This is my first attempt at javascripting ID, though I've done some amount of Applescripting. The intent of this script is to add the contents of the table cells that a user has selected. I can't figure out why this keeps returning 'NaN' (not

  • Dynamic binding of partner links with different payloads

    In dynamic binding of partner links, can we have different payloads for different webservices ?

  • SAP Cloud SDK : Cloud For Customer HTML5 Development

    Hi Experts, I have Some questions about the Upgrade to Silverlight -> HTML5. 1) When the Cloud For Customer release the C4C in HTML5 mode with all the available work-center "Application and User Management" and all ? 2) What is the Development softwa