HTTP Synchronous Response Message

hi,
I am getting the following response message in the SXMB_MONI.
<?xml version="1.0" ?>
  <!DOCTYPE cXML (View Source for full doctype...)>
- <cXML version="1.1.009" payloadID="20060517092932992.5555CCLyVQDdasNetXE0B+Yy5OeXUHc=443-71.c0a81cb9f70d2c060000180f@wmqa3" timestamp="2006-05-17T09:29:32-CDT">
- <Response>
  <Status code="500" text="Error">The document received is not a cXML request or is unknown by the AribaSupplier OnRamp package.</Status>
  </Response>
  </cXML>
To capture this error message as Response message what message types need to be defined/configured?
Thanks,
Kumar

Dirk -
I am currently using Integration Process.
I am capturing system messages through an Exception error handler in the block step of Integration Processes.
When i execute the scenario, i see an error in the workflow in the Block Step. It shows an Error which says "No Exception Defined for System Errors", though i have a Exception Branch in the Block step.
Any clues why i am not able to capture the Exception errors and send it through email.
Its failing at the Block step.
More details on the scenario:
1. Start
2. Receive Step - Asynch - IDOC
3. Block Step - with Exception name as "TimeOut"
3.1 Exception Branch with exception handler as "Timeout"
3.1.1 - Transform Step - to transform a Exception message(with just one field) to "Error" message (with 5 fields)
3.1.2 - Send Step - send the "Error" message through email
3.2 Deadline branch set to 1 minute
3.3 Switch step
3.3.1 Transformation step - to transform the IDOC to XML
3.3.2 Send step - Synch - request xml and response xml defined in this step
4. Switch Step
4.1 - Transform step - transforms the idoc and xml response to the actual error
4.2 - Send Step - sends the actual error to the email message using MAIL adapter.
Any tips would be grateful.
Thanks,
Tirumal

