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

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

  • HT5934 my phone switched off  even 60% charge (pls send me problem)

    sir my phone is suddenly switched off even 60% charge
    pls send me problem
    regards for you
    venkata ramarao

    Try following these steps:
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIsand corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 15 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    (from http://support.apple.com/kb/TS2802 )

  • Https problems in IE, Chrome, Skype, but not Firefox

    I have a user whose account on a win2003 domain was deleted by accident (I have no idea how). I recreated the account and recovered the user profile from a local machine. The local machines all run Win7.
    Everything seems to work fine again now except that https calls through Internet Explorer and Chrome fail with error messages that seem to indicate the site is simply not available rather than a certificate error or the like. Firefox works fine to access
    the same sites. I believe Firefox only works because it doesn`t use the built in security.
    Other accounts on the same machine can make https calls without trouble. My assumption is that there is an issue in the user's profile, but moving the Chrome and IE directories from the AppData directory in the user's profile accomplished no change in behaviour.
    I found KB 813444 and attempted to follow the instructions there to some extent (they seem aimed at XP and Vista), but couldn't re-register the dlls. None of the other changes made any difference. Likely not the problem anyway as the problem does not occur
    for any other account that logs into the machine.
    There really seems to be something wrong in the user profile. Permissions too loose on a directory somewhere? But where?
    The system is a brand new HP tower with Windows 7 on it. Fresh install about a month ago and kept up to date. All other profiles on the machine work fine. Using the same profile on another machine has the same problem of being unable to connect to https
    sites. The error received is not a certificate error, but indicates that the site can't be found, which suggests to me some fundamental failure in the security setup of the user profile. However, I've been unable to find where that information might be stored.
    Clearing the SSL state from within Internet options has had no effect on this issue, nor has compatibility mode or any of the things that are possible on Windows 7 from kb813444.
    Any thoughts?
    Keith

    Hello Keith,
    If my understanding is right, you only have one account have this https problem.
    Will this issue occurs when you create an login as a new account?
    If this issue only occur in the single account, we could refer to the following article to fix the profile.
    Fix a corrupted user profile
    http://windows.microsoft.com/en-us/windows/fix-corrupted-user-profile#1TC=windows-7
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • R/3 to XI manually IDOC sending and problem:

    <u><b>R/3 to XI manually IDOC sending and problem:</b></u>
    I sent IDOC using we19 transaction from R/3 system. After sending it asks me userid and password for XI system. I give necessary UID and PASS. R/3 system says me sucessfully sent.
    I check XI (sxmb_moni) but there is nomessage there.
    <b>Problem 1:</b> I don't want R/3 ask me UID and password for XI access
    <b>Problem 2:</b> I want to see message in XI (sxmb_moni)
    Thanks

    Hi Cemil,
    >>>>After sending it asks me userid and password for XI system. I give necessary UID and PASS. R/3 system says me sucessfully sent.
    check the RFC destination from R3 to XI (SM59)
    you will find the right one from your port (We21)
    you can also check step by step procedures
    for IDOC - XI in my book:
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

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

  • 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

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

Maybe you are looking for

  • JDev 11 - Date problem in executeWithParams form who rans fine in Jdev 10

    Hello everybody, Here is my case : I have a viewObject, here is its SQL code : select * from   select req.*, ROW_NUMBER() OVER(ORDER BY 1) num   from     select distinct rvmage.mage_seq, mpr.nom||' '||mpr.prenom as medecin, mpr.nom, mpr.prenom, rvmag

  • MacBook Display not conform to german workstation regulations

    Hello all, I wanted to replace my old PowerBook G4 with one of the new MacBooks/MacBooks Pro. But one huge obstacle is the display. I want to use my notebook for work. German regulations for workstations with computers say that the srceen must be fre

  • When looking at my HD, i see a large "other" category what is this?

    My macbook pro is telling me my hard drive is almost full. When I looked at the harddrive it has a very large "other" category. 71 GB large. What could this be?

  • Lumia 920. slow original charger

    The original cable when plugged into the mains will take forever to charge. It takes even longer than charging through the USB port in the computer, and it's hardly even warm. I had the charger replaced twice already and now it's the same thing again

  • Mailbox chashes

    My mailbox crashes everyother day! It stops communication with the server. I have to force quit and restart again. It makes me loose a lot of time and possibly messages. Is there a solution for this? I thought Macs had not these type of problems! I'm