XI- HTTP Scenario

Hi
In my scenario I am sending data to XI using HTTP Client prg, but i got 404 not found error, and some thing related to deployment probs. I am deploying in Weblogic server? When i enter upto Context root i am getting this error.
What went wrong? can any one help me.
Regards,
Datta

Hi Datta,
Just check this thread for the code that can be used for your HTTP Client.
/message/266750#266750 [original link is broken]
Copy the code , save it as a .HTML File and give the correct values into the parameters.
Try using this HTTP client.
Regards,
Bhavesh

Similar Messages

  • Sequential Message Processing in IDOC - HTTPS scenario

    Hi Experts,
    I have an IDoc - PI - HTTPS scenario. One of the requirement is to maintain the data sequence while processing.
    This means that the sequence in which the IDocs are received by PI, should be the same sequence in which it should be posted to the URL from PI interface.
    Incase, there is a connectivity issue with the URL at any point of time, then the data should be queued sequentially in PI and once the issue is resolved, the data should again process in sequence.
    Please let me know which is the best approach to achieve this?
    Assume the mapping is very simple
    Regards,
    Prajeet

    Hi Anshul,
    We opted to go for IDOC Serialisation. With this, we achieved the sequential data processing through the PI interface.
    I did check a blog in SDN which had step by step instruction to achieve this, but cannot find it now
    Anyways, will give you a idea on wat needs to be done at PI and SAP R/3 end.
    At PI end:
    Using SE16 as the transaction, We need to create a entry in the table: IDXQUEUE
       a.PORT - (SAP R/3 system port)
       b.CLIENT - (SAP R/3 system client)
       c.MESTYP - (IDoc MSGTYP)
       d.QUEUEID - (Random Queuename, for eg: EOIO_PI_Interface)
    At SAP R/3 end:
    1. Create a function module. The QUEUEID created in SAP PI should be mentioned in this function module. <this basically indicates which PI queue will handle this message>
    2. Using transaction we85, create a queue processing rule (which would call the function module)
    3. In the partner profile, for the particular Idoc type, queue processing option must be enabled. And the queue processing rule (as defined in step 2 above) should be specified here.
    Hope this information helps.
    When I find the link to the blog, will post it here.
    Thnx,
    Prajeet

  • RFC-XI-HTTP scenario

    Hi Experts ,
    i am configuring RFC-XI-Http scenario.
    The problem i am facing is when instaed of HTTP receiver adapter i use FILE adapter or soap adapter it posts the file. But when i use the HTTP adapter it gives the error ICM_HTTP_CONNECTION_FAILED.
    The basis configuration seems to be fine and my design also should be fine as it is working in case of file and soap adapter .
    How to rectify this problem?
    This is very urgent.
    Please suggest
    Regards
    saras jain

    Hi,
    Please look at these...go through the suggested solutions to resolve this error.
    INTEGRATION_DIRECTORY_HMI: Connection fails
    ICM_HTTP_CONNECTION_FAILED
    SAF - ICM_HTTP_CONNECTION_FAILED
    HTTP adapter setup
    Check out this SAP Note- 824554
    Also this links
    ICM_HTTP_CONNECTION_FAILED
    Cache Refresh~
    https://websmp201.sap-ag.de/~sapdownload/011000358700003163902004E/HowTo_handle_XI_30_Caches.pdf
    Hope this helps.
    Think these should help you out!
    Thanks
    Swarup

  • RFC to HTTP Scenario, Dynamic URL .... Limitation with 200 Character...

    Hi Experts,
    I am doing an RFC to HTTP Scenario. In which the Target URL is Dynamic and i am passing some values from the input payload.
    The Problem is the Target URL length is around "487" character and the Dynamic configuration property allow to pass an maximum if 200 character to "Target URL".
    How to solve this ...Any way to achive this...
    Regards,
    Jude

    Hello,
    The Problem is the Target URL length is around "487" character and the Dynamic configuration property allow to pass an maximum if 200 character to "Target URL".
    You can check Michal's reply in this thread, http://forums.sdn.sap.com/thread.jspa?messageID=7767169#7767169. There is no official statement from SAP that they will change it.
    What you can do is to use a third-party tool to shorten the URL e.g bit.ly I am unsure though of licensing reasons. Or an alternative is to place the parameters in the HTTP Body, in that way, you can place as much parameters as you like.
    Hope this helps,
    Mark

  • File to Http Scenario

    Hello All,
            My Requirement is File to HTTP Scenario Where i would read a  xml file and send the data to webpage using Http receiver adapter. what are the steps for this scenario.  How to configure Http adapter.
    Thanks

    Hi san
    check these threads
    HTTP to File ??
    File to HTTP scenario
    See here how u need to configure the reciever HTTP adapter.
    /people/bla.suranyi/blog/2006/07/10/xi--sap-business-connector-integration-using-the-http-adapter
    /people/siva.maranani/blog/2005/09/15/push-data-to-mvc-architectured-application-using-xi
    Regards
    BILL

  • Idoc to http scenario

    Anyone know how to do idoc to http scenario step by step?
    Especially receiver http adapter configuration. Using a test tool for Http client, how can we get the parameters for it in adapter configuration?

    >>Anyone know how to do idoc to http scenario step by step?
    There is no guide on SDN which tells u step by step for IDOC to HTTP.You need to read for sender IDOC configuration and receiver HTTP configurations on SDN.
    >>Using a test tool for Http client,
    HTTP client tool is used only in case of sender HTTP not for receiver HTTP.
    >>how can we get the parameters for it in adapter configuration?
    The help.sap documentation on SDN has given all the parameters for all the adapters.
    Thanx
    Aamir

  • Error with HTTP scenario

    Hey guys
    i m doing a FIle to HTTP scenario and posting an XML file to one of our client who is outside our landscape.
    in MONI i see chequered flag but they are not getting the XML file,they are using Business connector on their side,they side they got the interface name,business system name and namespace,but didnt get any XML file.
    is there anythin i can do to check the scenario at my end,how will i monitor receiver HTTP adapter?
    if they are getting Interface name,business system name etc then y not the payload?
    thanx
    ahmad

    Ahmad,
    I would agree that the best way to convice your client that you have sent the payload would be to et up the TCP gateway tool between XI and the client system.
    Forward the HTTP message from the HTTP adapter to the TCP gateway and then you will be able to see the actual HTTP post message sent from XI and this is the message being sent to the target.
    Follow the blog pointed above. If stuck let us know.
    Regards
    Bhavesh

  • HTTPS Scenario

    Hi,
    For an  Sender HTTPS scenario, what are all the details we need to send to our external sender.
    What are all the certificates we need to send it them.
    We would need to receive xml format from the external party.
    If any urls need to be generated or sent, let us know how and whether we need to send any XI pipeline url .

    > For an Sender HTTPS scenario, what are all the details we need to send to our external sender.
    Create SOAP adapter in the sender communication channel.  It supports HTTP or  HTTPS
    > What are all the certificates we need to send it them.
    SOAP adapter support certificates. If you want to create client certificates. You can create one and maintain it.
    >We would need to receive xml format from the external party.
    SOAP supports XML message format
    > If any urls need to be generated or sent, let us know how and whether we need to send any XI pipeline url .
    In the integration builder, you can create WSDL and provide to the client. They will consume the wsdl url and pass message to the soap sender.
    Do the following in the sender soap adapter
    Transport Protocol HTTP or HTTPS
    Message Protocol SOAP1.1
    Adapter Engine Central Adapter Engine
    HTTP Security Level HTTP or HTTPs or whatever your requirement
    Quality of service Best Effort for synchronous other options for asynchronous
    Now WSDL generation part:
    Go to IR, under tools -> display wsdl -> Use the URL syntax below (dont click propose url)
    http://hostname:j2eeport/XISOAPAdapter/MessageServlet?channel=:sender_business_ system:sender_communication_ channel
    hostname ex dev.abc.com
    j2eeport ex 50000 (no abap port 8****)
    sender_party or sender_busines_system ex: BC_XXXX
    sender_communication_channel ex: abc_soap_sender
    in the subsequent page enter
    outbound interface name
    and Outbound interface namespace
    then finally it will generate wsdl. save it. Use that wsdl for accessing your web service
    Note: Outbound Interface for sender webservice (sender soap)
    Inbound interface for receiver webservice (receiver soap)
    Hope I answered your question. If not let me know.

  • How do I test HTTPS scenario

    I am able to test HTTP scenarios using the application described below
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
    However, I want to be able to test the same scenario using secure HTTP (https) before I hand it over to my customer. The app described above doesn't support HTTPS. Does anyone have any suggestions?
    Many thanks in advance.
    Edited by: Robert Warde on Mar 26, 2008 2:51 PM

    Hi Robert
    To test using HTTPS you have to configure SSL Before that make sure that you have entered proper port number for https .it is 443(default) for https and 80(default) for http

  • Problem with HTTP Scenario....

    Hello ,
    While working with the (http >BPM> RFC & FILE ) scenario ,
    I am getting following error...
    <b>
    And while using the http Client I posted the test xml ...But I am unable to see it in the SXI_MONITOR...</b>
    And using RWB --> Componet Monitoring --> Integration Engine --> Test Message I triggered the Test XML
    then its going to sxi_monitor but giving error...
    <b>
    "The process does not support the given synchronous interface or does not support synchronous messages"
    </b>
    what should I do....
    Please help me in this regard...

    Satya ,
    Is it a syncronous interface ? if it is syncronous interface if you want to see that in logs then you have to enable Logging for syncronous in SXMB_ADM .
    Is it enabled ?
    Are you able to post the HTTP request using HTTP client ?
    And using RWB --> Componet Monitoring --> Integration Engine --> Test Message I triggered the Test XML
    then its going to sxi_monitor but giving error...
    The process does not support the given synchronous interface or does not support synchronous messages"
    In the above mentioned error statement it is clearly stating that this stand alone test interface tool in RWB not support this scenario.
    Please let me know if you need any further assistance .
    Regards,
    Kishore

  • R/3 - XI - HTTP Scenario:  DeliveryExceptions

    I have an R3/RFC -> XI -> HTTP synchronous scenario working properly.  I have been trying to add to this scenario so that the same RFC (but with a vendor field set for a different vendor)can go through XI and do an asynchronous HTTP call to a different trading partner. 
    I have the Intergration Repository setup, and I am able to add the new (vendor B) party, business system, and  communication channel to the Integration Directory and my original synchronous calls to vendor A still work.  As soon as I start adding other pieces to the Directory (ex. the Integration Process), my original call to vendor A starts failing with RWB Delivery Exception errors.
    One thing I noticed is that with the Integration Process in Directory, and if I am doing an SXI_CACHE refresh at the time of running a vendor A sync call, it works.  As soon as the cache refresh fails to red again, my vendor A calls don't work.
    Any suggestions as to where I am going wrong?

    hi,
    CPACache is different from sxi_cache.
    sxi_cache is for refreshing Integration server cache.
    cpachace is for refreshing Adaptor Engine cache.
    The user that you need to do complete refresh is xidiruser.
    Naveen

  • Http Scenario. Pls advice very urgent

    Hi All,
    My Scenario is
    a. HTTP sends data to XI Synchronously.
    b. XI opens Socket Connection in User Defined Function (UDF)
        of Message Mapping and gets response back from Socket
        in UDF. For Socket Connection request and response I will
        write java code in UDF
    c. XI needs to send back Socket response to HTTP as XI has
        received data from HTTP Synchronously.
    d. XI also needs to send back Socket response to File.
    How to make this approach in XI using BPM.
    Pls expain urgent
    Regards

    Hi Praveen,
    Steps in BPM I have done :
    1. One Rec step with Open S/A mode.
        Abstract Sync Message Interface for HTTP Request and
        HTTP Response.
    2. Transformation Step (Mapping in BPM)
        HTTP Request and Socket Response
    3. Fork Step -- Necessary Branch 2
    4. Branch 1st --
      a. Transformation Step(Mapping in BPM)
        Socket Response and HTTP Response
       b.One Send Step with Close S/A mode for HTTPResponse
          back
    5. Branch 2nd --
    a. Transformation Step (Mapping in BPM)
        Socket Response and File Response
    b. One Send Step for File Response back.
    Pls advice is it ok ?
    Regards

  • Synchronous HTTP scenario having a ? sender

    Hi Experts
    I've a synchronous scenario in which the sender can be any adapter but the receiver is only HTTP.
    The sender is supposed to send a file (can be xml or pdf) and 10 attributes (name/value pair) which are used for receiver HTTP adapter communication.
    The receiver system receives the same file and 10 attributes having name and value using POST method.
    Now, 2 questions
    a) how do I configure HTTP receiver adapter for fulfilling this scenario? (for xml and for pdf ) along with 10 attributes which is common for both xml and pdf )  - If it is pdf, I have to send as byte array and if xml, then plain xml - Please detail out the configuration for receiver HTTP adapter
    b) how do I decide what would the ideal sender communication channel for this? The sender system is flexible and asking me what I prefer for sending the file and the 10 attributes.
    Thanks a lot. Please let me know
    mike

    Okay..sorry to confuse
    In plain simple way to put it
    Scenario
    Sender (web methods) -> PO 7.4 -> Receiver HTTP POST (synchronous)
    Receiver HTTP system has to receive a file as one attribute and 10 other attributes
    File can be pdf or xml. So definitely, I have to configure 2 ICO here one for pdf and other for xml.
    1st question
    How do I configure the receiver HTTP adapter and pass the attribute values to HTTP POST method using message mapping? One attribute is file and rest are name value pair attributes coming from web methods.
    2nd question
    Sender is web methods and they are willing to send the file and attributes to PI in a soap call or HTTP or place in PI NFS location - which is better and how do I receive the attributes and file together in one request?
    thx
    mike

  • SOAP over HTTPS Scenario.

    Experts,
    I am using PO 7.31 Single Stack.
    I am going to integrate with some Third-Party System ( B2B ) Scenario. As its B2B client want this to integrate this over SSL.
    We are using SOAP Communication channel at Source side.
    We have shared a PI WebService to third Party and told them to send data on this endpoint.
    I have changed following things in webservice( http to https and port no to ssl port no).
    Now Certficate part always confuses me So I have question over certificates/ PubliC/ Private Key :-
    1. Who will provide Certificate and to whom ??
    2. What kind of certificate will be shared accross parties ?? such as public private ?? PGP or X.509 ??
    I have gone through many blogs - but i am still confused.

    Hi Prabhat,
    1. Who will provide Certificate and to whom ??
    --->> Certificates are shared between both parties/systems. So PI needs to provide PI public key to receiver system and receiver system needs to provide there public key.
    2. What kind of certificate will be shared accross parties ?? such as public private ?? PGP or X.509 ??
    -->> The certificate can be X.509.
    Please refer the below blog and sap note 891877
    SSL (HTTPS) Configuration in SAP PI Systems as of release PI 7.10 – Step-by-step procedure
    regards,
    Harish

  • JDBC to HTTP Scenario

    HI All
    My scenario is SQL (JDBC) to HTTP.
    What are the things I nned to to wrt HTTP?
    SQL side I am clear what to do need information about Receiver HTTP
    Regards
    Dheeraj Kumar

    Please refer the above mentioned SAP link.
    Couple of things
    1) You can specify addressing type either target URL or Http destination.
    Target URL:  Just specify the target sytem URL and post the message. That's it.
    HTTP Destination: You can also create RFC destination of type http H and specify that destination name here.  This way you can set target path and if you need to communicate via HTTPS you can specify login credentials or certificate in the rfc destination itself. You just need to specify the name of the destination here.
    2) If you choose target URL, you might have to specify proxy details (if required) and Authentication Data.

Maybe you are looking for