Web Services in SAP 4.7 - WAS 6.20

Hi,
I am trying to create a web service in 4.7. I read most of the posts on sdn and i cann't seem to find the WebServiceBrowser in SICF. I keep getting this error.
"Following error text processed in system:
BSP exception: Cannot start application sap/WebServiceBrowser. Use transaction SICF to create application node. gsknoten an."
And when i try to create the node manually, I can only have 15 characters and i need to type 17 characters!! Please Help.
Thanks

Hi,
For R/3 4.7 based on WAS 6.20, If you activate the /sap/bc/soap/rfc service in SICF, you activate the possibility to use all RFC enabled function modules as web services.
Suppose you want to test with function module STFC_CONNECTION
You will access the WSDL with this URL
http://<host>:<port>/sap/bc/soap/wsdl11?services=STFC_CONNECTION&sap-client=<client>
You will call the web service with an HTTP POST to this URL
http://<host>:<port>/sap/bc/soap/rfc?services=STFC_CONNECTION&sap-client=<client>&sap-user=<user>&sap-password=<password>
>HTTP 500 Internal server error occurs u2013 Page cannot be displayed
If you tested the call with a web browser and not a web service client, this is perfecly normal.
The browser sends an HTTP GET with no SOAP enveloppe...
On our R/3 4.7 production system we call up to 30 web services per second. It works great !
Regards,
Olivier

