Interconnect HTTP Adapter Send / Response

Hi,
I'm setting up an Interconnect HTTP adapter to send XML data to an outside partner. Based upon my XML I get a response XML file from that partner. The XML I'm sending is a list of requests. The response XML is either a list of verifications and/or errors. I really need that response. I'd like to take that response and put it back on the Hub queue to be handled in our system.
From what I see in the log the send is successful. The response XML from the partner is printed correctly in the log.
I looked at the documentation for the http.reqreply mode. However, that appears to be used only for a receiver to send a reply back to a sender. I really want the opposite - I want my sender to send back the response.
This is my first time using the HTTP adapter. I readily admit I may be missing something.
I appreciate any help!
Thanks!

Hi,
The Integration Interconnect forum can better assist you with this question. Please repost your question to that forum.
Thanks,
Eng

Similar Messages

  • Reg:http adapter-sender side

    which http client tool is used to send the request if we are using http adapter on sender side?

    Hi Chandra,
    HTTP: Hyper Text Transfer Protocol is a stateless prtocol to send a request and get a response back on that. For your query is there any specific client used?
    Ans: No, you can use any client means the ip address of the system from which you are making request called client and to which you are making request called server. http is nothing but some set of rules to exchange data between two systems.
    One more thing to mention is "some jave code is written for http and that is register on W3C" so that different server can connect to each other using it.
    See the link below:
    http://www.w3.org/Protocols/
    Please always Rewards if helpful.
    BR,
    Alok
    Edited by: Alok Sharma on Mar 18, 2008 12:49 PM

  • Http adapter-sender side error in communication

    Hi,
    I have configured the sender http adapter in the test enviroment
    and i did some test using a test tool
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
    The test was a  success . I used a url:
    http://sapxid:8000/sap/xi/adapter_plain?namespace=urn%3A/RepairJobCAp_SapInbound&interface=MI_RepairJobC&service=BS_CRM&party=&agency=&scheme=&QOS=EO&sap-user=xiappluser&sap-password=XIPASS&sap-client=001&sap-language=EN
    When i did the test with the real tool of the sender system it failed , and the only sign was the log in window of the XI WAS with the user name of xiappluser .It seem that failed to log in , the password it is ok as it works with the test tool. Do you have an idea what it could be ?
    Best Regards
    Antonis

    hey
    could you please post the URL to which the actual sender system is pointing to(the URL to which it is sending the message to XI)
    also use TCP gateway to monitor the sender HTTP
    /people/stefan.grube/blog/2007/03/29/troubleshooting-soap-http-and-mail-adapter-scenarios-with-tcpgateway
    Thanx
    Aamir

  • Interconnect HTTP adapter and B2B

    The HTTP adapter within Interconnect does not seem to support SOAP HTTP formats, would B2B be able to manipulate the HTTP from the HTTP Adapter and create it in SOAP format.

    Unfortunately B2B do not support generic SOAP formats today. It only
    supports SOAP in the context of ebXML.
    Thanks
    Sundar

  • ERD not determined while using plain http adapter as Sender

    Hi All,
    ERD is not determined while using Plain Http Adpter as Sender.Is there any way to determine ERD table by using Http adapteras Sender?
    Regards,
    Rajesh

    Are you doing synchronous scenario???
    if yes should have leaving the value for the Software Component Version empty for Receiver determination .
    /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
    /people/jin.shin/blog/2007/12/11/sap-netweaver-process-integration-enhanced-receiver-determination-for-synchronous-scenarios

  • HTTP adapter bug in XMLFromAOConverter

    Hello,
    I got ClassCastException while my HTTP adapter sending message to an external application.
    I tried it with versions 10.1.2 and 9.0.4. Both of them produced the exactly same exception (only the line numbers were different in stack trace).
    The adapter was correctly subscribed in iStudio using DTD file and CopyFields transformation.
    The message was received from HUB and successfully converted from MSG doctype. BUT when it is converted into output XML format, the following error has occured (details from logfile):
    ---- start details (as in 10.1.2 HTTP adapter logfile)
    "date": Received a message from hub queue oai_hub_queue.
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!DOCTYPE MSG>
    <MSG>
    "date": Inbound Transform Engine: done transforming messag
    e. Message will now be given to the Bridge.
    Main_Events.EVEMT_NAME:OAI/V1,OAI/V1,false,0
    hub-test
    HEADER
    MESSAGE_ID: 13
    SERIAL: 13
    COMMAND: COMMAND
    BODY
    ID: 1
    PASSWORD: PASSWORD
    PHONE: 2040780
    "date": Agent: ** Error ** Bridge had an error processing the received message.
    Main_Events.EVENT_NAME:OAI/V1,OAI/V1,false,0
    java.lang.ClassCastException
    at oracle.oai.agent.client.XMLFromAOConverter.addObjectAttribute(XMLFromAOConverter.java:347)
    at oracle.oai.agent.client.XMLFromAOConverter.addObjectAttribute(XMLFromAOConverter.java:400)
    at oracle.oai.agent.client.XMLFromAOConverter.addObjectAttribute(XMLFromAOConverter.java:343)
    at oracle.oai.agent.client.XMLFromAOConverter.addObjectAttribute(XMLFromAOConverter.java:255)
    at oracle.oai.agent.client.XMLFromAOConverter.toXML(XMLFromAOConverter.java:146)
    at oracle.oai.agent.client.XMLFromAOConverter.getXMLData(XMLFromAOConverter.java:92)
    at oracle.oai.agent.client.AgentImpl.convertMessageObjectToXML(AgentImpl.java:257)
    at oracle.oai.agent.adapter.technology.TechBridge.messageReceived(TechBridge.java:929)
    at oracle.oai.agent.client.SmartQueueDispatcher.run(SmartQueueDispatcher.java:489)
    ---- end details ----
    When I tried DTDs which "depth" is only 1, eg.:
    hub-test
    field1: abc
    field2: efg
    the adapter works fine.
    Has somebody any idea to solve this critical problem?
    Thanks in advance, Jana

    sounds strange as ie works fine for me. try to change encodeURL()
    to encodeRedirectURL()...

  • 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

  • Plain Http adapter Monitoring with CCMS / Alerting framework

    Hello all,
    Can you explain me the optimal way to monitor process using plain http adapter (Sender AND Receiver).
    My goal is to push issue information as soon as possible to monitoring team (via CCMS) when the process is in error.
    During my tests, I ve had a lot of messages with ICM HTTP error 110 but Integration engine did not trigger any alert.
    Thanks for your help.

    Hi,
    Check this link for ICF trace.
    http://help.sap.com/saphelp_webas620/helpdata/en/2d/64d041e74911d6b2e400508b6b8a93/content.htm
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    /people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni
    regards
    Aashish Sinha
    PS : reward points if helpful

  • HTTPS on Receiver  Http Adapter

    Hi ,
    In the http receiver adapter , if i'm using 'https' communication where do i specify that . Is it in the RFC destination of type 'G' . I also read in some places that i would have to do that in the Receiver Agreement . But i think the security options in the Receiver Agreement are meant for adapters - XI, SOAP, Mail, or CIDX and i couldn't find anything for http.
    Is there any need to specifiy it in the adapter . And in the RFC destination we would be giving the host name , port and the path prefix string . Do i have to activate the SSL option there, is that all thats needed to make sure that the receiver http adapter sends the message out via http.
    PS. I've already enabled the SSL on my server in the abap stack .
    Thanks & Regards,
    Rahul

    Hi Rahul,
    Yes, you need to make the SSL option in the G type connection active, if authentication is via certific you can select there itself.
    Thanks,
    Srini

  • Please anyone explain me about HTTP adapter

    Can anyone explain about HTTP Adapter (sender,receiver) End to End implementation with screen shots?

    HI
    HTTP Adapter
    The HTTP Adapter allows connection between the Integration Server and application systems. External systems connect to the Integration Server using the native HTTP interface (HTTP payload without SOAP envelope) which is converted to XI protocol (SOAP with header enhancements). The HTTP Adapter allows synchronous and asynchronous message functionality
    http://help.sap.com/saphelp_erp2005/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
    http://www.erpgenie.com/netweaver/xi/adapters/index.htm
    Differences between adapters
    You can use the HTTP adapter. Refer to following SDN TV demo of the HHTP adapter for details steps involved into it.
    https://media.sdn.sap.com/SDNTV/main.asp?mediaId=107
    HTTPS using XMLSPY
    http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm
    The HTTPS configuration data of the Adapter Engines has to be configured in the SLD.
    More Information in the "SAP Security Guide XI"
    http://help.sap.com/saphelp_nw04/helpdata/de/f7/c2953fc405330ee10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/65/6a563cef658a06e10000000a11405a/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a
    cheers
    Edited by: vemuganti naga phalguna on Jul 24, 2008 12:16 PM

  • HTTP Adapter Interconnect 10.1.2 problem

    Hello,
    Can someone explain me how to use Interconnect for sending xml-messages from a database to a webservice, and processing the answer?
    We tried the following:
    Install a database adapter
    Install a (sync) http adapter
    The common view is a procedure basd on a DTD
    The database application has an invoke procedure
    The http application has the implemented procedure.
    The application view of the http application is a copy of the common view.
    This works for sending the message. Also, the http-response succeeds:
    In the http log we can see the content of the reply (in XML). However, after this, there's a complaint in the logging:
    Bridge successfully sent message from OAI to external system
    You must have data for KentekenAanvraag_reqKentekenAanvraag_OUT_OAI_V1_T:OAI/V1.VRTG-PER-VERZ.ALG-GEG.WACHT-WOORD-ACT in your XML according to the DTD which was imported in iStudio.
    Agent: ** Error ** Bridge had an error processing the received message.
    Indeed, there is no data sent back for this entry. Does this mean that the application view defines exactly what is expected? Are optional fields not permitted?
    Also, on the database-side, we get this error:
    OAI.Agent.syncRequest : ORA-20000: ORU-10023: error 3 on lock request
    I hope someone can give us a clue!
    Thanks,
    Monique

    hi,
    I am new to Interconnect stuff .We are trying use http adapter for Request and Reply.Could you please let me know how to approach ?Waht are the steps I have read the documentation but it's doesn't have a case study as the other adapters.
    Any help will be gratly appreciated.
    Thanks

  • PI 7.11 - Sync HTTP receiver adapter with response XML file

    Hi
    We have a File to HTTP scenario in which we need a sync HTTP interface. We send a file to the HTTP address and receive a XML acknowledge. As I read in this forum: sync HTTP interfaces are not possible with the "standard" HTTP adapter. So I found an entry which recommended to use the SOAP adapter instead.
    I configured it:
    - Do Not Use SOAP envelope
    - modules: RequestResponseBeans, CallSapAdapter, ResponseOneWayBean
    If i use this scenario, i get following error in the RWB - Message Display Tool:
    Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.Message.getMessageId() of an object loaded from local variable 'message1'.
    I testet this scenario using CURL and it worked properly. Should this kind of scenario work with the SOAP adapter or do I need to buy/develop an own adapter? Is in NW7.3 possible to configure sync HTTP scenarios?
    Thanks in advance
    Michael

    Hi
    actually i use a simple HTTP receiver CC with the setting "XI Payload in HTTP Body" to send a XML datafile to a webpage (java servlet). This part works fine by now. But, this servlet would also send back a status information to the state of the received datafile, which I like to catch.
    e.g. HTTP response from the servlet (catched using CURL):
    HTTP/1.0 403 Forbidden
    Server: Apache-Coyote/1.1
    X-Powered-By: Servlet 2.4; JBoss-4.3.0.GA (build: SVNTag=JBPAPP_4_3_0_GA date=200801031548)/Tomcat-5.5
    Set-Cookie: JSESSIONID=OALHMomjR9TVgIATi8SrPQ**.ajp13_ls_1; Path=/ls
    Content-Type: text/xml
    Date: Tue, 06 Mar 2012 16:19:56 GMT
    X-Cache: MISS from proxy.xxxx.com
    Via: 1.0 proxy.xxxx.com:xxxx (http_scan/4.0.2.6.19)
    Proxy-Connection: close
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><!DOCTYPE transportordersfromls [ <!ELEMENT transportordersfromls (userid, clntid, msgid, (transportorderfromls+ | error))> <!ATTLIST transportordersfromls vers CDATA #REQUIRED> <!ELEMENT userid (#PCDATA)> <!ELEMENT clntid (#PCDATA)> <!ELEMENT msgid (#PCDATA)> <!ELEMENT transportorderfromls (refid, status)> <!ELEMENT refid (#PCDATA)> <!ELEMENT status (ok | error+)> <!ELEMENT ok EMPTY> <!ELEMENT error EMPTY> <!ATTLIST error reason (XMLError | SystemNotAvailable | ApplicationError | OTHER) #REQUIRED message CDATA #REQUIRED> ]>
    <transportordersfromls vers="1.0">
        <userid/>
        <clntid>XXXXX</clntid>
        <msgid>0</msgid>
        <error reason="OTHER" message="Access denied"/>
    </transportordersfromls>
    Michael

  • How to send the payload to a jsp using receiver Http adapter?

    Hi experts,
    I have this scenario from Legacy to XI to external app server.I have a test jsp to execute that functionality .Its a jsp which has 1 textarea named "test" and when I click on the submit buton I get a response back.This way I am able to test this independently.Now from XI when I am executing my scenario I am getting status code '1250' and message as ' http request(test) is null'.Now in the scenario in http adapter I just provide the target host : ip of server ,
    service number : port no ,
    path: the container or the request handler. But this scenario fails and gives me the above erroneous response.Now Basically I am not able to get how to send the value to the textarea "test"? please provide help as soon as possible.Do we have to put the name of the jsp in the "path" in http adapter and use prolog as test=.I tried this but it doesnt work.
    Is there any way to check the URL that it forms after appending the querystring in the url ...?
    So please provide help on this or suggest a solution to [email protected] as soon as possible.....
    Thanx in advance.
    Akshata

    hey Shekhar,
    thanx for that prompt reply but I have configured the communication channel in the same manner as suggested by u.
    actually I have this jsp page http://xx.xx.xx.xx:8080/abcdef/try/efg.jsp where there is a textarea "test" which has to be filled and there is a submit button.When I test this http client i.e the above jsp page independently then it goes to handler
    http://xx.xx.xx.xx:8080/abcdef/trial/    And it gives a proper response message after clicking on the submit button.
    now I want to carry out the same using receiver http adapter. I need to pass the value for this inputfield names "test" on that jsp . so right now I have configyured the adapter as
    addressing type: url
    target host : xx.xx.xx.xx
    service no:8080
    path : here I have given the path of handler i.e /abcdef/trial I tried giving the jsp page also but logically I guess it should be the handler.
    content type: text/xml; charset=iso-8859-1
    xml code: UTF-8
    Mask special characters (URL escaping) checked.
    now since the name of the inputfield is "test" in the prolog I gave test=
    But it doesnt work I get this error "http request parameter [test] is null" in the response message  which I guess suggests that it is not able to send the value for the field"test" to that handler.Please suggest how to send this and tell me if there are any other configurations that I have to do in the receiver communication channel.
    Thanx ,
    Akshata

  • 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.

Maybe you are looking for