IDOC - Web Service scenario gives errors when processing multiple IDocs

Hi,
I have an integration process defined in PI 7.1 that contains four major steps :
-     Receive DEBMAS IDoc
-     Call a RFC to get additional information
-     Call a MS Dynamics web service to retrieve the MS Dynamics customer account number via the SAP customer number (synchronous call)
-     Call a MS Dynamics web service to update customer info (asynchronous call)
This process works well when one IDoc is processed.
If however 10 Idocs are submitted, some updates are processed correctly, most of them are not (the find service call works perfectly fine). Sometimes 3 work fine, sometimes 1 (for the same 10 IDocs submitted)
I did a test with SOAP UI where in a test script I submitted the 10 update service calls and this works fine.
The error that is given in the adapter engine SOAP communication channel is :
Message processing failed. Cause: (415)Cannot process the message because the content type 'multipart/related; type="text/xml"; start="<45504935B855BA3ACA0EA2FD503BC60F>"; boundary="----=_Part_20_1319086528.1239082062538"' was not the expected type 'text/xml; charset=utf-8'.
I noticed in the message content that the SOAP calls that go wrong have two payloads attached, one for the Main Document and one for the XI Context.. The ones that are processed correctly only have one payload, the Main Document
Anyone an idea what the cause can be ?
Thanks,
Jan

Hi,
  Please check the transaction idx5 in PI system and see whether the IDOC status by double clicking on the corresponding Transaction ID.
  I think this might be due to some invalid data coming from the source system
Thanks,
Tiny

