Sender HTTP adapter

Hi,
I have been working with SOAP sender / receiver adapters.. Now I am working on a new scenario where I am developing scenarios from and to HTTP servers.
1. I use http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel URL to call PI from web server using SoAP adapter.  sap help suggests to use http://<hostname:port>/<path>?<query-string> for calling PI from HTTP server... Can someone tell me in detail what is path and query string values to call PI?
2. I use soap sonar or soap UI to call PI using these web services. IS there any equivalent tool to test HTTP - PI communication? If yes can I do that with the WSDL?
3. While sending messages from PI to HTTP box, there is 404 not found error message.. But when I logged onto the target server, the URL seems to be right. I know it is not trying to find the correct resource. Plese throw some light on how do I validate the URL?
THanks,
~N

All,
Please help me test my latest version, which is released as Beta.
SAP PI HTTP Client 3.0
Regards,
Vikas

Similar Messages

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

  • 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

  • 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

  • Regarding encryption/decryption in sender HTTP Adapter...

    Hi experts,
              I have  a doubt that ... is there any possible ways to encrypt/decrypt the username, password  using sender side Plain HTTP adapter.
    Regards,
    Sasitharan

    hi
    You can use those adapters to define transport level security(HTTPS/FTPS) and message level security (encryption).
    hi check this thread for refernce:
    How to use the Private/Public Keys from the Key Store
    Also check this document on encryption in adpaters:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/482aae19-0301-0010-3485-8efd618818d0
    Check security settings section of this page:
    http://help.sap.com/saphelp_nw04/helpdata/en/da/7a2f41b239a831e10000000a1550b0/content.htm
    Check thiss blog as well:
    /people/varadharajan.krishnasamy/blog/2007/05/11/how-to-use-digital-certificates-for-signing-encrypting-messages-in-xi
    regards
    chandrakanth

  • Https on sender http adapter

    Hello Gurus,
    we have a synchronous XI from HTTP Sender adapter to RFC. The user of the interface would like to call it using the plain HTTP adapter with HTTPS. When we use the http port with the XI user/password as part of the url, it works OK. When we switch to the HTTPS port the interface does not provide a response. When we call the https url directly in Internet Explorer we get a pop-up requesting the user/password. Once
    this is entered the interface works OK until the ie session in closed.
    So can you please tell me what might be d problem?
    If i m calling it from http client it is not giving me response, and if m calling it directly then also it is asking for user id and password.
    Any help is appriciated.
    Thanks,
    Hetal

    Thanks Swarup.
    I already have configured SSL.
    But how i can make sure that what i need to use and how can i specify from below :
    HTTP with SSL (= HTTPS), but without client authentication
    HTTP with SSL (= HTTPS) and with client authentication
    Which i need to use?
    And if what shold be the url for that?
    right now m using url like :
    https://hostname:httpsport/sap/xi/adapter_plain?namespace=xyz&interface=xyz&service=xyz&party=&agency=&scheme=&QOS=BE&sap-user=xyz&sap-password=xyz&sap-client=xyz&sap-language=EN
    Can you please tell me how i have to specify that as we do not configure HTTP Sender adapter?
    Thanks,
    Hetal

  • Alias for Sender Http adapter

    Is there a way to avoid a customer to send to xi the complete following URL in order to use Sender Plain HTTP adapter
    https://myserver:443/sap/xi/adapter_plain?namespace=http://mynamespace&interface=myInterface&service=SERV_B2b&Party=MyCustomer&qos=EO&sap-user=piappluser&sap-password=password&sap-client=310&sap-language=EN
    How can we hard code URL paramtres that are constant for process like Interface name... ?
    The goal is to provide a reduced URL to call.
    Thanks a lot for your help.
    Jean-Charle
    Message was edited by:
            Jean-Charles

    no its not possible to hard code HTTP URL somewhere.
    in order to reduce the length of URL what you can do is that you can shorten the names of all the objects like interface name,business system,party etc.
    for e.g instead of calling the interface as <i>myInterface</i>,you can call it <i>MI_1</i>,
    similarly you can shorten the length of all the objects thereby shrinking the whole URL length.
    its a dirty workaround but would shorten the URL length
    Thanx
    Aamir
    Message was edited by:
            Aamir Suhail

  • How to shorten URL of Sender Http adapter?

    Hi,
    in a HTTP-BPM-R3 scenario I have given the below adress to a 3rd party application which is goiing to trigger BPM:
    http://<server>:<ABAP-port>/sap/xi/engine?type=entry&version=3.0&Sender.Service=<YourService>&Interface=<YourNamespace>%5E<YourInterface>&sap-user=XXXX&sap-password=XXXX&QualityOfService=ExactlyOnce
    However they say that their tools doesnt allow to enter more than 127 char as URL. So they asked me to shorten it. Is it possible?
    Of course I can shorten ns,interface, user, pass length (and by using synch interface the last part can be chopped off) but I wonder how to get rid of "&version=3.0" or user/password for a specific interface. Or is there any other solution inside PI like in ICM or somewhere defining a URL mapping/routing and converting a  tiny URL to URL above?
    PI: nw2004s SP20.
    Any help will be appreciated...
    Best Regards,
    Edited by: FIT CONSULTANT on Jul 17, 2010 9:31 AM

    Thanks guys,
    My problem is not resolved (I did not try the dispatch configuration) I shortened the URL by shortening the namespace. Now I have a different problem thread:
    Http sender without SOAPAction
    Regards,

  • 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

  • HTTP Adapter - Problem sending message to XI.

    Hi,
      We have configured a scenario in IR and ID for the HTTP -> XI -> RFC message flow. We have created all the configuration objects (Receiver determination, receiver agreement, interface determination) in ID except the Sender Agreement (There is no Sender HTTP Adapter). So to trigger this interface we are sending the message to the following URL using a client HTML page.
    http://IPAddr:8000/sap/xi/adapter_plain?namespace=http://sap.com/xi/XI/TestPOC/r3&interface=MI_File_RFC_WeyPOC&service=SourceBS_XI&QOS=BE&sap-user=J2EE_GUEST&sap-password=JGUEST&sap-client=001&sap-language=EN
    After submitting the contents in HTML page, it is asking us SAP Web Application Server user id and password. Which user id shall we give here. We have tried giving the J2EE_ADMINISTRATOR user id and it's password but it gives "the requested resource does not exist" error messgage.
    How to resolve this problem ?
    Thanks and Regards,
    Lalit.

    Hi Lalit,
    try the xiappluser or a copy of it, like Sudhir said.
    But there is something else...
    You must code special characters such as forward slash (/), hyphen , period (.), or colon ( with escape characters (for example, %2F for /, %2D for -, %2E for .,and %3A for :).
    ( http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm )
    Yours,
    Thomas

  • Using extra attributes in plain Http Adapter

    Hi All,
    I am using a Plain HTTP Adapter to send messages to XI. This is working fine but i'm facing a problem with HTTP variables.
    I need to send a flag as an http variable that identifies the message as a new message or not. It's important for me that this variable is reachable in the Receiver Determination so i can create a routing rule based on that. I've read this help from sap (<a href="http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm">Configuring the Sender Plain HTTP Adapter</a>), but i couldn't find a place to set the "Adapter-Specific Message Attributes".
    Thanks a lot for any help.
    Regards,
    Leonardo Tayt-son

    In your Sender HTTP Adapter, check out for "Adapter-Specific Message Attributes" section (usually, it's the last section). Mark the "Use Adapter-Specific Message Attributes" checkbox. Then, mark "Apply URL Parameters" checkbox and enter a name for Parameter 1 (for example, New).
    Then, your incoming http URL shoud be something like http://<application_hostname>?New=true .
    And in your receiver determination, go to condition editor for each Business System, and enter expression editor for left expression. Check "Context Object" and select "URLParamOne" parameter from "http://sap.com/xi/XI/System/HTTP" namespace. For the right expression, use the value you want.
    Them you can use your condition like
    If (URLParamOne = true) send to BS 1
    If (URLParamOne = false) send to BS 2
    Regards,
    Henrique.

  • HTTP adapter URL Parameter

    HI we are currently integrating a http to rfc connection with the URL in the format of
    http://sdn.sap.com?name=Joe&country=India
    we want to pass the url parameters name and country to a rfc in sap but we are having difficulties using the apply URL Parameters on the sender http adapter when it comes to message mapping.  can you give a sample xml that will be generated when we received the said URL and how we can map these on the receiver RFC.  Thank you in advance'

    Hello,
    we want to pass the url parameters name and country to a rfc in sap but we are having difficulties using the apply URL Parameters on the sender http adapter when it comes to message mapping.
    You need to tick ASMA and then under apply URL parameters your entry should be like this:
    Parameter1       name
    Parameter2       country
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/43/64db4daf9f30b4e10000000a11466f/content.htm
    And then retrieve the name and country via dynamic configuration in message mapping using the technical name specified by SAP Help above
    DynamicConfiguration conf = (DynamicConfiguration) container
        .getTransformationParameters()
        .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey name = DynamicConfigurationKey.create(
        "http://sap.com/xi/XI/System/HTTP","URLParamOne");
    DynamicConfigurationKey country = DynamicConfigurationKey.create(
        "http://sap.com/xi/XI/System/HTTP","URLParamTwo");
    String uName = conf.get(name);
    String uCountry = conf.get(country);
    PS: You cannot test dynamic configuration in ESR. You have to do at least the HTTP to PI testing on your part to see if your config works.
    Hope this helps,
    Mark
    Edited by: Mark Dihiansan on Apr 7, 2011 7:27 AM

  • Plain HTTP Adapter

    Hi All,
    I am working on a scenario ,
    ThirdyPartyDB(Oracle)  --> PI -->SAP.
    I am not using JDBC Sender between OracleDB and PI.
    As  client wants event based trigger from Thrid party system.When ever a event occurs,the third party system(DB) would send data to PI.So I suggested them to write a Stored procedure to convert their DB Table data to XML format and send it over HTTP .
    Now, I need to given them a HTTP URL where they need to send their data.So, in this case will I use Sender HTTP adapter or Receiver HTTP adapter?
    Please provide some heelp on the follwoing scenario DB(Stored Procedure) >HTTP Adapter->PI>Idoc->SAP.Could you please givea sample DB stored procedure as how to convert data in DB to XML and send that to HTTP URL.
    Venu

    >
    > 1. Should the URL which I need to provide the DB guys looks like this ,
    > http://hostname:port/sap/xi/adapter_plain?namespace=http%3A//svg.com/target&interface=mi_test&service=bs_sender_http&party=&agency=&scheme=&QOS=EO&sap-user=PIapplication user&sap-password=password&sap-client=001&sap-language=EN
    >
    Yes
    Do i need to register do setting XI for this URL , i mean exposing this URL etc...
    No need
    > 2.Assume that, the DB guy is sending two fields test1 and test2 , so would the XML look like
    >
    > <?xml version="1.0" encoding="UTF-8"?>
    > <ns0:mt_test xmlns:ns0="http://svg.com/target">
    >    <test1>value1</test1>
    >    <test2>value2</test2>
    >    <test3>value3</test3>
    > </ns0:mt_test>
    yes

Maybe you are looking for

  • Upgrade OS on Xserve (late 2006)

    We have an late 2006 Xserve, running Leopard 10.5.8. I checked mac. OS support - should be 10.7.5 But when I try to update to SL or ML it does not work. I tried to boot from DVDs, also with an external drive and USB-drive. No luck. Any ideas?

  • Reader 10.0.1 not closing after sending a file to print

    Hi all, We have an application that uses the windows file handlers for printing out a report. Since upgrading to Reader X 10.0.0 or to 10.0.1 (using group policy) from Reader 8 or 9 this feature doesnt work. After Reader Opens the file prints out but

  • Sql query need for date format''Mon 23 Apr 16:45 pm'

    i need SQL query to print date like 'Mon 23 Apr 16:45 pm' format

  • How to add .mkv videos to iTunes?

    Hi everybody, I want to add my movies to iTunes movie library but it doesn't let me to add .mkv files:( Anyone can help? Thanks in advance..

  • What exactly is a BSD style init framework?

    I keep seeing this statement but what does it actually mean?  Looked it up on Wikipedia and it went right over my head...  How is Arch like/unlike BSD and most other Linux distros?  I have a friend who's hardcore into FreeBSD and he loves it because