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

Similar Messages

  • Synchronous messages through Soap Adapter

    Hi XI Guru's
    In my scenario I am sending a synchronous soap message over soap adapter. Message flow is  like
    3rd Party Application --> XI --> SAP R/3.
    My message do get processed in SAP R/3 and I do get response in SXMB_MONI as well as in Message Monitoring in RWB.
    The return message for message f1bdf1d0-cec5-11de-a9c0-0050569626f6(OUTBOUND) was successfully passed to the waiting "call" thread.
    2009-11-11 05:27:26     Information     The message status was set to DLVD.
    2009-11-11 05:27:26     Information     SOAP: response message entering the adapter (call)
    2009-11-11 05:27:26     Information     SOAP: response message leaving the adapter
    But still the response from XI does not reaches 3rd party application.
    On digging the logs I found following message.  Can this be an issue in XI which is blocking the reponse message from reaching the 3rd Party Application.( I tried posting the message through XML spy and I do get the response in XML spy.)
    (Note : My XI Installation has central adapter engine)
    #1.5 #0050569626F6004200000D0B00000B5000F66675B4B8DEA5#1257401122698#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/com.sap.aii.adapter.soap.app#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#LOVEIN#25369##sapnw03_NPI_6935550#Guest#2fd59d51c9d111debb440050569626f6#HTTP Worker [4]##0#0#Warning##Plain###Cannot send an HTTP error response [500 "Application error occurred during the request procession." (details: "The WebApplicationException log ID is [0050569626F6004200000D0800000B5000F66675B4B8DEA5].")]. The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: *The stream is closed.*
    +     at com.sap.engine.services.servlets_jsp.server.runtime.client.ServletOutputStreamImpl.ensureOpen(ServletOutputStreamImpl.java:354)+
    Any help in this regard is appreciated .
    Thanks
    Lovein

    Thanks for your reply Stephan / Abhishek.
    To add some more info on the issue. This issue is when I am using PI 7.1 version.
    I do not face the issue if I use XI 3.0 and end to end flow works fine and response message reaches 3rd party application.
    Only difference I have in 2 versions is that in XI 3.0 we have been able to disable the soap adapter authentication (by changing web.xml file) where as in PI 7.1 we have not been able to disable that authentication and userid/ password info has to be provided while sending the soap message from 3rd Party application.
    (Security if not disabled gives 401 message as described on following blog [SOAP Sender ADAPTER 401 No Authorisation|SOAP Sender ADAPTER 401 No Authorisation] )
    On the other note do you guys know a way to disable this authentication on PI 7.1 version.
    Thanks ,
    Lovein

  • How to Send Multiple Attachment by SOAP Adapter

    Hi,
    How to send multiple attachment by SOAP Adapter.
    I am able to send single attachment but at the time of sending multiple attachment i am not able to see in SXMB_moni.
    Regards,
    Anurag

    On the communication channel, please check the 'Do Not Use SOAP envelope' option. Also, please, add the "nosoap" attribute to the SOAP adapter caller. Check the note below for more information
    #856597 FAQ: XI 3.0 / PI 7.0 / PI 7.1 SOAP Adapter
    > "How does the nosoap mode work for the SOAP sender adapter?"

  • How to save the Response message from SOAP adapter

    Dear Friends,
       I am sending the FIle details webserver.here sender is FILE adapter and receiver is SOAP adapter.
    FIle to SOAP working successfully, but I need response from SOAP.
    Sender QoS is BE, so the response is coming to XI, but in SXMB_MONI it is showing DO YOU WANT TO SAVE IT or DISPLAY IT.
    my requirement is response message is directly updated in XI system.
    For response Can I use BPM or which method I need to use.
    Please suggest me  how to do the resonse message(SOAP to FILE).
    Regards,
    Shalini Shah.

    Sender QoS is BE,
    File adapter does not support sync communication. Therefore the scenario won't work as it is.
    What are you planning to do with the response? If you want to process is further, then:
    1. One way without BPM would be use of adapter module.
    File - RFC - File without a BPM - Possible from SP 19.
    2. Or you may use BPM with Async Sync bridge
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Regards,
    Prateek

  • Exception while posting a message using SOAP adapter

    Hi
    We are getting the following message while posting a SOAP request through SOAP adapter through Http Client. The error message is
    <SAP:Error>
    <SAP:Category>XIAdapterFramework</SAP:Category>
    <SAP:Code>MESSAGE.GENERAL</SAP:Code>
    <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</SAP:AdditionalText>
    </SAP:Error>
    Please help in this regard.
    Regards
    Ramesh

    Dear Gopal,
             I am trying from HTTP->WEB SERvice (R/3 system)
    I have created a webservice from RFC.
    Receiver Adapter type : SOAP
    USer authentification provided
    URL provided. i picked from wsdl file
    i am getting this error
    com.sap.aii.af.ra.ms.api.DeliveryException : invalid content text/html.
    I hope u trouble shooted this kind of error.
    can u provide me some clues.
    regards
    chandra
    Message was edited by:
            chandra shekar dasari

  • Send attachment with receiver SOAP adapter

    Dear Guru's,
    We have created a scenario SAP ERP (ABAP Proxy) -> PI 7.0 -> (Webservice) OSB.
    In the ABAP Proxy have we attached a file (jpg). In the SXMB_MONI we see first the file (named attach), and second the MainDocument. It seem's this is the wrong sequence.
    We tried to correct this with AF_Modules/PayloadSwapBean in the receiver SOAP adapeter, but it does not work.
    There are blogs who tells about how to configure the parameters. We did it as follows:
    AF_Modules/PayloadSwapBean swap1
    AF_Modules/PayloadSwapBean swap2
    swap1:  swap.keyName = payload-name
    swap1:  swap.keyValue = attach
    swap2:  swap.keyName = payload-name
    swap2:  swap.keyValue = MainDocument
    In the communication channel audit log the swap is processed succesfully, but we don't see nothing changing in the message sequence.
    Can somebody please help me with this issue?
    Kind regard,
    Jeroen Jung

    Hi Stefan,
    The main thing at this moment is to change the sequence of the payload and attachement. PI puts the attachement first and than the payload and in that sequence the receiver application can't deal with it.
    This is a multipart related message and in the header it refers to the image (image/jpeg) first instead of the payload (application/xml).
    As you can see in the first message we have used PayloadSwap Adapter module in the receiver SOAP Communication Channel to change this sequence and in the Audit Log of the SOAP CC we can see that it does SWAP functionality succesfully but the result is the same and nothing happens.
    Here below you can see the result of a http snapper grabber:
    POST /EnterpriseContentManagement/ProxyServices/PS_EnterpriseContentManagement_v1 HTTP/1.0
    Accept: */*
    Host: localhost:8090
    User-Agent: SAP-Messaging-com.sap.aii.messaging/1.0505
    CallingType: SA
    Content-Type: multipart/related; boundary=SAP_00e371ef-3ca3-11df-9503-001f2966194a_END; type="image/jpeg"; start="payload-9A6BAB4B2FE1273DE10000000A503151 @ sap.com"
    Content-Length: 939196
    SOAPACTION:
    --SAP_00e371ef-3ca3-11df-9503-001f2966194a_END
    content-id: payload-9A6BAB4B2FE1273DE10000000A503151 @ sap.com
    Content-Type: image/jpeg
    *********binary attachment data************
    --SAP_00e371ef-3ca3-11df-9503-001f2966194a_END
    content-id: payload-9B6BAB4B2FE1273DE10000000A503151 @ sap.com
    Content-Type: application/xml
    <?xml version="1.0" encoding="utf-8"?>
    *********XML Message************
    --SAP_00e371ef-3ca3-11df-9503-001f2966194a_END--
    Do you have an idea how we can switch the sequence of payload and the attachment? Or why the SWAP functionality doesn't have any result?
    Kind regards,
    Danke
    Jeroen Jung

  • SEND SYNC IN BPM SOAP ADAPTER FOR WS

    Hi all,
    I´m having problems with an BPM that send a sync message to a ws using a Soap adapter. I have the following error
    Work item 000000087293: not possible execute CL_SWF_XI_MSG_BROKER, method SEND_SYNCHRON.
    I´m on SP15.
    Any Idea?
    Many thanks
    Noelia

    Hi,
    Go thru this thread:
    Interface Mappings in BPM Collect Pattern
    Then try this
    1)do a CACHE REFRESH. Is it working?
    2) Check transaction SWDD
    3) If no other go then try this:= Copy your old BPM to a new name and delete the old one. The again eport it in the Configuration with the old name.
    Regards
    Suraj
    Message was edited by: S.R.Suraj

  • Synchronous messages for SOAP adapter.

    Hi All,
    I wanna expose an interface in XI as a WebService.My requirement is to invoke a webservice which takes some input and hands it over to a DataBase and gets something from it(DB) and hands it over to the application which had called this WebService.Both the request and response have to go and come through the WebService.Is it possible to design an Outbound Intf in Synchronoues mode with both the input and output messages types and expose that Intf as a WebService.
    Clarification and help on this wud b appreciated.
    Thanx in Advance.
    Anil Kumar Veepuri

    Hi Anil,
      You can definitely make an outbound Interface as a webservice.For this create two message
    types(Request & Response) and make a synchoronous Message Interface out of it.This will be
    our Outbound Interface. You will Definitely have JDBC Request and response.
    Map the outbound Resquest type-> JDBC Request.
    JDBC Response->Outbound Response.
    Go to Tools->Define Web service, mention the Outbound Interface you have created.Now you save the WSDL created out of it and make a call to this interface through the SOAP Adapter.
    Cheers,
    Rashmi

  • Which Adapter to use - HTTP or SOAP Adapter?

    Hi Experts,
    The third party system will be sending a standard HTTP request with a standard SOAP envelope containing standard XML.
    So in this case what adapter I should use HTTP or SOAP?
    What is the difference between these two adapters and in which scenarios this should be used?
    Thanks.

    Hi,
    The plain HTTP adapter gives application systems the option of communicating with the Integration Engine and exchanging business data using a plain HTTP connection. Depending on the receiver system, outbound messages can be enhanced with certain information.
    The SOAP adapter enables you to exchange SOAP messages between remote clients or Web service
    servers and the Integration Server or the PCK.
    In the SOAP adapter, you can specify security settings to be used to sign/verify the SOAP body.
    In addition, you can specify the standard to be used for signing/verifying the SOAP message
    whenever Xi need to communicate with any sort of webservice i.e remote applications it uses SOAP adapter..
    And XI uses HTTP adapter when you want to post a HTTP request message from a web application to XI.
    HTTP Adapter :
    1) HTTP Adapter is used by extenal systems to connect to Intergartin server using native HTTP Interface
    2) http adapter is a service which is directly connected to integration engine
    SOAP Adapter :
    1)Allows Local Processing in AAE
    2)Exaclty One Operation per Interface
    3)Modules for Receiver Adapter
    With regards,
    Pinangshuk.

  • XI Adapter ? No messages in the adapter engine in RWB

    Hi Guys,
    I have the scenario SOAP-PROXY. I have configured XI Adapter on the receiver side. I have used xml spy to post the messages directly to the IS. I could not see any messages in the adapter engine in RWB.
    I have seen the messages processed successfully in the integration engine under RWB.
    can anybody explain why i could not see any messages in the adapter engine ? Is It normal with the xi adapter on the receiver side ?
    Thanks,
    Raj
    Message was edited by:
            raj reddy

    Raghu.
    I've done the following:
    1. I've executed SE38 tx code.
    2. I've entered the "RSXMB_DELETE_MESSAGES" report as "Program"
    3. As the "RSXMB_DELETE_MESSAGES" report does not have a selection screen, it must be executed with default parameters. So, I selected "Program -> Execute -> Background".
    4. There are no available variants, so I clicked on the "Execute immed." button.
    5. The job starts. I can monitor it on the SM37 tx code.
    6. It only deleted 20 messages.
    What I get from this, is that the "RSXMB_DELETE_MESSAGES" report cannot delete the big part of the messages since them are marked as "Archivable" and not as "Archived".
    what do you think of it??
    regards
    Carlos.

  • File adapter (sender) module throws exception, but adapter proceeds again

    Hello dear reader,
    I wrote a module that converts a flat file into XI-XML and tested it within the file adapter. It works fine so far. But if I force the module to throw an exception to handle an erroneous flat file, the file adapter tries to proceed the erroneous file again and again. Not very nice, isn´t it?
    Has anybody an idea, how to configure the file adapter to stop the processing of an erroneous file?
    Thank you in advance
    Yours
    Frank Waskow

    Hello Satish,
    the weblog doesn´t describe my problem correctly. Let me show you the Audit Log from the Messeage Display Tool of the Adapter Engine:
    Audit Log for Message: 06ff54a0-a258-11db-b9e2-003048226013
    Time Stamp     Status     Description
    2007-01-12 16:14:49     Success     Send text file "Invoice_error_wf.edi" from FTP server "HH-168:/XI_Infotag_Testdaten/EDIX/In", size 27993 bytes with QoS EO
    2007-01-12 16:14:50     Error     Attempt to process file failed with null
    2007-01-12 16:15:00     Success     Send text file "Invoice_error_wf.edi" from FTP server "HH-168:/XI_Infotag_Testdaten/EDIX/In", size 27993 bytes with QoS EO
    2007-01-12 16:15:00     Error     Attempt to process file failed with null
    2007-01-12 16:16:00     Success     Send text file "Invoice_error_wf.edi" from FTP server "HH-168:/XI_Infotag_Testdaten/EDIX/In", size 27993 bytes with QoS EO
    2007-01-12 16:16:00     Error     Attempt to process file failed with null
    2007-01-12 16:17:00     Success     Send text file "Invoice_error_wf.edi" from FTP server "HH-168:/XI_Infotag_Testdaten/EDIX/In", size 27993 bytes with QoS EO
    2007-01-12 16:17:00     Error     Attempt to process file failed with null
    2007-01-12 16:18:00     Success     Send text file "Invoice_error_wf.edi" from FTP server "HH-168:/XI_Infotag_Testdaten/EDIX/In", size 27993 bytes with QoS EO
    2007-01-12 16:18:00     Error     Attempt to process file failed with null
    It seems to me that the Adapter gets the error of the module, but it is not handled as an error like shown in the blog <a href="/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically:///people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically.
    The adapter tries to proceed the same file again and again, till I delete it from the source directory.
    Any more idea?
    Frank

  • Issue while archiving the processed file in sender communication channel using SFTP adapter

    Hi All,
    In one of my scenario (File to IDOC), we are using SFTP sender communicationchannel.
    we are facing an issue while archiving the processed file. Some times PI processed the file successfully but unable to archive it and in the next poll PI process & archives the same file successfully which will creates duplicate orders in ECC.
    Please let us know how to resolve this issue.

    Hi Anil,
    Refer Archiving concepts in below links.
    http://help.sap.com/saphelp_nw73/helpdata/en/44/682bcd7f2a6d12e10000000a1553f6/content.htm?frameset=/en/44/6830e67f2a6d12e10000000a1553f6/frameset.htm
    http://scn.sap.com/docs/DOC-35572
    Warm Regards,
    DNK Siddhardha.

  • How to send status message in SOAP to IDOC scenerio without BPM

    Hi,
    I have a SOAP to IDOC scenerio in which we require to send the status message back to user from XI that " IDOC has been sent successfully to SAP system"
    We do not want to use BPM bacause of performance issues.
    Can you please help me how to achieve this synchronous response without BPM.
    Note: We require the status message from XI that the IDOC has been successfully posted to WESAP system

    Idoc only support async behaviour. U can't get the Idoc response as per ur requirement without BPM.
    Better to go for abap proxy or RFC.
    Or u may get the ack till XI.
    Regards,
    Prateek

  • SOAP Adapter - Using Fault Message

    Hi all,
    I have developed a Synchronous Integration Scenario which receives a SOAP request to the SOAP adapter, calls an ABAP proxy in SAP ECC to post some information and return a response or a fault to the sender.
    This all works fine, I am using a fault message in the ABAP proxy to record errors and return them to the SOAP adapter using the fault mapping. Again this all works fine. However when an application error is identified and a fault message returned to thre SOAP adapter, I had expected that the error details in the fault message to be packaged up in a standard SOAP fault and returned to the sender. Instead the fault message details are sent as the payload in the SOAP body of the response.
    Can anyone provide information on if it is possible to return the fault message as a standard SOAP fault instead of in the SOAP body of the response.
    Thanks
    Gary

    Dont think this is possible in standard.
    As an alternate, maybe you can select option Do not use SOAP Enevlope int he sender SOAP Adapter and thereby the entire SOAP Message will enter the mapping and you would need to use a XSL or Java  mapping to strip the SOAP Envlope in the mapping for the request and like wise in the response mapping you would need to add the SOAP Enevlope to the response.
    For the fault message mapping you need not add the SOAP Envelope.
    Not a standard solution, but can be tried if the requirement is really worth it. Otherwise I think the Fault Message will continue to be sent as the payload in the the SOAP Enevlope as this is how the SOAP adapter works.
    Regards
    Bhavesh

  • PI 7.1 problems publishing a WSDL of a sender soap adapter

    We have upgraded our dev system from XI 3.0 to PI 7.1 and now I'm facing a problem with SOAP adapter. I have searched for answers here for a while but couldnu2019t find them. That why I start an own thread.
    I thought with PI 7.1 it is very easy to publish the WSDL of SOAP adapter respectively a sender agreement. All you have to do is to choose your sender agreement and select the menu item "display WSDL" There you can get the WSDL and a WSDL URL. So it would be possible to deliver this URL to my partners. But while checking this URL respectively the delivered WSDL I've found a problem.
    First of all the the WSDL URL doesn't look really good:
    http://<server>:<port>/dir/wsdl?p=1_1ce2e954fe9632818bfff6c32f370748_portTypeBindingService
    But it works. If I call this URL with a browser or with XML Spy I get the correct WSDL. Any chance to get a better readable URL?
    The next thing is the proposed soap:address location  in the WSDL. It has the following form:
    http://<server>:<port>/XISOAPAdapter/MessageServlet?senderParty=&amp;senderService=MYSERVICE&amp;receiverParty=&amp;receiverService=&amp;interface=MYINTERFACE&amp;interfaceNamespace=MYNAMESPACE"
    If I compare it with the documentation i can see that the URL is completely different.
    http://help.sap.com/saphelp_nwpi71/helpdata/en/43/951aceb1146353e10000000a11466f/frameset.htm
    But again if it works all is fine but it doesn't work at least it doesnt work with XML Spy. The reason is the use of "& a m p ;" instead of only "&".
    If I create a SOAP request with XML Spy an sent it to the XI I get the following error message: " Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=null;TS=null;AN=null;ANS=null;"
    But if I change the SOAP request parameters replacing all the "& a m p ;" with "&" then it works.
    Any chance to manage this? If I provide a WSDL on this way I want that my partners can use this "out of the box"

    Kulwant
    Yes of course I can change that manually but therefore I have to save the WSDL to my local hard disc, change the WSDL and send it to my partner via mail. This is exactly the way I've done this till now. But with PI 7.1 I like to use the new opportunities.
    Bhavesh
    I have also no Service Repository till now. That's the reason why I want to use the way described in my initial post.
    In PI 7.1 you can open the corresponding sender agreement of you SOAP adapter. There you find a menu item "display WSDL". If you choose this you get a window which displays the correct WSDL and an URL where you can find the WSDL too. If you copy this URL to a browser you get the same WSDL too.
    http://help.sap.com/saphelp_nwpi71/helpdata/en/31/daa0404dd52b54e10000000a1550b0/content.htm
    First part of my question is regarding to this URL. The URL has a strange format.
    The second part is regarding to the form of soap:address in this generated WSDL. Here I have problems with the use of this "& a m p ;" string. But I have no influence on it. If I deliver my partners the obove mentioned URL to the WSDL and the WSDL contains this soap:address URL my partner will probably have the same problem like I with my XML Spy.
    Gaurav
    I don't understand you answer. I know the correct soap address but the IB tool generates it with this "& a m p ;" string instead of only "&". Thatu2019s the point. No idea if and how I can handle this.
    But thank you for the note number. Was helpful. The number is in the online documentation too but I've read over it.
    To bad that the online documentation isn't correct regarding to the soap address. But believe me the German version is even worse. There you can find the two soap adapter settings (XI parameter: interface namespace, interface) that are no longer existed in PI 7.1
    Now I will test if a .NET application can handle this soap address correctly.
    Edited by: Gil Ritter on Nov 14, 2008 11:25 AM

Maybe you are looking for

  • Logging doesn't work for J2EE App

    Hi, i've defined the following log config as XML in the .ear file of my app: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE log-configuration SYSTEM "log-configuration.dtd"> <log-configuration>      <log-formatters>           <log-formatter        

  • TS4002 Can't create any alias in iCloud mail, see message "Cannot save alias.

    Can't create any alias in iCloud mail, see message "Cannot save alias. This alias cannot be saved at this time". I tried different variations at different dates (I thought this is temporary issue) but this not helped me. Perhaps some of you have reso

  • Arch only booting in IDE mode

    Hi, I installed archlinux on my desktop a few months ago. I did not realize that the SATA bios settings were on IDE mode when I originally set up my system. I want to make it so that I can use hot-swapping, and for this I absolutely need AHCI (not ID

  • Sum sales query last 6 months

    Hi people...... Using docdate and sum(quantity) how can i sum the last 6 months from today.?? select itemcode, sum(quantity) FROM oinv, inv1, oitm, oitb.......   WHERE getdate()  ????? I hope explain correctly....

  • Where is Rdb ODBC v2.latest ?

    I've searched online for the latest Rdb v2.x ODBC, and all I can find is the download for the v3.x ODBC. I've tried the v3 ODBC, but my application and it don't get along. I'm currently running v2.10.13, and would like to get the latest (I've seen a