IDOC to SOAP - Asynchronous message

Dear friends,
We are working on IDOC-SOAP scenario using Asynchronous communication. The Receiver has SSL Authentication as well. When we are sending requests, the Adapter Engine is showing below details in the Audit log:
2009-01-13 07:11:40 Success MP: Processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
2009-01-13 07:11:40 Success SOAP: request message entering the adapter with user J2EE_GUEST
2009-01-13 07:11:40 Success SOAP: Web Services Security processing...
2009-01-13 07:11:40 Success SOAP: Web Services Security processing skiped. Empty body...
2009-01-13 07:11:44 Success SOAP: completed the processing
2009-01-13 07:11:44 Success SOAP: sending a delivery ack ...
2009-01-13 07:11:44 Success SOAP: sent a delivery ack
2009-01-13 07:11:44 Success MP: Leaving module processor
2009-01-13 07:11:44 Success The message was successfully delivered to the application using connection SOAP_http://sap.com/xi/XI/System.
2009-01-13 07:11:44 Success The message status set to DLVD
Why is it skipping the security settings ?
Other issue : Webservices is giving some response ( Success in case of succesful processing else SOAP XML based Fault message when there is any error at receiver end).
PI should be notified when there is a fault message from receiver. but we dont want that message sent back to SAP system. Its PI support person should be notified about this. How can I solve this without using BPM.
highly appreciate for any inputs on this.
Regards,
Srini

You can not do that without BPM. You need wheels to move in a car. You can ask for a car that moves but does not have wheels. Wheels are meant for the movement. Similarly is BPM. May be few of the times you can skip the BPM, but not always.
VJ

