Clarification for HTTP and HTTPS Sender Adapter

Hello together,
after some investigating concering scenarios with HTTP and HTTPS sender there are still some points that are not absolutely clear for me.
I know that it is not necessary to configure an HTTP sender communication channel. However if I want to enforce HTTPS sender communication I think I need to add an HTTP sender communication channel with security settings enabled as well as a sender agreement.
To my understanding these settings are activated on the Adapter Engine (Java Stack), HTTP requests however call the ABAP stack directly. How does this work exactly?
Thank you very much for your additional explanation.

Hi,
see below is the format for HTTP URL
http://<hostname:port>/<path>?<query-string>
now query straing can only have values as given in the below link
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
a way around can be to specify the payload for &party or &agency or &schema(if you are not using them) but then XI should be able to identify them correctly(which i m not sure how it will do),secondly the length can be a constraint coz if you add the whole payload ,the URL will become really long.
so i would suggest you not to use it but if you really have to,then explore it properly first and then only use
plz reward points
thnq

Similar Messages

  • Enabling SSL for HTTP Sender Adapter

    Hi Experts,
    I'd like to have a step by step process in enabling HTTPS for Plain_HTTP Sender Adapter. I've already read the enabling HTTPS on SAP Help, but it does not provide much detail. Would the steps be the same for enabling HTTPS for Plain_HTTP Receiver which are:
    1. Install the certificates using STRUST
    2. Configure an RFC Destination using SM59
    3. Call your RFC Destination in Receiver HTTP Adapter (not valid for http sender adapter)
    The connection for setting up http is http://<hostname>:port/<path>?<query string>
    but what about https? Would it be connecting to the webdispatcher first?
    Hope you can help me,
    Regards,

    Hi,
    as HTTP Adapter is on ABAB stack you will need to configure with STRUST.
    http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm
    The URL should start then with https, but you could test with this sample client:
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
    Regards
    Patrick

  • QueueId for HTTP Sender Adapter.

    Hi All:
    I modified the HTTP client and sending QoS = EOIO and queueid=test_queue. But I am getting an Error  :
    <i><b><b>Result:  
    <SAP:Error><SAP:Category>XIServer</SAP:Category><SAP:Code>INTERNAL.ATTRIBUTE_INITIAL</SAP:Code><SAP:P1>QUEUE_NAME</SAP:P1><SAP:Stack>Attribute QUEUE_NAME is initial</SAP:Stack></SAP:Error></b></b></i>
    Can any one tell me what is the cause of this Error
    Thanks
    Farooq.

    Double check the URL:
    ... &QOS=EOIO&queueid=test_queue ...
    Stefan

  • HTTP sender adapter and receiver adapter

    Hi guys,
    I have a scenario that I have to communicate with an HTTP server with XML over HTTP.
    When the communication is opened by me I will use an HTTP receiver adapter and give the connection parameters.
    a) Do I have to use a different HTTP receiver communication channel for each different type of XML that I want to send??
    b) When the communication is opened from the HTTP server, they have to type the URL in order to invoke the correct scenario on my side, right? I know that I do not have to use an HTTP sender adapter. They have to call the http URL, followed by the sender business system, sender interface name/namespace etc.
    That means that the URL in the format: http://XIhostname:port/ is not enough right?
    Is there a way to figure out from the type of the XML sent which scenario will be executed in XI?
    Because it is difficult for them to use different URL when they are sending me different type of XML's, i.e. different requests.
    Evaggelos

    >>Do I have to use a different HTTP receiver communication channel for each different type of XML that I want to send??
    Yes,receiver adapter is linked to receiver agreement,if you have different inbound interfaces then it means you need to have diferrent receiver agreement,hence different receiver communication channels.
    >>That means that the URL in the format: http://XIhostname:port/ is not enough right?
    No,its not,there is a test tool on SDN called "HTTP test tool".just search for that and download on your desktop,it will help you generate the correct URL as well as test the scenario by sending sample HTTP request.
    One thing you need to keep in mind is that HTTP scenarios don't require and sender communication channel or sender agreement.they only need configurations on receiver side
    Thanx
    Aamir
    FYI:Here is the test tool
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
    Edited by: Aamir Suhail on Jul 3, 2008 12:18 PM

  • When i send a test message throw the RWB for Http receiver adapter it is giving the error "Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SOCKET_TIMEOUT, Read timed out"

    when i send a test message throw the RWB for Http receiver adapter it is giving the error "Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SOCKET_TIMEOUT, Read timed out"

    Hi, Michal
    I have read your Weblog. It makes sense to me. Thanks a lot for your help! However, I still have some questions and listed them as following. Could you please help to answer them?
    <b>Q1:</b> I am new to SAP-XI. So I have no idea about TCODE-SXMB_ADM. Could you introduce more details about it?
    <b>Q2:</b> The XI system I am using is running on SAP-ICC's machine. The tools I can use are:
    <b>1.</b>Builder for Integration Repository
    <b>2.</b>Builder for Integration Configuration
    <b>3.</b>System Landscape Directory
    <b>4.</b>Runtime Workbench
    <b>5.</b>Administration System (for Repository, Directory, Runtime)
    Please note that I do not have a complete control on this SAP-XI. Do you think whether or not I can set the timeout parameter by following the instructions provided in your Weblog?
    For more details about my SAP-XI, please access the following Web page:
    http://iccxi.sap.com:58000/rep/support/admin/index.html
    <b>Q3:</b> The following messages are extracted from the SAP-XI. Wish they are hepful to solving my problem.
    2006-06-19 05:12:16 Success The message was successfully received by the messaging system. Profile: XI URL: http://iccxi.sap.com:58000/MessagingSystem/receive/AFW/XI
    2006-06-19 05:12:16 Success Using connection AFW. Trying to put the message into the request queue.
    2006-06-19 05:12:16 Success Message successfully put into the queue.
    2006-06-19 05:12:16 Success The message was successfully retrieved from the request queue.
    2006-06-19 05:12:16 Success The message status set to DLNG.
    2006-06-19 05:12:16 Success Delivering to channel: ValidationRequestHandlerServiceChannel
    2006-06-19 05:12:16 Success SOAP: request message entering the adapter
    2006-06-19 05:12:37 Success SOAP: call failed
    2006-06-19 05:12:37 Error SOAP: error occured: java.net.ConnectException: Connection timed out: connect
    2006-06-19 05:12:37 Error Exception caught by adapter framework: Connection timed out: connect
    Thanks
    Menghua Li

  • Why we r not Creating Sender Agreement For HTTP & IDOc Adapter at Sender .

    Hi Buddy's,
                         Why we r not Creating Sender Agreement For HTTP & IDOc Adapter at Sender .And why we create receiver agreements at receiver side bt not sender agreement at sender side.
    Wat Is GLOBAL Container ?, where it will Occur & wat is the functionality of that.

    Kumar,
    1) XI integrattion server - IS expects the messages in XML format. If you see the HTTP request you will see that we pass all the info contained in the Sender areement in the the HTTP request itself , namely - Message interface, message type and the namespace (along with login parameters). For IDOCs the the IDOC- XML are are sent to the IS (through IDOC port configuration at the source system.
    2) When send a message to XI the sender knows that XI system parameters, but when at the reciver end there could be any any system that is reciving the IDOc/HTTTp message. you specify those message through a commumication channel and this channel is associated to a receiver agreement.
    3) A Global container is like a place holder for variables. You can set a variable here and access it throughout your mapping and hence the name.
    A good example for a gloabal container is a counter to countthe number of records in te target side.
    Regards,
    Arvind ravindran

  • Dynamic URL for HTTP receiver adapter

    Hi all,
    when the XI send the http request to the target system, the format maybe like this:
    header + body the body is including: Prolog, payload and Epilog
    here is about the target system have a 'input' parameter(maybe string type)
    is it possible to pass the 'head + body' these value(or maybe the whole http request message) into input
    i mean is it possible to set the dynamic URL for http receiver adapter like this:
    http://host:port/path?input=<the header and body>
    i have searched the blog Dynamic Configuration of Some Communication Channel Parameters using Message Mapping
    Link:[/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping]
    and the similar threads in the forum
    please give me some advice
    thanks in advance

    When a HTTP server requests the whole message as URL parameters, then I assume that the server also requests an HTTP GET, which is not supported by XI.
    Could you check this?
    Regards
    Stefan

  • How to configure the Http sender adapter

    Now i have look through the sap lib about the http sender adapter
    and i know the url is
    http://hostname:port/path?namespace=<...>
    &interface=<...>&service=<...>&cmd=T&loaderXML=< message object >&end=yes
    My questions are:
    1)the path in the URL is "/sap/xi/adapter_plain", if not, what is it?
    2)the message payload is right?
    any reply is appreciated
    Thank you very much

    Hi Leo,
    For a HHTP Scenario:
    DESIGN:
    1. Create DataTypes for source and Destinations. Create elements for all the text fields of your HTTP Client so that they can all be mapped into the destination file
    2. Create MessageTypes for the two datatypes.
    3. Create Message Interfaces. The One for HTTP is the sender, Asynchronous ( as no response is expected) and one for File is receiver, asynchronous.
    4. Do the mapping. It will be mostly a one to one mapping of the fields.
    5. Create the Interface Mapping.
    Configuration:
    1. Import your Business System under your Configuration Scenario.
    2. Create 2 communication channels. One for Http as a sender and one for your receiver say IDoc.
    Check these links for the configuration part.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/content.htm
    3. Do the Receiver Agreement for Idoc. HTTP doesn’t need a sender agreement.
    4. DO the Receiver Determination and Interface Determination.
    Weblog which talk about the same scenario:-
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - although this weblog is
    aimed at explaining the sync-async bridge.. Sriram has taken http-to-file scenario as the example
    (use case) and explained it...
    Check this SDN tv demo, it has detail of HTTP adapter setup.
    https://media.sdn.sap.com/SDNTV/main.asp?mediaId=107
    Refer to this link for adapter settings.
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
    You should also have a HTTP client to send message to XI. In the connecting parameters to XI u have to use the URL in the pattern mentioned . U have to give all the configuration details in the URL.
    If you give me your mail id or if you can mail me at [email protected], i can send you a HTTP CLIENT.....In which you need to view the source code and change the username and password to send message to XI.
    Regards,
    Abhy

  • How to use the http sender adapter

    Hi,
    I'm trying to use the http sender adapter but not getting the result.
    1)  I've created the commnunication channel in Integration Directory.
    2)  I have my url:
    http://<server>:56000/sap/xi/adapter_plain?service=BS&namespace=urn%3Acompany%3Apoc&interface=interface
    3)  When i copy that url in a browser i get a login prompt. When i log in i get a message that navigation is cancelled.
    What steps do i need to do to use this url to send my xml message to the adapter engine. Do i need a special system user for this? Any other tools required? (i have httpclient but using that doesnt send messages to the adapter_plain; i think)
    I feel i'm just missing one little thing, but what is it.
    kr
    Robert

    Hello Team,
    I added the user name & pwd to query string & trying to access from IE and still getting blank page.
    Is this what is expected or there is something wrong in URL. I am able to send the XML from HTTP Test tool.
    My URL is :
    http://abc:50000/sap/xi/adapter_plain?namespace=urn:xyz.com:A_To_ERP_Payment_balance_Request&interface=SI_A_CHK_balance_OUT&service=BC_XX_XXX&sap-user=myuser&sap-password=mypassword&sap-client=001&sap-language=EN
    Please advice.

  • Http sender adapter: QoS is interpreted as Best Effort by PI 7.11

    Hi
    I have a scenario, where I receive an xml OrderResponse via an http sender adapter and I then map it to an iDoc which is sent to the backend system.
    BUT: for some reason, PI thinks, that the Quality of Service is BE, and I get the error "Only asynchronous processing supported for IDoc adapter outbound processg".
    I have checked both the http sender adapter, the sender agreement, the interface mapping, the service interface and the operation mapping and nowhere can I see, that best effort is selected.
    The OrderResponse is sent from an external partner and is routed through a load balancer and an SAP web dispatcher before arriving to PI.
    Any suggestions would be highly appreciated.
    MIkael Lund

    The external partner is sending the OrderResponse to this URL (external URL):
    https://xxxxxx.xxxxxxxx.dk/sap/xi/adapter_plain?service=LM&namespace=http://xxxxxxxx.dk/XCBL/OrderResponse&interface=xCBLOrderResponse35Out
    this URL is being translated to an internal URL:
    https://yyyyyyy.yyyyyyy.dk/sap/xi/adapter_plain?service=LM&namespace=http://xxxxxxxx.dk/XCBL/OrderResponse&interface=xCBLOrderResponse35Out
    So how should the external and/or internal URL be altered?
    Thanks for a very quick answer by the way
    MIkael

  • HTTP Sender Adapter parameters

    Hi,
    I'm doing the HTTP to IDoc Scenario.
    Receiving side is SAP ECC through receiver IDoc.
    Third party system, they are asking to give the URL, so that they will include that URL in their program & it will post to SAP.
    Can anybody guide me on this.. what parameters i've to get from the third party and what preparations i've to do in XI & ECC 6.0, so that i can give proper inputs to them.
    And if sender CC is HTTP, any receiving IDoc CC configuration is required? Pls let me know the steps hw to proceed on this.
    Thanks in Advance.
    rgds,
    balu

    HI
    Sender HTTP
    You need to have a sap user for the third party in PI to post content on HTTP sender adapter channel
    URL that you need to give to third party vendor
    http://<hostname:port>/<path>?namespace=<namespace>&interface=<interface>&service=<service>(optional) &party=<party>(optional) &agency=<agency>(optional) &scheme=<scheme>(optional) &qos=<EO|BE|EOIO>
    Receiver IDOC
    Create RFC destination in SM59 for R3 system.and port in IDX1 for R3 system
    IDX2 Improt IDOC metadata.
    Thanks
    Gaurav

  • HTTP Sender Adapter Response

    Hi there,
    Can I send a status code back to the sender of the HTTP request in case of a HTTP Sender Adapter ?
    We need to send a response immediately to the Sender Application. The interface however is an asynchronous interface and a response with XI is only perhaps possible with BPM which would be rather complex for a small response code to be sent back ! Is there any possibility that some response is sent as soon as I receive a request on the SICF service ?
    Amair

    Hi Amair,
    As Bhavesh suggested i also dont see a way you can do this unless by making the interface Synchronous. If you do so then it becomes so simple and u will not require any work arounds.
    Regards,
    Abhy

  • WCF Basic Http Send Adapter Observation (BUG in WCF Adapter ?)

    Hi,
    I have a request response WCF Basic Http send adapter with URL say http://dds.testservice.com/service
    I send a request and get a response in my orchestration. Everything works fine.
    I have a scope around the send receive shape in orch to catch excpetion of service call.
    To test this I changed the URL to  http://dds.testservice.com/service1 and I got the exception in orch and caught.
    But if URl is changed to  http://dds.testservice.com1/service i.e I am putting invalid server name . Note the 1 after com.
    In this scenario the WCF Send adapter remains in Active state for ever till terminated. 
    Why is this behaving this way. How will orchestration ever know if the send failed if its always in active state and no response sent back to catch block.
    Is it a bug in BizTalk WCF Adapter            ?            
    Regards
    Ritu Raj
    When you see answers and helpful posts,
    please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

    What you're experiencing is not unexpected.
    The server name and the service path are completely different and, technically, have nothing to do with each other. They are resolved separately, and in different places.
    "service1" is failing immediately because the host is getting the request but, not recognizing "service1" is returning an error immediately.
    "*.com1" takes much longer to fail to the Orchestration because of the stack of timeouts and default retries in the Send Port and IP stack.
    So, no, it is not a bug.

  • Hi! I need steps for HTTP Receiver adapter

    My scenario is like this:
    HTTP(HTTP Sender adapter)->XI->File(File adapter).
    For this Iam sending the data as payload in the body of HTTP. Now What am i going to do is the opposite of above scenario:
    File(FileAdapter)->XI->(HTTP Receiver Adapter)HTTP.
    I would like to know what are the steps to transfer a file(xml) from File adapter to XI and from there to Http.
    How to send the data using File adapter. Please suggest me some steps.
    Hoping a quick response!!!
    Thanks in advance!

    Hi Datta,
    For a HHTP -> XI -> FILE Scenario:
    DESIGN:
    1. Create DataTypes for source and Destinations. Create elements for all the text fields of your HTTP Client so that they can all be mapped into the destination file
    2. Create MessageTypes for the two datatypes.
    3. Create Message Interfaces. The One for HTTP is the sender, Asynchronous ( as no response is expected) and one for File is receiver, asynchronous.
    4. Do the mapping. It will be mostly a one to one mapping of the fields.
    5. Create the Interface Mapping.
    Configuration:
    1. Import your Business System under your Configuration Scenario.
    2. Create 2 communication channels. One for Http as a sender and one for File as a receiver.
    Check these links for the configuration part.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/content.htm
    3. Do the Receiver Agreement for file. HTTP doesn’t need a sender agreement.
    4. DO the Receiver Determination and Interface Determination.
    Weblog which talk about the same scenario:-
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - although this weblog is
    aimed at explaining the sync-async bridge.. Sriram has taken http-to-file scenario as the example
    (use case) and explained it...
    Check this SDN tv demo, it has detail of HTTP adapter setup.
    https://media.sdn.sap.com/SDNTV/main.asp?mediaId=107
    Refer to this link for adapter settings.
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
    You should also have a HTTP client to send message to XI. In the connecting parameters to XI u have to use the URL in the pattern mentioned by Alex. U have to give all the configuration details in the URL.
    Regards,
    Abhy
    Message was edited by: Abhy Thomas

  • HTTPs sender adapter to pick file from a external HTTP file location

    HI gurus
    Please see the problem here. I need know hoe to configure the Sender HTTP adapter.
    My Scenario-
    A Flat file (non-xml but structured) sitting on an external https enabled web server. I need XI to go out and get this file on a regular basis (which will then be processed laterby the business person)
    Thanks
    VL

    Hi,
    The FTP Adapter will do the job for you. Just create a File Communication Channel and change Transport Protocol to FTP. Since you mentioned that the file is non-xml, in the Message Protocol, choose, File Content Conversion.
    Here are some blogs that will help you:
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    FYI.. HTTP Sender adapter is not required to be configured because a HTTP request will directly come to the ABAP Engine
    Regards,
    Balaji.M

  • Remove namespace alias for HTTP receiver adapter

    hello all,
    I have a scenario, IDOC->XML (HTTPS). Standard output of PI has ns0: as prefix for each xml tag (ns0 alias for namespace)
    I want to remove the namespace alias while preserving the namespace in the output. So removing namespace reference in external definition is not a option.
    Is there any way to use XMLAnonymizerBean for HTTP receiver adapter? What are other alternatives (java mapping)?
    Thanks,
    sachin

    Thanks stefan, prateek.
    Prateek: I checked this blog earlier. It talks about inbound processing. My scenario is outbound HTTP and I am not sure how I can use specific adapter service as mentioned in blog in outbound case as other scenarios are using standards adapter_plain service.
    Stefan: I will try this approach.
    regards,
    sachin

