Use of HTTP adapter
Hi Folks,
Can anyone give me the use of HTTP adapter, and in what case we go for HTTP adapter with an example.
Their is SOAP adapter which can communicate with the webservices then what is the use of HTTP adapter.
Thanks,
Srinivas Reddy.
Hi Reddy,
Simply if the security is not concern then use the HTTP adapter otherwise use the SOAP adapter. In the SOAP adapter security is available.
The plain HTTP adapter gives application systems the option of communicating with the Integration Engine and exchanging business data using a plain HTTP connection. Depending on the receiver system, outbound messages can be enhanced with certain information.
The SOAP adapter enables you to exchange SOAP messages between remote clients or Web service servers and the Integration Server or the PCK.
In the SOAP adapter, you can specify security settings to be used to sign/verify the SOAP body. In addition, you can specify the standard to be used for signing/verifying the SOAP message.
whenever Xi need to communicate with any sort of webservice i.e remote applications it uses SOAP adapter.. And XI uses HTTP adapter when you want to post a HTTP request message from a web application to XI.
Regards
Ramesh
Similar Messages
-
How to send the payload to a jsp using receiver Http adapter?
Hi experts,
I have this scenario from Legacy to XI to external app server.I have a test jsp to execute that functionality .Its a jsp which has 1 textarea named "test" and when I click on the submit buton I get a response back.This way I am able to test this independently.Now from XI when I am executing my scenario I am getting status code '1250' and message as ' http request(test) is null'.Now in the scenario in http adapter I just provide the target host : ip of server ,
service number : port no ,
path: the container or the request handler. But this scenario fails and gives me the above erroneous response.Now Basically I am not able to get how to send the value to the textarea "test"? please provide help as soon as possible.Do we have to put the name of the jsp in the "path" in http adapter and use prolog as test=.I tried this but it doesnt work.
Is there any way to check the URL that it forms after appending the querystring in the url ...?
So please provide help on this or suggest a solution to [email protected] as soon as possible.....
Thanx in advance.
Akshatahey Shekhar,
thanx for that prompt reply but I have configured the communication channel in the same manner as suggested by u.
actually I have this jsp page http://xx.xx.xx.xx:8080/abcdef/try/efg.jsp where there is a textarea "test" which has to be filled and there is a submit button.When I test this http client i.e the above jsp page independently then it goes to handler
http://xx.xx.xx.xx:8080/abcdef/trial/ And it gives a proper response message after clicking on the submit button.
now I want to carry out the same using receiver http adapter. I need to pass the value for this inputfield names "test" on that jsp . so right now I have configyured the adapter as
addressing type: url
target host : xx.xx.xx.xx
service no:8080
path : here I have given the path of handler i.e /abcdef/trial I tried giving the jsp page also but logically I guess it should be the handler.
content type: text/xml; charset=iso-8859-1
xml code: UTF-8
Mask special characters (URL escaping) checked.
now since the name of the inputfield is "test" in the prolog I gave test=
But it doesnt work I get this error "http request parameter [test] is null" in the response message which I guess suggests that it is not able to send the value for the field"test" to that handler.Please suggest how to send this and tell me if there are any other configurations that I have to do in the receiver communication channel.
Thanx ,
Akshata -
Using Receiver HTTP Adapter ?
Hi,
Is it possible to call the Mail service using receiver HTTP Adapter?
Appreciate your help...
Thanks,
kumar.Hi,
If we are using the multi mapping, Is it possible to call Mail service using SOAP receiver adapter & IDOC has sent parallely..
Correct me if i'm wrong...
Thanks,
vasanth. -
Using plain http adapter using (SIN)---Most urgent please help me
Hi Experts,
all we need to do is call the pipeline directly using plain http adapter using (SIN) and get the output from the pipeline to the local file folders. This can help developers to verify the interfaces that have been migrated to XI , to compare the out put results generated in XI with the original output captured using existing middle ware solutions.
Could anyone help me out this UrgentHi Experts,
all we need to do is call the pipeline directly using plain http adapter using (SIN) and get the output from the pipeline to the local file folders. This can help developers to verify the interfaces that have been migrated to XI , to compare the out put results generated in XI with the original output captured using existing middle ware solutions.
Could anyone help me out this Urgent -
How to send XML file into XI using sender HTTP adapter
I am using HTTP sender adapter to post the XML file into XI. I tried to form the URL by using the following String query , but I am unable to execute file.
String urlString = "http://<servername:portno>/sap/xi/adapter_plain?namespace=<namespace>&interface=<interface name>&service=<service name>&party=&agency=&scheme=&QOS=BE&sap-user=xiappluser&sap-password=satyam&sap-client=100&sap-language=EN";
How can I execute xml file by using HTTP sender adapter.
Any one with better suggestions, about this idea?
Thanks in advance for all.
Ram RajHi
Just use the following parameter to send xml file using HTTP adapter.
"http://xiserver:8000/sap/xi/adapter_plain?namespace="senderNamespace"&interface=senderinterface&service=sender service";
"&party=sender party"&agency=&scheme=&QOS=BE&sap-user=userid &sap-password=password&sap-client=100&sap-language=D";
with the help of this you are able to point out which interface you would like to use.
And in payload pass the xml.
and thats it
carry on
Cheers
Regards
Piyush -
ERD not determined while using plain http adapter as Sender
Hi All,
ERD is not determined while using Plain Http Adpter as Sender.Is there any way to determine ERD table by using Http adapteras Sender?
Regards,
RajeshAre you doing synchronous scenario???
if yes should have leaving the value for the Software Component Version empty for Receiver determination .
/people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
/people/jin.shin/blog/2007/12/11/sap-netweaver-process-integration-enhanced-receiver-determination-for-synchronous-scenarios -
Hi experts,
We have the following scenario: ABAP PROXY -> XI -> HTTP
We must send several parameters, in XML format, to the HTTP destination (something like http://abc.com.br/xy/ml). The expected parameter in the HTTP server is names ParXML. Anyone got an example of that.
Thanks,
HaroldoPlease Refer following links...
http://help.sap.com/saphelp_nw2004s/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
/people/siva.maranani/blog/2005/09/15/push-data-to-mvc-architectured-application-using-xi
Http response in XML format
HTTP Adapter - xml format ?
Venkat. -
Error using XI HTTP adapter specific message attribute URL parameters
Hi XI gurus, in our XI 7.0 SPS11,
we have problem using URL parameters of plain HTTP receiver adapter.
If I set Adapter specific message Properties in communication channel and activate switch for Apply URL parameters (using Parameter 1 to 5) filling them using message mapping, we have no effect; instead we have error "Dynamic Header - Missing Message Attributes: Fields/Parameters".
We carried out this test:
1. not using adapter specific message attribute and setting
a static URL target with fixed parameters it runs correctly.
2. using adapter specific message attribute for target
URL and URL parameters both doesn't runs correctly.
3. using adapter specific message attribute only for target
URL doesn't run correctly.
These attribute key used for URL parameters:
URLParamOne
URLParamTwo
URLParamThree
URLParamFour
URLParamFive
Namespace: http://sap.com/xi/XI/System/HTTP
Can you solve this issue? Are there oss notes, corrections, ...
Thanks in advance.
Marco TricaseSome other test done with TCP gateway.
Activated adapter specific message properties for
*URL
*HTTP Header fields (one header field named "lisca")
*URL Parameters (one param named "objectType")
The HTTP message catched by TCP Gateway
POST /csl/cslinker HTTP/1.0
content-type: text/xml; charset=UTF-8
content-length: 318
connection: close
accept: /
user-agent: SAP Web Application Server (1.0;700)
host: 10.10.43.94:54000
accept-encoding: gzip
<?xml version="1.0" encoding="UTF-8"?>
seems nothing has been generated, and obviusly URL and params have been set in message mapping.
Hope some guru has been solved the issue ...
Pasquale Rossiello -
Building arguments of URL when using HTTP Adapter
I am using the HTTP adapter in one of my interfaces and need to call an url that has arguments. For e.g.
http://dpw6716.roseville.mycompany.com:8058/accelis/servlet/publish?type=create&ItemId=1018&Name=Harshad&Desc=FromXI
In the above URL the <b>ItemID</b> and the <b>Description</b> are dynamic. Is it possible to build such dynamic urls and used in the http adapter configuration? if so how? Can context objects be used here for the dynamic part?
Thanks,
HarshadHi Harshad,
it is possible to build up dynamic URLs, but the way is quite complex. You have to configure a XI-mandant as "Application System" to use it as allocator. Your message will be received there in an inbound-proxy (ABAP), where you have to implement a dynamic WAS-Request (class CL_HTTP_CLIENT).
Regards Udo -
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 -
Error on Send Port configured using HTTP adapter
Hi All,
For Load balancing purpose we have created new host and host instance and changed send handler for send port configured using
plain HTTP adapter.
We are getting below error after change:
A password is mandatory if UserName is specified
Parameter name: Password
Please advice.
Thanks
Pooja Jagtap Software Engineer KPIT CumminsHave you updated the password for your Host instance . Try restarting your host instance once .
Thanks
Abhishek -
Consume webservice using HTTP adapter
Hi PI Experts,
Can we consume a webservice using a HTTP adapter?
If yes can anyone share some knowledge, how to do so?
Thanks & REgards,
KrishnaHi Krishna,
I think this can be done using FLEX.(not sure).
Ref: http://wiki.sdn.sap.com/wiki/display/EmTech/ConsumingABAPWebServicesusing+Flex
Thanks, -
PI 7.1 HTTP Adapter - overwritte Prolog dynamically
I use a HTTP Adapter to send XML Data via HTTP as form field. Therefore i use the prolog constant. Example: xmlfile=.... Now i need two new parameter (user and password) as post parameters. I can change to prolog like user=...&password=....&xmlfile=.. But in this case the prolog with the user is hard coded. in my scenaria the user and password should dynamically load from Message Mapping. The solution with the dynamic URL Parameter 1-6 could not be used, because this values are GET Parameters which are visible in der URI!
Is there a solution for post parameters dynamically via HTTP Adapter?The operation mapping aka Interface mapping's need not only use 1 single mapping.
In the interface mapping you can add multiple message mappings and / or other mapping programs.
The mappings get executed sequentially and the output of first mapping is input to second mapping and so on.
In this case, write a java mapping that will take the input as the output of your graphical mapping; add the prolog to this and make it the output of your Java Mapping and this is the final output of your Operation mapping!
Regards
Bhavesh -
HTTP Adapter and DUNS scheme - possible bug ?
Hi Folks,
I am using the HTTP adapter for posting an XML message which is then redirected towards IDOC adapter ... nothing special here ...
I am using the scheme 'DUNS' and agency '016' to pass along the partner identification when calling the HTTP adapter ...
The HTTP adapter tries to match the given partner information and finds the proper XI Party ... BUT ... it overwrites the DUNS number value with the XI Party but leaves the agency and scheme pointing to DUNS ...
An example
Going IN:
Party = 12345789, Agency = 016, Scheme = DUNS
After conversion
Party = MyPartner, Agency = 016, Scheme = DUNS
So the receiver determination works fine and then we go to the IDOC adapter when stuff goes into error as it cannot convert the given sender information into a proper IDOC partner ...
The whole thing works fine when I am passing along
Party = MyPartner, Agency = http://sap.com ..., Scheme = XIParty
then the IDOC is created and send towards SAP ...
I am thinking that the Sender determination in the HTTP adapter goes wrong as the combination
Party = MyPartner, Agency = 016, Scheme = DUNS
is clearly wrong ... Furthermore I have lost my original DUNS number ( so it cannot be used for example in mappings, etc ... )
Anyone had similar issues or problems with this ?
Regards,
Steven> I am using the scheme 'DUNS' and agency '016' to pass
> along the partner identification when calling the
> HTTP adapter ...
> The HTTP adapter tries to match the given partner
> information and finds the proper XI Party ... BUT ...
> it overwrites the DUNS number value with the XI Party
> but leaves the agency and scheme pointing to DUNS
Apply note 954645. This should solve the issue.
> Furthermore I have lost my
> original DUNS number ( so it cannot be used for
> example in mappings, etc ... )
The DUNS must be provided in the message payload as well.
Usually the party normalization is done by the adapters in a very specific way. So the RNIF adapter takes the DUNS out of the message payload of the RosettaNet message and does the party normalization with that DUNS.
In the HTTP adapter there is no need for a party normalization as you provide a URL for the HTTP client where you can add the party in the query string.
Regards
Stefan -
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?
Maybe you are looking for
-
I had an interesting dilemma today and I'm wondering if anyone here can illuminate on why this happened. I have a number of pools, including the root pool, in on-board disks on the server. I also have one pool on a SAN disk, outside the system. Last
-
String Index out of bound exception
I am trying to get substring from string. I have the following String var = "20051221032435" String var2 = var.substring(0,4)+"/"+var.substring(4,2)+"/"+var.substring(6,2)However, when i tried step by step run, it showed the first part (0,4) substrin
-
Hi, can anyone tell me where I can find a good stopwatch & countdown timer application for my N81? I'm looking for something which I could use for sport and I prefer it to be free Click on the Kudos Star, if you find my post helpful!
-
Aperture, Lightroom, Coolpix 5700, and Feature Sets
I have seen other posts regarding the lack of support for some Nikon NEFs taken with various cameras--the Coolpix 5700 being the camera I am having NEF problems with. It would be really nice if Apple would add support the DNG format for those cameras
-
Restart iphone 4s i odzyskanie hasla
WITAM MAM 2 PYTANIA - JAK MAM ODZYSKAC HASLO DZIEKI KTUREMY MOGE ODDTWORZYC IPHONA 4S PRZEZ ITUNSA? - CHCE WYWALIC WSZYSTKO Z IPHONA CZYLI ZROBIC RESET WSZYSTKIEGO I NASTEPNIE CHCE TYLKO POBRAC SAME KONTAKTY ZAPISANE W CHMURZE. JAK MAM TO ZROBIC?