PI 7.1 SOAP Adapter - Message Payload for Failed Messages - Where to find

We are exposing a webservice through SAP PI.  Occassionaly we have customers calling our webservice and some failure occurs.  The error is usually the way that the customer is calling the webservice (missing elements, misnamed tags, bad content in the WS payload..).  Generally in these cases we can see the error in communication channel monitoring. 
Here is an example:
12/12/11 4:39:07 PM   com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessageFormatException: cvc-complex-type.2.4.b: The content of element 'SupplierInvoice' is not complete. One of '{"":Invoice}' is expected. at line 1, column 227
  12/12/11 4:39:06 PM   request received for a channel
I understand the issue, but it would be extremely helpful to have the full SOAP Envelope and Payload of a request when it fails.  The communication channel will show a SUCESSFUL message payload with a link to it.  But it does not show a failed one.
Where can I find the FAILED payload that accompanies this message?  These failures occurs before any mapping or being seen in RTWB Adapter Engine message monitoring...  I did some searching around, but did not find anything offhand.  I would greatly appreciate any pointers from anyone who has crossed this bridge.

Hi,
When the web service is being called by external application, the first point of contact would be the sender communication channel which converts the SOAP message into XML message and pass to integration engine ( In case of success )
But if the web service call fails due to WSDL validation, Authentication issue, Bad content, invalid content type, you would not see the payload in the sender communication channel or in Adapter engine. You can just see error message in the sender communication channel . I have experienced this many times and i always ask the web service team to provide the SOAP message for validation/investigation purpose.