Similar Messages

  • IDOC - Web Service scenario error

    Hi Experts,
    I am developing IDOC to Web Service scenario and the error which I come across is in the receiver SOAP channel which states:
    "Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server did not recognize the value of HTTP Header SOAPAction: AddUpdateStandardOrder."
    Please suggest.
    Thanks
    Tiny

    Hi,
    your SOAP action defined in reciver SOAP comm channel is not correct.... to specify it corrctly, open your SOAP application URL in internet explorer........click on service description..........then search SOAP:Action node in it.........specify the complete SOAP action in the reciver SOAP comm channel including the complete namespace.............then save and activate it.........then rerun your scenario.
    Regards,
    Rajeev Gupta

  • HTML to Web Service Scenario - Runtime Error Exception

    Hi Friends,
    I am tryin to do HTML to Web Service Scenario for Validating email for the fWeb Service Email
    Validation http://www.webservicex.net/ValidateEmail.asmx?wsdl. While executing the scenario in
    Integration Directory there is no error but when sending the payload (Payload contains onl)from SAP
    HTML then getting error in SXMB_MONI as
    "Runtime exception occurred during application mapping com/sap/xi/tf/_MM_EmailRequest_To_ValidateEmail_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Content is not allowed in prolog."
    Please guide me for the same.
    Regards,
    Nitin Patil

    Hi,
    well it might be the reason that XI is always working with XML but not HTML. It's important that your HTML should be following the XML wellformness. It would be strongly recommanded that you use XHTML but not normal HTML here, because I think XI has no tolerence at all when the inbound HTML is not XML-wellformed.
    Try to compose your XHTML like the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
            "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
         <title/>
    </head>
    <body>
    <p>some email address</p>
    </body>
    </html>
    Make sure there are no weird characters and empty lines within and before the <?xml
    Regards,
    Chen

  • REST web-service invocation gives error ORA-29266: end-of-body reached

    We are trying to consume a REST web-service. We send county code and country name to the WS, it then inserts the data and sends us a response in XML.
    I used this PL/SQL code to invoke the rest WS.
    http://blog.warp11.nl/2011/07/calling-a-rest-webservice-with-plsql/
    Problem is there is an error ORA-29266, when processing the utl_http.read_text(t_http_resp, t_respond);
    The error means that there is no response. i.e. NULL response.
    We can PING the service the WS is, so we are not using authentication. Could this be the problem?
    Any help could be greatly appreciated.
    Edited by: user12240205 on Aug 5, 2011 3:33 AM

    We are trying to consume a REST web-service. We send county code and country name to the WS, it then inserts the data and sends us a response in XML.
    I used this PL/SQL code to invoke the rest WS.
    http://blog.warp11.nl/2011/07/calling-a-rest-webservice-with-plsql/
    Problem is there is an error ORA-29266, when processing the utl_http.read_text(t_http_resp, t_respond);
    The error means that there is no response. i.e. NULL response.
    We can PING the service the WS is, so we are not using authentication. Could this be the problem?
    Any help could be greatly appreciated.
    Edited by: user12240205 on Aug 5, 2011 3:33 AM

  • Files generated by Web Service Proxy give errors for complex input types

    Hi ,
    I generated a Java Web Service Proxy using a WSDL file.
    The input params are of this fashion -
    1) Object 1 have 3 attributes
    2) Object 2 having nested Object 2 (yes , again) which has a nested attribute which needs to be passed say Param 1.
    When I generate the proxy classes ... Param 1 is referred to as private Object2.Object2 param1 which gives error for the data types.
    How can we resolve this .. what should be the correct data type representation for param 1 ?
    Thanks

    Issue was resolved . Details here - 11g PS2 - WebServiceProxy Class give errors for complex input types

  • Inconsistencies when processing Multiple IDocs.

    Hi
        When a customized IDoc comes from an external system
        to my R/3 System,GRN(mb1c) and Delivery note(vl01n)
        documents are created through call transaction.
        If one IDoc comes the GRN and Delivery created
        correctly. If Multiple IDocs comes arises
        inconsinstency. The inconsistency is, GRNs are created
        correctly but the Delivery created have items data
        wrong ( actuallly it should match with the GRN ).
        As per my understanding when multiple IDocs comes
        parallel processing of Inbound Function module takes
        place, so the inconsistency. If this is right, how
        to ensure that only one IDoc processing take place
        at a single point of time.
        hope i made my problem clear.
    Thanks & Regards,
    Abhimanyu.L

    Hi Abhimanyu,
    It's an inbound idoc ,so when we write the custom function module , we will loop the idoc_data ryt?
    Try like this
    read table idoc_contrl into wa_idoc_contrl
    where mestyp = 'zmessagetype'.
    if sy-subrc eq 0.
    loop at idoc_data into wa_idoc_data
    where docnum = wa_idoc_data-docnum.
    case wa_idoc_data-segnam.
    when 'ABC'.
    WHEN 'XYZ'.
    ENDCASE.
    endloop.
    endif.
    Regards,
    Nagaraj

  • Errors when processing web service call

    Hello Experts,
    Based on a requirement, I got a URL based on WSDL, using which I created a Consumer Proxy in SAP.
    I created a Logical Port in SOA Manager with type selected as 'WSDL'.
    When I'm trying to execute the proxy class to call the webservice using the logical port through SE80  it is throwing an error log as stated below.
    1) SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/
    2)Error when processing Web service call
    3)Error when calling SOAP Runtime functions: Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/
    Kindly help me out.
    Thanks,
    Vamshi

    Hi,
    Check Anton's reply in this thread: External WS Consumption Issue
    Also refer the below doc which may help you: Consume an External Web Service in a Nutshell with Good Old ABAP
    Calling WebServices from ABAP via HTTPS
    Regards,
    Kiran

  • Workflow status web part gives error when going back to previous stage (using GO TO) in Project Server 2013 workflow

    Hi,
    Workflow status web part gives error when going back to previous stage (using GO TO) transition activity  in Project Server 2013 workflow.
    Please guide how to create a workflow which restarts from a desired stage.

    Thanks for your prompt reply....
    It gives following error
    Workflow Status
    This Web Part was unable to load.
    Information that may be useful in solving this problem was written to the Unified Logging Service (ULS) log on the Project Web App with the following ID: e95a9c9c-1f68-90d7-0a3e-5951df70fec6
    For more information, contact your Project Web App administrator.
    what do you mean to restart the Project Server 2013 with different project name, please elaborate....

  • Inconsistent Errors when processing  IDocs using custom Function Module

    I am encountering a most perplexing error. Here is the situation.
    We have a custom function module to update data in the EH&S system. We are having a bizarre error occurring. This is the basic processing of the function module:
    1. IDoc data is read and loaded into an internal table.
    2. Data is run through a series of checks to determine if the data is valid for entry into the system.
    3. After validation we use function module  C1F2_SUBSTANCES_READ_WITH_REF to read  characteristic data for the  substance. This data is used to validate whether current data exists to allow for loading of the IDoc data. (This is the step where the IDoc is receiving an error even if the data is valid. This only occurs if we are processing a large amount of Idocs and one IDoc contains valid data and another invalid data for the same substance. It occurs even if the Idocs are not processed in sequence.  If individually processed or reprocessed after initial failure they pass. This is what is so confusing!) If it exists, a flag is set and  the data is loaded using function module BAPI_BUS1077_CHANGE to modify the data.
    4. If the flag is set to allow further processing, the function module C1F2_SUBSTANCES_READ_WITH_REF is used again to select different characteristic data for the substance. A similar validation process occurs and if it passes, data is loaded using BAPI_BUS1077_CHANGE to update and BAPI_BUS1077_CREATE to create new data.
    Here is the situation:
    When processing one valid record for one substance, the record loads successfully.  When processing multiple valid records (all are valid) for one substance, they all load successfully.  The problem occurs when attempting to load valid and invalid records for the same substance.  Some times the program successfully loads the valid data (as expected).  Other times, it will not load any records.  It is not consistent!
    The order of IDoc processing does not have an impact on the success of the load.  Whether the valid or invalid record processes first does not have an impact on the success of the valid substance load.
    Does anyone have ANY Idea of what is going on? I am clearing all fields in the function module before processing occurs. I cannot find what is causing the error to occur.
    HELP!
    Jim Hardy

    I have some further information. It seems that if data for a substance is sent in two separate Idocs, one with valid and one with invalid data, As long as the two IDocs are processed consecutively, they process correctly. If they are separated by IDocs containing other substance information, they fail.
    thanks
    Jim

  • Gettinfg error in RFC to Web Service scenario

    hi friends,
    I am getting the following error while configuring RFC to Web Service scenario.
    I have used the ws :http://webservices.imacination.com/distance/Distance.jwsPlease help me out.
    <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML; HTTP 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Hi
    check this thread
    Getting error in target SOAP communication channel
    regards
    krishna

  • Idoc to web services scenario

    Hi
    Can any one send me material for  <b>idoc to web services scenario</b>  to my mail id [email protected] or any good links to download material
    Regards
    Pavan

    How to Develop a Webservice Using NWDS and SAP XI.30
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    How to Set Up a Web Service-Related Scenario with SAP XI
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
    How to Configure the IDoc Adapter
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098
    How to Sample IDoc Scenarios Within XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660

  • SNC: ASN - Error when processing your request

    Dear experts,
    we are implementing SMI scenario with SNC 5.1, we have created in SNC Web UI a Replenishment Order and we have published it now Iu2019m trying to create an ASN releted to that RO but I have another strange error with ASN, could you please have a look and tell me your opinion?
    From RO details I click on u201CCreate ASN for Itemsu201D, I insert all the information needed and all checks are successifully passed, but when I try to publish it the following error screen appears me.
    This error appears also when I try to save a draft of the ASN.
    Error when processing your request
    What has happened?
    The URL <url> was not called due to an error.
    Note
    The following error text was processed in the system <System name>: Syntax error in program /1BCPPF/CL_100SCABOL_DLV_X====CP .
    The error occurred on the application server <application server> and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: EVALUATE of program CL_METHOD_CONDITION_PPF=======CP
    Method: EVALUATE of program CL_CONDITION_PPF==============CP
    Method: IF_DETERMINATION_PPF~DETERMINE of program CL_RULE_DETERMINATION_PPF=====CP
    Method: DETERMINE of program CL_TTYPE_PPF==================CP
    Method: DETERMINE of program CL_CONTEXT_MANAGER_PPF========CP
    Method: DETERMINE of program CL_MANAGER_PPF================CP
    Method: SEND_SNL of program /SCMB/CL_SVDELIVERY===========CP
    Method: SAVE_SNL of program /SCMB/CL_SVDELIVERY===========CP
    Method: SAVE of program /SCA/CL_SVDELIVERY============CP
    Function: /SCA/BOL_RFC_DLV_CHANGE of program /SCA/SAPLBOL_DLV
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system <system number> in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server <server> in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server <server>. In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team 
    I've checked and reactivated all ODMs related to ASN, according to the SAP Note 1019289 (SNC5.1 Order Documents: Required Customizing).
    Could you please give me your opinion about this?
    Thank you very much in advance,
    Nicola
    Edited by: PTP Team Consultants on Nov 1, 2011 4:29 PM

    Hi Martin,
    Thank you for your answer.
    This is the error analysis in transaction ST22:
    Error analysis
        The following syntax error was found in the program
         /1BCPPF/CL_100SCABOL_DLV_X====CP :
        "The field "LV_EVAL_OUTCOME" is unknown, but there is a field with the "
        "similar name "RULE_EVALUATION_OUTCOME". "RULE_EVALUATION_OUTCOME"."
    Thank you,
    Nicola
    Edited by: PTP Team Consultants on Nov 3, 2011 12:32 PM

  • URL error when processing request ITS 6.40

    Hi all
    I have a problem at customers site and below is a description of the case. All input in this issue is appreciated of course since I am running out of ideas.
    Problem:
    When accessing transaction WW20 via internet explorer (http://server.domain:8000/sap/bc/gui/its/ww20?sap-client=100) I got an error when processing request.
    It basicly says: Communcatione failure. However ST22 and SM21 does not say anything about this.
    The errorcode on the webpage returns:
    Error code: ICF-IE-http -c: 100 -u: IAMWEB -I: E -s: KAY -i: ksnoka_70_KAY_01 -w: 0 -d: 20080702 -t: 153240 -v: IMC_CANCEL_TX -e:
    note: KAY is SID for the system and ksnoka is the hostname of the windows server.
    OBS: Calling transaction WW20 in sapgui localy works fine but not via ITS. Webgui works fine and I have checked follwoing:
    - Paramteres in RZ10 - should be ok!
    - SICM up and running
    - run report RSXMB_ACTIVATE_ICF_SERVICES in SE38 successfully
    - W3_publish_services in SE38 ticked all in package S_webgui and S_ITSP.
    Note the WEBGUI service works well;
    Also when I run a test link: "http://ksnoka70.corp.kagroupad.com:8000/sap/public/ping" It gives me a message "Server reached successfully" - so I assume it's all ok with the web serwer.
    The customer has set up this WW20 transaction as a service in SICF.
    Looking forward to some input. Cheers ...//Pelle

    > Problem:
    > When accessing transaction WW20 via internet explorer (http://server.domain:8000/sap/bc/gui/its/ww20?sap-client=100) I got an error when processing request.
    > It basicly says: Communcatione failure. However ST22 and SM21 does not say anything about this.
    Do you see anything in the trace in transaction SMICM?
    Markus

  • Web Service Scenario Not Working

    Hi Sdners,
    I am working on Support project where I have web Service to RFC Scenario which is synchronus scenario. when the user sending the WSDL request to XI it's woking fine in for Devlopment but it is not working QA .In QA i am gettings error below
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="urn:sap-com:document:sap:rfc:functions">ZCA_RATE_INTF.Exception</SAP:ApplicationFaultMessage>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    When I asking user to send the message from their they are coming to QA syetm insted of DEV.........for this where I have to check........
    Edited by: gangadhar kh on Mar 3, 2010 12:29 PM

    HI All,
    Can anyone help me on this?
    there is no communication is going between the sender system(Web Service) to PI . When user is sending the data through URL he is not able to send the data and when he is sending the data . I am getting the message in PI/XI(MONI) messsage coming (with system Error with balls sign)
    <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="urn:sap-com:document:sap:rfc:functions">ZCA_PRICE_F_EX_RATE_INTF.Exception</SAP:ApplicationFaultMessage>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    and IN payload of This message
    RFC_ERROR_SYSTEM_FAILURE</ID><Attributes><V1>CALL_FUNCTION_NO_DEST</V1>
    Please suggest on this Problem
    Regards
    Edited by: gangadhar kh on Mar 8, 2010 6:00 AM

  • PI Web Service Scenario

    Hi experts!!!!
    I try to learn PI Web Service Scenario, and for test, i developed a simple scenario.
    I created a Service Message Synchron Outbound Message with Request and Response Structure, and I created a Service Message Synchron Inbound with Request and Response web service message (previouse imported on External Definition).
    I developed 2 mappings, one for Requeste ( MyMessageReq ---> Web Service Request) and other one for Response  (Web Service Response --> MyMessageResponse). and add this on Operation Mapping.
    In Directory, i created 2 Business Components (WS_Sender and WS_Receiver).and add my objects.
    For Receiver Communication channel i user adapter type like WS. and configured this like help.sap.
    When i executed the interface, the communication channel returns the following error:
    <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">WS_ADAPTER_SYS_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Systemfehler beim Aufruf des Web-Service-Adapters: Error al acceder a WSDL: &quot;Error in WSDL access for task ID &quot;00000000000000000007&quot;; read the long text&quot;</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I don't know the reason of this error, and i don't found anything on forum...
    Please, could somebody help me? Could somebody have any idea? Thanks.
    Gemma.

    Thanks.
    Now I use a communication channel soap receiver, and when i try to execute the interface, the call adapter returns the following error:
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">CLIENT_SEND_FAILED</SAP:Code>
      <SAP:P1>35</SAP:P1>
      <SAP:P2>HTTPIO_ERROR_CUSTOM_MYSAPSSO-Fehlermeldung beim Senden der Daten.</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Fehler beim Senden per HTTP (Fehlercode: 35, Fehlertext: HTTPIO_ERROR_CUSTOM_MYSAPSSO-Fehlermeldung beim Senden der Daten.)</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Please, could somebody help me? Thanks.

Maybe you are looking for

  • Strange Fonts in labview graph's plot legend.

    Hello All,     I am running labview 7.1 on a Windows XP machine and the default and only language is English (US). Verified this under Control Panel > Regional Settings.     When I run a VI, I get strange fonts in the plot legend. They keep updating

  • Where to upload images on-line for storyboarding?

    Where to upload images on-line for storyboarding? Or what does it take to produce a storyboard from a Adobe Story Plus Script? Any suggestions are welcome ; )

  • ClickToGoToWebPage snippet not working

    hi, i'm having a problem with the ClickToGoToWebPage snippet because it works while i am in a preview mode, but once i publish my file, nothing happens when i click on the button.  I tried created a simple file to test out the problem.  i choose acti

  • I am facing some problem with my ipod videos

    I am facing some problem with my ipod videos

  • Audiodock not showing in patchmix

    hi ; I just pluged in my audiodock in my 1010 card ; it seems to power up ; it responds when I change the clock in patchmix, the light switches on the dock ; the problem is that patchmix is not showing the audiodock as connected (stays grey ; will no