Similar Messages

  • IDOC to SOAP asynchronous scenario Error handling

    Need an expert!!!!!!!!! advise on  error handling for IDOC--PI--
    SOAP scenario.This is a asynchronous scenario where PI is calling a Legacy system using SOAP adapter.My question is how i can do error handling in this scenario.If i get an alert in pi with payload variable that would be fine, do i need to use BPM and if that is tthe case what will be steps.
    Appreciate your help.
    Manish

    Hello Manish,
    My question is how i can do error handling in this scenario.
    Use the standard alert framework. Search on SDN / SAP Help for details.
    do i need to use BPM and if that is tthe case what will be steps.
    BPM is not required to raise alerts, as this is an async call.
    Regards,
    Neetesh

  • IDOC to SOAP

    Dear All,
         My scenario is  IDOC to SOAP(Asynchronous) .
    In MONI ,I am able to see the succesful message but  in  receiver  communication channel, I am getting the following below error,
    SOAP:call failed:java.net.ConnectException:Connectiontimedout:
    Please suggest me on this.
    Regards,
    Lavanya B.

    Hi Lavanya,
    Its very hard to tell exactly where it is going wrong. Some issues are already mentioned by prateek. Apart from it you can take the receiver payload and see whether it is the same as expected by the webservice or not. If possible try to load this payload manually so that if any issues are there you may come to know.
    Regards,
    ---Satish

  • IDOC to SOAP Scenario : Connection Refused

    Hi Everybody,
    I am working on Idoc to SOAP Asynchronous scenario.
    I have an issue with the connection from SOAP to the websystem at the receiver.
    Around 60% of the messages are processed successfully and the rest of the messages throws up errors at the receiver Adapter.
    Below is the log from Communication channel for the unsuccessful messages.
    Message processing started
    request entering
    SOAP: call failed: java.io.EOFException: Connection closed by remote host.
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Connection closed by remote host.: java.io.EOFException: Connection closed by remote host.
    Is there any setting we need to make for the SOAP adapter to reduce these failures?
    Or is it a problem with the receiver websystem?
    Can somebody help me out on this?
    Thanks & Regards,
    Zabiulla

    Hi,
    For some reason the client (from the server's point of view - it might be some other device between the actual client and the server) is closing connection during the SSL handshake. As we can't get more info from the standard J2EE Dispatcher log files, we need more detailed info.
    Please check
    1. Execute network router trace utility (tracert for Windows systems or traceroute for UNIX flavours) to the J2EE Engine's host. It will show the active and non stealth routers between the client and the server:
    c:\> tracert [J2EE_host]   (windows)
    $ traceroute [J2EE_host]   (UNIX)
    2. Activated low level SSL tracing
    regards
    Aashish Sinha

  • Idoc to soap scenario - soap response error

    hi
    i am using pi 731 single stack.
    the scenario is idoc to soap. the message mapping is working fine and output is generated successfully.
    the message is failing in mesage monitor and communication channel monitor. error is -
    Exception caught by adapter framework: SOAP: Response message contains an errorXIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: VEN-OMI-1007:
    This scenario is async scenario. How to soap remove this response message error.
    rgds

    Dear,
    IDoc to Soap scenario we have to import wsdl at receiver end and map the field from the mapping document but some times receiver end some changes may happen. if it is correct only your mapping we have to conclude from the below points.
    1. Check the mapping in Message Mapping and Operation Mapping Test and conclude.
    2. you should check url from receiver that is correct or wrong.
    3. ask the wsdl from receiver end.
    the given ED and receiver side application is same this type of error will not come.
    Please check at receiver application or else what ever new fields are added in reciver may be miss mach of ED.
    Regards,
    Kiran Polani

  • IDoc to SOAP Receiver Fault Message Handling?

    Hi,
    I am working on IDoc to SOAP Scenario (IDoc -> PI -> SOAP). It is in async mode without BPM. This works fine as long as there is no error on the SOAP receiver side. How to handle the falut message raised by the SOAP receiver and send it back the SAP ECC.
    Do I need to use ALEAUD IDoc for this? If Yes, how to configure this to handle fault message? Is there any other way of doing it?
    Could you please give steps to handle the fault message?
    Thank you.
    Regards,
    Cdr.

    Have a look into the below threads -
    How to capture SOAPFault in an Async/Sync Scenario without BPM
    Acknowledgement Handling in IDoc to SOAP Scenario in PI 7.3

  • SOAP Adapter + asynchronous message + Runtime Workbench

    Hi
    I have problem with error monitoring in Runtime Workbench -> Message Monitoring
    I have SOAP adapter deployed on Apache Axis.
    I have flow SOAP->XI->SOAP (asynchronous mode)
    It works great until receiver adapter generate error.
    I can see error message in defaultTrace log but in
    Message Monitoring-> Details I see only "SOAP: response message
    contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault".
    SOAP message from receiver adapter (with error) looks like that
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
        <soapenv:Fault>
          <faultcode>Client</faultcode>
          <faultstring>Internal Server Error</faultstring>
          <detail>
            <myfaultmessage>
              <type>RABAX_STATE</type>
              <message>Divide by 0 (type 1).</message>
            </myfaultmessage>
            <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">pslupkowski</ns1:hostname>
          </detail>
        </soapenv:Fault>
      </soapenv:Body>
    </soapenv:Envelope>
    I'm think that this message is not well formated and
    Adapter Engine can't find some tags during parsing this
    message. Any ideas how to solve this problem?
    I'm just want to see error description from <myfaultmessage> tag in Message Monitoring

    Hi,
    Did you check the log on adapter engine?
    http://<host>:<port>/MessagingSystem/monitor/monitor.jsp
    Take a look to this monitor, here you can see both messages (request and response).
    Cheers,
    Ricardo.

  • Messages get lost between IE and AE (IDoc to SOAP - Async)

    Dear Experts,
    in a IDoc to SOAP (Async) scenario a message was not transferred. I could not see any error message in RWB or ABAP Monitoring. When I enter RWB, the column engine is "Integration Engine" and the status is "Successful". At the same time other message with the same message interface were transmitted and they have engine "All" and status "Successful".
    Why was this message not passed on to Adapter Engine? How can I restart the processing, so that the message is transfered?
    Best regards,
    David

    Thank you for your answers:
    @ Divyesh:
    I can't resend the message. It does not have an error status. It says "Successful", although it only can be seen in Integration Engine, not Adapter Engine. There are not SM58 errors.
    @ Krish:
    In ABAP Monitoring all steps were performed as expected. Before and after this message some other messages with the same message interface were transmitted and they are visible in ABAP Monitoring, Inegration Engine and Adpater Engine.
    @Hareenkumar:
    In SAP everything looks like expected.
    The only difference between this message and other messages sent at the same time (which were transmitted correctly) is that in RWB Message Monitoring (Component: Integration Server) the Engine is "Integration Engine" instead of "All". And the message is not visible when you select for component "Adapter Engine".
    Do you have another idea?
    Thanks in advance,
    David

  • IDOC---XI----SOAP(Webservice) Sync

    Experts,
    Need to Develop IDOC-XI--SOAP(Webservice) Sync Communication Interface
    I have  importing the Standard Idoc & External Def  for WSDL ,which has the Request & Response Structure.
    I need to handle the SYNC message in the XI  and ignore it/ do not pass to the source system.
    Any Weblog will help ,
    Thnaks
    Edward

    Hi Edward,
    Follow the steps given below
    In IR create following objects:
    1: Import Web Service definition file in External Definition.
    2: Import IDoc ZDLVRY. (I have used custom IDoc)
    3: Create Message Interface
         a. Abstract Synchronous for sender
         b. Abstract Synchronous for Receiver
         c. Abstract Asynchronous for request
         d. Abstract Asynchronous for response
    4. Create Message Mapping for Source Request to Target Request
    5. Create Message Mapping for Target Response to Source Response.
    6. Create Interface mapping and specify proper input in request and response tab.
    7. Create Integration Process
    Configuration in ID:
    1. Create Integration Process for BPM created in IR.
    2. Create receiver determination
        a. From SAP R/3 to Integration Process
        b. From Integration Process to Third Party (Web Service)
        c. From Integration Process to SAP R/3
    3. Create Interface Determination
        a. From SAP R/3 to Integration Process
        b. From Integration Process to Third Party (Web Service)
        c. From Integration Process to SAP R/3
    4. Create Receiver Agreement
    5. Create Communication channel for Soap Receiver and IDoc Receiver.
    6. Create Receiver Agreement for Soap Receiver
    7. Create Receiver Agreement for IDoc Receiver
    if u have any doubt in any step please let me know
    Regards,
    Manisha

  • SOAP Asynch Message Giving HTTP 401 Unauthorized error

    Hi experts,
    <Br>
    We are sending ORDERS IDOC Asynchronously from ECC To XI and XI is sending it to Vendor using SOAP.
    This interface was working OK and now we had HTTP 401 error. Checked URL,Username and password to the Vendor. It looks OK. It is working OK if I try it in browser.
    </br>
    <Br>
    I tried to refresh the object by changing values and reactivating,did cache refresh..Still didn't work.When I try to check for the problem found J2EE_GUEST user was locked.Same was unlocked and tried again.
    </BR>
    <BR>
    This IDOC is requesting for acknowledgement( trying to suppress ack by running IDX_NOALE).
    But now I need to reprocess these failed messages.I was trying in different ways and it is not going thru.
    Any pointers are really appreciated.
    </BR>
    Adapter Engine Log is as follows:
    <BR>
    2009-10-27 16:37:30 Success The message was successfully retrieved from the receive queue.
    <BR>
    2009-10-27 16:37:30 Success The message status set to DLNG.
    <BR>
    2009-10-27 16:37:30 Success Delivering to channel: CC_ORDERS05_TO_XYZ_SOAP
    <BR>
    2009-10-27 16:37:30 Success MP: Entering module processor
    <BR>
    2009-10-27 16:37:30 Success MP: Processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
    <BR>2009-10-27 16:37:30 Success SOAP: request message entering the adapter with user J2EE_GUEST
    <BR>2009-10-27 16:37:30 Error Exception caught by adapter framework: SOAP: response message contains an error <BR>XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized
    <BR>2009-10-27 16:37:30 Success SOAP: completed the processing
    <BR>2009-10-27 16:37:30 Error SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - <BR>HTTP 401 Unauthorized
    <BR>2009-10-27 16:37:30 Success SOAP: sending a delivery error ack ...
    <BR>2009-10-27 16:37:30 Success SOAP: sent a delivery error ack
    <BR>2009-10-27 16:37:30 Success Acknowledgement creation triggered for type: SystemErrorAck
    <BR>2009-10-27 16:37:30 Success Acknowledgement creation triggered for type: AckNotSupported
    <BR>2009-10-27 16:37:30 Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: <BR>response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized
    <BR>2009-10-27 16:37:30 Success Acknowledgement sent successfully for type: SystemErrorAck
    <BR>2009-10-27 16:37:30 Success Acknowledgement sent successfully for type: AckNotSupported
    <BR>2009-10-27 16:37:30 Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System <BR>failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error <BR>XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized.
    <BR>2009-10-27 16:37:30 Error The message status set to NDLV.
    <BR>
    <BR>Regards,
    <BR>Ramesh
    Edited by: RameshK99 on Oct 28, 2009 1:57 AM

    Can you run a sniffer tool & see the actual reason for 401 unauthorized error? 6172 weblog: Troubleshooting SOAP, HTTP and Mail Adapter Scenarios with TCPGateway by Stefan Grube...
    Generally, 401 unauthorized is when the target system rejects the request...  Also, What type of authentication does the target webservice have.?? B'cos i ran into a similar problem with Ms-Webservice. (they were using NTLM authentication). It works from a browser but not from PI. So we installed SOAP-AXIS adapter to support NTLM based authentication.
    Regards,
    Siva Maranani

  • SOAP Receiver/Sender in IDOC- XI- SOAP receivers?

    hi,
    i have idoc-> xi-> soap receiver.
    1. How can i get a response back from soap receiver?
    2. in the above scenario is SOAP the receiver or agian the sender?
    3. not sure how i can get a response back from the soap receiver?
    any tips would be helpful.
    thanks,
    tirumal

    Hi,
    It should be
    <i>
    Under Target URL, enter the complete address (URL) of the Web service provider that you want to send the message to.</i>
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/content.htm
    What are you specifying?
    Can you give the entry in Target URL...
    Regards
    Suraj
    Message was edited by: S.R.Suraj

  • Error in IDOC to SOAP

    I am doing IDOC to SOAP(3rd party) scenario and I get this error
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_INV_SND_SERV</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Unable to convert sender service to an ALE logical system</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I have searched the forums and there is lot of info on this,
    According to this blog
    /people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system
    He says Click on the Business System and see the adapter specific Identifiers,So do I have to click on my 3rd pary Business System here? since for IDOC sender there will be no BS.Am I correct.
    Thanks

    Hi  Guest
    first login to SDN with good name
    This problem occurs due to  INVALID SENDER SERVICE
    kindly check in your configuration whether you have given a valid name to your sender service and also check the conditions in RCVR deetermination
    if not modify that and activate again .Make a CACHE refresh
    hope this will work for you
    Regards
    sandeep
    PS if helpful kindly reward good points

  • SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPT

    Hi there,
    I am trying to publish a file from SAP as web service using XI and SOAP Adapter.
    I am using ABAP proxy to get the data into XI.
    Designing and Configuration in XI has no problems because when i use File adapter the data is trasmitted to FTP server.
    But when I used SOAP Reciever adapter I am getting following error in RWB
    Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Error during parsing of SOAP header.
    <b>Scenario</b>: SAP ABAP Proxy -> XI -> WebService. Asynchronous.
    <b>SOAP</b> Receiver adaptor.
    <b>Target URL</b> http://<host>:<port number >/sap/xi/engine?type=entry&version=3.0&Sender.Service=SAPDC2653&Interface=urn:bzttest:00:hsa:test%5EOB_MI_BZT_TEST&QualityOfService=ExactlyOnce
    Do not use SOAP Envelop is checked.
    <b>SOAP Action</b> http://sap.com/xi/WebService/soap1.1
    What i am missing here? How should I solve this problem?
    Any help is appreciated,
    Thx,
    Yogi

    Say there's a bapi/rfc that you want to call on an R/3 backend (e.g. 4.6c).  On it's own, the R/3 system cannot expose the rfc/bapi as a web service, but XI can.  So in this case, the scenario would be:
    WS client -> XI -> R/3
    When XI "exposes" a web service, it is exposing a service for a receiving system (in the above example, the R/3 system).  XI itself does not provide or contain the service implementation.  When XI exposes a web service, it is always done via the <b>sender</b> soap adapter (i.e. if soap adapter is used).   Receiver soap adapter is used to call or consume an actual web service from an external application.
    Regards,
    Jin

  • IDoc - XI - SOAP - XI - Mail

    Hi all,
    I want to do the following scenario:
    IDoc is sent to XI, Xi is doing a Soap call with information from the Idoc, from the soap call I receive a response code. This response code will be sent by mail TOGETHER with info from the Idoc.
    I've made the scenario from Idoc to Soap call. I also know how to sent information out with the mail adapter.
    Where the problem is for me, is the combination of this all together.
    I guess I have to use BPM for this?
    Can anyone point me into the right directions for this problem?
    Thinks like wich message types, interface mappings etc?
    Thnx in advance!

    I guess I have to use BPM for this?
    Not necessary.
    U may perform a Idoc - Xi - Mail scenario with Soap lookup in mapping
    Webservice Calls From a User Defined Function.
    Regards,
    Prateek

  • IDOC --- XI ----- SOAP

    Hi All,
    Our Scenario is IDOC XI SOAP synchronous.
    We get data from IDOC to XI and send it to SOAP, I get response back from SOAP which is sent to R3 by STATUS IDOC.We have implemented BPM in our scenario and there is no Exception handling.
    My question is, if the SOAP server is down then I get a System Error.What we want to know is
    1. Whether it is possible to send the failed IDOC again to SOAP from XI and get the response back( I guess this is not possible in our case). Does Exception handling enables this feature ??
    2. Is it possible to know the status of SOAP server in BPM so that we can keep the incoming IDOCs in queue and send them once the SOAP is up?
    3. If Exception handling/Fault messages concept is implemented then can we send response back to STATUS IDOC from XI(Note: We need the incoming IDOC number must for this as R3 should know which IDOC is failed).
    Points will be rewarded for helpful answers.
    Thanks & regards,
    Satish

    Hi Satish,
    1. Whether it is possible to send the failed IDOC again to SOAP from XI and get the response back( I guess this is not possible in our case). Does Exception handling enables this feature ??
    Ans) It is possible to resend the data from the XI system if it is failed and sits in the Adapter engine (Message monitoring) here you can resend it once the SOAP server is up.............
    2. Is it possible to know the status of SOAP server in BPM so that we can keep the incoming IDOCs in queue and send them once the SOAP is up?
    Ans) Yes it is possible to know the status of the SOAP , for this you need to include a step in the BPM to have a lookup at the server(SOAP)...Once it is up the workflow can be restarted again manually.................
    3. If Exception handling/Fault messages concept is implemented then can we send response back to STATUS IDOC from XI(Note: We need the incoming IDOC number must for this as R3 should know which IDOC is failed).
    Ans) Yes if the exception handling is done then it is important to have the incoming idoc number so that the response will be send with this idoc number and also the status of the mentioed idoc ..you can achive this with exception handling
    Regards
    Sai
    Reward with points will helpfull

Maybe you are looking for

  • Application Error: Unable to launch application

    Hi guys, My name is Jay Sun and I am new this this Forums.  I am told by my professor to migrate from this Java application to Java Web Start. I read all about it but I'm still struggling.  I have an example program called Traffic Light.  From the Tr

  • Unable to perform update with Sony Bridge for Mac

    I have not been able to update my Xperia Z1 (model C6906) through Sony Bridge for Mac. While attempting this in SBM version 3.5 the following messages would appear: There was an issue with the update engine. Please contact technical support. (reason:

  • Unable to Save Adobe Acrobat Form

    I have created a form in Adobe Acrobat Pro X and I set it to allow users to enter data and save it.  However, when they open the file and enter data it will not allow them to save the file. Any ideas? Thanking you in advance!!!!!

  • Is it possible to embed a window in another?

    I know I kind of asked this previously, but is it possible to instead of changing the window class, embed a window or object into a current window, using Cocoa-Applescript? In the example of my application below, I'd like to fill the big empty area i

  • OC4J 10.1.2 standalone

    Hello. Where can I find OC4J 10.1.2 standalone? Does it exist? Thanks. Ludo.