Similar Messages

  • Sender SOAP Adapter: zipped Payload or zipped Attachement possible?

    Hi,
    I've a SOAP --> PI --> Proxy Scenario. As the payload of the message can become quite huge (around 10MB), I'd like to zip the message.
    From the documentation it's not clear for me if the Sender SOAP Adapter can be enhanced with the standard PayloadZipBean:
    "You cannot add your own modules to this adapter" --> so is it possible to use modules provided by SAP?
    If it's not possible: is there another way to send the message zipped via SOAP, e.g. as a additional attachement to the SOAP message, and to unzip the attachement / use the content of it as message payload for mapping?
    Please note: usage of SOAP is a must for that scenario.
    Best regards
    Holger

    > File size is a question due to limited network speed between sender and PI. If I can reduce the data package to be transferred, it'd be a big help. Therefore I'd like to zip the message.
    In this case it would be sufficient to use Content-Encoding gzip.
    This is part of the HTTP protocol and will be unzipped automatically by the HTTP framework, so you need not do anything special in SOAP adapter.
    See http://tools.ietf.org/html/rfc2616#section-14.11
    Check if your SOAP client is able to use that.
    Regards
    Stefan
    Edited by: Stefan Grube on Mar 31, 2009 2:11 PM

  • How can we attach input payload of failed message in Alert mail

    Hi Experts,
    Please suggest If by using alert framework (No BPM) can we attach payload of failed message in alert mail.
    If yes, Another query...
    Scenario: IDoc to File
    Requirement: If message fails in PI, need to trigger an alert mail having IDoc number(DOCNUM) in it.
    Regards,
    Raghav

    Hi,
    Thanks for your update Vankata, Please let me know in case message successfully passed receiver determination step and after that if it fails in any other step then how can we proceed for mail including Input payload field values.
    Thanks for you suggestions sunil but I need to send mail only when any error happend in PI scenario. While using UDF or RFC lookup concept, I can only send mails independent of PI message failure. I mean to say what if message failed before mapping execution.
    One query, Is it possible to handle this kind of scenario requirement where the input field value need to populate in mails ( not using BPM) via Custom modules?
    Waiting for more suggestions on this.
    Regards,
    Raghav
    Edited by: RaghavTiwari on Feb 15, 2012 3:55 PM
    Edited by: RaghavTiwari on Feb 15, 2012 4:23 PM

  • [svn:bz-trunk] 24018: Updates to the message to send across only required message attributes for small message format

    Revision: 24018
    Revision: 24018
    Author:   [email protected]
    Date:     2012-07-11 02:23:31 -0700 (Wed, 11 Jul 2012)
    Log Message:
    Updates to the message to send across only required message attributes for small message format
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/messages/AbstractMessage.java
        blazeds/trunk/modules/core/src/flex/messaging/messages/AsyncMessage.java
        blazeds/trunk/modules/core/src/flex/messaging/messages/CommandMessage.java
        blazeds/trunk/modules/core/src/flex/messaging/messages/ErrorMessage.java
        blazeds/trunk/modules/core/src/flex/messaging/messages/Message.java
        blazeds/trunk/modules/core/src/flex/messaging/messages/RemotingMessage.java

    Im not sure what's the problem, but let's try to figure it out. First of all explain what do you mean by "it works very bad". Doest it hang, is it slow, is quality unacceptable.
    Myself, I have one problem with JMF. When i run video & audio on my Centrino 1.4 GHz, it just takes 100% CPU! And of course quality becomes degraded. Check if you have something like this.

  • Enable routing for failed messages on receive port

    Hi,
    I have a receive port with a WCF-CustomIsolated receive location.
    On receive port I checked "Enable routing for failed messages".
    In pipeline settings I have set ValidateDocument to true.
    When a client sends me an incorrect schema, it receives a validation error (that happened in pipeline) and it's OK.
    But it's not routed as a fault message to message box.
    Could you help me why does it happen?
    Why "routing for failed messages" does not work in this case? And in what cases it should work?
    Thank you!

    Hi Vlad,
    Failed Message is created only when there are subscribers for it.
    Create a send port with following filter 
    ErrorReport.ErrorType=FailedMessage
    Please mark the post as answer if this answers your question. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • SOAP Adapter missing payload on receiving web service

    Hi there,
    I'm having a problem with a File to (asynchronous) SOAP Adapter scenario that is currently baffling me.
    I wonder if anyone out there has any troubleshooting ideas for this one?
    The source message is being picked up OK and I can see from Communication Channel Monitoring on the Runtime Workbench that it is allegedly being delivered to the Web Service OK.
    All the entries in the audit log point to a successful scenario and I can view the payload in the Message Content "payload" area.
    However on the web service / server side the message is completely blank. Somewhere along the line the payload has gone missing.
    I can copy and paste the payload manually into the web service test area and this is fine.
    Any ideas/suggestions as to what could be happening with this or how I might go about troubleshooting it?
    Many thanks
    Ian

    Thanks Bruno,
    It looks like you were right...
    In the end we used Wireshark - a packet sniffing  application - to check what was actually hitting the destination server. We found that the content was arriving at the server but the web service wasn't accepting the format. The creators of the web service are now investigating why and will hopefully will advide me of the format error in the message. But at least I was able to prove that the message was getting there which was the focus of this query.
    Regards
    Ian

  • Adding ClientCertLoginModule into SOAP adapter causes problem for HTTP

    Hi there,
    We are configuring SOAP adapter to use HTTPS with client authentication
    for a B2B project. We followed note 891877 to add ClientCertLoginModule
    into service sap.com/com.sap.aii.af.soapadapter*XIOAPAdapter in the
    security provider service,
    ClientCertLoginModule, SUFFICIENT
    BasicPasswordLoginModule, SUFFICIENT
    The interface for the B2B project works fine after the change.
    But other interfaces which are using HTTP to connect to SOAP adapter
    are all failing with HTTP code 302. Because all these interfaces are
    using HTTP protocal with username/password for authentication, we
    expect they should still work because the BasicPasswordLoginModule is
    listed in the login module stack.
    Any help is much appreciated..

    Hi there,
    We are configuring SOAP adapter to use HTTPS with client authentication
    for a B2B project. We followed note 891877 to add ClientCertLoginModule
    into service sap.com/com.sap.aii.af.soapadapter*XIOAPAdapter in the
    security provider service,
    ClientCertLoginModule, SUFFICIENT
    BasicPasswordLoginModule, SUFFICIENT
    The interface for the B2B project works fine after the change.
    But other interfaces which are using HTTP to connect to SOAP adapter
    are all failing with HTTP code 302. Because all these interfaces are
    using HTTP protocal with username/password for authentication, we
    expect they should still work because the BasicPasswordLoginModule is
    listed in the login module stack.
    Any help is much appreciated..

  • Call SOAP Adapter from CE BPM failed

    Hi everyone,
    i have just a problem calling a webservic on the PI 7.11 server from CE 7.2 BPM via SOAP adapter.
    1. I've created a very simple scenario on the PI 7.11 Server using SOAP Adapter sender. I've gotten the WSDL URL from the Sender Agreement. It is like the following:
    http://piserver:50000/dir/wsdl?p=sa/2e1cf474911939c89c0f5530b24c36f0
    2. In the Service Registery of the CE server, I published this service manuelly. The SR created automactically endpoints (http,https) for me. I tested both. They worked very well. While publishing the service, I've also assigned it to the correct system, which has the type IS.
    3. I've imported the wsdl into my BPM and assigned it to a automatic activity. I've also created a new service group for this service interface.
    4. After deploying the BPM onto the CE server, I've created a new provider system with type IS. In the WS connectivity type, I entered the wsdl url from above again and the admin user on PI server for the Metadata User.
    5. I've created a user in the "User Account Management" with connectivity type WS and entered the same user on the step 4 for the Metadata User, assigned this user to the provider system created on step 4.
    6. In the "Application Communication", I assigned the provider system from step 4 to the serivce group created on the step 3.
    7. Start the BPM and find out a very strange error message:
    Error during SCA Processing 
    [EXCEPTION]
    java.rmi.RemoteException: Could not process message for operation SI_SearchSalesOrder_outbound in web service plugin module.; nested exception is:
    com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Invalid Response code (401). Server <http://piserver:50000/XISOAPAdapter/MessageServlet?senderParty=&senderService=SAP_CE&receiverParty=&receiverService=&interface=SI_SearchSalesOrder_outbound&interfaceNamespace=http%3A%2F%2Fconet.de%2FSalesOrder> returned message <Unauthorized>. Http proxy info:  none
    I suppose that the metadata user is used to read the wsdl information form PI. For runtime processing maybe should also I provide a user. But I have no idea where I can configure the runtime user in the NWA.
    Could some one give me some help on this position?
    Thanks a lot in advance.
    with best regards
    Xiang

    Hi Michal,
    thanks a lot for your answer. That's also my question. I've provided user to get the meta info for the WS on the CE server. But during the runtime, the BPM on the CE should also have a user to call the soap adapter. Normally we can add the sap-user, sap-pass behind the ws endpoint. But it doesn't work on the CE. Maybe I should use the principle propagation.
    thanks a lot for your reply.
    with best regards.
    Xiang

  • How to Send Emails for failed messages without using Alert

    Hi Experts,
    In our project, we need to trigger Emails for the failed messages in SXMB_MONI / Adapter Engine without using Alert Framewrok.
    Please let me know the below :
    1. Is this really possible to avoid Alert?
    2. If possible, then can we accomplish this by creating any PI Scenario? Please provide me some knowledge.
    3. Can we do it by writing any ABAP Code? If ABAP report can make it, then please provide me the code/ tables which will be needed. If any Blog/ Wiki is there, then please let me know the URLs. 
    Thanks,
    Nabendu.

    Hi Nabendu,
       If your customer asks for mails with specific text for message failure, tell that it is not possible. Because Message will go through several engines like Adapter Engine, Integration Engine, BPE. You can not generate mails for the message failures in all these areas with out standard alert mechanism. These are pure technical alerts which only PI people can understand, not business alerts.
    Example: assume your sender channel is unable to connect FTP Server, in this case you can not generate even though you will develop adapter module to generate alerts.
                            So for message validation only you can send mails not for message failures.
    thanks,
    madhu

  • Where & what to look for failed messages analysis ?

    Hi,
        Im new to PI. Messages are failing in PI.
       Just want to know where exactly to look in SXMB_ADM or RWB for the failed messages and what do I need to look in there to analyze these failed messages ?
    Please help.
    Thanks
    Sourav

    hi,
    ou use message monitoring in the following cases:
    ● To track the status of messages
    ● To find errors that have occurred and establish what caused them
    Check this help for further info:
    http://help.sap.com/saphelp_nw04/helpdata/en/2f/4e313f8815d036e10000000a114084/content.htm
    You use end-to-end monitoring in the following cases:
    ● If you want to monitor message processing steps in a number of SAP components (to be configured).
    ● If you want to monitor the path of individual messages through these SAP components, from start to end.
    Check this help for further info:
    http://help.sap.com/saphelp_nw04/helpdata/en/82/9e8dfe9eadbd4b9194c433e646b84e/content.htm
    and also
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0b4580be-0601-0010-d3ad-bd6ce51ae916
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7c/14b5765255e345a9e3f044f1e9bbbf/frameset.htm
    refer this forum replies too..
    Questions about Failed Messages
    Thanks,
    Vijaya

  • Message Tracking for Rejected Messages

    We are using Exchange 2013, trying to use message tracking to determine if a message that was sent to us was rejected, I can run the messagetracking powershell command and I get reslults. would there be a "reject" event id for these messages?
    Thanks
    Pat

    Hi ,
    Below command will be used on the exchange management shell to have a grid-view on the output.
    Get-TransportService | Get-MessageTrackingLog -recipients "[email protected]" -ResultSize unlimited -MessageSubject "test" -eventid "fail" | Select-Object eventid,sender,timestamp,@{Name="Recipients";Expression={$_.recipients}},@{Name="RecipientStatus";Expression={$_.recipientstatus}},messagesubject
    | Out-GridView
    (or)
    Below command will be used on the exchange management shell to have the output on the csv file.
    Get-TransportService | Get-MessageTrackingLog -recipients "[email protected]" -ResultSize unlimited -MessageSubject "test" -eventid "fail" | Select-Object eventid,sender,timestamp,@{Name="Recipients";Expression={$_.recipients}},@{Name="RecipientStatus";Expression={$_.recipientstatus}},messagesubject
    | Export-csv c:\nithya.csv
    Reference
    Link for message tracking : http://exchangeserverpro.com/exchange-2010-message-tracking-log-search-powershell/
    Thanks & Regards S.Nithyanandham

  • Modify the message type for the Message no. CK239

    Hi,
    I would like to change the message type E to W for the message CK239.
    Is it possible?
    Thanks.
    Jean-Marc

    Hi,
    yep, agree with Eli. Please check this [thread|Re: T-code SE91 queries ??; on the issue of changing messages.
    Rgds
    Karl

  • Is it possible to disable New Message sound for SPAM messages?

    I inherited a role email account which receives an incredible amount of spam. Mail's SPAM filters do a good job or routing these messages to the SPAM box and keeping them out of my inbox, but I still receive a "New Message" sound notification every time a new SPAM message arrives. Is it possible to disable the "New Message" sound alert for SPAM messages while still receiving the alert for new messages that arrive in my inbox?
    Thanks,
    jason

    Try this:
    Go into Preferences -> General and uncheck the box that says "Play sounds for other mail actions".
    I'm not sure if it will work since that's really still "new" mail, but it might be worth trying.

  • XI 2.0 Scheduling re-try for failed messages

    Hello :
    We have a requierment where we need to re-schedule the failed message for retry after an interval.  Do any one know functionality in XI 2.0 system?
    Thanks for your help in advance.
    Rajan Kidambi

    Hi!
    You just need to schedule a job making use of the program RSXMB_RESTART_MESSAGES to restart failed messages.
    Regards, Tanja

  • Add message preview for unread messages

    Is there a way in the main message inbox all unread messages can display a short preview (Outlook has this option)?
    I don't mean displaying a preview pane for a single highlighted message. I want a short message preview that displays in the Inbox for each individual unread message.

    Thanks for the note, Jeffrey and trust me when I say I'm a die-hard Apple believer.  But, at work I support Windows machines and Outlook has views to show only unread messages.  As soon as a messages is read and we move on to the next messages, the read message drops out of the list.  This is what I'm look for so that I can apply it to the few Macs I also support at work.
    What Apple's Mail gives us is good, but what we were hoping was to have the smart mailbox work the same way that Outlook's feature does.  However, I still much prefer working with Mail rather than with Outlook.  So, we will adjust.  
    Thanks again.

Maybe you are looking for

  • Where is the REPLACE Button on the Transport?

    I'm new to Logic but I guess I am blind too, because I am trying to figure out how to make sure midi is ERASED when I punch in on the same midi track to correct a mistake. Right now it isn't erasing the existing midi when I'm in record. The manual sa

  • TAPI Device not showing in application

    I've installed the CiscoTSP.exe onto a Windows XP machine and the "CiscoTSP001.tsp" provider is shown in the Windows "Phone and Modem" screen, however, when I run any TAPI application that lists all of the available TAPI line devices, there is no Cis

  • Forecast Pro integration for CRM On Demand

    Any information on CRM integration for "Forecast Pro" software? Displaying Forecast Pro reports in the CRM UI ? This is outside using the imbedded forecasting functionality in CRM on Demand.

  • "Sync encoutered an error while syncing: Unknown error. Sync will automatically retry this action."

    Hi, I want to switch from Chrome to Firefox but I have an issue with the Sync feature. It always shows the following error: "Sync encoutered an error while syncing: Unknown error. Sync will automatically retry this action." I already tried this worka

  • Invalid Key Length - Volume Check Failed

    This is an iMac/INTEL 2.16  w/10.4.11 and 1 GIG RAM Full error msg while trying to repair disk with boot up DVD: Invalid Key Length - Volume Check Failed Error: The underlying task reported failure on exit 1 volume could not be repaired because of an