Hi! I need steps for HTTP Receiver adapter
My scenario is like this:
HTTP(HTTP Sender adapter)->XI->File(File adapter).
For this Iam sending the data as payload in the body of HTTP. Now What am i going to do is the opposite of above scenario:
File(FileAdapter)->XI->(HTTP Receiver Adapter)HTTP.
I would like to know what are the steps to transfer a file(xml) from File adapter to XI and from there to Http.
How to send the data using File adapter. Please suggest me some steps.
Hoping a quick response!!!
Thanks in advance!
Hi Datta,
For a HHTP -> XI -> FILE Scenario:
DESIGN:
1. Create DataTypes for source and Destinations. Create elements for all the text fields of your HTTP Client so that they can all be mapped into the destination file
2. Create MessageTypes for the two datatypes.
3. Create Message Interfaces. The One for HTTP is the sender, Asynchronous ( as no response is expected) and one for File is receiver, asynchronous.
4. Do the mapping. It will be mostly a one to one mapping of the fields.
5. Create the Interface Mapping.
Configuration:
1. Import your Business System under your Configuration Scenario.
2. Create 2 communication channels. One for Http as a sender and one for File as a receiver.
Check these links for the configuration part.
http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/content.htm
3. Do the Receiver Agreement for file. HTTP doesnt need a sender agreement.
4. DO the Receiver Determination and Interface Determination.
Weblog which talk about the same scenario:-
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - although this weblog is
aimed at explaining the sync-async bridge.. Sriram has taken http-to-file scenario as the example
(use case) and explained it...
Check this SDN tv demo, it has detail of HTTP adapter setup.
https://media.sdn.sap.com/SDNTV/main.asp?mediaId=107
Refer to this link for adapter settings.
http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
You should also have a HTTP client to send message to XI. In the connecting parameters to XI u have to use the URL in the pattern mentioned by Alex. U have to give all the configuration details in the URL.
Regards,
Abhy
Message was edited by: Abhy Thomas
Similar Messages
-
Steps for http receiver adapter communication channel
Hi
can you please specify steps for http receiver communication channel?
thanks
PrasadHi Prasad,
Here's the documentation for configuring the http adapter in the communication channel(rcve):-
http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/frameset.htm
Regards,
Sushumna -
Remove namespace alias for HTTP receiver adapter
hello all,
I have a scenario, IDOC->XML (HTTPS). Standard output of PI has ns0: as prefix for each xml tag (ns0 alias for namespace)
I want to remove the namespace alias while preserving the namespace in the output. So removing namespace reference in external definition is not a option.
Is there any way to use XMLAnonymizerBean for HTTP receiver adapter? What are other alternatives (java mapping)?
Thanks,
sachinThanks stefan, prateek.
Prateek: I checked this blog earlier. It talks about inbound processing. My scenario is outbound HTTP and I am not sure how I can use specific adapter service as mentioned in blog in outbound case as other scenarios are using standards adapter_plain service.
Stefan: I will try this approach.
regards,
sachin -
Dynamic URL for HTTP receiver adapter
Hi all,
when the XI send the http request to the target system, the format maybe like this:
header + body the body is including: Prolog, payload and Epilog
here is about the target system have a 'input' parameter(maybe string type)
is it possible to pass the 'head + body' these value(or maybe the whole http request message) into input
i mean is it possible to set the dynamic URL for http receiver adapter like this:
http://host:port/path?input=<the header and body>
i have searched the blog Dynamic Configuration of Some Communication Channel Parameters using Message Mapping
Link:[/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping]
and the similar threads in the forum
please give me some advice
thanks in advanceWhen a HTTP server requests the whole message as URL parameters, then I assume that the server also requests an HTTP GET, which is not supported by XI.
Could you check this?
Regards
Stefan -
when i send a test message throw the RWB for Http receiver adapter it is giving the error "Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SOCKET_TIMEOUT, Read timed out"
Hi, Michal
I have read your Weblog. It makes sense to me. Thanks a lot for your help! However, I still have some questions and listed them as following. Could you please help to answer them?
<b>Q1:</b> I am new to SAP-XI. So I have no idea about TCODE-SXMB_ADM. Could you introduce more details about it?
<b>Q2:</b> The XI system I am using is running on SAP-ICC's machine. The tools I can use are:
<b>1.</b>Builder for Integration Repository
<b>2.</b>Builder for Integration Configuration
<b>3.</b>System Landscape Directory
<b>4.</b>Runtime Workbench
<b>5.</b>Administration System (for Repository, Directory, Runtime)
Please note that I do not have a complete control on this SAP-XI. Do you think whether or not I can set the timeout parameter by following the instructions provided in your Weblog?
For more details about my SAP-XI, please access the following Web page:
http://iccxi.sap.com:58000/rep/support/admin/index.html
<b>Q3:</b> The following messages are extracted from the SAP-XI. Wish they are hepful to solving my problem.
2006-06-19 05:12:16 Success The message was successfully received by the messaging system. Profile: XI URL: http://iccxi.sap.com:58000/MessagingSystem/receive/AFW/XI
2006-06-19 05:12:16 Success Using connection AFW. Trying to put the message into the request queue.
2006-06-19 05:12:16 Success Message successfully put into the queue.
2006-06-19 05:12:16 Success The message was successfully retrieved from the request queue.
2006-06-19 05:12:16 Success The message status set to DLNG.
2006-06-19 05:12:16 Success Delivering to channel: ValidationRequestHandlerServiceChannel
2006-06-19 05:12:16 Success SOAP: request message entering the adapter
2006-06-19 05:12:37 Success SOAP: call failed
2006-06-19 05:12:37 Error SOAP: error occured: java.net.ConnectException: Connection timed out: connect
2006-06-19 05:12:37 Error Exception caught by adapter framework: Connection timed out: connect
Thanks
Menghua Li -
Regarding Business System For HTTP Receiver Adapter.
Hi Everyone,
Which Type of Business System do I need to select For defining HTTP Receiver Adapter.
I am doing File to Http Scenario. What will be my output look like, If i am Sending file as
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Source_FILE xmlns:ns0="http://city.net/FILEtoHTTP">
<Message>
<Id>123456</Id>
<Head>
<Id>123456</Id>
<Filename>sample.xml</Filename>
</Head>
<Body>hello</Body>
</Message>
</ns0:MT_Source_FILE>
Regards,
VarunVarun,
You can use third party Business system or else you can use Business sevice also.
Take a look at these blogs,
Push Data to MVC Architectured application using XI
XI - SAP Business Connector integration using the HTTP adapter
Yuga -
Envelop header for HTTP receiver adapter
Hi,
In one of the business scenario's XI has to send data to an external party using an envelope header(Sample document to be sent is given below.)
<b>Message-ID:ABC.JavaMail.SYSTEM@ztxwmwspro02
Date: Thu, 16 Oct 2003 17:02:04 -0400 (EDT)
Mime-Version: 1.0
Content-Type: multipart/related
Content-ID: 4bafd2e2-7971-1000-a6a3-0fe8304d0001
x-Date-Sent: 01 Dec 2005 11:26:47 CST referenceId:
x-Document-Type: Error
x-Priority: 5
x-Correlation-Id: 4bafd2e2
x-Request-Annotation: normal
<Order>
<OrderHeader>
<OrderNumber>
<BuyerOrderNumber>XXX</BuyerOrderNumber>
</OrderNumber>
<OrderIssueDate>20050223T12:00:00</OrderIssueDate>
<OrderHeader>
<Order></b>
1) How can this be acheived?
2) How/Where can i see the header data of the message that is being sent out by a receiver HTTP adapter?
Regards,
Siva Marananihi Siva,
Did you see this link ??
http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/frameset.htm
it provides good information aboutPlain HTTP: Outbound Channel.
cheers,
Naveen -
Can HTTP Receiver adapter be used for Sync Comm. Pls advice urgent
Hi All,
I have some data present in XI.
I need to send the data present in XI to System A through HTTP adapter in synchronous manner means that system should send response back to XI.
Can HTTP Receiver adapter be used for Sync Commumication in my scenario.
Please send blogs/link for it
RegardsHi Henry,
>>I have some data present in XI.
In what form it is available on XI(e.g., IDOC or RFC or File etc..)?
First let us know this.
Thanks,
Gujjeti -
Hi,
I am working on a scenario, where I am posting xml message on https url, for which I am using HTTP receiver adapter.
I have created RFC destination of type 'G' in sm59 to make an https call, where I have provided following details:
In Technical Settings:
Target Host - <Hostname>
Service No. - 443
Path Prefix - <url path>
Logon Security:
SSL - Active
SSL Client Certificate - Default SSL Client (Standard)
UserName - <Username>
Password - <Password>
I have used this RFC destination in 'HTTP Destination' of HTTP receiver adapter.
When I test this interface, I am getting this error.
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<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>A</SAP:Retry>
</SAP:Error>
Can you please help me resolve this issue. Please let me know, if I am following the right steps.
Thanks in advance
Regards,
AmitHi -
Since you're using the http destination option in the channel, you just specify the user/pwd in the destination.
Regarding the issue, first, for the Logon/Security option in the destination, unless you'll be using a client certificate to authenticate, you should choose option ANONYM SSL Client (Anonymous) - you still provide the user/pwd in the Logon section. Make sure you have imported the root cert of the CA verifying the server's identity into the client certificate list within STRUST (node SSL Client (Anonymous)).
Also, for some hints on the issue, look at the ICM trace - tcode SMICM->Goto->Trace File... you may need to increase the trace level - SMICM->Goto->Trace Level... After resolving the issue, make sure to set the trace level back to default.
Regards,
Jin -
HTTPS communication using HTTP receiver adapter URL address as Address Type
Hi All,
If some one who has tried HTTPS communication using HTTP receiver adapter using URL address as Address type can you please guide me what are the steps need to be done.
Note : Address type is a parameter in HTTP adapter setup .
Regards,
ReddyHi,
Check this,
Configurations in Integration Directory
The plain HTTP adapter gives the receiver system the following specifications:
— Specifications for addressing using a URL address:
Target host, service number, and path prefix including query string:
http://<hostname:port>/<path>?<query-string>
You can identify the target host (HTTP port) of a SAP Web Application Server using
the
ICM monitor
Host and port of the HTTP proxy (optional if there is a firewall between the plain
HTTP adapter and the receiver system)
Authentication data for the receiver system.
See also: transaction Display and Maintain RFC Destinations (SM59).
— Specifications for addressing using an HTTP destination:
HTTP destination
— Parameters from the communication channel for technical routing
Content type (the entry text/XML is expected as default)
Specifies the format that the message contents (the payload) should have.
Optional header fields for the receiver-specific protocol
Attributes for the query string
1. Sender party
2. Sender service
3. Receiver Interface
4. Message ID
5. Quality of service
6. Queue ID
All attributes are selected except for the queue ID. If you do not want a value to be
transferred to the receiver, deselect it. The queue ID is only required if the quality of
service is EOIO.
Specifications for payload manipulation
XML code (default UFT-8)
Specifies the character set.
URL escaping
Presents the XML in a URL-enabled format. Special characters that could be
interpreted as control characters are replaced with escape characters (masked).
Prolog
Enhances the payload for particular servers (optional, see below).
Epilog
Enhances the payload for particular servers (optional, see below).
Enhancing the Payload
Regards
Seshagiri -
Enabling SSL for HTTP Sender Adapter
Hi Experts,
I'd like to have a step by step process in enabling HTTPS for Plain_HTTP Sender Adapter. I've already read the enabling HTTPS on SAP Help, but it does not provide much detail. Would the steps be the same for enabling HTTPS for Plain_HTTP Receiver which are:
1. Install the certificates using STRUST
2. Configure an RFC Destination using SM59
3. Call your RFC Destination in Receiver HTTP Adapter (not valid for http sender adapter)
The connection for setting up http is http://<hostname>:port/<path>?<query string>
but what about https? Would it be connecting to the webdispatcher first?
Hope you can help me,
Regards,Hi,
as HTTP Adapter is on ABAB stack you will need to configure with STRUST.
http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm
The URL should start then with https, but you could test with this sample client:
https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
Regards
Patrick -
HTTP Receiver Adapter. Pls advice
Hi All,
I have response from System A already present in XI.
I need to send the response from System Aa present in XI to other System B through HTTP Receiver adapter in synchronous manner means that System B should send response back to XI.
Can HTTP Receiver adapter be used for Sync Communication in my scenario.
Please send blogs/link for it
RegardsHi Henry,
Refer the below links:
http://help.sap.com/saphelp_nw04s/helpdata/en/85/78af1bf407434796aaf8dbd6d4e7b7/frameset.htm
Re: HTTP Sender - how to read URL Parameter USER id into Mapping
/people/amol.joshi2/blog/2006/06/28/must-fire-a-http-get-from-xi---try-this
http://help.sap.com/saphelp_nw04/helpdata/en/82/f4993c03e0cd37e10000000a11405a/frameset.htm
http://sap-ag.com:8088/sap/xi/adapter_plain?service=sender&namespace=urn%3Asap-ag%2Ecom&interface=%2Fsap%2Forders
http://sap-ag.com:8088/sap/xi/adapter_plain?service=sender&namespace=urn%3Asap-ag%2Ecom&interface=%2Fsap%2Forders&qos=EO&msgguid=3C61F6C12F1E2DD1E10000000A1145AB
Thanks,
Satya Kumar
Reward points if it is useful..
Edited by: SATYA KUMAR AKKARABOYANA on Apr 15, 2008 10:26 AM -
HTTP receiver adapter: dynamic configuration
I was told that if I have a URL and some parameters, I can use a sync HTTP receiver adapter to call a site.
I know this can be done using some kind of dynamic configuration, but I am not familiar with this adapter.
The most important question here is that I need to know if this can be done throw PI, so my question is:
Is there a parameter limit in the HTTP adapter? If so, what is the quantity of parameters that I can give to the adapter?for the ASMA parameters you can use for the HTTP receiver adapter check
Configuring the Receiver Plain HTTP Adapter - http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/frameset.htm -
HTTP Receiver Adapter : Dynamic URL
Hi,
I have a scenario where I wish to build a dynamic URL for the HTTP Receiver Adapter. The URL will contain a customer number which is present in the mapping.
The help seems to suggest that this is possible :
<i>If you want to use an HTTP destination or URL set by the mapping, set the URL or HTTP Destination indicator. (The indicator displayed depends on the Addressing Type you selected above). If you set the indicator, the URL or HTTP destination set dynamically is called by HTTP.
If the message header does not contain the URL or the HTTP destination, and you have set the Fail If Adapter-Specific Message Attributes Missing indicator, the XI message is set to status System Error. If you do not set the indicator, the URL or HTTP destination defined statically in the communication channel is used.</i>
However, it is not very clear where the URL needs to be set dynamically.
Does anyone know how to achieve this ?
Cheers
Colin.hello to all,
We have a unique issue with one of our customers that is limited to 100 character URL. The current url is http://mycompany.com/sap/xi/adapter_plain?namespace=urn%3Agoodyear%2Ecom%3AAIT%3AInventoryCheck&interface=AITInventoryCheck_Abs&service=HTTP_AIT_InvChk&QOS=BE&sap-client=010&sap-language=EN
Is there a way to have a URL like
http://mycompany.com/sap/xi/adapter_plain?namespace=urn%3Agoodyear%2Ecom%3AAIT%3AInventoryCheck
and then somewhere in the process add... &interface=AITInventoryCheck_Abs&service=HTTP_AIT_InvChk&QOS=BE&sap-client=010&sap-language=EN
So the data comes to an F5 through the DMZ to the SAP webdispatcher then to the SAP XI system.
Any ideas if this is possible or how you could start with a shorter URL?
Thanks,
Dede -
ICM_HTTP_TIMEOUT error in HTTP Receiver adapter
Hi
I am doing HTTP Receiver adapter and File Sender adapter for my scenario.
I am getting the following error in SXMB_MONI.
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_CLIENT</SAP:Code>
<SAP:P1>402</SAP:P1>
<SAP:P2>ICM_HTTP_TIMEOUT</SAP:P2>
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>HTTP client. Code 402 reason ICM_HTTP_TIMEOUT</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error
Help needed,Hi Ganesh,
Check this weblog...
/people/michal.krawczyk2/blog/2006/06/08/xi-timeouts-timeouts-timeouts
Check this thread with similar issue...
ICM_HTTP_TIMEOUT
Regards,
Sridhar
Maybe you are looking for
-
Motion-created QuickTime not playing back properly
I have a small animation created in Motion that I imported into Final Cut Pro and inserted into my Timeline. It looks alright on my external NTSC monitor but when I change my AV settings to Digital Desktop Display -Full Screen and monitor it on my Ci
-
I want to know the data dictionary queries to view roles, priviliges, role-priviliges mapping, users, user-role mapping, user-privileges mapping. Basically to view the following reports; [http://www.myorasql.com/img_pg_usrmag.html]
-
DNS disaster and how can stop it for future
Hi Last week, I found lots of static records were deleted automatically from DNS server console which cuased lots of P1 in my environment. I found some below envents before the time when issue occurred. I want to know why DNS randomely Host reocrds
-
I have Qosmio G20 notebook, I got error message that my WinXP lost some system file and didn't boot. I tried to boot from new WinXP (I lost rescue disk), but my installation program hunged up after 1 minute. I tried several other bootable disks inclu
-
Is my mac mail sending spam?
I have 4 different emails for various business that I own. Today I got an email from one of my own accounts to that same account. It's about some kind of Canadian online pharmacy. I know I did not send it. What should I do about this? For a few weeks