SOAP Sender Async Scenario - return message

In SAP Note, it is provided
<i>Q. What should my web service return to the adapter for asynchronous calls?
A: Currently, the receiver adapter expects an HTTP 200 with a SOAP envelope with an empty content for successful delivery. Any other response will result in a XI system error and triggers retries of the message.</i>
Instead of envelope with empty content, if i want an element, say, : <Result>The Result</Result>, then do i need to add only the response message, or any other modification is also required?
Thanks,
Prateek

Hi,
As soon as you want a response message, it becomes a synchronous interface.Asynchronous interfaces will fail if a response message is provided and PI will keep trying to resend a number of times. Everything would look ok in SXI_MONITOR but if you checked the message in the RWB, you would see an APPLICATION FAULT being raised.
So you will need to amend PI accordingly to reflect this change.
You will need to change:
1. New data type for response
2. New message type for response
3. Change interface from being async to synch
4. Create message mapping for response
5. Amend interface mapping for response
Cheers
Colin.
Message was edited by:
        Colin Bickell

Similar Messages

  • Issue about BI JAVA SDK-SOAP request failed with return message 2147483653

    Dear Experts,
    I'm trying to use BI JAVA SDK to connect BW by using XMLA connector.
    But there's an error messaet said :
    SOAP request failed with return message 2147483653 ( Invalid MDX command with INCLUDING)
    I'm really new to this JAVA SDK, and after searching help in SAP Service Market and Google, there's no helpful suggestion.
    please help me about how to fix this error.
    Here is my code:
    IBIConnection connection = (IBIConnection) cf.getConnectionEx(cs);
          IBIOlap olap = connection.getOlap();
          Cube cube = olap.getObjectFinder().
          findCubeFirst((String)null, "ZFI_C11/ZFI_C11_Q001");
        // This is just a sanity check to verify that the
        // cube on which this example relies was retrieved 
        if (cube==null){
            System.out.println("no cube found");
    // Didn't print out this message, seems it can connect to BW and get the InfoCube and Query.
        Dimension plantDimension = olap.getObjectFinder().
        findDimensionFirst(cube, "ZPLANT");
      Dimension materialDimension = olap.getObjectFinder().
        findDimensionFirst(cube, "ZMATERIAL"); 
      IBIQuery query = olap.createQuery(cube);
      IBICommandProcessor commandProcessor = query.getCommandProcessor();
      commandProcessor.moveDimensionToRows(plantDimension);
      commandProcessor.moveDimensionToRows(materialDimension);
      IBIDataSet dataset = query.execute(); // After execute this statement, error happens.
    Thank you!
    Andy

    Solved myself, it's because the query used in my code have user input variable.

  • SOAP request failed with return message 2147483653

    Hello everybody!
    I've got a constant error while trying to execute following MDX-statement via BI Java SDK:
    SELECT  {[0BCS_REPMOD].[N],[0BCS_REPMOD].[P],[0BCS_REPMOD].[R],[0BCS_REPMOD].[S]} DIMENSION PROPERTIES MEMBER_UNIQUE_NAME, MEMBER_CAPTION, PARENT_UNIQUE_NAME on 0 , {[0PCOMPANY].[000001],[0PCOMPANY].[000002],[0PCOMPANY].[000102],[0PCOMPANY].[000103],[0PCOMPANY].[000104],[0PCOMPANY].[000200],[0PCOMPANY].[000003],[0PCOMPANY].[000004],[0PCOMPANY].[000100],[0PCOMPANY].[000101],[0PCOMPANY].[000105]} DIMENSION PROPERTIES MEMBER_UNIQUE_NAME, MEMBER_CAPTION, PARENT_UNIQUE_NAME on 1  FROM [$ZBCS_OV12]WHERE{[0BCS_REPMOD].[N],[0BCS_REPMOD].[P],[0BCS_REPMOD].[R],[0BCS_REPMOD].[S]}{[0PCOMPANY].[000001],[0PCOMPANY].[000002],[0PCOMPANY].[000102],[0PCOMPANY].[000103],[0PCOMPANY].[000104],[0PCOMPANY].[000200],[0PCOMPANY].[000003],[0PCOMPANY].[000004],[0PCOMPANY].[000100],[0PCOMPANY].[000101],[0PCOMPANY].[000105]}*
    The error is:
    SOAP request failed with return message 2147483653 (Log not found (in main memory))
    What to do with this message? How to understand what is the cause of the error?
    The same query is working fine in MDX-test tool.
    WBR, Dmitriy.

    Solved myself, it's because the query used in my code have user input variable.

  • Response delay in Soap Sender while processing large messages

    Hi Experts,
                  In one of the scenario our sender adapter is SOAP. After receiving the message its sending back the Response as HTTP 200 OK for success messges it is working fine when the message is small.  When ever i am getting a large message that  time its taking little bit processing time so my sender system not getting the HTTP 200 OK with in the time. (Suppose with in 3 seconds). In this case source system is sendin again the same message thinking that message is not success.
    My Sender system they dont want to increase the waiting time from 3 second to .. Seconds
    I cont use AAE becasue we are at 7.0.
    I have to use Adapter Engine. I will not using direct communicatin with Integration Server.
         Can you please let me know how can i resolve this issue..
    Thanks &  Regards,
    Puru

    >>In this case source system is sendin again the same message thinking that message is not success.My Sender system they dont want to increase the waiting time from 3 second to .. Seconds
    Looks like you are doing asynchronous SOAP scenario.   You could adjust the message reprocessing time little bit later. I meant Pi does automatic reprocess messages after sometime if the mesg gets in to error state.
    <IRRELEVANT LINK>
    Edited by: Prateek Raj Srivastava on Mar 12, 2011 6:24 PM

  • SOAP Sender and SXI_monitor succesfull message not visible

    Hello,
    I have a scenerio SOAP -> ABAP Proxy. Scenerio is synchro(Best effort). Problem is that message processed by PI is not displayed in sxi_monitor. Sxi_monitor shows only error message, succesfull message is not shown.  Everything was fine untille i didn't receive first error message from ERP(abap proxy).
    Any idea
    Regards
    Maciej

    Hi,
    Synchronous messages are NOT persisted and logged by default if they are successful.
    If you want to see them then set the parameter LOGGING_SYNC to 1 in SXMB_ADM -> integration engine configuration.
    The parameter is for the category "RUNTIME". Also set the parameter LOGGING also 1 to get the individual pipeline steps logged for asynchronus. have a look here for details-
    http://help.sap.com/saphelp_nw70/helpdata/EN/d6/49543b1e49bc1fe10000000a114084/content.htm
    regards,
    francis

  • Acknowledgement message for Async scenario...

    Hello All,
    I am working on Asynchronous scenario (IDOC -> File). I have confirgured all the things properly. My problem is when i execute the idoc everything is working fine file got created at FTP. But in sxmb_moni i am getting success message with still wating for acknowledgement "?".... Where i have did the mistake.. as this is async scenario this message is not expected.
    Is there anyone who had faced such problem... Please let me know..
    Thanks for all your help in advance...

    Hi Siddhesh,
    By default, Sender IDOC adapter requests IDOC acknowledgement from receiver adapter, when we send IDOC to XI. In your case, System acknowledgement sent by File adapter is converted in to ALE audit message and sent to sender system.
    If you want to receive acknowledgement then you need to configure IDOC receiver communication channel.
    Refer to this good blog
    /people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
    From the above blog....
    At times, there could be a scenario where in we do not need the ALEAUD IDOCs to be got back.
    To acheive this add the PORT,CLIENT and MESSAGETYPE to the table IDXNOALE.Use transaction SE16 -> specify the table name "IDXNOALE" and then choose create new entries.Specify the values for PORT, CLIENT and MESTYPE fields, save the entry.This procedure helps switch off ALEAUD IDOCs from being sent back to the sender SAP system.
    Best Regards,
    Divyesh

  • Problem: Original Attachment Name from SOAP Sender changes to attachment-1

    Hi everybody,
    we have a scenario where a SOAP sender receives a xml message describing several documents. Each document has a mime type and a file name, size, md5 checksums etc as attributes.
    The documents are send as attachments with the same Web service in SWA(SOAP with attachment style).
    The web service calls an ABAP proxy provider class in a R/3 backend.
    The ABAP proxy class will save the attached documents for further processing and must use the original document names.
    At the soap communication channel monitoring(Java Stack) we still see the original attachment names in the message content tab.
    At the Integration Server(sxmb_moni) the attachment name changes to attachment-1, attachment-2 and so on.
    Using the method
    IF_AI_ATTACHMENT ->GET_DOCUMENT_NAME
      in the provider ABAP proxy class returns the name attachment-1.
    We can see that there is a mapping of the new attachment-1 name to the old, original name in the manifest section of this message on the Integration server.
    Is there a way to access the manifest section at a provider ABAP proxy class?  Or otherwise a PI configuration setting to preserve the original attachment names.
    Thanks a lot,
    Heiko
    => PI 7.1 SP9

    Hi Stefan,
    (I was hoping you would find that thread ...)
    I see a good reason why the attachment names are changed as the PI message protocol sends the main document as an attachment as well. So no problem with that because the information of the mapping old to new names still exists in the manifest part and is visible at the sxmb_moni.
    We see a manifest part like this (Sorry cant post the whole xml doc as the formatting for longer messages isn't working in the forum)
    <SAP:Payload xlink:href="cid:4cc43edd-839f-423f-b7c6-7e44294d663a_sig.p7m">
      <SAP:Name>attachment-1</SAP:Name>
      <SAP:Description>attachment</SAP:Description>
      <SAP:Type>ApplicationAttachment</SAP:Type>
    </SAP:Payload>
    The (red) cid entry is the original file name. This manifest is from the sxmb_moni in the r/3 backend. So all the information is there..  The question is how to retrieve this information .. Any idea?
    Best Regards,
    Heiko Bergmann

  • System Error in Message Monitoring -Proxy to SOAP async scenario

    Hi All,
    My scenario is ABAP Proxy---> SAP PI 7.1 ---> WEbService(Asynchronous SOAP ).
    In Moni message is showing successful Flag, but message has got stuck in "system Error" at message monitoring.I can't see any Audit log in Message monitoring .
    but in related Soap Receiver communication channel i can see the below Error 
    "2010-08-11 09:54:15 Error SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Retrieving the COM class factory for component with CLSID {00226D6E-6A57-44DB-9DDC-66FDCB2869B3} failed due to the following error: 80070005.
    2010-08-11 09:54:15 Information SOAP: sending a delivery error ack ...
    2010-08-11 09:54:15 Information SOAP: sent a delivery error ack
    2010-08-11 09:54:15 Error Adapter Framework caught exception: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Retrieving the COM class factory for component with CLSID {00226D6E-6A57-44DB-9DDC-66FDCB2869B3} failed due to the following error: 80070005.
    2010-08-11 09:54:15 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Retrieving the COM class factory for component with CLSID {00226D6E-6A57-44DB-9DDC-66FDCB2869B3} failed due to the following error: 80070005. "
    Please help , what could be the problem.
    Thanks in Advance.
    Jyoti

    Hi Jyoti,
    >Is there any specific setup required at Provide side while moving to Acceptance system
    I dont think so.
    Please compare EXACTLY the settings of the two Comunication Channels, especially the server path. Please assure that you ve sent exactly the same message content from Acceptance system.
    Regards,
    Udo

  • File adapter sends return message to SOAP adapter

    Hi,
    I have managed to send a message using a SOAP sender adapter to a file using the file adapter. The respective message is written to a file. Though both adapters are configured to work in an asynchronous way, the file adapter seems to try to return as message. This results in an error message: "Das Interface-Mapping ... ist nicht im Laufzeit-Cache vorhanden". I have updated and checked the runtime cache. The respective mapping program is available and working, since the file adapter writes the send date to the file. So why this message?
    Kind regards,
    Heiko

    The file adapter replies the sent message, when it is addressed in sync mode.
    Set in the SOAP sender channel the Quality-of-Service to Exactly-Once to avoid this behavior.
    Regards
    Stefan

  • SOAP TO JDBC scenario: calling stored procedure which will return the value

    Hi
    I have Soap To Jdbc scenario in which I am going to call the Stored Procedure at target side which will be executed and it is going to return the result set .
    Result contains following values.
    return code as ( 0 Or 1) and also specific exception message if its return code as 1.
    Could you suggest me the way by which I can handled this return code and send it back to the Sap PI system then the same thing is directed the to SMTP server for sending mail to consern person.
    Regards
    Kumar

    The OUT parameters of stored procedure will be returned as response. Where exactly are you facing the proble? Here is a complete walkthourgh
    /people/luis.melgar/blog/2008/05/13/synchronous-soap-to-jdbc--end-to-end-walkthrough
    In your case, you don't want response at sender. Instead you want to mail it. For this you may use BPM to design your scenario with following steps
    Receive (to receive data from sender)
    Send Sync (to stored procedure and get response)
    Send Async (to mail receiver)
    Regards,
    Prateek

  • Help Need on SOAP (Sender) to RFC Scenario(Synchronous Communication)

    Hi All
    I have a requirement of <b>SOAP(Sender) to RFC</b> scenario(Syncronous Communication).  The scenaio goes like this........
    I have a web service through which I have to create a SAP Notification in SAP system and the Notification ID created and other details have to be returned back to the webservice from the BAPI.  I have identified the relevant BAPI for the scenario.
    I have a wsdl file which I have uploaded it.  What are the next steps to be done?
    Please let me know what all(e.g., Data types, Message Types, Message Interface)  I have to create in Integration Repository and what all configurations I have to make in Integraion Directory.
    FYI, I have a gone through a list of Blogs, but didn't get enough info.
    Please help me out in providing your valuable answers.
    Thanks,
    Vijay
    P.S. Rewards points are sure .....

    Hi Vijay,
       If at all you have uploded wsdl file for the webservice you no need to create data types for the same even for the same as RFC also.
         Create message mapping and drag the wsdl file which you have imported as External Definiations and there you will be having request and response parameters..Do the mapping accordingly(according to your requirement).
    Mapping like:
        Wsdl(Request)---->RFC (Input parametrs)
        RFC (out parameters)------>wsdl(Response)
    Create message interface with Synchronous for outbound
        No need of DT,MT if at all if you import the wsdl file.
       Hope i am clear.
      Please let me know if you have any queries..!
      Thanks and Regards,
      Chandu.
    null
    null

  • HOW TO TEST SOAP SENDER TO FILE SCENARIO

    Hi gurus,
    I have designed and configured SOAP to file scenario.
    I have used http://xyz namespace in design time.
    I have created two business systems for this sceanrio.
    I have downloaded and installed soap client on my system.
    When I open this soap client it is asking
    1)URL
    2)load request from
    3)In the editor request tab what should i give.
    4)wht is the response tab here
    I want to send data to XI from SOAP and then to file.
    Please help how to give data and how to get the data format to give in the requst editor?
    Points will B rewarded
    Regards
    Sreeni

    Hi,
    You can use a SOAP client like Altova XML spy for posting a message to XI.
    The best way to do this is to use the generated wsdl for creating a soap request.
    once the wsdl file is picked up by the soap client, it automatically generates the url.
    now the response which comes back to the soap client is usually a http status code of successful post. (since u r performing an async scenario)
    also ensure u use the j2ee port while genrating the wsdl using the "Create Webservice" option in Int Directory.
    Also chk the link for the weblog on sender soap scenario.
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    Hope this helps.
    Award points if found helpful
    Cheers!!
    Sidharth

  • SOAP Sender to RFC Scenario WSDL File

    Hi,
    I am working on SOAP -> PI -> RFC Scenario. I generated WSDL from sender agreement and gave to the client that can consumed by the third party system. But client is not ready to consume the WSDL. He provided WSDL and asking me to use that. Could you please suggest whether WSDL given by the client can be used in SOAP -> PI -> RFC Scenario. If it is possible, could you please provide steps how it can be done?
    Thank you.
    Regards,
    Cdr.

    Thank you Hareesh & Divya,
    When we generate WSDL from PI, it gives soap action and soap address location based on the interface we use for SOAP -> PI -> RFC.
    When we import WSDL given by the client as external definition, we get messages(Structures). But where do we pass the soap action or address location. I do not see any option in the soap sender communication channel. I am not visualize the link.
    Can somebody share their knowledge if they have done in this way.
    Thank you.
    Regards,
    Cdr.

  • SOAP Sender Channel _Error in handling SOAP Envelope message

    Hi XI/PI Experts :
    Scenario : SOAP (SOAP Envelope) to RFC (SAP ERP)
    Partners send the information   Goods Receipt  in SOAP envelope webservice  . SOAP Sender removes the SOAP enevlope, inturn sends only the xml  in XI /PI:
    <GoodsReceipt xmlns="rrn:org.xcbl:schemas/xcbl/v3_5/xcbl35.xsd" xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding">
    But We have  a certain condition which we applied in Interface determination for 2 Interface mapping of GR . The condition is  the message process will take place between 2 IM's based on condition : GoodsReceipt/GoodsReceiptHeader/GoodsReceiptPurpose/Purpose/PurposeCoded =Orginal or Cancelled.
    Thsi condition of XPATH causes an errror in SXMB_MONI as it is missing the namesspace after the GoodsReceipt xml tag
    :xmlns="rrn:org.xcbl:schemas/xcbl/v3_5/xcbl35.xsd" xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding
    Any idea to deal with the solution .Appreciate your inpit,
    Note : Graphical mapping is used  for Good's Receipt.
    Best regards,
    Varalakshmi
    SAP XI/PI Analyst

    Have you selected the option Keep headers in sender SOAP adapter?
    .To include the header of the Web service message in the XI message, select Keep Headers.
    and also check if you have option NO SOAP Envolope is selected.

  • Error in SOAP sender scenario

    Hi All,
       I am getting the following error when i execute a sender SOAP scenario from XMP Spy.
      Scenario : SOAP --> XI --> RFC
    I am getting the following error when i try to send request from XML Spy.
    Error in XMl Spy:
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP:Body>
          <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context>XIAdapter</context>
                   <code>ADAPTER.JAVA_EXCEPTION</code>
                   <text>com.sap.aii.af.mp.module.ModuleException: *adapter inactive*
         at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:703)
         at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0_3.process(ModuleLocalLocalObjectImpl0_3.java:103)
         at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:292)
         at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0.process(ModuleProcessorLocalLocalObjectImpl0_0.java:103)
         at com.sap.aii.af.mp.soap.web.MessageServlet.callModuleProcessor(MessageServlet.java:174)
         at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:436)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         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>
          </SOAP:Fault>
       </SOAP:Body>
    </SOAP:Envelope>
    When i go to RWB-- > communication channel monitoring i see the channel status as "Started but Inactive" and when i go to Cluster node tab--> Cluster Node Details for Channel Unifier i see the following two entries every single time i try to send a message
      14/10/10 05:35:10   error occured
      14/10/10 05:35:10   request received
    Please help to figure out what could be wrong.

    open the SOAP Sender channel in Integration directory and change the status to active and then activate. Try resending SOAP message from XML spy

