on 02-01-2011 5:18 AM
Hi Experts,
My Scenario is IDOC to HTTP Adapter:
Here i need to send an xml file to the target system, so how can i use the HTTP adapter to deliver this xml file
when i see the HTTP receiver adapter i could see two options in Addressing Type:
1. URL Address
2. HTTP Destination
So when to use URL Address and when to use HTTP Destination could anyone please suggest, vendor is asking us which is feasible.
is it possible to send an xml file as an attachment or how the xml file will be posted to the specifc addressing type.
is there any internal tool where we can test this.
Regards,
Kishore
Hello,
The URL address is used for URLs that have the http protocol e.g those that do not require SSL. When SSL is required, that is where we use the HTTP Destination. The name of the HTTP Destination is created using SM59 of type G (Abap Connection to External Server). Make sure you are able to install the SSL certificates using STRUST/STRUSTSSO2 and then do an ICM Restart afterwards. For more information about enabling SSL, please refer to this link:
http://help.sap.com/saphelp_nwpi71/helpdata/EN/14/ef2940cbf2195de10000000a1550b0/frameset.htm
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kishore,
There is no difference between specifying URL address or using HTTP destination.
URL address--> we will specify the required details in Communication channel details it self, so that it will connect to taget URL and place the file.
or Create HTTP destination in SM59,in HTTP destination you will specify required details.. then you will use HTTP destionation name in CC, that means when we send data it will call HTTP destination.
i advice to you use HTTP destination proces...refer help documentation
http://help.sap.com/saphelp_nwpi71/helpdata/EN/43/95bcddd51c60b7e10000000a11466f/frameset.htm
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raja Sekhar,
Thanks for your valuble information,
As per my understanding there is no requirement of RFC destination in case of using URL address, when we go with HTTP destination in such case we need to define the RFC destination in PI server with connection type of G. and that's need to be defined in HTTP receiver adapter. (Correct me if i am wrong)
Please clarify me the below doubts for this scenario..
1. Regarding with file name as said by you it will place the file in target url, may i know in what name the files will be placed.
For example: IF 100 Idocs are triggered then how the files are placed in the target URL ( I mean in what names the files are placed) then how could we know which file is related to which IDOC, we need some uniqueness to relate the outputfile with input idoc)
Regards,
--Kishore
> 1. Regarding with file name as said by you it will place the file in target url, may i know in what name the files will be placed.
From your question I can see, that you do not really understand, how HTTP works.
There is nothing like a file or a file name.
Kishore.
Your requirement is at the reciever or target side..
If your receiver side host webservice then only you can use SOAP Reciever adapter as receiver to consume the webservice.
if your receiver side running the application using web servers like JBoss, Websphere then you can use HTTP receiver to communicate with those systems.
Again REST Webservice where you can use just HTTP protocol to send the XML message. In this situation, you would not send SOAP message of the structure soap envelope, body etc...
There are plenty of documents available to learn about both HTTP and SOAP.
Hope I answered your question
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.