HTML response for HTTP adapter

Hi All,
I have a BPM scenario in which I have to send PO idoc to third party system using HTTP adapter and after I receive a response message from the system (it is synchronous process), I have to update PO idoc status using SYSTAT idoc.
The problem is - I have to send XML message using HTTP adapter but the response message I receive is HTML.
When I test this scenario, I can see the HTML response message from third party system in SXMB_MONI but it is not transfered to my message interface. I have a transformation step in which I map this response message to SYSTAT IDoc structure but when I check the workflow container for this transformation step in SXMB_MONI_BPE, the paylod for the message interface is empty.
Am I missing something?
What can be done to get this HML response into the message interface?
Any help will be appreciated.
Thanks,
Rahul.

Hi,
The adapter configuration is fine. And there is no error in SXMB_MONI.
Actually the response message is from Oracle Gateway of the receiver system and it includes status code and status text. It is in HTML format.
I can see this HTML in SXMB_MONI log but it is not getting transferred to response message type in my synchronous message interface. My message type has only one field of type string. And I thought that this HTML will be transferred to the message type as string. I am correct in expecting this?
If not, is there any way to read this HTML and put it into the response structure of the message interface?
Thanks for your help.
Rahul.
Message was edited by:
        Rahul Aurangabadkar

Similar Messages

  • Can anybody provide some sample for http adapter.

    both http outbound and http inbound.
    invloves client side program and server side program.

    Hey,
    For HTTP adapter NO  need Sender Agreement,Since it talks to the Integration Engine (ABAP) directly & the HTTP request should contain all relevant header info insender side
      http://<server>:<port>/sap/xi/adapter_plain
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    http://help.sap.com/saphelp_nw04/helpdata/en/82/f4993c03e0cd37e10000000a11405a/content.htm
    Cheers
    Agasthuri

  • Message setup for HTTP adapter

    If the http plain adapter is used, you use the URL to post the XML file to. What I was wondering is what the complete string looks like that is send, so URL including the XML message itself? In other words, what's between the http URL (http://...&language=EN) and the XML message itself (<?xml%20...).

    Alexander
    If I understand your question right, you are wondering what is in between the URL and the XML message. If yes, you need to understand how data exchange happens using HTTP.
    When data need to be exchanged between systems (Client and Server), there are various protocols. For e.g., FTP is used for transferring data as OS files between systems. Similarly HTTP is a protocol that is use for exchanged data between systems in the form of 'Request;Response' cycle. As with any protocol there are certain rules and structure.
    In case of HTTP, you should note the following
    1. There is a URL which is used for identifying where the request should be sent, which port it should hit and other related information. You can pass some information in the URL (In case of XI HTTP adapter, maximum of 200 characters long) as well  and in case of XI it will contain information specific to interface.
    2. Then there is HTTP header which will give information to the server (the system receiving the request) about various attributes like mime type of the data etc.
    3. Then there is HTTP body that actually has the data that needs to be sent to the system. In your case the body contains the XML message. Note that the body can also contain form elements instead of XML in which case you need ABAP or Java mapping in XI to parse the data.
    To come back to your question, what is in between the URL and XML? answer is nothing, because these are two different entities within HTTP. And no, you cannot embed the XML within the URL. An analogy in real world would be when you sending mails using post. The envelope you use is like a HTTP header, the address you write on the envelope is the URL and the actual letter inside the envelope is the HTTP body.
    Please refer http://en.wikipedia.org/wiki/HTTP to understand more on what HTTP is about.
    Thanks
    KK

  • Busine Process Monitoring: define alert in XI for HTTP adapter

    Hi Experts,
    Iu2019m working with SAP XI 7.0 and solution manager 701. Iu2019m configuring BPM.
    I want to monitor the error in XI. I have three systems:
    Legacy System --> SAP PI --> ECC
    The legacy System, communicate whit SAP PI with HTTP request so the adapter  sender in PI is  an HTTP Adapter.
    I want to  monitor the errors in the http adapter so I created the  alert category HTTP_ERROR_ADAPTER in the abap stack (transaction alrtcatdef).
    When I try to configure the alert in the Runtime WorkBanch I canu2019t find u201CHTTP Adapteru201D in the field u201CAdapter Engineu201D . I can see only jdbc, rfc, mail u2026. Adapters.
    I think that I canu2019t see the http adapter because the HTTP Adapter is not a java adapter.
    So, how can I monitor the errors in the HTTP adapter sender in SAP PI? Can I monitor the http adapter sender  errors using the field u201CIntegration Engineu201D (u201Cerror categoryu201D = * and u201Cerror codeu201D = * )?
    Thank you a lot in advance for collaboration.
    Best regards
    Giou2019

    how can I monitor the errors in the HTTP adapter sender in SAP PI?
    Alert category option you are trying won't work. The only thing you may check in PI perspective is whether http service is running in smicm. I am not sure but CCMS monitoring could take care of this specific category. Other way without thinking about alerts could be using manual TCPGateway procedure to trace http calls.
    Can I monitor the http adapter sender errors using the field u201CIntegration Engineu201D (u201Cerror categoryu201D = * and u201Cerror codeu201D = * )?
    Integration Engine category here won't be actually the http related error, it would be pipeline steps related error.
    Regards,
    Prateek

  • Transport Acknowledgement for HTTP adapter

    Hi all,
    I have the following Integration Process (BPM) defined.
    I receive a RFC Message from R/3 in XI. The RFC message is put into a BPM scenario. It then waits for a second message to arrive which belongs to the first. Then i have to send the two messages in order (first the 1st message, then the second). These messages are both Asynchron. To make sure the messages are sent in correct order, i put the send steps in separate blocks and i request a transport acknowledgement. The message is written with a file adapter to a directory. This is on the testing environment and (as far as i can see now) working correct, because the send step is waiting for the acknowledgement and then going to process the second message.
    Now in the production system we do not send the message to a file, but to another system using the HTTP adapter. I cannot test this in any other system, so my question is: <b>Can i use the Transport Acknowledgement with the HTTP adapter in the production system to make sure the messages are delivered in correct order???</b>
    Or do i have to do other things?
    Thanks in advance!
    Marcel Leeraar

    Hi,
    Considering that HTTP adapters also support transport ack's, I dont think this should be a problem and it should work just as it did with file adapters.
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/content.htm
    Regards
    Bhavesh

  • Multiple endpoints for HTTP adapter (OracleAS 10g - 10.1.2)

    The HTTP adapter documentation states the HTTP adapter supports sending outgoing messages for Interconnect to multiple HTTP endpoints. This enables sending messages to various remote web servers.
    The HTTP user guide states:
    "An endpoint is associated with a subscribing event in iStudio by adding the transport properties such as the HTTP endpoint as metadata for the event. This is done using the Modify Fields function of the Subscribe Wizard - Define Application View dialog. After associating an endpoint and event, the message from the subscribing event is sent to the HTTP endpoint.
    When using the multiple endpoint feature with XML data type, use the Generic event type, instead of XML. Using the Generic event type allows you to enter the metadata for the endpoints using the Modify Fields feature associated with iStudio.
    When invoking this through iStudio, the screen allows you a name/value pair and I have entered 'multipleEP' for the name & 'http://....servlet' for the value. Is this the correct way? For an additional endpoint I assume I add another name/value pair in a similar way to above, can someone confirm this method?
    Some confirmation or additional HOWTO documentation on this facility would be appreciated.
    Regards,
    David

    I've done a bit of testing and this is what I found. Feel free to expand as you see fit.
    Using the Modify Fields feature allows you to enter name/value pairs. I found that you enter the metadata parameter in the name, and the metadata value in the value. For example:
    Name - ota.endpoint, Value - createMemoEP (appears to arbitrary but my example is related to event crateMemo)
    Name - ota.send.endpoint, Value - http://..../servlet/yourServlet
    The data gets saved in table EMDDATALET and when used by the adapter, the above information overrides the metadata from the adapter.ini file.
    Hopes this helps anyone who wants to use this facility.
    David

  • Transport acknowledgements for HTTP adapter

    Hi,
       We have a scenarios ABAP Proxy --- BPM --- HTTP Receiver.
    In our send step when we use transport acknoledgemetn, I am getting a message saying Acknoledgment not possible.
    Does HTTP adapter support transport acknoledgements?
    Thanks,
    vinay.

    Hi VJ,
      Is there a reason that this adapter does not support the tranport acknowledgement.
    Thanks,
    Vinay.

  • Alerts for HTTP adapter

    Hi All:
    I am working on JDBC to HTTP scenario. Now If my target service is down how I can throw an alert specific to HTTP adapeter? I am not seeing HTTP adapter in the
    adapter list( RWB->Alert configuration)
    Please let me know how can I achieve it?
    Thanks
    Farooq.

    hi
    Try this
    Re: Unable to see alerts in alert inbox
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    Thanks

  • Getting invalid content type for SOAP: TEXT/HTML exception for Soap Adapter

    I am trying to invoke Webservice using SOAP Receiver Adapter
    but I am getting error
    <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</SAP:AdditionalText>
    Pls let me know
    Regards

    HI,
    see
    •     Q: What character encoding is supported by the SOAP sender adapter?
               A: The SOAP sender adapter can accept any character encoding supported by the local JDK. When you are using a particular character encoding with content type text/xml, you must make sure that the encoding name given in the content type and in the XML declaration must be consistent. What makes this more complex is that the default values. The default encoding for "text/xml" is US-ASCII, whereas the default encoding for the XML declaration is UTF-8 or UTF-16. The following examples show several valid combinations of content-type and XML declartion:
               text/xml
               <?xml version='1.0' encoding='us-ascii'?>
               text/xml; charset='utf-8'
               <?xml version='1.0' encoding='utf-8'?>
               text/xml; charset='utf-8'
               no declaration
               text/xml; charset='iso-8859-1'
               <?xml version='1.0' encoding='iso-8859-1'?>
               application/xml
               <?xml version='1.0' encoding='iso-8859-1'?>
               The response message from the SOAP sender is normally encoded in UTF-8. If you want to change this encoding, for instance to iso-8859-1, you can supply the encoding information with the xmlenc variable in the request URL as in:
               http://host:port /XISOAPAdapter/MessageServlet?channel=p:s:c&xmlenc=iso-8859-1
               Related Questions "What character encoding is supported by the SOAP receiver adapter?"
    Regards
    Chilla

  • How to use URL for http adapter

    Hello,
         Iam working on IDOC2HTTP scenario. Here the end user system they have given only url address userid and password.End user is htttp. Please can u help me how ot use that.
    Thanks in Advance.
    Regards,
    Abhiram

    Hi Abhiram,
    you can put there the URL directly or link to a destination where you store the address.
    Have a look to [Configuration of HTTP receiver adapter|http://help.sap.com/saphelp_nw2004s/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/frameset.htm]
    Regards,
    Udo

  • Acknowledgment for Http Adapter

    hi,
    how to receive an acknowledgment in a HTTP-XI asynchronous scenario...?
    Is there any possibilities?
    Thanks,
    RPN
    Edited by: RPN on Aug 11, 2008 7:57 AM

    hi,
    check this one
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/65ce41ae343e2be10000000a1553f6/frameset.htm
    check SAP Note 837285.
    regards
    srinivas

  • Transaction code used to configure HTTP Adapter?.

    What transaction code we use to configure HTTP adaptor?.
    SMICM
    Is this correct?.

    Ash,
    Yes. Please see this weblog for some more help:
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    Just go this url and click the first one for HTTP adapter presentation:
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=http%20adapter&cat=sdn_all#
    Also check this threads:
    in SMICM-->How to Activate HTTP Services
    SMICM services
    ---Satish

  • HTTP Adapter outbound (SSL) processing

    I am trying to send a XML message (an Invoice) from XI to an external Customer via HTTP Adapter.
    The site I am posting the message to is SSL.
    I have installed the Customer's Certificate via STRUST under SSL Client (Standard) and can see it in the
    certificate list.
    Within the Communication Channel for HTTP Adapter I have tried Addressing Type of URL
    and also with a HTTP (SM59) destination.  Both do not work.
    The setting used for both are
    host : workflw.externalcustomer.xxx.com  Service: 443
    Path : /SubmitInvoiceUAT/SubmitInvoice.asmx/SubmitCXML
    HTTP Proxy : internetproxy.mycompany.com
    Proxy Servuce : 80
    SSL Active : SSL Client Certificate ANONYM SSL Client(Anonymous).  As no client cert is used for logon
    I have attempted a connection test within SM59 for the HTTP Destination and I receive the error
    ICM_HTTP_SSL_ERROR.
    1) If the SSL Client Certificate ONLY for logon then how does XI know what cert to encyrption with?.
    2) Should Verisign/Thawte etc CA certs be also installed in STRUST ?
    Does that "public" key for encryption need to be placed anywhere (eg STRUST) or will XI just do
    3) this when it does the handshake with the external HTTPS site it is posting to ?
    4) Also the transaction STRUST may (or may not depending on how the documentation is interpreted) need the installation of some certs into its PSE (Personal Security Environment).  But exactly what they mean is a mystery.  I have created what I thought was the servers cert but cannot see to create a dev.connector.boc.com named certificate.  Perhaps that is not needed.
    Here is the help <a href="http://help.sap.com/saphelp_nw70/helpdata/en/e8/1f1041a0f6f16fe10000000a1550b0/frameset.htm">SAPHelp on  PI HTTPS Config</a>
    5) Also OSS note 510007 it advises to check a number of settings.  I have had a look at what I can ..namely via transaction RZ10  and I can see one parameter and should that be changed to include a HTTPS ? .i,e  currently it is set to     <i>icm/server_port_0  PROT=HTTP,PORT=80$$,PROCTIMEOUT=3600</i>

    Hello
    As a process you have done well. I suspect the problem could be with " SSL Client Certificate  ". Check weather the SSL Client Certificate  is Valid version.
    Best practice.
       Alway when we are communicating with HTTP outbound. It is better to have a STANDALONE ftp location for both SENDER and RECEIVE xml DATA transfter files.
             I hope I answered your question. It was nice answering your question. Feel free to reach SDN if you have any questions.
    Regards

  • Help with some html code for flash site!

    Got this site>
    http:/www.thedesignport.com
    Site works great! everything is uploaded! What I cant seem to
    get workning is the html code to add a description under the title
    of the website in a google search? Goto google enter "topanga
    mountain school" I'm top spot on the second page but with NO
    description?? have a look at the html code for
    http://www.thedesignport.com
    Have I gone wrong somewhere?? But I've found if you put
    "topanga mountain school pdf" into google ( I have three pdf's on
    the site) My site is Second on the search with a DESCRIPTION of the
    pdf's under the site name?? I dont get it?? Any help would be
    great!

    You're not getting any help here because this is the forum for discussions of the Community Help Client application and Help system in general. For CSS questions, you should probably try something like the Dreamweaver forum.

  • Java HTTP adapter - without Authentication

    Hello Experts,
    is it possible to set Java HTTP adapter on sender CC to request no login and password?
    I tried to look at documentation but didnt found any setting for that.
    Standard case is - when I create sender HTTP channel it requires Basic Http authorization/authentification using popup window to enter login/password.
    I`m on SAP PO 7.4
    Thank you
    vbalko

    Hi Vladimir -
    There is one blog which talks about how to disable basic authentication on soap adapter.
    I assume you can follow the same approach if you want to disable for HTTP adapter. But please note that it disables the authentication for all the channels.
    Please refer to William's reply in the below therad for more details.
    User Names and Passwords in SOAP adapter
    Path for HTTP Adapter WEB-Inf file is :
    /usr/sap/<<SID>>/DVEBMGS<<SYS_NO>>/j2ee/cluster/apps/sap.com/com.sap.aii.adapter.http.app/servlet_jsp/HttpAdapter/root/WEB-INF

Maybe you are looking for

  • Crystal Report using Stored Proc in JSP problem

    Hello, I am running a simple report using a stored proc(oracle). It runs fine when I run the report through Crystal. But when I tried running it using JSP it gives me this exception - com.crystaldecisions.report.web.viewer.CrystalRepo rtViewer Error

  • User ID/password

    I had to change my user id and password because you wouldn't accept my birthdate, Nov. 20, 1942, which is what it is, and that which I gave at the beginning of our association. I would like my user id to be what it was: [email protected] and my passw

  • Capturing Data Point

    I have written a program that constantly monitors the pressure from a transducer.  Once the pressure has stabilized the user can begin the record process which essentially records the data to an excel spreadsheet at different rates depending on wheth

  • Double booting Snow Leopard and Windows 7

    My school has licensed a number of copies of Windows 7 and there is some windows-only software I want to use, so I want to double boot with Windows 7. So far with Boot Camp, I've partitioned 5 GB of my harddrive and I'm at the point where I would ins

  • WDS ignores DHCP

    We just recently upgraded our PXE server since I handle some Windows imaging issues to Server 2012 R2 due to MDT and special imaging upgrades for Windows 8.1.   The server was installed clean to a virtual machine, but now I have a weird issue with th