PI URL to receive HTTP

Hi,
To receive an HTTPS request from external partner, which URL we need to provide them so that they can send the XML file to PI over HTTP protocol.
1. https://<host>:<port>/sap/xi/adapter_plain
2. https://<host>:<port>/sap/xi/adapter_plain?namespace=<ns>&interface=<int>&service=<ser>&party=<party>&sap-client=100
3. https://<host>:<port>/sap/xi/engine?type=entry
thanks,
Madan

SOAP adapter supports HTTP cals too.
refer below link it will help how to form HTTP Query string , in this case you dont required to publish sender agrement and SOAP channel not required.
http://help.sap.com/saphelp_nwpi71/helpdata/EN/44/8f54b8b01e3673e10000000a114a6b/content.htm
Regards,
Raj

Similar Messages

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

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

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

  • Received HTTP response code 500..

    Hi All
    Whenever i try a scenario with file adapter as the sender, i get the following error in the runtime workbench (message monitoring).
    "Transmitting the message to endpoint http://USSAPVM7:8000/sap/xi/engine/entry?action=execute using connection AFW failed, due to: Received HTTP response code 500.."
    Can anyone let me know as to what could be the cause of the problem. Please remember the response code is 500 and not 503.
    regards
    Sameer

    Hi Sudhir/Siva
    My pipeline url has the following entry,
    http://<hostname>:8000/sap/xi/engine/entry?action=execute
    so u recommend that i should change it to,
    http://<hostname>:8000/sap/xi/engine/entry?action=entry
    (or)
    http://<hostname>:8000/sap/xi/engine/entry?type=entry
    (or)
    http://<hostname>:8000/sap/xi/engine?type=entry
    which one of the above three should i change to. But whenever i try other scenarios such as idoc to file, it works fine. So by changing the pipeline url, will there be any problem while executing the the other scenarios.
    cheers
    Sameer
    Message was edited by: Sammy

  • Dynamic URL for Recv HTTP (Adapter spec attribute enabled)

    Hi,
    I need to have a dynamic URL for one of my cases been worked. the URL is
    httlp://:<host>/perform/XTA?serv=*&action=start
    the event "action" can accept either start/stop or restart. i wanna to control this dynamically and went for recv http enabled with adapter specific message attributes. here i had enabled the check box "URL" and in parameter 1 i had given the name as "action".
    in my message payload the "action" will be start/stop or restart which is handled by UDF for which the code is below:l
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey trig = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/HTTP", "UrlParamOne");
    conf.put(trig,action);
    return "";
    this udf is mapped to the root node of the target...but when execute the case i get the following error
    "Dynamic Header - Missing Message Attributes: URL/HTTP Destination"
    when i execute the url
    httlp://:<host>/perform/XTA?serv=*&action=start
    in browser it works fine and also with fully qualified name in http recv works fine but not with dynamic settings.
    any help on it pls?

    Hi Prabhu,
    Enable Adapter-Specific Message Attributes(ASMA) in receiver HTTP channel.
    Dont enable checkboxes for "URL or HTTP Destination".
    Enable checkbox "Apply URL Parameters"
    for parameter1 textbox give value action
    Regards,
    Praveen Gujjeti

  • Received HTTP response code 500 with acknowledgment

    Hello,
    This is my process : R/3 (Idoc) -> XI -> 3rdParty(CSV).
    I use R/3 4.6C and XI 3.0 SP10
    This work fine but there is a problem with the acknowledgment :
    Transmitting the message to endpoint http://<server>:8000/sap/xi/engine/entry?action=execute using connection AFW failed, due to: Received HTTP response code 500..
    I use this Weblog : /people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
    and all I can find in this forum.
    What can I do ?
    Thanks
    Regards
    Message was edited by: Christophe DUMONT

    HTTP 500 is an error caused at the Web Server side. Any http connection happens in 4 steps:
    1) Obtain the IP address from the URL - provied by DNS
    2) Open Ip Socket for that IP
    3) Use this socket to write data
    4) Receive data stream back from the server.
    This data stream which is passed by the server has status codes. If there is a status code 500, this is trapped only at the last level and client is not able to resolve the status.
    You would want to look at the 4 points of faliure mentioned above. And it would help if u get someone on the Web Server side to look at the server logs. These logs are more descriptive and will provide a clue to set things right.
    let us know if u are able to resolve the issue.

  • Error when setting dynamically the target URL in receiver SOAP Adapter

    Hi,
    I'm setting dynamically (from the mapping) the target URL in the receiver SOAP adapter:
    String url = "http://mosxd30:50000/XISOAPAdapter/MessageServlet?senderParty=&senderService=DUM&receiverParty=&receiverService=&interface=SI_OA_CustomInvoiceData&interfaceNamespace=urn:repsol.com:laboratory:firma";
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP", "TServerLocation");
    conf.put(key, url);
    The receiver adapter fails with:
    "invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized"
    Reading weblogs, etc, the most probable cause for this is a wrong target URL, but then what I did was to set it as a fixed URL in the C.Channel, and it worked, so the URL is fine.
    In the communication channel, I'm using "Configure user authentication", with a user and password, and what I think it's happening is that if I use another different URL dynamically, the channel is ignoring the user authentication settings.
    Any ideas?
    Thanks

    I forgot to say that I've checked the SAP note "FAQ Soap adapter", and it says:
    Q: I get an authorization error "401 Unauthorized" from the adapter's servlet. What went wrong?
               A: The adapter's servlet is protected by default. You must use one of the user names assigned in security role xi_adapter_soap_message for component XISOAPAdapter. Please consult the documentation for Visual Administrator to view and change the security setting.
               The user authentication of the SOAP adapter is not part of the SOAP adapter but of the web container of the J2EE engine. The default authentication setting is defined in the web.xml descriptor file of the SOAP dapter web application. This setting may be modified from Visual Administrator with some restriction. Please refer to the security documentation for the J2EE engine.
               Please note that 710 onwards there is no Visual Administrator instead the Netweaver Administrator is to be used to assign the roles to the user to access the SOAP adater servlet.The user must be assigned one of the following roles SAP_XI_IS_SERV_USER, SAP_XI_APPL_SERV_USER, SAP_XI_DEVELOPER_J2EE, SAP_XI_ADMINISTRATOR_J2EE.
    The target URL is a sender soap adapter (the result of one interface is sent to another one via soap adapter), and it's this one which is complaining because of the authentication I think. But I don't know why it's ignoring the user authentication flag I'm using.

  • Receiver HTTP Adapter Dynamic Query String

    Hello,
    I am using HTTP Adapter on receiver side.
    My URL is  <b>http://server:port/abc/def?xyz=123&luw=345</b>
    When I am using Adapter specific attributes.
    If I check apply Parameters and pass
    Parameter 1 as xyz and Parameter 2 as luw and pass their values through dynamic configuration will they get appended to the dynamic querystring
    http://server:port/abc/def at the end and I get back the complete URL.
    Can this be achieved? I am stuck on this.
    Regards,

    Srihari,
    The best way to debug this and check what is happening would be to use the TCP gateway tool as shown in this blog by Stefan Grube.
    /people/stefan.grube/blog/2007/03/29/troubleshooting-soap-http-and-mail-adapter-scenarios-with-tcpgateway
    Send the request to the TCP gateway and forward it from there to the correspionding target.
    You will be able to see the URL being passed including the Query String parameters.
    Regards
    Bhavesh

  • Error com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP res 404

    Hi Friends,
    In file to file scenario i am getting this error.
    Transmitting the message to endpoint http://spcc-sappidev:50000/sap/xi/engine?type=entry using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 404 : Not Found
    When i see the msg in Message Detail Tool(Detail Display) I am able to see the right payload,but the file is not moving,and in audit log i can see the above mantioned error.
    Want to confirm tht the endpoint in the above error should have java port or http port?
    Also let me knw,what other things should i check.

    hi brijesh
    From SLD go the XI business system,check the check the role (IS) and the URL (the port should be HTTP PORT OF ABAP WAS)
    finally restart j2ee engine from SMICM
    regards
    kummari

  • Error in Ping Operation :  Received HTTP response 407

    Hi,
    We are configuring Adobe Document Services, but while testing destination service http://<server>:<port>/sap/bc/fp/form/layout/fp_test_00.xdp under Server --> Services --> Destination of  Visual Admin we are getting
    Error in Ping Operation :  Received HTTP response 407.
      HTTP Error  Code 407 is related to proxy configuration, but does any one have any infomation where do we maintain this proxy configuration.
    Regards,
    Jigar Oza

    Hi,
    Checked SMICM it is working fine.
    I am getting this error on portal so no logs will be generated on ECC.
    On portal while testing i am getting following log :
    destination: http://172.16.10.52:8000/sap/bc/fp/form/layout/FP_FORM_SECURITY_TEST.XDP?fp-language=DE
    Problem accessing data from Destination: dest:FP_ICF_DATA_DEV//sap/bc/fp/form/layout/FP_FORM_SECURITY_TEST.XDP?fp-language=DE
    com.adobe.ads.destination.De
    stinationException: File Not Found while reading Dest URL: http://172.16.10.52:8000/sap/bc/fp/form/layout/FP_FORM_SECURITY_TEST.XDP?fp-language=DE
       Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to t
    he Web Proxy filter is denied.  )
    u201C
    Regards,
    Jigar Oza

  • Receiver HTTP channel configuration

    Experts
    I am doing Proxy to HTTP scenario.
    My receiver had given the HTTP URL whcih looks this : http://10.1XX.X.XXX:6666/IntegrationServices/Test
    In my receiver HTTP communcation channel , Its asking for the following
    Target Host
    Service
    Path Prefix
    Can I fill in target host as : 10.1XX.X.XXX
    service number : 6666
    path prefix as : IntegrationServices/Test
    Can anyone please tell me how to fill the  CC parameters.
    I had referred lot of threads and blogs
    Thanks
    Faheem

    Hi Patrick
    I had checked the blog as per suraj recommendations. It doesn't help.
    Is there any pre settings has to be done for HTTP receiver configuration like defining RFC or any entries in ICM server
    Please throw some light on this. still i am getting the same error.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_CLIENT</SAP:Code>
      <SAP:P1>400</SAP:P1>
      <SAP:P2>ICM_HTTP_CONNECTION_FAILED</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP client code 400 reason ICM_HTTP_CONNECTION_FAILED</SAP:Stack>
      <SAP:Retry>A</SAP:Retry>
      </SAP:Error>
    Thanks
    Faheem

  • Test receive HTTP

    Hello sdn,
    Can someone tell me how to test HTTP receive scenario ? i have to pick a file and post it using HTTP adapter. But where will i post it for this dummy scenario? is there anyone i can test.
    Thank you.

    Hey
    You can develop a dummy HTTP to File interface,then generate HTTP URL for this by making use of HTTP Test tool(download this from SDN) ,use this URL in your receiver HTTP adapter for File to HTTP scenario.
    Thanks
    Aamir

  • Received HTTP response code 401

    Hi,
    I have scenarion JDBC - XI - RFC. Everything seems to be working till yesterday and suddenly i see an error in the communication channel. In the message monitoring the status is set to waiting and I see nothing in the sxmb_moni. Please see the error below
    Transmitting the message to endpoint http://sapxd1.egd.enbridge.com:8019/sap/xi/engine?type=entry using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 401 : Unauthorized.
    Thanks
    Unni

    Immo,
    Go to SLD:
    http://server:port/sld/ListServlet?bsview=true
    Business systems and check if your XI business system has correct "Pipeline URL" parameter defined:
    http://server:httpport/sap/xi/engine?type=entry
    also check TCODE -> SLDCHECK - if you don't have any errors over there
    Gaurav Jain
    Reward Points if answer is helpful

  • Help: Received HTTP response code 404 : Not Found

    Transmitting the message to endpoint http://chmsxd42:52200/sap/xi/engine?type=entry using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 404 : Not Found.
    Our senario is a simple file transfer one, no object has been created in IR.
    While we run the wizard, we just put the dummy interface name and namespace in the interface and namespace blanks.
    After we activate the objects, the source files were picked up and deleted but there is no file created in the target directory, and we got the error message listed at the top.
    Does anyone has some clue about this? Please help.
    Thanks a lot.
    Aditya Babu

    Hi,
    The port of Integration Engine is 80XX, and so 8001.
    In the SLD you must to select the Business System of XI and there you can just set the corret Pipeline URL.
    It means you AE is unable to communicate with IE.
    t-code SMICM..check the HTTP port No:
    open the SMICM code...just right click anywhere in the window...then click on the Services..it will show u the HTTP and HTTPs port no.
    THen from SLD --Business Landscape --your Business System..chek the Pipeline URL http://<host>:<port>/sap/xi/engine?type=entry
    the HTTP port that u will see in the SMICM should be same in the pipeline URL
    Have you checked this one,...
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    Go through this link which as the information of all HTTP errors in XI
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    Thanks
    Vikranth

  • RecoverableException: Received HTTP response code 404 : Not Found

    Hi All,
    I am getting the below error while doing Scenario JDBC to ABAP Proxy.
    Transmitting the message to endpoint http://XXXXXXXX:50000/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 404 : Not Found.
    Can any body tell me:
    1. Ideally what should be the port if it is an error due to Port?
    2. I am not able to see the messages in SXMB_MONI?
    3. What is the Flow of my message in the above mentioned Scenario I mean to say from which Engine to which engine?
    Thanks,
    RP

    Hi Rajesh,
    Do I need to mention  Port 8XXX in my Pipeline URL " http://XXXXXXXX:50000/sap/xi/engine?type=entry"?
    I have checked in
    1. SMICM there is HTTP Service port 8XXX
    2. SLD - PI Business System - Pipeline URL is "http://XXXXXXXX:50000/sap/xi/engine?type=entry"
    3. In SXMB_ADM - Corresponding Integ. Server = "http://XXXXXXXX:50000/sap/xi/engine?type=entry"
    Now tell me is these entries are Ideal??
    Also is thr any place where I need to check for Port and URL??
    Thanks for quick response.
    RP

  • Receive http post, modify and resend

    Hi
    I have problem with servlet.
    My servlet must:
    1) receive http post data
    2) modify one value of parameter
    3) and resend http post to other URL (servlet).
    How can I do this?
    Thanks :)

    There's no possibility to modify the value a request's parameter but You can follow the advice that is accessible here. Hope this helps.