Similar Messages

  • Receiver HTTP Adaper Response Message problem

    We are using HTTP adapter as the receiver for one of our vendor to post XML PO's to vendor's URL.
    We are using Transport Protocol-HTTP 1.0
    Message Protocol-XI Payload in HTTP Body
    Adapter Engine-Integration Engine.
    When PO is posted good on vendor's site we get "200" as the reponse message and when PO is failed in the vendor system due to mapping problems still we get "200" response message, Vendor's are sending "400" message for the failure to update their system but our server is not waiting to get "400" response messages. It picks the message of "200" when PO is posted on vendor's URL it is not waiting to get the next message.
    Does anyone can help me to resolve this problem.
    Thanks in advance!
    Mrudula Patel

    Hi Mrudula,
      Can you eloborate bit more on this scenario,
    1) 200 - for posting successfully in Vendor's site
    2) 400 - if Business logic fails at Vendor's site
    3)  ?? - Sucessful transaction (Biz Logic).
    If there is only one response, which gives either 2 or 3, then you can pick up the appropriate one & post the sender with the results. The HTTP adapter's call closes once it recieves ANY reponse from recieving site (Vendor).
    hope this helps.
    Regards
    Vishnu

  • Configure HTTP Status Response Messages

    Dear Portal Experts,
    we have an issue with the the way portal response codes are put into response messages. The portal sits in an infrastructure which includes multiple security measures, including a reverse proxy. This reverse proxy does not accept certain HTTP responses, which strictly speaking are not standard compliant.
    The HTTP response status of interest is HTTP status 304 which means that a requested resource has not been changed since the last request and therefore can be taken from the cache.
    The status is returned boldfrom the portal with a bodybold, which is not accepted by the reverse proxy.
    Now, what we would like to do is configure the portal to return HTTP status 304 with a header only. Is that possible? We looked into web.xml and web-j2ee-engine.xml but could not find any hint for this. Might easily be, we looked at the wrong places (they were multiple ones...).
    Thank you very much,
    Michael

    According to RFC 2616 the implementation of HTTP code 304 is:
    If the client has performed a conditional GET request and access is allowed, but the document has not been modified, the server SHOULD respond with this status code. The 304 response MUST NOT contain a message-body, and thus is always terminated by the first empty line after the header fields.
    The response MUST include the following header fields:
          - Date, unless its omission is required by section 14.18.1
    If a clockless origin server obeys these rules, and proxies and clients add their own Date to any response received without one (as already specified by [RFC 2068], section 14.19), caches will operate correctly.
          - ETag and/or Content-Location, if the header would have been sent
            in a 200 response to the same request
          - Expires, Cache-Control, and/or Vary, if the field-value might
            differ from that sent in any previous response for the same
            variant
    If the conditional GET used a strong cache validator (see section 13.3.3), the response SHOULD NOT include other entity-headers. Otherwise (i.e., the conditional GET used a weak validator), the response MUST NOT include other entity-headers; this prevents inconsistencies between cached entity-bodies and updated headers. If a 304 response indicates an entity not currently cached, then the cache MUST disregard the response and repeat the request without the conditional.
    If a cache uses a received 304 response to update a cache entry, the cache MUST update the entry to reflect any new field values given in the response.
    Source: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
    @Michael --> I honestly can't imagne that SAP wouldn't confirm to such an RFC (but I cannot guarantee), could it be that another component is adding the body to the 304 code or malforming this reply?
    @ SAP employees --> can you confirm if SAP has complied with RFC2616 or not???
    Cheers,
    Benjamin

  • HTTP Receiver - Response message

    Hi,
    I have a HTTP Receiver scenario. I get the data from a Webservice and sent the data with a HTTP Request to our customer. So far we have no problem. Our customer is returning a payload structure like the one below.
    Now the problem here is, there is a <start>, <end> tag and "0" and "OK" before and after the XML structure as you can see below. How can I parse these type of messages?
    <start>
    0
    OK
    <?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE AMS_XML_DATA SYSTEM "Group1.dtd"><AMS_XML_DATA><Header><ErrorCode>0</ErrorCode><ErrorMessage>OK</ErrorMessage><Version>1.0</Version><SourceId>XXX</SourceId><MessageId>XXX99998888777766665555</MessageId></Header><Segment><IgnoreFg></IgnoreFg><ErrorCode>555</ErrorCode><ErrorMessage>PR DA FO</ErrorMessage><TransactionType>N</TransactionType><TransactionId>XXX99998888777766665555</TransactionId></Segment></AMS_XML_DATA>
    <end>
    Thank you in advance.
    Best Regards,
    Arman

    I think to parse this message is impossible, because it's not well formed.
    <start>
    0
    OK
    <?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE AMS_XML_DATA SYSTEM "Group1.dtd"><AMS_XML_DATA><Header><ErrorCode>0</ErrorCode><ErrorMessage>OK</ErrorMessage><Version>1.0</Version><SourceId>XXX</SourceId><MessageId>XXX99998888777766665555</MessageId></Header><Segment><IgnoreFg></IgnoreFg><ErrorCode>555</ErrorCode><ErrorMessage>PR DA FO</ErrorMessage><TransactionType>N</TransactionType><TransactionId>XXX99998888777766665555</TransactionId></Segment></AMS_XML_DATA>
    <end>
    A declaration of DOCTYPE outside the header / prolog is not allowed.
    Aditionally the start and end tags are not closed. So the basic question is, why does the sender transfers a not well formed XML?

  • "Wrong" content in response message from Sync HTTP receiver connection

    Hello,
    We're trying to set up a synchronous HTTP receiver connection in a BPM to send a PO to a business partner. This partner will then respond with a response message or an error message.
    Request : messagetype_request
    Response : messagetype_response
    Fault message: messagetype_fault
    Our problem is that a sync HTTP connection apparently does not support the fault messages and therefore the errormessage, based on the messagetype "messagetype_fault" is returned into the responsemessage with messagetype "messagetype_response". This means that we can not perform any manipulation on this message due to the wrong messagetype compared to the content.
    Using a switch in the BPM that checks on the existence of an X-path expression we have already splitted branches for the errorhandling and succesfull response handling.
    Does anyone have an idea how to change the errormessage that is stuck in the messagetype_repsonse  format ?
    Thanks in advance !

    Hi Stefan,
    Thanks for the answer, but this leaves me with the main question how I can change a certain message within a BPM from one messagetype to another. Normally a simple message mapping would do the job but the problem in this case is that the source message does not have the message structure that would be expected by the BPM due to the error message being received in the message that was reserved for the correct response.

  • Problem accessing value of response message of synchronous call in BPM

    Hello,
    I've a problem with a synchronous sending step (in BPM) and a following container operation.
    In the message monitoring I can see the right response of the sending step. But the value of the container is empty.
    If I navigate from the container of the sending step to the message, I can also see the right message.
    But I can't access any elements in the message, they will be ignored.
    Here is the response message:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <ns0:Envelope xmlns:ns0="http://xmlns.bp.com/UEHReply" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    - <ns0:Header>
      <ns0:Event businessDocRef="" component="VEST" domain="MyPoCVest" id="" objectPayloadRef="" timestamp="" />
      </ns0:Header>
    - <ns0:Body>
    - <ns0:ObjectPayload id="" version="">
    - <ns0:uehReply version="2.0">
    - <ns0:component type="BUSINESS">
      <ns0:name>VEST</ns0:name>
      <ns0:application>Vest</ns0:application>
      </ns0:component>
    - <ns0:exception id="0" type="">
      <ns0:triggerMsg format="" />
      </ns0:exception>
      <ns0:detail />
      <ns0:resolutionOption>WAIT</ns0:resolutionOption>
      <ns0:nextChoice>NONE</ns0:nextChoice>
      </ns0:uehReply>
      </ns0:ObjectPayload>
      </ns0:Body>
      </ns0:Envelope>
    And the XPath statement, to get the value:
    /p2:Envelope/p2:Body/p2:ObjectPayload/p2:uehReply/p2:resolutionOption
    Someone an idea?
    Cheers
    Daniel

    Hi ,
    I am facing similar problem , in case you have a resolution about the FAX number , then please let me know .
    Thanks,
    Abhishek
    ([email protected])

  • Synchronous Receiver JDBC adapter--response message empty

    My scenario is ABAP Proxt to JDBC synchronous case where I am calling a stored procedure "GetEmployer" to get the relevent data. There is no input data to the stored procedure, just need to call the stored procedure to return the records.
    In the SXMB_MONI I am getting the response message as empty with no records.
    In the communication channel monitoring it is showing successfully processed.
    Request Message :
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_IRIS_SELECT_JDBC_REQ xmlns:ns0="XXXX">         <STATEMENT>
    <GetEmployer ACTION="EXECUTE"></GetEmployerList>        </STATEMENT>                      </ns0:MT_IRIS_SELECT_JDBC_REQ>
    Response Message:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_IRIS_SEL_PRXY_RES xmlns:ns0="XXXX"> <STATEMENT_response></STATEMENT_response> </ns0:MT_IRIS_SEL_PRXY_RES>

    Hi All,
              If I am trying to test the configuration in the ID I am getting the following error.
    Runtime error      Unable to read the payload from the     message object 
    <Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
    <Trace level="2" type="T">......attachment XI_Context not found </Trace>
    <Trace level="3" type="T">Mapping is already determined in the interface determination </Trace>
    <Trace level="3" type="T">Object ID of Interface Mapping 35933EB051F13E60906107DF6862E093 </Trace>
    <Trace level="3" type="T">Version ID of Interface Mapping 640C5B80B54311DCABA9F7BB0A126A22 </Trace>
    <Trace level="1" type="T">Interface Mapping http://XXX/employer_list</Trace>
    <Trace level="3" type="T">Mapping Steps 1 JAVA com/sap/xi/tf/_MM_EMPLOYERLST_ </Trace>
    I am getting the success flag in SXMB_MONI but getting no records in the JDBC response message. It is not throwing any error and the interface is running successfully.
    Could you please suggest some solution for this.
    Thx in advance
    Ravijeet Das

  • JDBC- RFC- JDBC Synchronous scenario (Can't see the response message)

    Hello Experts,
    I tried this step in creating a synchronous scenario by using steps found in this site -> [http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29|http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29] I just changes File to JDBC. But problem is I see the sent XML message in SXMB_MONI but to response message. I also can't see the Sender interface name for the response message when I tried to use F4 in the Interface Name portion.
    Do someone encountered this before? Please help
    Regards,
    Alfred

    Hello,
    I hope someone could guide me on how to set this up cause I only see the sent message but there's no response message in SXMB_MONI. Note that interface was successful, I just want to see what was sent by the response.
    Regards,
    Alfred

  • REG : HTTP header fields (Synchronous response)

    Hi All,
             Can anyone please explain the advantage of using this function in the receiver HTTP adapter( ie
    "Set adapter specific message attribute -> HTTP header fields (Synchronous response)")
    and how this can be implemented?
    Thanks in Adavnce,
    Siva

    >
    sivarama krishna wrote:
    > Hi All,
    >
    >          Can anyone please explain the advantage of using this function in the receiver HTTP adapter( ie
    > "Set adapter specific message attribute -> HTTP header fields (Synchronous response)")
    >  and how this can be implemented?
    >
    >
    >
    > Thanks in Adavnce,
    > Siva
    from help:
    If you want to save HTTP header fields from the synchronous response in the XI message header, choose HTTP Header Fields (Synchronous Response) and enter the fields in the fields Field 1 to Field 6.
    The fields must have the same names as the fields that are also to be sent in the HTTP response.
    The technical names of the fields are HeaderFieldOne,...,HeaderFieldSix.
    this means that in case you look to access the header of the response message of a sync http you can use this ASMA.
    the implementation will be in your response mapping, using dynamic configuration - /people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name

  • Cant see synchronous http-calls in message monitoring

    Hi all,
    I 've got a synchronous http call. When the request was bad I saw the failed request and response messages in XI message monitoring with red lights. But now the call seems to work fine, because the sequenced step is showing. But I can not see the http-message in message monitoring.
    Any ideas?
    Regards
    Mathias

    hi,
    have a look at my blog:
    /people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni
    how to turn it on
    logging_sync
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • 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

  • WSRM Adapter replaced with soap in PO7.4. Getting error "Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error"

    Hello All,
    We have scenario proxy->pi->webservice. In older versions of PI system they used wsrm adapter at receiver side and it's working fine.
    Receiver interface is asynchronous. So no response structute is present and receiver service is business component(since receiver is a third party).
    During migration, we have replaced the receiver adapter with SOAP adapter and used message protocol as SOAP 1.1 but the message is failing and in communication channel it is showing error "Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error". In this case the receiver interface is stateless xi 3.0 compatible(re using the old), after changing it to just stateless also issue persists.
    In target url field if i prefix the url with "http" then above mentioned error is occurring otherwise if i use the hostname:port/path.. then it is giving error
    "soap: Call failed: com.sap.aii.af.sdk.xi.srt.BubbleException: Unsupported protocol". So maintaing the url as http://hostname:port/pat.....
    As in old channel wsrm channel there is no userid and password, i haven't given any userid/pwd in receiver channel.
    used the bean sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean with  parameters
    Module Key  =  soap
      Parameter Name  =  noSOAPMakeSysErrFromResponseFault
    Parameter Value  =  false
    and
    xmbws.No SOAPIgnoreStatus = true
    but not successful.
    Please help me. I got stcuk here.

    Hello Jannus,
    The connectivity is working fine. Network team has confirmed it. I doubt that any strucutre(header) difference might be present in message when sending with wsrm adapter compared to sending with soap adapter.
    Please let me know the exact difference between soap and wsrm functionality in receiving end.
    By considering the structure issue, i have checked the "do not use soap envelope" check box, then i got error "Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 415 Unsupported Media Type"
    Then i used message transform bean, but not successful.
    Regards,
    Ch.Venkat.

  • Synchronous FTP response message

    Hi,
    I am new to XI, so would welcome some advice.
    I have implemented an interface from ECC5 via abap proxy to XI FTP adapter to send files to a third party.
    I am using a synchronous interface to check the ftp has been successful.
    Because of it being synchronous, I must give a response message type.  But as this response is empty, the mapping back is failing.
    So, can I have a synchronous interface without a response, or can I fill the response from the FTP action, and if so, how ?
    Thanks
    Paul

    I am using a synchronous interface to check the ftp has been successful.
    1) FTP receiver cannot be used in a SYNC mode.
    2) If your intention is only to check if the connection was established successfully between PI and FTP and the file was transferred successfully then you can see that from status in Runtime Workbench --> Adapter Engine --> Channel MOnitoring.
    You dont need to do this manually (even though you can), you can set alerts which can raise an error message in case if anything goes wrong....this is a standard practice followed....no need to make the process SYNC.
    If your requirement is to check if the file has been processed successfully by the FTP server then you need to implement a process similar to the one explained by Holger.

  • Synchronous Nonrowset response message to 3rd Party

    I've created a synchronous non rowset based message. I believe that my set up is correct and my request/response schema are all working as expected. I have PeopleCode in an Application Package that retrieves the data that I want. When I run this via sendmaster, I am able to get the data that I expect and it's in an XML format but I'm kinda stuck. I need to know how I get this data into the format of the Response schema withoug having to manually "build" it in an XML layout? Shouldnt I be able to "pull in" the response schema and then populate that schema according to the elements associated with it? I may be totally off on this, but that's the way I think it should work. Can someone clarify and if you have an example of a response message that is uses an existing schema, that would definately help.
    thanks
    Rich

    Exactly... The XML response via sendmaster is because I am manually formatting it in the Application Package peoplecode. I want to return it in the form of the response xml schema that is tied to the repsonse message.

  • Receive HTTP Response Message

    I set up a HTTP Receiver Adapter and successfully sent a message to a http destination. The problem is, I can't find the Response Message from the HTTP destination. Where can I find it, and how can i handle it?
    Thanks!

    Hi,
    HTTP Receiver channel will send always send you (XI) a response code back. 200 in case of success. Based on the response from Http you can send your response back to your Source System.
    Btw I'll suggest you to go for SOAP Receiver Adpater instead of htp receiver, as http receiver adapter doesn't support Network Proxy in channel configuration.
    Let me know if you need any more inputs on this.
    Reward points if answer is useful 
    Thanks
    Amit

Maybe you are looking for