BAPI as web service error

Hi all,
I am trying to building a web service through SAP XI exposes the function module SAP_WAPI_START_WORKFLOW as a web service, which when executed starts the WS20000391 (Schedule Manager) workflow to start a job. But, i get this error:
The SOAP response indicates that an error occurred:
Server Error
<detail>
        <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
          <context>XIAdapter</context>
          <code>RecoverableException</code>
          <text><![CDATA[
com.sap.aii.af.ra.ms.api.DeliveryException: Application:EXCEPTION_DURING_EXECUTE:
     at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:456)
     at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:131)
     at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:848)
     at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
          ]]></text>
        </s:SystemError>
      </detail>
Plz help me out.
Thanks,
Srinivas

Hi,
1. Test the web service through using test tool like XMLSpy.And observe
whether you are getting back the response. And you should deploy the
XMLspy on the same network where your XI box is present.
2. If the response is coming back then you can try increasing the time
out value for the receiver adapter and test it.
Please refer to the Note: 856597[FAQ XI 3.0 SOAP Adapter]
How i can configure the time out value of my receiver adapter.
A: Yes. The default timeout value for outbound calls is 5
minutes. You can increase this value by setting parameter
XMBWS.Timeout in the module parameter table of the SOAP adapter.
The value must be given in milliseconds. For example, value
600000 represents the timeout value of 10 minutes. This parameter
is not recognized in systems prior to SP13.
Check it out,
regards,
Jaime

