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

Similar Messages

  • Synchronous HTTP - RFC Scenario: Timeout

    Hello together,
    I have just implemented a synchronous HTTP --> RFC scenario. When I test the implementation using the HTTP testing tool within the Runtime Workbench everything works fine.
    However when I use an external HTTP Client I get a timeout exception. This is also raised in the XI Message Monitoring: "Timeout condition of pipeline reached"
    Do you know any reason for this?
    Thank you very much.

    Hello,
    this problem is solved now. It was a problem with the HTTP Client, obviously because a wrong queueID was automatically inserted in the URL.

  • 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

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

  • RfcAdapter received a synchronous message. Trying to send sRFC for SALERT_C

    Hi All,
    I am receiving the message  'RfcAdapter received a synchronous message. Trying to send sRFC for SALERT_CREATE' in my receiver RFC channel used to trigger alerts from PI to ECC. no emails are getting generated.
    Please advice.
    Regards.

    public class O_struct implements Serializable {
    // writing
    ObjectOutputStream oos = ...;
    O_struct struct = ...;
    oos.writeObject(struct);
    // reading
    ObjectInputStream ois = ...;
    O_struct struct = (O_struct)ois.readObject();
    I will be sending 1000s of these byte arrays, and I'm sure having to create a new Double or Float on both ends will hinder this.
    I am worried that having to create new objs every time it is sending a byte array will affect my application.
    That's the wrong way to approach this. You're talking about adding complexity to your code and fuglifying it because you think it might improve performance. But you don't know if it will, or by how much, or even if it needs to be improved.
    Personally, I'd guess that the I/O will have a much bigger affect on performance than object creation (which, contrary to popular belief, is generally quite fast now: http://www-128.ibm.com/developerworks/java/library/j-jtp01274.html)
    If you think object creation is going to be a problem, then before you go and cock up your real code to work around it, create some tests that measure how fast it is one way vs. the other. Then only use the cock-up if the normal, easier to write and maintain way is too slow AND the cock-up is significantly faster.

  • Synchronous HTTP POST on Asynchronous Server

    I am writing an asynchronous event driven server that must accept synchronous HTTP posts.
    For example:
    - Client sends HTTP POST to server
    - Server fires an internal asynchronous event
    - Some time later, another asynchronous event
    - Server returns an HTTP response
    If I attempt to do this with Servlets, each POST will result in a separate thread that waits for the response. For a high number of posts, this could result in a massive amount of threads. What I would rather happen is that each POST waits for the HTTP response without the server having to waste a thread.
    Is there a way to do this?
    Thanks.
    Chris

    Hi,
    Thanks for the sharing.J
    Jeremy Wu
    TechNet Community Support

  • Synchronous Proxy to Synchronous JDBC scenario

    Hi,
    I have a scenario for a synchronous  PROXY  to a synchronous JDBC  scenario. I have set 4 message types .
    MT_PROXYOUT u2013 o/b synch with a response MT_PROXYIN
    MT_JDBC   - i/b synch with a response MT_JDBC_RESPONSE
    I then set up an interface mapping for both the request and response message interfaces. The design looks good but I got stuck in the configuration part.
    Since itu2019s a proxy sender, the sender agreement is not needed(Correct me if I am wrong). In the interface determination, there is provision for only the inbound interface which in case would be the JDBC (request/response) back to the proxy and the interface mapping is applied.
    So do I need just one interface determination from the proxy as sender and jdbc as receiver and also one receiver determination again with the proxy as sender and the jdbc as receiver. I am confused here because when I try to create a receiver determination for the response back from JDBC to proxy receiver , the interface mapping comes blank. Is it taken in account by the single receiver determination in synchronous to synchronous scenarios??
    Teresa

    Hi Teressa,
    Java Proxy to Synchronous JDBC scenario and SAP XI:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    ABAP proxies-
    Client proxy:
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Server Proxies
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Cheers
    Sunil

  • 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

  • SRM/XI Scenario - How to send cXML Response?

    I'm looking for someone out there that has experience configuring XI to send out cXML Purchase Orders via HTTP created in SRM to Trading Partners and also to receive cXML Invoices via HTTP for these Purchase Orders into XI.
    My questions are: How do you configure XI to receive and process the cXML responses that are sent back from the Trading Partners when they receive a Purchase Order? I know this needs to be a synchronous transaction through the same HTTP tunnel that the Purchase Order was sent through. Is it something that needs to be configured using BPM? Same thing for Invoices. What do I need to do in XI to send out a cXML response to the Trading Partner when I receive an invoice? Again, is BPM needed for this?

    Hi Dave,
    As far as I could see from our testing, SRM standard business content uses proxies to submit/receive the messages with XI. Unfortunately, the standard ones seem top be asynchroneous.
    I believe the easiest for you would be to copy and change the standard message interfaces into synchroneous interfaces. I'm pretty sure you can call your own proxy in an exit to replace the standard call but the question is : what will you do with the response ? I'm unsure if you can 'transfer the response into something usefull on the SRM side ( something like a PPF status of the output message ) .
    On XI, you can map the SRM proxy onto a synchroneous HTTP interface to send/receive with the partner ( and map into cXML ) : in this case you don't need BPM.
    More or less the same story for the invoices : you would need to copy to a sync interface and pass the response from the standard SRM processing for the inbound invoice as a response to the proxy. On XI you can map it into a http response.
    But do you think you will get 'business responses' into the http responses ? If you keep async on srm side and sync ( by defintion for http )  on partner side, an http 500 would result in an error in the interface and should be picked up by XI monitoring. Maybe there is a reason why SAP provides async proxies.
    Hope it helps
    Dirk

  • 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

  • I am having problems sending messages.. Once I send it, it just beeps and says it failed to send and I have perfectly good service. Why is this happening??

    I am having problems sending messages.. Once I send it, it just beeps and says it failed to send and I have perfectly good service. Why is this happening??

        Hello llm007!
    That is quite a strange issue. What make & model phone do you have? When did this begin? Are you able to make & receive calls? You can troubleshoot this issue http://vz.to/12TLCsR on our website to get things working as quickly as possible.
    Thank you,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • In my ipad i having trouble sending txt

    In my ipad i having trouble sending txt?

    Are you trying to message another Apple device?
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
     Cheers, Tom

  • Why all of a sudden am I having difficulty sending Gmail emails? I get a send error. When I run diagnostics there is a SMTP and IMAP account for Gmail and I am not sure how to fix this.

    Why all of a sudden am I having difficulty sending Gmail emails? I get a send error. When I run diagnostics there is a SMTP and IMAP account for Gmail and I am not sure how to fix this.

    Hi jodilynnf,
    When using Connection Doctor to see what is could be causing the issue, look for the red dots to let you know what is wrong. Then all you have to do is correct that information. You can double click on the section that is giving you issue and it will take you there. Most issues could be just password being entered incorrectly. Take a look at the article below to walk you through troubleshooting issues with Mail.
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/en-us/TS3276
     Take it easy,
    -Norm G.

  • I'm having an unusual problem with my iphone 4S. When I'm making a call, it suddenly sounds like my call has been invaded by aliens! Why is it doing this? I'm also having problems sending texts. Sometimes it sends sometimes it doesn't.

    I'm having an unusual problem with my iphone 4S. When I'm making a call, it suddenly sounds like my call has been invaded by aliens! Why is it doing this? I'm also having problems sending texts. Sometimes it sends sometimes it doesn't. What is going on? Can it be fixed? I'm really not liking this new phone!!!!

    Could be an issue with your Carrier and/or location...
    The Basic Troubleshooting Steps are:
    Restart..  Reset..  Restore from Backup...  Restore as New...
    Try a Reset...
    Press the sleep/wake button & home button at the same time, keep pressing until you see the Apple logo, then release the buttons...
    http://support.apple.com/kb/ht1430

Maybe you are looking for

  • Preview in Browsers not showing

    Hi Group I am a total newbie with CS5 and am about to go crazy, I miss my MX version so much.  My problem is that I have designed a page with CSS and it looks ok (still a work in progress). I have added a background for my header area and a backgroun

  • Cancel the GR which have invoicing

    Dear All How to cancel the GR which have invoicing, have subsequent debit, and have clearing Would you like help me please thanks imron

  • Wie kann ich den Cache von Firefox über die Betriebsystem-Kommandozeile leeren lassen?

    Ich suche eine Möglichkeit den Firefox cache über die Kommandozeile eines Betriebsystem zu leeren. Wenn man versucht einfach den Cache-Ordner zu löschen, dann gibt es in Firefox darstellungsfehler bei schon besuchten webseiten. Man kann den Cache zur

  • Getting iDVD to play in DVD player

    Yesterday, I had an iMovie transferred to a DVD by the "experts" at Circuit City. When I brought it home and put it in my DVD player, it would not play. Is there a step I am missing? One would assume that if I wanted it on a DVD, that I wanted to pla

  • AGENT RESYNC

    Hello everyone Environment: Production Environment RHEL5.5 Oracle 11gR2 RAC 4 instances No ASM Instance Last monday we had a unexpected shutdown event in a node of our RAC servers. After recovering the node and restablishing the environment we notice