Sender HTTP

I know very well its not necessary to Configure the Idoc and HTTP adapters if they are on the sender side.
My question here is, I tried to configure a Sender Adapter and that time I saw the HTTP adapter was listed in the list, but IDOC adapter was not listed.
Why do they want to list the HTTP adapter on the Sender Side?
Thanks

Hi Rohini,
All XI runtime components using the HTTP protocol support the encryption of the HTTP data stream by means of the SSL protocol, also known as HTTPS. HTTPS data streams are completely transparent to the Exchange Infrastructure.
To enable an HTTPS connection, two steps are required:
1.Both parties of an HTTP connection (that is, the HTTPS client and the HTTPS server) must be technically enabled.
2.The internal XI communications and the messaging communications must be configured in XI to use these HTTP connections.
I hope it is clear from the above 2 points why exactly this feature as been provided....
Regards,
Abhy

Similar Messages

  • Problem in sending HTTP request to the server.

    Hi,
    i dveloped an ant script for sar deployment.
    i deployed a sar to my local soa server with ant script. it got deployed succesfully..
    but when i try to deploy to a remote server, getting the below error..
    "Problem in sending HTTP request to the server. Please make sure the server is up and/or check standard HTTP response code for 404"
    but the server is up and runnig and i am able to ping it from my machine and also access the console...
    below is my script
    build.properties
    wn.bea.home=C:/Oracle/Middleware
    all.needed.jars.path=D:/SourceCode/neededJAR
    oracle.soa.home=C:/Oracle/Middleware/Oracle_SOA1
    java.passed.home=C:/Oracle/Middleware/jdk160_24
    #Deployment environment
    deployment.plan.environment=DEV
    #Deploy Action
    deployAction =redeploy
    #credentials
    user=weblogic
    password=welcome1
    #For Composite deployment
    serverURL=http://10.177.154.6:7001
    forceDefault=true
    server=10.177.154.6
    port=7001
    sarLocation=D:/SourceCode/JAR
    build.xml
    <?xml version="1.0" encoding="iso-8859-1"?>
    <project name="soaDeployAll" default="deployAll">
         <echo>basedir ${basedir}</echo>
         <property environment="env"/>
    <echo>current folder ${basedir}</echo>
         <property file="${basedir}/build.properties"/>
         <taskdef resource="net/sf/antcontrib/antlib.xml">
         <classpath>
              <pathelement location="${all.needed.jars.path}/ant-contrib.jar"/>           
         </classpath>
         </taskdef>
         <target name="init">
              <tstamp>
                   <format property="timestamp" pattern="yyyy-MM-dd_HH-mm-ss"/>
              </tstamp>
              <property name="build.log.dir" location="${basedir}/buildlogs"/>
              <mkdir dir="${build.log.dir}"/> <property name="build.log.filename" value="build_${timestamp}.log"/>
              <record name="${build.log.dir}/${build.log.filename}" loglevel="verbose" append="false"/>
              <echo message="Build logged to ${build.log.filename}"/>
         </target>
         <target name="deployAll" depends="init">
         <echo>Deploy for environment ${deployment.plan.environment}</echo>
         <antcall target="deployAllComposites"/>
    </target>
    <!-- Following Actions are performed for Composite files in Managed Server - Deploy,Redeploy -->
         <target name="deployAllComposites" depends="init">
         <foreach target="deployComposites" param="Files">
              <fileset dir="${sarLocation}" casesensitive="no" includes="*.jar"/>
         </foreach>
         </target>
         <target name="deployComposites" depends="init">
         <basename file="${Files}" property="basename"/>
    <echo>Deploy Project ${basename} for environment ${deployment.plan.environment}</echo>
              <if>
                   <equals arg1="${deployAction}" arg2="deploy" />
                   <then>
                        <echo message="Deploying composites in Managed server........." />
                        <ant antfile="${oracle.soa.home}/bin/ant-sca-deploy.xml" inheritAll="true" target="deploy">
                             <property name="serverURL" value="${serverURL}"/>
                             <property name="user" value="${user}"/>
                             <property name="password" value="${password}"/>
                             <property name="overwrite" value="false"/>
                             <property name="forceDefault" value="${forceDefault}"/>
                             <property name="sarLocation" value="${sarLocation}/${basename}"/>
                        </ant>
                   </then>
                   <else>
                        <echo message="ReDeploying composites in Managed server........." />
                        <ant antfile="${oracle.soa.home}/bin/ant-sca-deploy.xml" inheritAll="true" target="deploy">
                             <property name="serverURL" value="${serverURL}"/>
                             <property name="user" value="${user}"/>
                             <property name="password" value="${password}"/>
                             <property name="overwrite" value="true"/>
                             <property name="forceDefault" value="${forceDefault}"/>
                             <property name="sarLocation" value="${sarLocation}/${basename}"/>                         
                        </ant>
                   </else>
              </if>
    </target>
    </project>
    please help....

    Hi,
    Give the serverURL as http://<host>:<managed.server.port>/soa-infra/deployer and try.
    e.g . http://10.177.154.6:8001/soa-infra/deployer
    Regards,
    Neeraj Sehgal

  • ABAP Program to send HTTP message

    Hi All,
    I tried executing the program in "[ABAP-Based HTTP Client for Messages to SAP XI|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ae388f45-0901-0010-0f99-a76d785e3ccc]" Article to send HTTP messages to XI system.
    Entered all required parameters and entered XMl Payload with the option "Insert Payload as Text"
    The scenario in XI has Integration Process and the first step is a Sync-Async step.
    The message execution fails in that step with status "Pipeline Timeout"
    I can see only half of the xml payload in sxmb_moni.
    There are no short dumps and the Integration Process is working fine when I send messages using HTTP client.
    Let me know if there are any checks for tracing the problem.
    Thanks,
    Uma

    Hi,
    I have gone thru this blog but I want send SMS to US Mobile no.I checked other webservice but it supports only few cellular networks in US.
    any other alternate for this...
    anyway thanks for your reply
    Regards,
    Nivas

  • Sender http adapter - decoding (URL unescape)

    PI 7.0
    Incoming http request in XI is URL decoded. Currently I am using java mapping to decode it. Is there a way to set any adapter specific properties in sender http adater so that I can avoid the java mapping for decoding. Or any settings in SICF? In other words, how can XI handle encoded http requests?
    When XI makes a external http request, I can set a property "Mask Special Charcters (URL Escaping)" in the receiver http adapter. XI will make a encoded http request, meaning the xml will encoded in UT-8.

    Hi Ted,
    I'm currently trying to do something like that, but not yet totally successed with a base64 encoded payload.
    Here two documents that I really find interresting:
    How to Configure Message Level Security in SAP Exchange Infrastructure 7.0
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d024ca8e-e76e-2910-c183-8ea4ba681c51
    How to handle unstructured source contents for Adapters (with Java mapping or with Module)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/482aae19-0301-0010-3485-8efd618818d0
    if you find others... I'm ok to know it also
    Cheers.
    Mickael

  • How to send HTTP Post to URL (third party software) in JSP/JSPDynpage

    Hello,
    we want to integrate a third party application in our Portal Component (JSPDynpage using JSP and HTMLB). This third party component is called like this:
    http://servername:port/cgi-bin/cgi.exe?request=map&format=html&swldy_ace=GDF&swldy_image_format=p n g&width=525&height=375
    How can we do this in the JSP using HTMLB?
    Thanks for your help.
    Best regards,
    Daniel

    Hi Detlev,
    thanks for your hint regarding the App. Integrator, but it seemn not to be what we want to do: We call a CGI and get a JEPG Image back as request.
    Now we used the java.net.URLConnection to do the HTTP post in the JSPDynpage:
    // send HTTP POST
    try {
      u = new URL("http://server/path/ourcgi.exe");
    } catch(MalformedURLException ex) {
      System.err.println("MalformedURLException");
    // build query sting      
    String query = "request=plot&format=jpeg&template_name=......."
    int cl = query.length();
    try {
      // open the connection and prepare it to POST
      URLConnection uc = u.openConnection();
      uc.setDoOutput(true);
      uc.setDoInput(true);
      uc.setAllowUserInteraction(false);
      DataOutputStream dos = new DataOutputStream(uc.getOutputStream());
      dos.writeBytes(query);
      dos.close();
    } catch ...
    Best regards,
    Daniel

  • PI Sender HTTP adapter restricting access by IP

    We have a web service hosted on PI and we would like to limit access to this web service to only one web service client application. This is a high volume interface and not particularly sensitive data so we are not really looking for the SSL overhead. Is there any way other than SSL or using the HTTP logon procedure of AS-ABAP to restrict access to this web service? For example, can we specify anywhere on the AS or in the configuration of the PI Sender HTTP adapter that only requests from a certain IP addresses be processed?

    If you do not care about security then pass some basic authentication in the form of userid and password in either the header fields or in the url parameters.  These could then be authenticated in the Web Service - though this is not ideal

  • Sender HTTP Adapter working intermittently

    HI ,
    My scenarios is HTTP->XI.>ECC,
    Sender HTTP Adapter is working intermittently some times data is not reaching to XI though it sent successfully from Source.
    We are unable to find the logs in XI where this data went.
    This interface is working fine in PI 7.1 and now in migration to PI 7.3 ( have Two application server dispatcher model) this interface is working intermittently .
    Please provide any inputs on this intermittent issue for sender HTTP adapter.
    Data sent successfully from source side and no message is received to XI MONI. Please guide me where can I check for the logs and error details

    Hi Krishna,
    If your PI is dual stack and you are not using the http_aae you can trace the http in the ABAP stack. Go to smicm transaction and set the trace level to 2 or 3.
    In Quality system you can talk with your sender client in order to prepare a set of requests in oder to find out if the requests are reaching to PI or not and what exception could be.
    hope this helps.
    Regards.

  • Sender HTTP and validation

    Hallo,
    we have a HTTP sender to allow partners to send HTTP/XML message. THese messages are converted to IDOCs and are posted to the R/3 system.
    HTTP -> IDOC scencario
    Until now we have no validation of the incomming XML message.
    Goal is not to accept the wrong XML message and to send back a HTTP error code to the sender.
    Is it possible to have an adapter module on the planHTTP adapter? As I understood this is not possible???!!!
    Is it possible to use the SOAPsender Adapter with the option "No Soap"? I still want to receive HTTP/XML message and I do not want to force my partners to call a webservice.
    Can I implement a adapter module in the SOAPsender to return a specific HTTP code if the XML validation fails?
    Can this be done only in SYNCHRON mode?
    The problem is, the the IDOC to SAP is only asynchron, so do I have to implement a BPM with SYNCH-ASYNCH bridge then?
    I know, a lot of questions but all because there is no valiation on XI at the moment.
    Best regards
    Werner Magerl

    Hi,
    > Irrespective of where you are doing the validation,
    > as Idoc is an Asynch always, wouldnt you need a BPM
    > with a Synch - Asynch bridge.
    Yes, this is clear and I have implemented this BPM to cover this SYNC-ASYNC problem. I ecpected here, also, that I can send back a HTTP error code, but the only thing which is sent back is HTTP-200 for ok and HTTP-500 (time out).....
    > Even if the XML message
    > is valid and Idoc is sent succesfully, are you not
    > going to send some response back to the HTTP? Wouldnt
    > you be using a BPM in this case too?
    this is the reason, why I try to do this in an adapter module. Because I think, then the HTTP connection is still open and I can send each HTTP code I want before the message arrives in the integration server or in a BPM
    > There are 2 options from what I can understand of the
    > requirement,
    >
    > 1. Either make an Asynch call and avoid a BPM
    > altogether , but not propogate back any success or
    > error message.
    no, we wnat to show an error
    > 2. Make a synch call and use a BPM, and propgate
    > either a success or failure message.
    this is also a way we are working on, but here we have the problem of defining the answer message interfaces.
    The incomming message is defined by a industry specific XSD and I was not able to enhance this message interface to be SYNCHRON and with ANSWER message.
    But if adapter mdouel is not possible we will work on this again.
    reagrds
    Werner
    >
    > Regards,
    > Bhavesh

  • Synchronous Sender HTTP

    Scenario
      HTTP(Synchronous) -
    > XI -
    >  RFC (Synchronous)
    Question :
    Since the Sender is  an HTTP  "NO SENDER AGREEMENT " is Required, whether my understanding is Correct? (I am getting confused because the Sender HTTP is a Synchronous System). Please clarify.
    Thanks.

    HI Jenni,
    It is not required to have sender Http Adapter so there is not required to have Sender Agreement,
    Inorder to do Synchronous communication, in the http client , you need to give Quality of Service as <b>BE</b> i.e Best Effort. If so, then it will act as a Synchronous call. As usual you need to have Http Req and Resp data structure to handle this
    Regards,
    Moorthy

  • Sender HTTP Adapter User Authorizations

    Someone knows what are the authorizations that must have the user used in a Sender HTTP Adapter?

    Hi,
    User must have role SAP_XI_APPL_SERV_USER on Integration Server.
    This will give you more Idea
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ca/fafaf6dbc8b240b1cf4a88c40379b2/frameset.htm
    Regards
    Agasthuri Doss

  • Sender http problem

    hi,
    where should i change url for sender http   symbols like  / by %2F and . by %3E in the url generated by the HTTP client ?
    where i i find this url
    http://xxxxx:8000/sap/xi/adapter_plain?namespace=http%3A//sap.com/xi/yyyyy&interface=abcd&service=ghj&sap-user=skapu&sap-password=super
    regards

    Vijender,
    you can create your own http client using the following doc.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
    copy the piece of html code and paste in notepad and save that with extn ".html"
    to send the http request to ur xi integration engine, provide the parameters asked.
    n dont forget to change the user id and password in document source code.
    Else you can also test your scenario using RWB.
    Regards
    Pushkar

  • Urgent - help question on sending http instead of https

    I'm trying to dump out my http wrapper: I'm trying to set send http instead of https so I can dump the wrapper.
    currently my code does the following for https determination. i read from a configuratioin file to see if i should set https or http
    question) Do i need an else section to cover non https?
    If so, what do i need to set for http properties.
    // check if https is wanted
    // yes - send https
    String useHttps = cf.get("useHttps", "true");
    if (useHttps.equals("true")) {
    logger.debug(classMethod + "https mode=" + useHttps);
    System.setProperty(
    "java.protocol.handler.pkgs",
    "com.sun.net.ssl.internal.www.protocol");
    // make provider and/or protocol configurable?
    Security.addProvider(
    new com.sun.net.ssl.internal.ssl.Provider());
    }

    resolved - don't need help anymore on it

  • How to configure/send http links to files on a drive?

    We recently switched over to a Mac-based file server for our small business from a Windows server after a hardware failure. Previously we were able to send HTTP links (I believe using FTP?) to clients that linked directly to video files on one of the drives within the server, which would play back in a browser window or could be downloaded by saving the link. I'm now trying to figure out how to add this functionality to the new server. I'm not an IT guy so this is all kind of Italian to me. All I'm looking for is someone to point me in the right direction.
    What I do know is that the old links were formatted as such:
    zcg911.us/_clients/cintas/example.mov
    There was a drive attached to the server we labeled "htdocs" which contained the "_clients" folder, and was being linked to. Basically I just want to replicate this functionality so we can resume sending out links to our clients in this way.
    Is this something I can do with the OS X Server app? Or do I need third-party software to accomplish this? Any help would be hugely appreciated.

    For http links to work in this case you need a web server which can access those files and then 'serve' them via http. Such a URL would look something like
    http://mywebsever.domain.com/_clients/cintas/example.mov
    The web server could be the file server and this would make things easier but it could be logged in to the file server as a client itself.
    If you simply add a folder or folders to the web server so it can share these to clients, you need to make sure no other files are in the same folders that you do not want to make available to other people. Either this means ensuring only the files you want are in those folders, or instead of sharing the folders themselves, you could make aliases, aka. 'shortcuts', aka. 'links' to the individual files and putting those aliases in the website folder.

  • ExecutorService creating tasks to send HTTP requests - time out

    In my java application, I have introduced ExecutorService to create tasks. The tasks consist of sending HTTP requests to an application server, to process transactions. The ExecutorService will process about 1000 requests.
    The executor process the transactions and terminates OK, but some of the transactions timed out (before introducing ExecutorService, I was just sending one transaction at time, all the transactions were processed OK; but, it was taking a long time to process).
    See the code below.
    private ExecutorService threadExecutor;
    threadExecutor = Executors.newFixedThreadPool(30);
    threadExecutor.execute(transaction);
    try
         //Shutting down the ThreadExecutor
    threadExecutor.shutdown();
    threadExecutor.awaitTermination(30, TimeUnit.SECONDS);
    threadExecutor.shutdownNow();
    catch (InterruptedException e)
         System.out.println("ERROR - cannot shutdown the ThreadExecutor - exception is: " + e);
    Is this the best way to implement this use case?
    Thank you.

    From the above code, it seems like you are starting only a single transaction in a thread pool. Or does the transaction object you pass to the threadExecutor spawn more tasks for the executor?
    If you are indeed still making all HTTP requests from the single transaction object, then yes, it will 'time-out' after 30 seconds, since the ExecutorService was instructed to stop its threads after that period of time.
    Your description of the use case is actually a good example of the usage of an ExecutorService, since it is faster to do 1000 HTTP requests in parallel than it is to do them sequentially.
    Consider this:
    ExecutorService threadExecutor = Executors.newFixedThreadPool(30);
    for (int i = 0; i < 1000; i++)
      threadExecutor.execute(new Transaction());
    try
      threadExecutor.shutdown();
      threadExecutor.awaitTermination(30, TimeUnit.SECONDS);
      threadExecutor.shutdownNow();
    catch (InterruptedException e)
      // Ignore
    }This will spawn 1000 transactions that will execute in parallel, with max. 30 running at any single point in time. Any transactions still not executed after 30 seconds will be terminated.
    Hope this helps.
    --JH
    Edited by: Kramor_dude on Nov 5, 2009 6:55 AM

  • The application can not send http-request being on a virtual machine.

    Hello, I have console application, which process data, and send report to Web API controller of my site. But the data do not reach the controller. Watching visual studio debugger for the controller, I see that he has not even called. But the application
    being launched on my local PC, regularly sends data to the controller.
    Im using HttpClient class, here is string which send data to server:
    Client.PostAsJsonAsync("http://[site].azurewebsites.net/api/Decision", report);
    VM OS - Windows  Server 2012.
    What could be the
    problem?

    Hi,
    Did you create the http endpoint for virtual machine?
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to send XML file into XI using sender HTTP adapter

    I am using HTTP sender adapter to post the XML file into XI. I tried to form the URL by using the following String query , but I am unable to execute file.
    String urlString = "http://<servername:portno>/sap/xi/adapter_plain?namespace=<namespace>&interface=<interface name>&service=<service name>&party=&agency=&scheme=&QOS=BE&sap-user=xiappluser&sap-password=satyam&sap-client=100&sap-language=EN";
    How can I execute xml file by using HTTP sender adapter.
    Any one with better suggestions, about this idea?
    Thanks in advance for all.
    Ram Raj

    Hi
    Just use the following parameter to send xml file using HTTP adapter.
    "http://xiserver:8000/sap/xi/adapter_plain?namespace="senderNamespace"&interface=senderinterface&service=sender service";
    "&party=sender party"&agency=&scheme=&QOS=BE&sap-user=userid &sap-password=password&sap-client=100&sap-language=D";
    with the help of this you are able to point out which interface you would like to use.
    And in payload pass the xml.
    and thats it
    carry on
    Cheers
    Regards
    Piyush

Maybe you are looking for

  • Spry Validation Select ultimate beginner

    Hello to all, I need help with the spry validation select thingy.  Basically, I am not a programmer, so code stuff won't help me much.  I need a bit of a walkthrough: The problem: 1) I need 2 validation select boxes with about 10 choices each. 2) I n

  • How to calibrate retina macbook pro display

    Which calibration tool does the best job at calibrating the rMBP display?

  • WS-security Need to Get Username and Password and time Stamp in SOAP Header

    HI ALL, i need to get USERNAME and PWD in my Soap header for consuming Webservice using SAP PI , and my SOAP Header should look like this <soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encodi

  • Error message after sending text message

    I keep getting an error message after I send off a text. It says that the number is invalid and that i have to enter the entire 10 digit number, so at this point i go back to the contact list and ensure that i have the area cose as well. I re-send an

  • WF-BTACH user locked in the Producation

    Hi Experts, In producation, wf-batch user locked due to some reasons for two days. Now we unlocked the user and all workflow's are working fine. But the problem is, there are some 200 workflow's are triggered on the same two days. Most of those workf