Similar Messages

  • SAP Web Service error text : The database returned a value containing an error , type  CX_SY_OPEN_SQL_DB

    Hello Guru's,
    we are creating sales order in SAP from a quote created in .NET,  through Web Service created in SAP, and consumed in .NET.
    When ever a order is created in SAP for a given quote, SAP returns the sales order number to .NET.
    Orders are getting created as expected, but once in a while we are getting the following error from webservice :
    Web service processing error; more details in the web service error log on provider side (UTC timestamp 20140609173429; Transaction ID 4DFCEFE33301F1EBB5CE00155D0B4530)
    But the problem is order is getting created in SAP for the perticular quote for which we are getting the above error and this order number is not getting returned to .NET.
    Upon analysis in TCODE  SRT_UTIL for the above transaction ID, has the following details , which are hardly help full to resolve the error.
    ----TYPE                                  CX_SY_OPEN_SQL_DB
    ----ERROR_TEXT                   The database returned a value containing an error
    ----CX_SY_NO_HANDLER
    -----CLASSNAME                     CX_SY_OPEN_SQL_DB
    This Exception raised by Web Service application
    Could you please help in resolving this issue or alteast provide an approach for the same.
    Thank you,
    Suresh.

    Thank you Bhaskar,
    How can we clarify whether the error is from SAP or Web part.
    I have checked ST22, but there is not entry for the perticular  exception transaction ID
    My exception time stamp is
    -------------------START-------------6/9/2014 1:34:33 PM
    Error :Web service processing error; more details in the web service error log on provider side (UTC timestamp 20140609173429; Transaction ID 4DFCEFE33301F1EBB5CE00155D0B4530)
    -------------------END-------------6/9/2014 1:34:33 PM
    In al11, i found the following for the perticular exception time stamp
    **** Trace file opened at 20140609 133431 Eastern Daylight Time, by disp+work
    **** Versions SAP-REL 720,0,500 RFC-VER U 3 1442251 MT-SL
    XRFC> Begin of user trace
    XRFC> ---------------------------------------------------------------------
    XRFC>                                                                     <
    XRFC> TRACE SOAP RUNTIME - header                                         <
    XRFC>                                                                     <
    XRFC> ------------------------------------------------------------------  <
    XRFC> REQ_SIZE   : 2685                                                   <
    XRFC> RESP_SIZE  : 0                                                      <
    XRFC> PARENT_ID  : ROOT_CALL_ID                                           <
    XRFC> TRC_KEY    : 40FCEFE3BD6EF184B5CE00155D0B4530                       <
    XRFC> REQ_BASED  :                                                        <
    XRFC> SESSION_ID : 0003925540FCEFE3BD6EF17DB5CE00155D0B4530               <
    XRFC> TS_CALL    : 20140609173408.2880000                                 <
    XRFC> SY_UNAME   :                                            <
    XRFC> HOSTNAME   :                                              <
    XRFC> SY_SID     : PRD                                                    <
    XRFC> SY_MANDT   : 300                                                    <
    XRFC> SYS_NR     : 19                                                     <
    XRFC> APPLSERVER :                                      <
    XRFC> ISPRESCHED : X                                                      <
    XRFC> DURATION   : 21810                                                  <
    XRFC> NETHDRTIME : 21810                                                  <
    XRFC> CALL_STATE : 2                                                      <
    XRFC> ERRORTYPE  : APPLFAIL                                               <
    XRFC> ERRORAREA  : APPL                                                   <
    XRFC> CTXDP_TYPE : SOAP_RUNTIME                                           <
    XRFC> SYNC_ASYNC : S                                                      <
    XRFC> LOCATION   : P                                                      <
    XRFC> DIRECTION  : I                                                      <
    XRFC> REQ_ID     : 91C57815916E421CA9F3D652FFACE9C7                       <
    XRFC> RESP_ID    : 00155D0B45301EE3BBFF89A0267EB5CE                       <
    XRFC> MSG_STATE  : 114                                                    <
    XRFC> IF_NAME_I  : ZSD_CS_CREATE_SALESORDER_SERVI                         <
    XRFC> IF_NS_E    : urn:sap-com:document:sap:soap:functions:mc-style       <
    XRFC> IF_NAME_E  : ZSD_CS_CREATE_SALESORDER_SERVI                         <
    XRFC> ISSHORTCUT :                                                        <
    XRFC> TRC_PATT   : WSTEST                                                 <
    XRFC> TRC_SSID   : PRD_19                                                 <
    XRFC> TRC_USER   :                                           <
    XRFC> TRC_TS     : 20140609173409                                         <
    XRFC> TRC_COUNT  : 99                                                     <
    XRFC> TRC_EXT    :                                                        <
    XRFC> COMPLETE   : OK                                                     <
    XRFC> CALLEDPROG : ZSD_CS_CREATE_SALESORDER_SERVI                         <
    XRFC> SOAP_APPLI : urn:sap-com:soap:runtime:application:rfc:710           <
    XRFC> CONF_ID    : 00155D0B45301EE3AEFDAD78756555CE                       <
    XRFC> BIND_ID    : 00155D0B45301EE3AEFDAD787565B5CE                       <
    XRFC> OP_NAME    : ZsdCsCreateSalesorder                                  <
    XRFC> COMM_PATRN : Method:ZsdCsCreateSalesorder                           <
    XRFC> OP_NS      : urn:sap-com:document:sap:soap:functions:mc-style       <
    XRFC> REMADDRESS : 172.16.11.43                                           <
    XRFC> DT_OBJ     : ZSD_CS_CREATE_SALESORDER_SERVI                         <
    XRFC> MEMCONSUMP : 296291                                                 <
    XRFC> WSHOST     :                                                        <
    XRFC> WSPORT     :                                                        <
    XRFC> WSPROT     :                                                        <
    XRFC> WSCLIENT   :                                                        <
    XRFC> WSPATH     :                                                        <
    XRFC> PXYHOST    :                                                        <
    XRFC> PXYPORT    :                                                        <
    XRFC> USEDRFCDES :                                                        <
    XRFC> BONAME     :                                                        <
    XRFC> PROCCOMP   :                                                        <
    XRFC> DEPLOYUNIT :                                                        <
    XRFC> ------------------------------------------------------------------  <
    XRFC>                                                                     <
    XRFC> TRACE SOAP RUNTIME - trace records                                  <
    XRFC>                                                                     <
    XRFC> ------------------------------------------------------------------  <
    XRFC> E SOAP_RUNTIME 20140609173429.7400000 : CL_SOAP_RUNTIME_SERVER      <
    XRFC> ->EXECUTE_PROCESSING Exception handling for IF "ZSD_CS_CREATE       <
    XRFC> _SALESORDER_SERVI" OP name "ZsdCsCreateSalesorder" MSG ID           <
    XRFC> "91C57815916E421CA9F3D652FFACE9C7" user "STULZWEBSERV"              <
    XRFC>                                                                     <
    XRFC>                                                                     <
    XRFC> E SOAP_RUNTIME 20140609173429.7240000 : CL_SOAP_RUNTIME_SERVER      <
    XRFC> ->EXECUTE_PROCESSING CX_SOAP_ROOT : An exception has occurred. |    <
    XRFC> program: CL_SOAP_RUNTIME_ROOT==========CP include: CL_SOAP          <
    XRFC> _RUNTIME_ROOT==========CM004 line: 120                              <
    XRFC>                                                                     <
    XRFC>                                                                     <
    XRFC> E SOAP_RUNTIME 20140609173429.7400000 : CL_SOAP_RUNTIME_SERVER      <
    XRFC> ->EXECUTE_PROCESSING CX_SY_NO_HANDLER : An exception with the type  <
    XRFC> CX_SY_OPEN_SQL_DB occurred, but was neither handled locally, nor    <
    XRFC> declared in a RAISING clause | program: SAPLSTXD include: LSTXDFDB  <
    XRFC> line: 200                                                           <
    XRFC>                                                                     <
    XRFC>                                                                     <
    XRFC> E SOAP_RUNTIME 20140609173429.7400000 : CL_SOAP_RUNTIME_SERVER      <
    XRFC> ->EXECUTE_PROCESSING CX_SY_OPEN_SQL_DB : The database returned a    <
    XRFC> value containing an error | program: SAPLSTXD include: LSTXDFDB     <
    XRFC> line: 227                                                           <
    XRFC>                                                                     <
    XRFC> ---------------------------------------------------------------------
    XRFC> End of user trace

  • I get an web service error when trying enable web services. I have latest update and rebooted

    i get an web service error when trying enable web services. I have latest update and rebooted

    hi there philnj,
    could you help the community narrow troubleshooting by providing a little more information? Particularly what model printer are we dealing with?
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Web Services Error When running Sample Application

    When I was testing "Create a New Customer" from the Sample application in Oracle's provided free new HTML DB 2.0 environment (just out last night), I got the following error message.
    ORA-20001: The webservice was unreachable because either the URL you supplied was invalid, or your environment requires a valid proxy server address for HTTP requests.
    I was using my laptop through SBC Yahoo DSL service (dynamic IP address) to test this HTML DB Sample application.
    Any suggestion for this Web Services Error?

    cckung,
    Oracle's IT team has disabled the ability to call web services from htmldb.oracle.com. We are working with them to resolve this, but I don't have an ETA.
    Thanks,
    - Scott -

  • LS Join Launcher Web Service error 64008

    I getting multiple
    LS Join Launcher Web Service errors (id 64008) on my Front-end servers (LHPv2) and online meetings stopped working. I have reinstalled Web components, but it didn't
    help. Any ideas?
    An exception was encountered when sending Conference Error Report.
     Conference Error Report + Exception Details. CER = Machine:SERVERNAMEBrowserId:Join
    attempted at(UTC):12/10/2013 6:28:13 AMError: request context was lostException = System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.Rtc.Internal.JoinLauncher.JoinLauncherTelemetryProxy.SendCERReport(JoinLauncherAsyncContext asyncContext)
    Cause: Failed to report Conference Error Report. Please look through the exception details for more information.
    Resolution:
    Please check if the Data collection agent is running fine & Storage Service is accepting connections

    Process I followed on my FE servers:
    1. stop-cswindowsservice
    2. net stop w3svc
    3. unistalled Web Components and URL-Rewrite
    4. rebooted FE server
    5. run Bootstrapper and install Web
    Components and URL-rewrite module
    6. run LyncserverUpdateInstaller.exe
    from LHPv2 ISO image and install recent updates for Web Components.
    7. one more reboot 
    Now, Lync Online Meetings are working,
    but LS Join Launcher error 64008 is still there, repeating every 15-20 seconds on every FE servers(I have five)
    I tried Lync Server 2013 Logging Tool
    on one of my FE servers and I found these additional errors:
    TL_ERROR(TF_COMPONENT) [5]0DC8.0FF0::12/12/2013-07:45:57.785.00000117 (JoinLauncher,JoinLauncherProxyRouter.ComputeIncomingURL:3166.idx(2740))
    (0000000000403C61)URL Path is either NULL / empty or points to resources directory
    TL_ERROR(TF_COMPONENT) [5]0DC8.0FF0::12/12/2013-07:45:57.785.00000135 (JoinLauncher,Default_aspx.Page_Load:849.idx(1915))
    (00000000010FCA91)Context flag is missing !
    TL_ERROR(TF_COMPONENT) [5]0DC8.0FF0::12/12/2013-07:45:57.785.00000137 (JoinLauncher,Default_aspx.Page_Load:849.idx(1961))
    (00000000010FCA91)Proxy module didnt find this meeting to be valid. Preparing to send the correct error response !
    TL_ERROR(TF_COMPONENT) [5]0DC8.0FF0::12/12/2013-07:45:57.785.00000138 (JoinLauncher,JoinLauncherTelemetryProxy.SendCERReport:1579.idx(152))
    (0000000003581F88)Failed to report CER to the DB.

  • HP Photosmart 7520 unable to connect to web services error

    I've used my HP Photosmart 7520 for years without issue scanning to email.  Now I get "Unable to connect to Web Services" error message.  I've done all the procedures listed in the blog, including changing the manual DNS server configuration and still get the same error.  Help!

    Hi @ajbond77,
    Welcome to the HP Support Forums.  I understand that you are getting a connection error message when attempting to use the scan to email feature of your Photosmart 7520 printer.
    If you have already set a manual IP address and manual DNS servers, then please call HP’s Cloud Services at 1-855-785-2777 if you live in the USA/Canada region. If you live outside the USA/Canada region please click here to find the Technical Support number for your country/region.
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • BAPIs and Web Services

    Hello, I have the following Question. As I understand it,
    I can setup a Java App to access a BAPI via JCo and SOAP, thus creating a Web Service which can pass on the results to a Client.
    Or I can let XI do the work, which can publish a Web Service, handling communication to the related BAPIs internally.
    Is there any other way to access a BAPI via Web Services, using SOAP and Java?
    I hope this question makes sense, otherwise I would ask you to clarify the issues for me.
    Thank you in advance.
    Felipe Hernandez

    http://help.sap.com -> SAP NetWeaver -> Application Platform -> ABAP Technology -> ABAP Workbench -> Tools or: http://help.sap.com/saphelp_nw04/helpdata/en/d1/802cfc454211d189710000e8322d00/frameset.htm
    and continue Enterprise Services Architecture: Web Service
    Jiri

  • LYNC Server 2013 LS Address Book and Distribution List Expansion Web Service error - Event ID 62005

    Hi,
      Recently,  I found some of LS Address Book and Distribution List Expansion Web Service error from Lync 2013 Front  End Server, kindly advise help how to solve it. many thanks
    Distribution List Expansion Web Service failed to initialize.
    Exception: The server is not operational.
    Cause: Unexpected exception occurred during initialization.
    Resolution:
    Examine exception details in event to determine the resolution.
    Best Regards
    Thomas

    Hi,
    You can do the following steps to solve the issue:
    Please double check the Windows Firewall is turned off.
    Please check if the CMS replication update to the latest version.
    Make sure Lync Server update to the latest version.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • XML Serialization Error- While testing BAPI turned Web service

    I have a requirement to create sales order in SAP R/3 from an e-commerce site. I went through many forums suggesting "exposing FMs into Web Service". I wrapped BAPI_SALESORDER_CREATEFROMDAT2 and BAPI_TRANSACTION_COMMIT into one FM and exposed as Web Service. I did a successful test-sequence.
    When I tested the web service without giving values I got a response asking for "Sold-to Party or Ship-To Party". While testing the Web service with some values, I got the below error -
    XML Serialization Error. Object content does not correspond to Schema restrictions of type [urn:sap-com:document:sap:rfc:functions][numeric4].
    The e-commerce team tried to hit the Web service and got the below error-
    IWAB0383E Error validating parameters
    Note: Our servers does not have any ENHPacks. Only ECC 6.0.
    Please suggest what might have gone wrong and how to resolve this.
    Thanks!

    Hi Gourav Khare,
    I have created WSDL file through function module in SAP-ECC 5.0v.
    I have followed below steps:
    Crated FM (SE37)
    Crated Web-service (SE37)
    Generated WSDL file using (WSADMIN)
    And consumed WSDF file in SOAP UI (SOAP UI 4.5.2 Trailer version)
    Problem is: while consuming WSDL file in  SOAP UI I getting  ‘Serialisation failed’
    For your reference I have furnished xml string below.
    SOAP UI Input:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:rfc:functions">
    <soapenv:Header/>
    <soapenv:Body>
    <urn:YSDF_INV_PRINT_FINAL_RFC_WS_N>
    <!--Optional:-->
    <PWR_INVOICE>
    <INVOICE_SHIPPED_LINE>
    <!--Zero or more repetitions:-->
    <item>
    <POSITION1></POSITION1>
    <SALES_PART></SALES_PART>
                      <PART_DESC></PART_DESC>
    <PRICE></PRICE>
    <QUANTITY></QUANTITY>
    <CUSTOMER_TAX_NO></CUSTOMER_TAX_NO>
    <PROD_NONINVENTORY></PROD_NONINVENTORY>
    <PROD_TAXABLE></PROD_TAXABLE>
    <TAX_LEVEL></TAX_LEVEL>
    </item>
    </INVOICE_SHIPPED_LINE>
    <INVOICE_NO></INVOICE_NO>
    <ORDER_NO></ORDER_NO>
    <DATE_PRINTED></DATE_PRINTED>
    <DIV_CD></DIV_CD>
                <LAST_COST_INVOICE></LAST_COST_INVOICE>
    <DELETE_ZERO_COST></DELETE_ZERO_COST>
    <DELETE_NON_SHIPPED></DELETE_NON_SHIPPED>
    <GLOBALREF></GLOBALREF>
    <ORIGIN></ORIGIN>
    <ORIGINID></ORIGINID>
    </PWR_INVOICE>
    </urn:YSDF_INV_PRINT_FINAL_RFC_WS_N>
    </soapenv:Body>
    </soapenv:Envelope>
    SOAP UI Output:
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Body>
    <soap-env:Fault>
    <faultcode>soap-env:Client</faultcode>
    <faultstring xml:lang="en">Serialisation failed</faultstring>
    <detail>
    <n0:SimpleTransformationFault xmlns:n0="http://www.sap.com/transformation-templates">
    <MainName>/1BCDWB/WSS0130716111624448000</MainName>
    <ProgName>/1BCDWB/WSS0130716111624448000</ProgName>
    <Line>8</Line>
    <Valid>X</Valid>
    <ReferenceFault>
    <DescriptionText>Error accessing the ref. node 'INVOICE_ID'</DescriptionText>
    <RefName>INVOICE_ID</RefName>
    </ReferenceFault>
    <Caller>
                      <Class>CL_SRG_RFC_PROXY_CONTEXT</Class>
    <Method>IF_SXML_PART~DECODE</Method>
    <Positions>1</Positions>
    </Caller>
    </n0:SimpleTransformationFault>
    </detail>
    </soap-env:Fault>
    </soap-env:Body>
    </soap-env:Envelope>
    And one more things are
    I don't know the exact reason, but now the WSDL is working fine. No Idea, will it be consistent.
    No changes in import and export parameters of RFC and no change in code, even if the logic is changed it should not affect the output on SOAP UI but in my case it does.
    Wonder why all this happens, I cannot explain the exact reason technically because my RFC works fine every time, only issue is with SOAP UI.
    From SAP point of view FM is working fine, and input parameter of FM is optional, validations are done by the programming logic and it will capture the message and its details with respect to input data.
    I am not sure SOAP will work consistently and we are using ECC 5.0 most of the t-code not there like "SOAMANAGER" and all.  
    Kindly help me on this
    Thanks & Regards,
       Akshath.L.T

  • Bapi as web service - required by schema description

    Hello,
    I exposed a BAPI as a web service. Lets take for example the bapi to update / change a business partner. When trying to update for example the first name I have to create a complex type: centralPersonData and I have to create ALL simple types that are subtypes of centralPersonData even when I only want to change one of this attributes otherwise I will get a:
    com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [...] of class [...] must exist and can not be null. This is required by schema description.
    I know that I get this error because the XML element tags are not created when I do not initialize the values. In the moment I initialize all values "by hand" and have to write sometimes about 50 lines of code only to update one value. Is there a better way to solve this?
    Thanks for your answers!
    Felix

    Hi
    Check This URL and you will get some Solutions to your problem
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/ae1b9a5d2cef4ea4b579f19d902871/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/7c/a4f1b3c59aef4f8ea3c32cda0c0486/frameset.htm
    Regards
    Chandran

  • Web Service error deserialisation failed.

    Hi Guru's,
    I have set up a Web Service, generated via a Z-Bapi. When posting to the webservice I am getting an error message saying:
    deserialisation failed
    So i did a search and found 2 SAP notes:
    - SAP Note 892944 Deserialisation failed
    - SAP Note 830340 SOAP request - Deserialisation failed
    Both notes I checked, I renegerated the webservice and checked the package. The package is even a higher version, so must be ok.
    This is the WSDL generated from the Z-Bapi; http://www.koopmann.nu/test/ZBAPI_GET_MAT_DESC_2.wsdl
    This link contains the actual soap message used during posting: http://www.koopmann.nu/test/soap_msg_example.xml
    Does anyone have another idea on this? maybe the soap message is not correct?
    Best regards,
    Guido Koopmann

    Another strange thing is that when I post this:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:rfc:functions">
       <soapenv:Header/>
       <soapenv:Body>
         </soapenv:Body>
    </soapenv:Envelope>
    Basicly just the SOAP enveloppe, I get an HTTP 200 Ok back.

  • Create BAPI as Web Service

    Hi,
    I have expose a BAPI as a web service.
    Application : PA
    BAPI : EmployeePersonalData
    Method : Create
    When i try to test the web serive with the following test data:
    Employeenumber (String) = 12345678
    Validitybegin (String) = 2001-01-01
    Validityend (String) = 2003-01-01
    It give me the following error:
    =============================================
    HTTP/1.1 500 Internal Server Error
    Set-Cookie: <value is hidden>
    content-type: text/xml; charset=utf-8
    content-length: 803
    sap-srt_id: 20080128/122539/v1.00_final_6.40/DCCD591434D56BF19BA300145E6770F3
    server: SAP Web Application Server (1.0;700)
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><soap-env:Fault><faultcode>soap-env:Client</faultcode><faultstring xml:lang="en">Deserialisation failed</faultstring><detail><n0:SimpleTransformationFault xmlns:n0="http://www.sap.com/transformation-templates"><MainName>/1BCDWB/WSS0080123034217187000</MainName><ProgName>/1BCDWB/WSS0080123034217187000</ProgName><Line>128 </Line><Valid>X</Valid><ReferenceFault><DescriptionText>Error accessing the ref. node 'EMPLOYEENUMBER'</DescriptionText><RefName>EMPLOYEENUMBER</RefName></ReferenceFault><Caller><Class>CL_SRG_RFC_PROXY_CONTEXT</Class><Method>IF_SXML_PART~DECODE</Method><Positions>1 </Positions></Caller></n0:SimpleTransformationFault></detail></soap-env:Fault></soap-env:Body></soap-env:Envelope>
    ============================================
    What wrong with it? Any idea how to resolve this problem?
    Regards,
    Rayden

    Hi Rayden
    It will surely help you.
    Please reward pts if help.
    Deepanker
    Expose BAPI as a Web Service
    1. Go to transaction SE80.Select Function Group from drop down menu; enter the function group in which the BAPI (which is to be exposed as Web Service) comes. You can find this Function Group from function module (BAPI) itself. Go to transaction SE37 and enter function module name (BAPI name) and click on display. You can see the function group here under attribute tab .
    2. Then from Function Modules list choose the BAPI to which you want to expose as a   
        Web Service .
    3. On right clicking on the BAPI a context menu appears. Click on create and Web Service option .
    4. New window will pop up. Click on Continue.
    5. Give the name for Enterprise service and short description. Click on continue.
    6.  New window will pop up.Click on Continue
    7. New window pop up. Click on 'Release service for runtime'. Click on Continue.
    8. This window pops up. Click on Complete.
    9. New pop up window come up asking for Package. Give the package name and click on SAVE button.
    10. New window pop up asking for Request . Give request and click on OK.
    11. New window comes displaying service definition.
    12. Now go to transaction WSADMIN and choose your web service. Go to Web Service menu and choose WSDL option.
    13. New pop up window come.Check on Include SAP Feature in WSDL and click on OK.
    14. Internet browser will be opened and asking for User Name and Password .
    15. After giving values for user name and password, you will get WSDL file opened in internet explorer. SAVE this locally on your computer for further use.

  • BAPI as Web Service

    Hi,
    I published an standard BAPI via SE80 as web service. In SOAMANAGER I configured Service an Endpoint for the WS-BAPI.
    Now there are a few problems.
    Secret  nature 1: The web-Service-Navigator for that binding doesn't work :Fehlercode:ICF-NF-http-c:000-u:SAPSYS-l:D-i:stuekenri52_SQ1_00-v:0-s:404-r:Notfound
    Secret  nature 2: The WDSL document for the binding is malformed. The mendatory parameter "address" is missing.
    - <wsa:EndpointReference xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
      <wsa:ReferenceParameters />
      </wsa:EndpointReference>
    Secret  nature 3:
    I can import the WSDL in Eclipse and generate an Webservice Consumer by ignoring the obove error. The first connet with authentication will work, but while accessing the Bapi I get an "connetion refused"
    12:44:07 [com.sun.xml.ws.policy.EffectiveAlternativeSelector]  doSelection
    WARNUNG: WSP0075: Policy assertion "enableBlocking" was evaluated as "UNKNOWN".
    30.03.2010 12:44:07 [com.sun.xml.ws.policy.EffectiveAlternativeSelector]  doSelection
    WARNUNG: WSP0075: Policy assertion "enableCommit" was evaluated as "UNKNOWN".
    30.03.2010 12:44:07 [com.sun.xml.ws.policy.EffectiveAlternativeSelector]  doSelection
    WARNUNG: WSP0075: Policy assertion "required" was evaluated as "UNKNOWN".
    30.03.2010 12:44:07 [com.sun.xml.ws.policy.EffectiveAlternativeSelector]  doSelection
    WARNUNG: WSP0075: Policy assertion "enableWSRM" was evaluated as "UNKNOWN".
    30.03.2010 12:44:07 [com.sun.xml.ws.policy.EffectiveAlternativeSelector]  doSelection
    WARNUNG: WSP0019: Suboptimal policy alternative selected on the client side with fitness "UNKNOWN".
    Exception in thread "main" com.sun.xml.ws.client.ClientTransportException: HTTP transport error: java.net.ConnectException: Connection refused: connect
         at com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:134)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:140)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:86)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
         at com.sun.xml.ws.client.Stub.process(Stub.java:248)
         at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
         at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
         at $Proxy34.stdmaterialGetintnumber(Unknown Source)
         at de.stueken.ws.TestWSBAPIService.main(TestWSBAPIService.java:32)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:519)
         at java.net.Socket.connect(Socket.java:469)
         at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
         at sun.net.www.http.HttpClient.New(HttpClient.java:306)
         at sun.net.www.http.HttpClient.New(HttpClient.java:323)
         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:852)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:831)
         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:718)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:896)
         at com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:122)
         ... 13 more
    Any suggestions?
    TIA
      Dirk
    Edited by: Dirk Niemeier on Mar 30, 2010 2:56 PM
    Where is my formatting gone? I preview it looks well.

    Hi Dirk,
    A couple of questions... Are you using a the enpoint URL to import the WSDL into Eclipse or you're importing it from your file system? If you're using the endpoint URL, does the URL have WS-Policy in it? If yes, do you need to be using WS-Policies?
    If you don't need to be using WS-Policies, when you specify the endpoint URL for import into Eclipse, replace the 'ws-policy' bit with 'standard' in the URL & check if that makes a difference.
    I always seem to have problems testing webservices with WS Navigator. I now only use SoapUI for testing.
    Regards, Trevor

  • Web Service Error handling in JDev 11g

    Hi,
    I followed the steps on this tutorial: "Use JDeveloper 11g to Create a Data Control From a Web Service"
    http://www.oracle.com/technology/obe/obe11jdev/11/wsdc/wsdc.htm
    In this tutorial, under the section "Running the Page", you will see the image where an error message is displayed - "SoapException - Server was unable to process your request...."
    I also get this error when I follow the tutorial's steps. If I repeatedly press the GetWeatherByZipCode commandButton, the message goes away and I get the data in the table as expected.
    What I'd like to do is not show the end user this error, but instead eat the error and retry the request a few times. If after a few tries, I still get the error, then I can show the end user a nicer message.
    How do I do this? Any documentation you can point me too would be appreciated. I'm new to the 'bindings' layer. I usually use JavaBeans/managed beans.
    I'm using JDeveloper 11g (Main build from Oct 15th)
    Thanks,
    Jeanne

    I've read about binding to #{adfFacesContext.initialRender} to not call the web service on initial render which is what you are probably talking about.
    However, I get this error even after the first time I've displayed the page. I've heard that you cannot rely on web services always coming back to you with data ((e.g., like Twitter's data - that was the example I was given at a recent Google Tech Talk) . I need to handle the case where I get an error from the web service and I retry calling the web service behind the scenes so the end user is unaware. This is what I want to do. I can retry a few times, then give up, then pop up a nice error.
    Thanks,
    Jeanne

  • Calling an R model via a web service - "Error in raw connection", "all connections are in use"

    Hi there,
    I have built an R model in Azure ML using the "Create R model" module and have trained it, turned it into a scoring experiment and a web service. I am now sending new data to it to be scored from an Excel workbook, and getting it to return
    the prediction to the same workbook. Sometimes (but not always) when I try to run it from the workbook I get the following error:
    {"error:{"code":"LibraryExecutionError","message":"Module execution encountered an internal library error.","details":[{"code":"FailedToEvaluateRScript","target":"Score Model (RPackage)","message":"The following error occurred during the evaluation of R script: R_tryEval: return error: Error in rawConnection (raw(0),\"wb\"):all connections are in use \n"}]}}
    Usually, if you just press "OK", it works, but then sometimes it comes up again (seems quite random). I have tried a bit of troubleshooting and know that when you open lots of connections (e.g. with connections()) in R this error can occur, but
    I'm not sure why in this context the error is coming up. Also, before this error I was getting the error regarding "cannot change value of locked binding for 'dataset'" described here:
    https://social.msdn.microsoft.com/Forums/azure/en-US/e20b8cbf-2e89-4898-b602-d2138bf8901c/cannot-change-value-of-locked-binding-for-dataset?forum=MachineLearning
    and so I made the suggested fix, adding
    unlockBinding("dataset", environment())
    to my Create R Model's Score script. I don't know whether this has anything to do with it or not?
    Could anyone offer advice of how to get round this?
    Many thanks.

    Hi,
    I've solved the problem. For the record I added:
    closeAllConnections()
    at the end of the R scoring script (and at the end of another R-script I was using higher up the pipeline) and that seemed to do the trick.
    Still, I'm intrigued as to why this was necessary.