Maybe you are looking for

  • Oracle 10G Express Edition No Oracle Spatial

    I have been test driving 10G Express Edition. I tried to create our schema in it only to find that the mdsys.sdo_geometry datatype is unknown. It looks like Oracle Spatial is not part of Express Edition. Can anyone confirm? SEVERE: Unsuccessful: crea

  • Change "Share" button email link default behavior of opening in Office Web App

    When staff use the "share" button to share documents. The URL link that get's emailed out defaults to opening in the browser Office Web App view. How can we change this so it defaults to opening in the client side application? The URL that is sent vi

  • Screen is lokecd while phone is charching

    Unable to slide to unlock Screen on My Iphone 4 while the phone is being charged using the correct charger, it was doing it before the IOS7 and is doing it after, however, strangly enough the phone is fully usable before the screen gets locked,

  • Premiere Elements 11 Editor, v11のシリアルNOの確認方法を教えてください.

    Adobe Premiere Elements 11 Editor, v11を 2013/8/31.当時のiTunes Storeで購入したのですが. それを13 乗換え・アップグレード版に乗り換えする際. シリアルNOが必要と聞きました. シリアルNOの確認方法を教えてください. ちなみに11は起動しません.

  • Best integration for Flex

    I have a doubt, what is  the best language for an application beckend RIA? I am wanting to create an  application and was thinking of using java integrating with Flex  (BlazeDS or WebOrb) but i dont know if is the best choice.