File- XI- J2EE application(HTTP adapter as Receiver)

Hi all!
My question is What else to be given in ID i.e., in my outbound communication channel: I have given the following:
Adapter Type:  HTTP
             Receiver
Transport Protocol: HTTP1.0
Message Protocol:XI payload in HTTP body
Adapter Engine:Integration server
Addressing Type: URL Address
Targer Host: localhost(My J2EE application resides here)
Service number:7001
Path:/InvokeJ2EE/SendName
Authentication Type:
Username:xiappluser
password:xxxxx
Lonon language: EN
Content type: text/xml
XML code: UTF-8
I have tried many blogs, but i didn't get get correct response!

HI
GOOD
GO THROUGH THIS LINKS
/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping%3Fpage%3Dlast%26x-maxdepth%3D0
http://www.sun.com/third-party/global/sap/collateral/SunSAPWP_final.pdf
http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/content.htm
THANKS
MRUTYUN

Similar Messages

  • HTTP Adapter Settings (Receiver Channel)

    Hi Everyone,
    I need some help with setting up HTTP Receiver Channel.
    What I am trying to do is download some files from a URL. e.g www.xyz.com/download.asp.
    So I have set up a RFC destination to Remote server then we through a dummy message from the HTTP client to trigger the channel. It is all good and working. However the issue part is username/password has to be sent as application/x-www-form-urlencoded or multipart/form using POST method.
    So it has to go something like this username=abc&password=123
    And this is the part where I am stuck. I have read a bit about it and sap documentation suggests using prolog and epilog but I don't seem to find any example of it anywhere. If someone has done anything similar can they please help. Can't find any source relevant.
    regards

    Hi,
    Yes I understood your steps and the problem (actually after posting reply i had some doubts in my mind too, so went on a SDN forum hunt)
    After doing a bit of research work my finding are:
    1. IT is difficult to use http adapter with this content type as the credentials given in http adapter is not used when you have application/x-www-form-urlencoded. The thread which helped me  to understand was this
    Regarding Content type application/x-www-form-urlencoded in HTTP Adapter
    2. There in the thread stefan is proposing java proxy for doing this type of connectivity so next search tool for me was google. Doing a bit of search i found this SUN link http://developers.sun.com/mobility/midp/ttips/HTTPPost/
    3. So as a solution for you I would propose to use a receiver java proxy and write the code as mentioned in SUN.
    Hope this may be of some help to you
    Regards
    Suraj

  • HTTP Adapter as Receiver

    Hi Everyone,
      I am using a HTTP adapter at the receiver side. I am not sure about what values I should give in the following parameters
       Addressing Type,
       Target Host,
       Service Number,
       Path.
    I'm getting an error when I go to "sxmb_moni" which says
      Error Category =     PLAINHTTP_ADAPTER
      Error ID           =     ATTRIBUTE_SERVER
      Kindly help..
    Regards
      Indudhar.

    this error might be due to bottleneck in the traffic.When the data comes in bulk some of the message is failing or when they are not able to connect to reciever server.
    PLAINHTTP_ADAPTER.ATTRIBUTE_SERVER error
    PLAIN HTTP ADAPTER -ATTRIBUTE_SERVER ERROR
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
    Plain HTTP adapter error
    PLAINHTTP_ADAPTER  -  ATTRIBUTE_SERVER
    check once again your HTTLP receiver adapter entries......care you getting this in the call adapter step of the Pipiline?

  • Configure plain http adapter for receiving message from an external system

    Hi,
    we use Pi/700.
    Now I have an external system and I have to use HTTP (plain) to send messages to XI (via plain http adapter).
    I have no experiences with HTTP!
    In the external system I can only configure "URL, Username, Password" for sending messages - that's all!
    What do I have to configure in XI (communication channel, abap-stack, java-stack,...)?
    I don't know the URL of my XI-system. Is there an transaction code to get this information?
    Why do I need a Username/Pasword?
    For testing I can use a "http-post test tool" I found here in this forum.
    Thank you all for any help!
    Regards
    Wolfgang

    Hi Hummel,
    In Exteranl System u have to use these values
    name="myhost"      value="xiserver"
    name="myport"      value="8000"
    name="mysystem"    value="XY_BSservice"
    name="myinterface" value="Order_out"
    name="mynamespace" value="urn:xi:hcl:powebapp"
    name="myqos"       value="BE"
    name="myclient"    value="300"
    name="myuser"      value="XYZCLNT"
    name="mypass"      value="xiuser"
    Here My system is the Business service created in Integration directory of XI, Interface is the one created in Integration Repository (This is Outbaound from external sys to XI)
    In XI U have to create
    Data Types : 1) Source Structure data type(from extenal sys)
                 2) Target structure (where u want to send from XI)
    Message Types : 2 with above DT's
    Message Interface: 1) Outbound, Async (Order_out)
                       2) Inbound , Async (for the target sys)
    Then Message mapping and Interface mapping as usual..
    And in ID u have to create 2 services one is XY_BSservice for sending system and the other is for receiving system...
    For sending system no communication channel required...
    Hope u will get idea from the above..
    Need any further u r welcome..
    Regards
    Sridhar

  • HTTP adapter as receiver to POST name-value pairs - How to?

    Hi,
    Scenario: HTTP Sender <> XI <> HTTP receiver (Sync throughout; no BPM)
    In this scenario, a HTTP channel is configured to the target URL to post data.
    The message mapping results in a XML. HTTP posts the same XML to the target URL.
    However,the target URL expects data Posted as name-value pairs.
    eg. eid=45678&zip=11011&ename=Tom%20Lee
    How can we configure HTTP adapter channel to post XML data as
    name-value pairs (as in standard HTTP Form Post)?
    Any pointers?
    thanx,
    Pops

    Hi Udo,
    I currently have a solution (simpler than having a BP), but do not expect it to be the right way of doing.
    I am using Java Mapping to convert the XML structure into Name-Value pair. So the output of Mapping is a string like how HTTP post is expected. So the interface mapping having multiple mappings - firstly, the original Message mapping, and then the Java mapping to do the conversion. So, with a small extension, the solution is still kept simple.
    However, I thought the POST requirement to HTTP URLs would be a common requirement, and expected the HTTP adapter doing this conversion. So, I am still looking for a straight solution (without any custom extensions).
    Any one else faced this situation?
    Can't this be handled by HTTP Adapter?
    -- Pops V

  • Trace Error in HTTP Adapter

    hi,
    I am getting this trace when i set the Trace Levels in the Runtime.
    <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="T">---- Plain HTTP Adapter Outbound----</Trace>
      <Trace level="1" type="T">----
    </Trace>
    - <Trace level="1" type="B" name="CL_HTTP_PLAIN_OUTBOUND-ENTER_PLSRV">
      <Trace level="3" type="T">Quality of Service BE</Trace>
      <Trace level="1" type="T">Get XML-Dokument from the Message-Objekt</Trace>
      <Trace level="2" type="T">HTTP-Destination : HTTPS GRAINGER</Trace>
      <Trace level="3" type="T">Server abc.com</Trace>
      <Trace level="3" type="T">Service-Nr. 443</Trace>
      <Trace level="3" type="T">URL /invoke/test/receiveXML</Trace>
      <Trace level="3" type="T">~request_method POST</Trace>
      <Trace level="3" type="T">~server_protocol HTTP/1.0</Trace>
      <Trace level="3" type="T">accept: */*</Trace>
      <Trace level="3" type="T">content-type: text/xml</Trace>
      <Trace level="3" type="T">msgguid: 44663DECCE9167A6E1000000A628FF7D</Trace>
      <Trace level="3" type="T">service: IP_SEND_CXML_PO_TEST</Trace>
      <Trace level="3" type="T">interface namespace: http://vb.com</Trace>
      <Trace level="3" type="T">interface name: MI_CXML_PO_SYNCH_OUT</Trace>
      <Trace level="3" type="T">Header-Fields</Trace>
      <Trace level="3" type="T">Prolog conversion Codepage: UTF-8</Trace>
      <Trace level="3" type="T">Epilog conversion Codepage: UTF-8</Trace>
      <Trace level="3" type="T">content-length 3254</Trace>
      <Trace level="2" type="T">HTTP-Response :</Trace>
      <Trace level="2" type="T">Code : 110</Trace>
      <Trace level="2" type="T">Reason:</Trace>
      </Trace>
      </Trace>
    and this 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>110</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP client. Code 110 reason</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Any tips how to resolve this issue? I am trying to post to an external vendor in a IDOC->XI->XML scenario.
    Thanks,
    Tirumal

    Hi Tirumal!
    My scenario is
    File->XI-->J2EE application(HTTP Receiver adapter).
    I am also using HTTP Adapter Outbound.
    XI sends xml file to my J2EE application(servlet).
    How to capture information from XML file and display in JSP(browser).
    Hoping a quick response !!!
    Thnax!

  • 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

  • Req/Reply message using HTTP adapter

    I am using a HTTP Adapter to receive a request message from a client application and sending a response back to the client. The response is being sent by the adapter is XML with a HTML wrapper. However, the client application can't accept HTML; we have to send pure XML.
    Is there any easy way to change this in adapter.ini? Can we do something using ReceiverCustomizer? or we have to do something in the TransportServlet?
    -----------------------------------------Current Response message-------------------------
    <html><head><title>TransportServlet </title></head>
    <body><h1>TransportServlet</h1>
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
    <ns1:response userId=""
    xmlns:ns1="http://quikpayasp.com/namespace/activity">
    <account type="StanfordCardPlan">
    <currentBalance></currentBalance>
    <accountActivityDate></accountActivityDate>
    </account>
    </ns1:response>
    </body></html>
    --------------------Expected----------------------------------------------
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
    <ns1:response userId=""
    xmlns:ns1="http://quikpayasp.com/namespace/activity">
    <account type="StanfordCardPlan">
    <currentBalance></currentBalance>
    <accountActivityDate></accountActivityDate>
    </account>
    </ns1:response>
    Appreciate your response.

    Try using D3L mode.
    babu

  • Please anyone explain me about HTTP adapter

    Can anyone explain about HTTP Adapter (sender,receiver) End to End implementation with screen shots?

    HI
    HTTP Adapter
    The HTTP Adapter allows connection between the Integration Server and application systems. External systems connect to the Integration Server using the native HTTP interface (HTTP payload without SOAP envelope) which is converted to XI protocol (SOAP with header enhancements). The HTTP Adapter allows synchronous and asynchronous message functionality
    http://help.sap.com/saphelp_erp2005/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
    http://www.erpgenie.com/netweaver/xi/adapters/index.htm
    Differences between adapters
    You can use the HTTP adapter. Refer to following SDN TV demo of the HHTP adapter for details steps involved into it.
    https://media.sdn.sap.com/SDNTV/main.asp?mediaId=107
    HTTPS using XMLSPY
    http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm
    The HTTPS configuration data of the Adapter Engines has to be configured in the SLD.
    More Information in the "SAP Security Guide XI"
    http://help.sap.com/saphelp_nw04/helpdata/de/f7/c2953fc405330ee10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/65/6a563cef658a06e10000000a11405a/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a
    cheers
    Edited by: vemuganti naga phalguna on Jul 24, 2008 12:16 PM

  • SAP PI 7.1 HTTP Adapter

    In my scenario, SAP PI 7.1. needs to talk to a 3rd party EDI system via web services. SAP PI is using HTTP adapter to exchange XML messages for both inbound and outbound with the EDI system. Questions:
    1. If SAPI PI sends for example 100 (different) messages to the EDI system every day, will PI make 100 web service calls to the EDI system to send each individual message?
    2. Please explain how PI will use the HTTP URL to send the messages to the EDI system. Any document/blogs to explain how HTTP adapter works for exchanging messages with third party systems (web service capable)? Did not find anything good one in SDN.
    3. Any disadvantage of using HTTP adapter, e.g. for high volume scenarios?

    > 1. If SAPI PI sends for example 100 (different) messages to the EDI system every day, will PI make 100 web service calls to the EDI system to send each individual message?
    Yes, it will use 100 cals to process 100 individual messages.
    >
    > 2. Please explain how PI will use the HTTP URL to send the messages to the EDI system. Any document/blogs to explain how HTTP adapter works for exchanging messages with third party systems (web service capable)? Did not find anything good one in SDN.
    >
    When you use HTTP adapter in receiver side, you will specify address of the target system in URL format, that means data will be send it to specific UIRL adress.
    > 3. Any disadvantage of using HTTP adapter, e.g. for high volume scenarios?
    i prefer using SOAP adapter for web service cals..HTTP adapter give good perfomance.
    Regards,
    Raj

  • 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

  • Upload and Download Files in an Application

    hi,
    I'm use Application Express 2.1.0.00.39 and the procedure " How to Upload and Download Files in an Application" :
    http://download-west.oracle.com/docs/html/B16376_01/up_dn_files.htm#sthref177
    I do not find the following tables or view:
    HTMLDB_APPLICATION_FILES or wwv_flow_file_objects$.
    which it is my error?
    thanks.
    Luigi

    The documentation was for version 2.2. I could not find a 2.0 version of this howto:
    http://download-west.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/up_dn_files.htm#CIHCFCHF
    However, I did find the correct name of the view for my version, HTMLDB_APPLICATION_FILES
    After following the instructions in the above-mentioned "how to" (uploading and downloading files), I am a getting a html 403 error (You are not authorized to view this page) when I try to download from my custom table using the procedure specified in the howto.
    I've granted execute on the procedure to public only (as specified in the doco).
    err nvm. This has already been answered,
    http://download-west.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25309/adm_wrkspc.htm#BEJCGJFJ.
    Message was edited by:
    user507810

  • HTTP ADAPTER SETUP

    Hi friends,
    What address should i give to partner so that partner can send me message on XI system.I m having Xi system and partner is having BC system. And if I am not wrong,I have to use Http adapter for receiving message..
    help me in setting up http adapter.
    Thanks,
    Brij...

    HI Brajesh
    Do the following.
    !. Create DT for source and target
    2. Create MT for the DT above
    3. Create Message interface. for the source message create Outbound Sync or Async as per requirement and for target message create Inbound message interface type Sync or Async
    Here if you expect a response then use Sync else Async
    4. Create MM for the MT created above
    5. Create IM for the Message Interfaces created above.
    IR is complete
    Go to ID
    1. Create sender service (business system or service)
    2. Create Receiver service
    3. Create a Congi scenario.
    you can use the config wizard also.
    Create a Sender HTTP channel and receiver as per requirement
    DO SA, RA, ID, RD
    Now give the URL for the sender HTTP posting.
    use the parameters for the outbound interface, namespace in the URL as discussed above
    Thanks
    Gaurav

  • Solution for load external FONT sf file to iOS application

    Hi,
    i follow this instruction to load externalHosted sf files to iOS application.
    http://blogs.adobe.com/airodynamics/2013/03/08/external-hosting-of-secondary-swfs-for-air- apps-on-ios/#comments
    I need to load external swf files (Font only) on runtime and embed it runtime.
    But I always got the uncompilled action script error on adhoc or release build.
    how can I solve this problem? The Font is not an asset, and I can't load it on runtime on iOS?
    thanks

    Did you try this doc? Packaging and loading multiple SWFs in AIR apps on iOS

  • File fetch from external souce...  http adapter, file adapter, or...

    Hi - Hopefully this is a straight-forward question. I need to fetch a file from an external source (vendor) using a url that they provided us. Secondly, the url and file change each run. Here is the scenario:
    #1.
    - our side (PI 7.11) calls their webservice A to tell them to generate a report, and a report handle id is passed back to us (this part works)
    - our side (PI 7.11) calls their webservice B with that report id to get a https url string (this part works). E.g. return url is https://pvab70barp.companyb.com/reports/ODbsPPSBIQxPs/u1/u1_1307128013471215.csv
    - our side (PI 7.11) then needs to go fetch the contents of that file... again, the file is over at their site
    #2.
    The next time we run this we would get an entirely different url string
    So to solve #1, it seems to me that the HTTP adapter can be used (can it be used though given the url is https?). I don't think FILE adapter can be used as I believe it needs the file to reside on the local file system.
    To solve #2, it appears some dynamic configuration of the url is needed. Is their an easy way?
    If anyone has thoughts on these then I would appreciate hearing back from you with your comments. I have not worked with either of these adapters yet.
    Thanks,
    Keith

    1) You can use http or https connection to connect remote server.   HTTPS is not an issue. You create RFC destination of type H and there provide login credentials such as client certificates. Use that destination name in the http receiver adapter to use https.   Looks like to read the file that is on the http server, you might want to use Java proxy to achieve this. Simple HTTPS communication would not read the file. Or request the client to share it in the network shared drive. so that we can use File adapter to pulll the file.
    2) Yes you can use dynamic configuration in the mapping for the dynamic HTTPS URL.

Maybe you are looking for

  • Unable to add new event in iCal, Lion 10.7.1

    Hi, On Lion 10.7.1, I can't seem to add new events to iCal. I have tried the following: 1. 2-finger click on a day in the month-view. This pops out the menu and I can click on 'New Event', but after that, nothing happens. 2. Clicking on the '+' butto

  • How to create view like Facebook - Profile, Wall portion in my iphone apps

    Hi, I have to create same that type of view for my application. my requirement like that i have one question and user can give answer of my question with unlimited number of lines. SO obviously we have to use UITableView. Now problem is that how can

  • Standard Hours Required on a Work Center for a month along with CC

    HI Gurus, My requirement is : I need a report which fetches how many hours are required in a month on a particular cost center attached to work center for a plant. Is there any standard report to fetch this . If no how can we develop a report. Which

  • Lot size data

    I have a maximum lot size for my procurement parts. If my requirements for a day are higher than this quantity I want to have a supply with my maximum quantity for this date and the other quantity on the next days. Not at the same day. The system cre

  • Password validation script checking against stored passwords

    I am able to create a script to check and validate for the password complexities outlined by our Active Directory GPO, but is there a way to check the password against the 1-24 stored passwords to validate that it hasn't been used before? Thanks