Maybe you are looking for

  • Receive an ORA-01403: no data found error after importing

    After making changes to an application and exporting it and importing it into another applications (copy of the app) on the same server I recieve this error. Error Single Sign-On Procces Failed However if I export and import the application to a diff

  • X60 standby under WinXP not working

    I have x60 Thinkpad and its reinstalled new. I installed also all Thinkpad drivers with UpdateManager. When I close the lid of the Thinkpad it goes into Standby but when I open the lid and switch it on again just the battery status leds turn on, it s

  • HT1751 cant drag item to hard drive

    I have partitioned my external hard drive to be journaled and consolidated my itunes, the instructions onlie say you can just drag it on over there , is there a secret to dragging the file? because I can not drag anything over to the hard drive??

  • Why doesn't iTunes photo sharing automatically pick up new iPhoto playlists?

    I have set up photo sharing in iTunes to share my entire iPhoto library. I create a new playlist in iPhoto and try to view it on my Apple TV 2. The problem is it won't show up until i go into iTunes and deselect photo sharing and put it back on again

  • Video to dvd what is best product to use/buy?

    Hi, I have many hours of videos of my kids which I would like to convert to dvd. What is the simplest products to buy for this and what exactly would I need to undertake this.Or would it be better to buy a more expensive product to achieve best resul