Maybe you are looking for

  • Trying to import Entourage Emails into Apple Mail

    I recently purchased a new Mac (Mountain Lion) and am trying to import the emails from my old Mac. I was previously using Entourage but I want to import them into Apple Mail. My old Mac will not restart but I have a copy on time machine. I think I ha

  • Oracle SQL Developer for personal use?

    Hello, I would like to use Oracle to test out my SQL commands, however I do not have a connection set up (at home). Is there a way I can create databases and tables without setting up a connection to a database. If that isn't possible, is there a tut

  • Can you include hyperlinks in an indesign doc. exported to HTML?

    Trying to send an email newsletter that has images/hyperlinks and maintains its format. When you export an indesign doc. into html code will the hyperlinks still work? If so, what do I have to do to make sure that the links and images work after send

  • Installing iTunes on PC

    I am trying to install iTunes on my PC and I keep getting two error messages: Error 146: Could not write value to Key\software\Classes\.cdda\OpenWith List\tunes.exe Verify that you have sufficient access to that key, or contact your support personnel

  • Anyone else having issue getting the "swipe up" to work to access control center on Iphone5?

    Hi, just upgraded to IOS7 on both my Iphone5 and 3rd Gen Ipad.  While I can easily swipe up to get into Control Center on Ipad, same is not at all true for the Iphone5.  Takes about ten tries to get the control center to open by swiping up on Iphone5