HTTP Receiver Adapter - Post HTTPS to non-sap system
I plan on doing an https post to a non-sap system using the http rec adapter. Will I need to make some config changes to enable ssl communication on the XI system? Will I need the certificate of the target system?
Thanks,
Mark
Hi Mark,
You will need Certificate to enable SSL communication.
And once you install your certifictaes on the systems according to the above blog then there are few changes which needs to done on XI side.
On XI Server - Go to SM59 and Create HTTP destination to the system with SSL enabled in that destination.Select active option for SSL.
In confguration - Go to HTTP rec channel and select HTTP destination and here give the one which u have created in last step.
Similar Messages
-
HTTPS Receiver Adapter POST with FILE TYPE parameter
Hello,
I need to do a POST to a URL service that validates content of a file. It receives user and password as string parameters and a FILE as a mime type parameter.
I'll appreciate any help.
Regards,
Diego.Hi.
Using Http Receiver Adapter , you can try out this.
This blog may give some idea-
/people/amol.joshi2/blog/2006/06/28/must-fire-a-http-get-from-xi---try-this
Otherwise, try out with callinng this service via SOAP Adapter i.e webservice.
Rgds,
moorthy -
RFC Adapter to connect to Non SAP System
Hi,
I have a scenario to connect to a non SAP system using RFC adapter. I am not used to the same. I need to know whether this is possible and what are the steps to be done.
Thanks and regards
SijiHi,
These links should help.
Non-SAP application connecting to PI via Sender RFC Adapter
Error by setup RFC Interface with non SAP system
SAP PI to Third Party system through RFC Connectivity ??
Regards,
Jannus Botha -
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 -
What to provide in HTTP Receiver Adapter ?
Hi,
I am using HTTP Receiver adapter for HTTPS connection to 3rd Party.
3rd Party system has provided URL / HOST / PORT details.
However i am not sure what i can provide as part of Target Host / Service Number / Path Prefix?
Regards,
Rakesh
Edited by: Rakesh Bhagat on Mar 11, 2009 10:03 AMHi Rakesh,
However i am not sure what i can provide as part of Target Host / Service Number / Path Prefix?
e.g http://www.sdn.sap.com:443/irj/scn/thread
Target Host: sdn.sap.com
Service Number: 443
Path Prefix: /irj/scn/thread
You can only enable SSL by:
1. creating an RFC Destination using TCODE SM59
2. install the certificates using TCODE STRUST, then restart ICM afterwards
3. call your RFC Destination in SM59 using HTTP Destination (instead of URL Address) option in HTTP Receiver Adapter
Hope this helps,
Edited by: Mark Dihiansan on Mar 11, 2009 3:14 PM -
SAP to External Non SAP Systems C++ Connections
Hi guys,
i should develop a C++ application that should transfer/receive data from an external Non SAP System to a SAP System (MM SD FI Modules) and viceversa,
This bidirectional integration should be synchronous and asynchronous, depending on the data flow type,
I was thinking to use IDocs for this communications,
I should be able to send purchase and sell orders requests from the Non Sap System to the Sap system and receive the result of SAP processes once the SAP transactions will be finished.
So i'll have a C++ process that send idocs (created with sdk end sent throught RFC to SAP) for SD or MM operations and a SAP Abap module that receive this idocs and start internal operations.
After this i need an internal SAP abap module that send to my external application Idoc's with the result of internal operations.
Are the idocs the common way to transfer data(low cadinality) in this scenario, or there is a better way?
Note: my sap system versions are previous to the netweaver release, so i can't use a Service Oriented comunication...
Thanks in advance!!!Hi,
try sending the data through BAPI Function Module.
and use the FM in your C++ program.
hope this works....
try
best of luck!!
thanks
ravi aswani -
HTTP Receiver adapter with post
Hello,
I have following scenario.
XI (http receiver adapater) -
> 3rd party web based application.
The 3rd party application expects XI payload to be part of URL with POST Method.
When HTTP receiver adapter sends request to 3rd party application, the URL looks like as follows.
http://myserver:6789/myapplication/name1=value1&name2=value2&.....&name27=value27
I looked at HTTP receiver adpater document on SDN. I see some attributes such as headerfiled1, headerfiled2..... headerfield6 and urlfield1....urlfield6. I have about over 25 fields to be passed with URL.
Now I have following questions.
1. How to make XI payload as name value pairs and part of URL.?
2. I think the default for http adapater is GET, How to configure http adaper to use POST?
I appreciate your help.
Thank you,
Balaji> 1. How to make XI payload as name value pairs and part of URL.?
You should create the whole URL in a user defined function in mapping.
> 2. I think the default for http adapater is GET, How to configure http adaper to use POST?
HTTP adapter (and SOAP adapter) use HTTP POST. GET is not supported.
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 -
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 -
HTTP Receiver Adapter payload as single line plain text with out any tags.
Hi PI experts,
I have a strange problem in http receiver adapter.
Sender RFC (SAP) Receiver: HTTP.
Receiver system expects the output from XI in the below format in a single line plain text with out any tags in the payload. and the content type should be application/x-www-form-urlencoded
Group=Test&Sentinel=Web%20Server&Facility=5345&Order Number=XT-XWHM-Y-NA&Serial Number=123456&@LABEL_QUANTITY=5&@LABEL_NAME=111114_Q
Is there any way to achieve this using http receiver adapter. Business is not ready to accept the output from XI not even in a single element instead they only need it as a JUST a plain text.
Appreciate early response on this.
Thanks in Advance,
JitenderDear Ola,
Could you elaborate how you achieved in catching the response data from the receiver in case of HTTP receiver adapter?
The target service is not a WebService but some python script that must to receive some paramters via POST request.
HOW can I post this parameters?
Here you entered the fields of the message type of the request in the header parameters of the receiver adapter? Thats fine.
But what about the message type and vice versa of the response from the receiver?
Regards
Rebecca -
Http communication with non-sap system
Hi ,
We have a requirement to send OM related data to a non-sap system using HTTP post in XML format and receive the response from that external system. We are on ECC 6.0 and we cannot use XI at this time.
What would be the correct approach to do this? I read that we could use ICM for HTTP communication am I on the right track?
ThanksHi ,
We have similar type of requirement, if you have the solution then let me know .
Thanks in adv
Vishnu -
Non-XI HTTP Communication with non-sap system
Hi ,
We have a requirement to send OM related data to a non-sap system using HTTP post in XML format and receive the response from that external system. We are on ECC 6.0 and we cannot use XI at this time.
What would be the correct approach to do this? I read that we could use ICM for HTTP communication am I on the right track?
ThanksWhat setup do we need for this ?
We are on ECC 6.0. I am trying to run the program, I am getting http_communication_failure = 1 in the receive function.
I am not sure if I am missing any authorizations/setup.
Thanks for your help.
VV -
Is it possible to debug "CL_HTTP_PLAIN_OUTBOUND" FROM HTTP RECEIVER ADAPTER
Hi All,
In my PI interface the data from R/3 ( using abap proxy ) is getting posted on a external server using HTTP receiver adapter .
I assume that it triggers this class when you run the HTTP receiver adapter -CL_HTTP_PLAIN_OUTBOUND
Please let me know how can i enable debugging for triggering this class.
Please let me know the steps to debug this class by triggereing from SAP PI system ( when we run the interface on PI system )
Regards,
ReddyHi ,
i am not sure about this,i wolukd prefer developing JAVA Proxy or File Adapter . try this code it read the data from website, try in you stand alone application,it is able to read or not.
you will face two problems,you have to convert CSC file to XML it is not possible in HTTP Adapter,
import java.lang.*;
import java.util.*;
import java.net.*;
import java.io.*;
class URL2AC
public static void main(String args[]) {
try {
URL url = new URL("http://www.XXXXXXX.com/raj.txt");
URLConnection uc = url.openConnection();
BufferedReader in = new BufferedReader(new InputStreamReader(uc.getInputStream()));
while (in.readLine()!=null)
System.out.println(in.readLine());
catch(Exception e) {
e.printStackTrace();
Regards,
Raj -
Manipulate the URL in HTTP receiver adapter possible?
hello together,
i have an HTTP receiver adapter. To the parameters which i can tick in XI as default (sender party, sender service, ....) i want to add some parameters too.
who can i do that? i have read the weblog from william li. i tried to change the parameter link the comments at the end of the blog (see kurt rasmussen) but nothing happend..... the parameters are not available....
can somebody help me?
thanks a lot
alexhello michal,
yes, i did. i took the information from http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm and tried to put some special information to URL. nothing to see.
is it mandatory to use a mapping to fill the URL parameter fields, isn't it??
i am using a port sniffer to see the URL and the fields (parameters) in it.
thanks a lot.
alex -
HTTP receiver Adapter configuration
Hi All,
I want to post an XML message using HTTP Receiver Adapter for my BPM scenario (Idoc to HTTP service)
The receiver has Oracle gateway and it expects message in following format.
HTTP Header
HttpVersion: HTTP/1.1
Authorization: Digest username=myusername,
realm=[email protected],
nonce=dcd98b7102dd2f0e8b11d0f600bfb0c093,
uri=/dir/index.html,
qop=auth,
nc=00000001,
cnonce=0a4f113b,
response=6629fae49393a05397450978507c4ef1,
opaque=5ccc069c403ebaf9f0171e9517f40e41
Contentlength: 12345
Contenttype: text/html
HTTP Body
TRANSPORT_PROTOCOL=OXTA
TRANSPORT_PROTOCOL_VERSION=1.0
REQUEST_TYPE=SEND
MESSAGE_ID=A1234567890ZZ0987654321
MESSAGE_TYPE=XML
MESSAGE_STANDARD=OAG
TRANSACTION_TYPE=PO
TRANSACTION_SUBTYPE=PROCESS
DOCUMENT_NUMBER=12345
PARTYID=9999
PARTY_SITE_ID=8888
PROTOCOL_TYPE=HTTPSOXTA
PROTOCOL_ADDRESS=HTTPS://www.me.com/servlets/oracle.ecx.oxta.
transportAgentServer
USERNAME=myusername
PASSWORD=myloginpassword
ATTRIBUTE1=
ATTRIBUTE2=
ATTRIBUTE3=
ATTRIBUTE4=
ATTRIBUTE5=
PAYLOAD=<xml ... ...>
I think this is not a typical HTTP URL type of format, is it?
And I am not sure how I can build the message. Where do I put the parameters like TRANSPORT_PROTOCOL, TRANSPORT_PROTOCOL_VERSION, REQUEST_TYPE etc in the HTTP adapter?
Also is there any place where I can see the final actual XI message that is sent to HTTP service?
Any help will be really appreciated.
Thanks and regards,
Rahul.Hi Rajeev,
The receiver system should have the details about the content type it expects. I got that from the team who monitors our receiver system.
The HTTP Body of HTTP adapter is made up of PrologPayloadEpilog.
So I added the paramter list that receiver system expects as part of the Prolog. Refer to the HTTP body that I have posted in my earlier message. Out of that till ".....Payload=" is added to Prolog and XI then appends actual payload to it.
To be precise -
TRANSPORT_PROTOCOL=OXTA&TRANSPORT_PROTOCOL_VERSION=1.0&MESSAGE_TYPE=XML&MESSAGE_STANDARD=UNIVERSAL&TRANSACTION_TYPE=XXXE&TRANSACTION_SUBTYPE=ORDER_I&DOCUMENT_NUMBER=PO12345&PARTY_SITE_ID=ESAP_ORDER_I&USERNAME=***&PASSWORD=**&PAYLOAD=
So in the end it worked out well.
Cheers,
Rahul.
Maybe you are looking for
-
MacBook Pro 17 (early 2011) - pink stripes and crash
After almost 4 years of flawless service, my early 2011 MBP 17 has just about become a paperweight. Here are the events leading to the crash: 1. Flawless operation running OSX 10.7 (Lion) for 3.5 years. Daily use, main work computer with CS6, Logic
-
How to disable GNOME logout/shutdown/restart beep???
Hello, when I logout/shutdown/restart and the volume is not mute, I hear a large beep sound which annoys me very much. I tried to untick alart sound in System->Preference->Sound, but it does not help.
-
-how do I convert sites in byte[] form back to text -how can I retrieve links from a PHP file
-
Export 16:9 to 4:3 without constraining
Is there a simple export setting for doing this(I have comperssor as well as fpcpx), The video I have is a screen capture of a 16;9 monitor displaying a 4:3 presentation. I'd like to export the video in 4:3 without constrainging it but simply cutting
-
DASYLAB : start acquisition on rising edge during a certain period of time
Hello, I would like to know how to do on Dasylab to start acquire data on rising edge and during 0.6s exactly. Secondly, I've a little problem with the module "Integer". I displayed an acceleration and I would like to have the speed and position with