Maybe you are looking for

  • Safari 3 quits as soon as I download a .pdf file

    I've just downloaded the Beta of Safari 3, running on my 12" Powerbook (10.4.10, 1.25Gb RAM, 1.5GHz processor). Now, whenever I try to download a .pdf file from any site, the browser crashes without warning or error message. Three questions: 1. Anyon

  • ITunes no longer burning MP3 discs?

    I am running iTunes 6.0.2 on my iBook which has, until recently, worked well. I don't know at what (upgrade) point things changed, but in the past when I created a long playlist and then selected 'burn' I would be told that the list is too long for a

  • Photoshop CC in 64 bit dosen't start

    When I try to start the CC in 64 bit mode I get the error 0x0000005.  (in 32 bit there is no problem) I'm using Windows 7, 64 bit and have been using other Photoshop versions without any problem.  My current version of Photoshop is CS6.  I've updated

  • How does convert document to working cmyk after adjusting in profile mismatch dialog box?

    When there`s a profile or policy mismatch dialog box here,there`s an option about adjust the document to match current colour settings.But when the assign profile doesn`t match the working space,the check box of "convert document to working cmyk afte

  • Adl Error : Adobe Flash Player error: could not load cURL library

    Hi people, I am trying to get this code working -- var loader; $(function() { loader = new air.HTMLLoader(); loader.addEventListener(air.Event.COMPLETE, complete); loader.load(new air.URLRequest('http://www.lilpirate.net/blog'));