Web Servive in SAP 7.1

Hi Experts ,
WSADMIN and WSCONFIG are obselete in SAP 7.1 .Hence when i created a Web Service through Wizard in se80 , the web service is not appearing in WSADMIN or CONFIG.Hence i got WSDL file from SOAMANGER.
Please suggest me Web Service should be created in workbench Request or Customizing Request.
Thanks.

Hi,
Okay......so you want to use SOAP over HTTPS which is HTTP over SSL.......so for this thing, you will have to ask your basis guys to enable HTTPS service on your PI server and then open a port for it in PI server.........maybe your basis guys need to import some SSL certificate in the PSE of your PI system using transaction STRUST........
Regards,
Rajeev Gupta

Similar Messages

  • INVOKING WEB SERVICE FROM SAP ERP

    Hi to all
    I need interchange informacion between NON-SAP system and SAP ERP using web services
    I know publish web services in SAP ERP, but I don't know how SAP consume a WS of other system
    Please, somebody know how can I do it this ? I don't want that XI consume this WS, I want that SAP ERP consume it.
    Thank you and regards
    Dario

    Hi,
    we can do it using Webdynpro for Java or ABAP. In addtiion to this check wtih any EDI related ones or ALE-IDOCS.
    Psl check this abt the Web Services information-
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/109aa318-5aa6-2a10-799d-a495383c1e01
    Reward if helpful.
    Best Wishes,
    Chandralekha

  • Calling Web Service from SAP

    Dear All,
    How can we call web service from SAP?
    Thanks in Advance,
    Ramana

    HI kcr,
    pls see this link
    http://****************/Tutorials/Others/ValidateEmailID/Webservice.htm
    write this program
    REPORT zvalidate_email.PARAMETERS: p_mail(100) LOWER CASE.                 " E-Mail id to be verifiedDATA: http_client TYPE REF TO if_http_client .DATA: w_string TYPE string ,
          w_result TYPE string ,
          r_str    TYPE string .DATA: result_tab TYPE TABLE OF string.START-OF-SELECTION .
      CLEAR w_string .
      CONCATENATE
      'http://www.webservicex.net/ValidateEmail.asmx/IsValidEmail?Email=' p_mail
    INTO
      w_string .  CALL METHOD cl_http_client=>create_by_url
        EXPORTING
          url                = w_string
        IMPORTING
          client             = http_client
        EXCEPTIONS
          argument_not_found = 1
          plugin_not_active  = 2
          internal_error     = 3
          OTHERS             = 4.  CALL METHOD http_client->send
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2.  CALL METHOD http_client->receive
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2
          http_processing_failed     = 3.
      CLEAR w_result .
      w_result = http_client->response->get_cdata( ).  REFRESH result_tab .
      SPLIT w_result AT cl_abap_char_utilities=>cr_lf INTO TABLE result_tab .  READ TABLE result_tab INTO r_str INDEX 2.
      IF r_str+44(1) = 't'.
        WRITE:/ 'Valid email address'.
      ELSE.
        WRITE:/ 'Invalid email address'.
      ENDIF.Output:
    thanks
    karthik

  • Error when creatibg a web service in  SAP r/3 ecc 5, WebAS 640

    We are trying to expose a BAPI  (BAPI_CUSTOMER_GETSALESAREAS) as a web service on SAP R/3 ECC 5. web AS 640.
      We created the virtual interface (Z_VI_CUSTOMER_BAPI)and the web service definition (Z_WSD_CUSTOMER_BAPI)from SE80. When we try to release the web service definition from WSCONFIG, we get an error saying:
    "Error when creating web service(Web Service Definition Z_WSD_CUSTOMER_BAPI for SOAP application unbekannt)"
    Please help...
    Thanks,
    Shailesh

    Hi.
    I think I must clarify my question.
    The Web Service is not called inside SAP R/3 but externally. For testing pourpose I actually use WS Navigator and XMLSpy.
    The method inside ABAP Server Proxy which is exposed as a Web Server in SAP R/3 system is the following. Note that the Web Service is Asynchronous.
    METHOD zpi_ii_test_ws_4_in~test_ws_4_in.
      DATA: lwa_zpi_test TYPE zpi_test.
      lwa_zpi_test-mandt = input-mt_test-record-client.
      lwa_zpi_test-bukrs = input-mt_test-record-company.
      lwa_zpi_test-belnr = input-mt_test-record-document.
      lwa_zpi_test-gjahr = input-mt_test-record-year.
      INSERT zpi_test FROM lwa_zpi_test.
      COMMIT WORK.
    ENDMETHOD.
    I have created another Web Service in SAP R/3 which is Synchronous, and the error does not occurs. The following is the method inside ABAP Server Proxy which is exposed as a Web Service in SAP R/3 system.
    METHOD zpi_ii_test_ws_3_in~test_ws_3_in.
      DATA: l_bukrs      TYPE bukrs,
            l_belnr      TYPE belnr_d,
            l_gjahr      TYPE gjahr,
            lr_belnr     TYPE RANGE OF belnr_d,
            lwa_zpi_test TYPE zpi_test.
      l_bukrs = input-mt_req-msg+0(4).
      l_gjahr = input-mt_req-msg+4(4).
      SELECT MAX( belnr ) INTO l_belnr
        FROM zpi_test
        WHERE bukrs EQ l_bukrs
          AND belnr IN lr_belnr
          AND gjahr EQ l_gjahr.
      IF l_belnr IS INITIAL.
        l_belnr = '4700000000'.
      ELSE.
        l_belnr = l_belnr + 1.
      ENDIF.
      lwa_zpi_test-mandt = sy-mandt.
      lwa_zpi_test-bukrs = l_bukrs.
      lwa_zpi_test-belnr = l_belnr.
      lwa_zpi_test-gjahr = l_gjahr.
      INSERT zpi_test FROM lwa_zpi_test.
      COMMIT WORK.
      output-mt_resp-msg = l_belnr.
    ENDMETHOD.
    I hope to have clarified my question.
    Rafael Rojas.

  • Error when consuming Web Service in SAP R/3 ECC 6.0

    Hi to everyone.
    I have created an asynchronous Web Service in SAP R3, which I want to use in SAP PI later.
    When I test the Web Service using WS Navigator or XMLSpy the following error occurs:
    SOAP Runtime Protocol: ABAP Runtime exception: 1F09B73915F6B645E10000000A11447B occurred in program CL_SOAP_APPLICATION_PROXY=====CP CP in include CL_SOAP APPLICATIONPROXY=====CM008 at position 110
    SOAP Runtime Protocol: Exception message: An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause
    I tested another synchronous Web Service developed by me in the same system, and the error does not occurs.
    I just searched an OSS Note and does not find anything.
    There are some restrictions in Web Service type developed in SAP R/3?
    Thanks in advance.
    Rafael Rojas.

    Hi.
    I think I must clarify my question.
    The Web Service is not called inside SAP R/3 but externally. For testing pourpose I actually use WS Navigator and XMLSpy.
    The method inside ABAP Server Proxy which is exposed as a Web Server in SAP R/3 system is the following. Note that the Web Service is Asynchronous.
    METHOD zpi_ii_test_ws_4_in~test_ws_4_in.
      DATA: lwa_zpi_test TYPE zpi_test.
      lwa_zpi_test-mandt = input-mt_test-record-client.
      lwa_zpi_test-bukrs = input-mt_test-record-company.
      lwa_zpi_test-belnr = input-mt_test-record-document.
      lwa_zpi_test-gjahr = input-mt_test-record-year.
      INSERT zpi_test FROM lwa_zpi_test.
      COMMIT WORK.
    ENDMETHOD.
    I have created another Web Service in SAP R/3 which is Synchronous, and the error does not occurs. The following is the method inside ABAP Server Proxy which is exposed as a Web Service in SAP R/3 system.
    METHOD zpi_ii_test_ws_3_in~test_ws_3_in.
      DATA: l_bukrs      TYPE bukrs,
            l_belnr      TYPE belnr_d,
            l_gjahr      TYPE gjahr,
            lr_belnr     TYPE RANGE OF belnr_d,
            lwa_zpi_test TYPE zpi_test.
      l_bukrs = input-mt_req-msg+0(4).
      l_gjahr = input-mt_req-msg+4(4).
      SELECT MAX( belnr ) INTO l_belnr
        FROM zpi_test
        WHERE bukrs EQ l_bukrs
          AND belnr IN lr_belnr
          AND gjahr EQ l_gjahr.
      IF l_belnr IS INITIAL.
        l_belnr = '4700000000'.
      ELSE.
        l_belnr = l_belnr + 1.
      ENDIF.
      lwa_zpi_test-mandt = sy-mandt.
      lwa_zpi_test-bukrs = l_bukrs.
      lwa_zpi_test-belnr = l_belnr.
      lwa_zpi_test-gjahr = l_gjahr.
      INSERT zpi_test FROM lwa_zpi_test.
      COMMIT WORK.
      output-mt_resp-msg = l_belnr.
    ENDMETHOD.
    I hope to have clarified my question.
    Rafael Rojas.

  • Creation of Web Template for SAP R/3 Transaction

    Hi ,
        How can i create my Web Template for SAP R/3  
        transaction for publishing in ITS ?
        I have created my own Z transaction of
       (Module Pool ), <b> How  can i create Template & run 
       it  through web .     </b>
    Regards
    Sachin S M

    Go to transaction SE80
    choose internet service option.
    enter a name for the service and hit enter, the system will prompt with a message that the service is not available do you want to create clik yes.
    choose the radiobutton screen based application and enter the transaction code and hit enter.
    once the service is created, right click on the service name and click create Template, enter the program name (it will be defaulted from the transaction) screen number and hit save.
    once created you have to activate it and publish it to ITS server.
    Which version of SAP are you using? you can show your transaction on the web using ITS without creating template also.
    Regards
    Raja

  • Step by step guide of creation of WEB UI in SAP CRM

    Hi Friends,
    I am new in SAP CRM. I want to create a WEB UI in SAP CRM. Kindly share the link or documents.
    Regards,
    Narendra Goyal

    First check documentation on the following wiki page: http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebClientUIFramework.
    If you want to buy a book that gives the whole overview, then here is one:
    - link to sample: http://www.sap-press.de/download/dateien/1931/sappress_sap_crm_web_client.pdf
    - link to bookshop: http://www.sap-press.com/products/SAP-CRM-Web-Client-Customizing-and-Development.html

  • How to publish a SAP Web Service in SAP XI/PI 7.0

    Hi,
    First I've to say that I'n new in this deals with SAP Web Services and SAP XI/PI.
    I've created a Web Service with TX SE80 using a standard BAPI.
    I've created the Client Proxy with TX SE80.
    I've created a Logical Port wiht TX LPCONFIG.
    I've tried this is SOAMANAGER but I have this error...
    "SRT Framework exception: Uninstantiated object "subject sidl service" in method IF_SRT_WSP_CONFIG_SIDL~CREATE_CLNT_CFG_FROM_WSDL_D of class CL_SRT_WSP_CONFIG_SIDL"
    I would like to publish this service in my SAP XI/PI 7.0
    How can I solve the error in SOAMANAGER?
    How can I publish de SAP WS that I've created in SAP XI/PI?
    Thanks a lot.
    Waiting for your news.
    Fernando.

    Hi Dimitri,
    I had the same problem:
    "SRT Framework exception: Uninstantiated object "subject sidl service" in method IF_SRT_WSP_CONFIG_SIDL~CREATE_CLNT_CFG_FROM_WSDL_D of class CL_SRT_WSP_CONFIG_SIDL"
    And by following Nags hints I got solution:
    1, On the system where is your service provider, run transaction SICF
    2, Execute this transaction
    3, Go to node: default_host/sap/bc/srt/wsil
    4, Right click on "wsil" -> choose "Test service" - web browser should open with XML definition of service
    5, Find your service provider. In my case it looks like this:
    <service>
    <name>ZTEST_WS</name>
    u2212
    <wsdlNamespace>
    urn:sap-com:document:sap:soap:functions:mc-style/service
    </wsdlNamespace>
    <wsdlName>service</wsdlName>
    u2212
    <wsdl>
    http://xxx.yyy.com:8000/sap/bc/srt/wsdl/srvc_DF838C999AA282F18829001CC4D74176/wsdl11/service/ws_policy/document?sap-client=800
    </wsdl>
    </service>
    5, Look for WSDL link -> in my case:
    http://xxx.yyy.com:8000/sap/bc/srt/wsdl/srvc_DF838C999AA282F18829001CC4D74176/wsdl11/service/ws_policy/document?sap-client=800
    I dont know why, but this link is different like WSDL link in service definition which I can see in SE80:
    http://xxx.yyy.com:8000/sap/bc/srt/wsdl/sdef_ZTEST_WS/wsdl11/ws_policy/document?sap-client=800
    6, Use this link (from "wsil") instead of link from SE80 in SOAMANAGER to create logical port
    7, Yours logicall port should be created without errors.
    My question - have anybody idea, why this links are different and why only that second one works?
    Peter

  • How to create WEB  SERVICE in SAP

    Hi guys ,
    i am new to WEB SERVICE IN ABAP.what's the purpose of web service ?
    can anyone give me step by step example to create web service in SAP?
    ur answers will be rewarded.
    Regards
    pabitra

    Check the below links.
    Web Services-Based Connectivity
    Providing and Consuming Web Services in ABAP
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30f1b585-0a01-0010-3d96-ad0ea291c4f9
    Web Services Development in ABAP
    Web Services-Based Connectivity?rid=/webcontent/uuid/83b7ec4d-0a01-0010-03a9-e5a3b42522b8 [original link is broken]
    Web Services (SAP Library - Web Services)
    http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/content.htm
    ABAP Proxy Runtime (SAP Library - Web Services)
    http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/content.htm
    Hope this helps.
    Thanks,
    Balaji

  • CALL WEBI Report from SAP Portal

    Hi Experts,
    I need to call WEBI report from SAP Portal, is it possible?
    The submitted report will be opened in the same window?
    Kind Regads.

    Hi
    You can call SAP portal from WebI Report...
    insert blank cell in the report / or select the cell whaere do you want to in the report
    and then Right click and select hyper link.
    Enter the portal address
    It will be opened in the same or new window based on your settings.
    Target Window : New Window ..then it will open new window.

  • 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

  • Web Services in SAP

    Hi freinds,
    I need a big help. I am really new to this web service in SAP. Some how I have created a web service using a function module and now it can be view from the browser.
    I am facing an issue when it's running with the parameters. Here I am pasting the messages I am getting .
    This is the request part.
    POST /sap/bc/srt/rfc/sap/GL_Balance_Date_Range_WSD?sap-client=200 HTTP/1.1
    Host: R3DEVQA.hemas.lk:8001
    Content-Type: text/xml; charset="UTF-8"
    Connection: close
    Cookie: <value is hidden>
    Cookie: <value is hidden>
    Authorization: <value is hidden>
    Content-Length: 1107
    SOAPAction: ""
    <?xml version="1.0" encoding="UTF-8" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body><ns1:ZbapiGlaccGetDateRange xmlns:ns1='urn:sap-com:document:sap:soap:functions:mc-style'><Balancespgli xsi:nil='true'></Balancespgli><Companycode xsi:type='xs:char4' xmlns:xs='urn:sap-com:document:sap:rfc:functions'>6500</Companycode><Glaccount xsi:type='xs:char10' xmlns:xs='urn:sap-com:document:sap:rfc:functions'>10005500</Glaccount><Keybalance xsi:nil='true' xsi:type='ns1:TableOfbapi30073'></Keybalance><KeybalanceFrom xsi:nil='true' xsi:type='ns1:TableOfbapi30073'></KeybalanceFrom><KeybalanceTo xsi:nil='true' xsi:type='ns1:TableOfbapi30073'></KeybalanceTo><Keydatefrom xsi:type='xs:date' xmlns:xs='urn:sap-com:document:sap:rfc:functions'>2005-09-01</Keydatefrom><Keydateto xsi:type='xs:date' xmlns:xs='urn:sap-com:document:sap:rfc:functions'>2005-12-31</Keydateto><Noteditems xsi:nil='true'></Noteditems></ns1:ZbapiGlaccGetDateRange></SOAP-ENV:Body></SOAP-ENV:Envelope>
    And here is the responce part:
    HTTP/1.1 200 OK
    content-type: text/xml; charset=utf-8
    content-length: 681
    sap-srt_id: 20070815/162506/v1.00_final_6.40/46C1274F895B09FF01000000AC15012E
    server: SAP Web Application Server (1.0;640)
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><n0:ZbapiGlaccGetDateRangeResponse xmlns:n0="urn:sap-com:document:sap:soap:functions:mc-style"><Keybalance><item><SpGlInd></SpGlInd><Currency></Currency><DbCrInd>H</DbCrInd><TCurrBal>0.0</TCurrBal><LocCurrcy></LocCurrcy><LcBal>0.0</LcBal></item></Keybalance><KeybalanceFrom></KeybalanceFrom><KeybalanceTo></KeybalanceTo><Return><Type></Type><Code></Code><Message></Message><LogNo></LogNo><LogMsgNo>000000</LogMsgNo><MessageV1></MessageV1><MessageV2></MessageV2><MessageV3></MessageV3><MessageV4></MessageV4></Return></n0:ZbapiGlaccGetDateRangeResponse></soap-env:Body></soap-env:Envelope>
    Pls help me to solve this out. I don't know where it is gone wrong.
    If u have any documents related to this sap web service pls mail it to my mail address.
    Mail addr: [email protected]
    thanks in advance
    Regards
    Thanura

    Hi Thanura,
    Please be specific about the ERROR?
    I can not see any error in the response you have paste here. The HTTP retrurn code 200 means the execution of the webservice is successful.
    If the problem is that you are not getting the values in the return code then you can try the followings-
    1. Try log-in using SAPGUI directly into SAP system and execute the RFC by providing the same parameter as you are sending through POST.
    or 2. Try putting a external breakpoint in RFC. Then execute the call to webservice and check the values it is receiving and returning back.
    By the way, what is the client you are using to invoke the webservice. Is it HTTP DOM?
    Regards.

  • How to test/consume asynchronous web services in SAP?

    Hi,
    How do we test/consume asynchronous web services in SAP - either version 4.7 or ECC6.0?
    TIA,
    Regards
    Deepthi

    Go through the following link to know how to consume web services using ABAP:
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/20eb3174-41ab-2a10-a383-907faf60eed3|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/20eb3174-41ab-2a10-a383-907faf60eed3]
    Regards,
    Siva.

  • Integration of WEBI report in SAP Enterprise portal

    Hi Colleagues,
    I want to create my adhco report using WEBI and want to publish it to SAP NW Enterprise portal .
    While creating the i view in the EP i dint find any option in i view template in order to create an i view for WEBI report .
    However there is an option to choose crystal report as a template while creating an i view but nothing for WEBI and Xcelsius as such. So how can we embedd our Xcelsius and WEBI report in SAP Enterprise portal .
    Is there any option to intergate the SAP NW Enterprise portal and BO Portal .
    Kindly sugest.
    Vibhav.

    You should be using opendocument links if using EP. with opendocument the URL contains all the pertinent info.
    refer to chapter 8 of the SAP Integration kit guide for more info.
    Post in the webi, general, or check out the outher documents link in the forum sticky post for the latest opendocument doc.
    Regards,
    Tim

  • How to call WEB Service From SAP

    Hi Friends,
    How to call WEB Service From SAP.
    Thanks in advance,
    Murali Krishna K

    Hi,
    if you mean calling a web service in Web Dynpro ABAP, see the <a href="http://help.sap.com/saphelp_nw70/helpdata/en/d7/951b42f828df2ce10000000a1550b0/frameset.htm">documentation</a>, if you mean calling a web service in general, this is not the correct forum. This here is the Web Dynpro ABAP forum, for general questions on ABAP, use the ABAP forum.
    Regards, Heidi

Maybe you are looking for