Similar Messages

  • 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.

  • Web service in sap 4.6c(wsconfig,wsadmin,soamanager does not exist)

    Hi all,
    i am trying to create web service in sap 4.6c.
    there is no option like utilities->more utilities->web services
    & WSCONFIG, WSADMIN TRANSACTIONS R not exist.
    so, can i create web service in 4.6c version.
    Regards
    pabi

    Hi Prabby,
    the SAP Basis technology platform that underpins the 4.6c system does not provide a HTTP server so it cannot itself act a webservice provider.
    However you can expose SAP functionality as a web service in three ways.
    Firstly, SAP provide the SAP Business Connector that will provide access to all remote-enabled function modules (and other functionality) out of the box. This product is essentially an OEM version of WebMethods Integration Server and is available for download from SAP.
    Secondly, you can use any available middleware, such as WebLogic, WebSphere, .Net, and the appropriate SAP Connector (J-Co, DCOM, .NET) to write a SOAP handler that exposes your SAP functionality.
    Thirdly, you can use a SAP system that is running on a later release to expose the functionality you want and call it via RFC. What I am suggesting is that you write a "wrapper" function module on a WAS ABAP system such as your Solution Manager system and have it call the 4.6C functionality via RFC. Then expose the wrapper function module as a webservice using the WSCONFIG, WSADMIN transactions already mentioned.
    Cheers
    Graham Robbo

  • Business Service Issue for OSB 10.3.1 when call web service of SAP ECC 710

    Hello,
    1 . I was doing unit test for a business service which called a web service from SAP ECC 710 (This service is published directly from a RFC function module via SOA Manager);
    2 .The problem is when i use the OSB test console , which generate request message below:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    *<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">*
    *</soap:Header>*
    <soapenv:Body>
    <urn:Zmmjf503 xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
    <ContractInfo>string</ContractInfo>
    </urn:Zmmjf503>
    </soapenv:Body>
    </soapenv:Envelope>
    the response message is :
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Header>
    <n0:MessageID xmlns:n0="http://schemas.xmlsoap.org/ws/2004/08/addressing">
    uuid:4cbe5b84-474c-9abe-e100-00000ad00164
    </n0:MessageID>
    <n1:Action soap-env:mustUnderstand="1" xmlns:n1="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope"/>
    </soap-env:Header>
    <soap-env:Body/>
    </soap-env:Envelope>
    Above response indicates that the BS called the SAP Web server successfully , but seems the service didn't get the request message.
    3. The Web service can be called successfully via SoapUI . and i have checked the request message of soapUI; and it can work if i simply modify the request:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    *<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"></soap:Header>*
    <soapenv:Body>
    <urn:Zmmjf503 xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
    <ContractInfo>string</ContractInfo>
    </urn:Zmmjf503>
    </soapenv:Body>
    </soapenv:Envelope>
    and i got the correct response :
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Header/>
    <soap-env:Body>
    <n0:Zmmjf503Response xmlns:n0="urn:sap-com:document:sap:soap:functions:mc-style">
    <Recmsg><![CDATA[<?xml version="1.0" encoding="utf-8"?><DocumentResponse><STATE>0</STATE><HTBH></HTBH><MESSAGE></MESSAGE></DocumentResponse>]]></Recmsg>
    </n0:Zmmjf503Response>
    </soap-env:Body>
    </soap-env:Envelope>
    4 It bother me , as the only difference between the above two request messages is the Header(the first one contains a "carriage returns"):
    *<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">*
    *</soap:Header>*
    VS
    *<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"></soap:Header>*
    5 i thought that the soap engine should ignore the "carriage returns", seems it's a problem of SAP ECC710.
    DID anyone encouter this problem?? Thanks
    Regards
    Wen

    Thanks,Patrick,
    i have already removed the Soap:header, and it worked as well. what's more , using header " <soapenv:Header/>" worked.
    And i got these request messages via TCPMON, so it's exactly what were sent to SAP ECC710.
    The HTTP request which cannot work:
    POST /sap/bc/srt/rfc/sap/zmmjf_503/400/zmmjf_503_service/zmmjf_503_soapbinding HTTP/1.1
    Content-Type: text/xml; charset=utf-8
    Authorization: Basic enpoZmhlOnBhc3N3b3Jk
    SOAPAction: ""
    Transfer-Encoding: chunked
    User-Agent: Java1.6.0_05
    Host: 10.208.1.100:8000
    Accept: text/html, image/gif, image/jpeg, */*; q=.2
    Connection: Keep-Alive
    017a
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header><soapenv:Body><urn:Zmmjf503 xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
    <ContractInfo>string</ContractInfo>
    </urn:Zmmjf503></soapenv:Body></soapenv:Envelope>
    0000
    THE HTTP request which can work:
    POST /sap/bc/srt/rfc/sap/zmmjf_503/400/zmmjf_503_service/zmmjf_503_soapbinding HTTP/1.1
    Content-Type: text/xml; charset=utf-8
    Authorization: Basic enpoZmhlOnBhc3N3b3Jk
    SOAPAction: ""
    Transfer-Encoding: chunked
    User-Agent: Java1.6.0_05
    Host: 10.208.1.100:8000
    Accept: text/html, image/gif, image/jpeg, */*; q=.2
    Connection: Keep-Alive
    016c
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"/><soapenv:Body><urn:Zmmjf503 xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
    <ContractInfo>string</ContractInfo>
    </urn:Zmmjf503></soapenv:Body></soapenv:Envelope>
    0000
    Thing is that if i just use
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"></soap:Header>
    to replace (which means i just simply remove the carriage return)
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    in the header field of OSB Test console, it can work!!!
    It's really a weird issue. and it bothers me so much ;)
    any suggestions?
    Regards
    Wen

  • What are web services in SAP for interface peoplesoft

    1. What is web services?
    2. which are web services used in SAP?
    what are web services in SAP for interface peoplesoft

    Hi,
    For R/3 4.7 based on WAS 6.20, If you activate the /sap/bc/soap/rfc service in SICF, you activate the possibility to use all RFC enabled function modules as web services.
    Suppose you want to test with function module STFC_CONNECTION
    You will access the WSDL with this URL
    http://<host>:<port>/sap/bc/soap/wsdl11?services=STFC_CONNECTION&sap-client=<client>
    You will call the web service with an HTTP POST to this URL
    http://<host>:<port>/sap/bc/soap/rfc?services=STFC_CONNECTION&sap-client=<client>&sap-user=<user>&sap-password=<password>
    >HTTP 500 Internal server error occurs u2013 Page cannot be displayed
    If you tested the call with a web browser and not a web service client, this is perfecly normal.
    The browser sends an HTTP GET with no SOAP enveloppe...
    On our R/3 4.7 production system we call up to 30 web services per second. It works great !
    Regards,
    Olivier

  • 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.

  • 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

  • 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.

  • 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

  • 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 with step by step procedure.
    Regards
    pabi

    Hi,
    Yes, it is possible to create a web service in 4.7, this is the first release where it is possible so the approach differs from later releases.
    Take a look at the replies you got the last time you asked this question,
    is it possible to create WEB SERVICE in SAP 4.7
    Regards,
    Nick

Maybe you are looking for