Sender HTTP Adapter working intermittently
HI ,
My scenarios is HTTP->XI.>ECC,
Sender HTTP Adapter is working intermittently some times data is not reaching to XI though it sent successfully from Source.
We are unable to find the logs in XI where this data went.
This interface is working fine in PI 7.1 and now in migration to PI 7.3 ( have Two application server dispatcher model) this interface is working intermittently .
Please provide any inputs on this intermittent issue for sender HTTP adapter.
Data sent successfully from source side and no message is received to XI MONI. Please guide me where can I check for the logs and error details
Hi Krishna,
If your PI is dual stack and you are not using the http_aae you can trace the http in the ABAP stack. Go to smicm transaction and set the trace level to 2 or 3.
In Quality system you can talk with your sender client in order to prepare a set of requests in oder to find out if the requests are reaching to PI or not and what exception could be.
hope this helps.
Regards.
Similar Messages
-
PI Sender HTTP adapter restricting access by IP
We have a web service hosted on PI and we would like to limit access to this web service to only one web service client application. This is a high volume interface and not particularly sensitive data so we are not really looking for the SSL overhead. Is there any way other than SSL or using the HTTP logon procedure of AS-ABAP to restrict access to this web service? For example, can we specify anywhere on the AS or in the configuration of the PI Sender HTTP adapter that only requests from a certain IP addresses be processed?
If you do not care about security then pass some basic authentication in the form of userid and password in either the header fields or in the url parameters. These could then be authenticated in the Web Service - though this is not ideal
-
Sender HTTP Adapter User Authorizations
Someone knows what are the authorizations that must have the user used in a Sender HTTP Adapter?
Hi,
User must have role SAP_XI_APPL_SERV_USER on Integration Server.
This will give you more Idea
http://help.sap.com/saphelp_nw2004s/helpdata/en/ca/fafaf6dbc8b240b1cf4a88c40379b2/frameset.htm
Regards
Agasthuri Doss -
Hello Gurus,
we have a synchronous XI from HTTP Sender adapter to RFC. The user of the interface would like to call it using the plain HTTP adapter with HTTPS. When we use the http port with the XI user/password as part of the url, it works OK. When we switch to the HTTPS port the interface does not provide a response. When we call the https url directly in Internet Explorer we get a pop-up requesting the user/password. Once
this is entered the interface works OK until the ie session in closed.
So can you please tell me what might be d problem?
If i m calling it from http client it is not giving me response, and if m calling it directly then also it is asking for user id and password.
Any help is appriciated.
Thanks,
HetalThanks Swarup.
I already have configured SSL.
But how i can make sure that what i need to use and how can i specify from below :
HTTP with SSL (= HTTPS), but without client authentication
HTTP with SSL (= HTTPS) and with client authentication
Which i need to use?
And if what shold be the url for that?
right now m using url like :
https://hostname:httpsport/sap/xi/adapter_plain?namespace=xyz&interface=xyz&service=xyz&party=&agency=&scheme=&QOS=BE&sap-user=xyz&sap-password=xyz&sap-client=xyz&sap-language=EN
Can you please tell me how i have to specify that as we do not configure HTTP Sender adapter?
Thanks,
Hetal -
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 -
Sender http adapter - decoding (URL unescape)
PI 7.0
Incoming http request in XI is URL decoded. Currently I am using java mapping to decode it. Is there a way to set any adapter specific properties in sender http adater so that I can avoid the java mapping for decoding. Or any settings in SICF? In other words, how can XI handle encoded http requests?
When XI makes a external http request, I can set a property "Mask Special Charcters (URL Escaping)" in the receiver http adapter. XI will make a encoded http request, meaning the xml will encoded in UT-8.Hi Ted,
I'm currently trying to do something like that, but not yet totally successed with a base64 encoded payload.
Here two documents that I really find interresting:
How to Configure Message Level Security in SAP Exchange Infrastructure 7.0
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d024ca8e-e76e-2910-c183-8ea4ba681c51
How to handle unstructured source contents for Adapters (with Java mapping or with Module)
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/482aae19-0301-0010-3485-8efd618818d0
if you find others... I'm ok to know it also
Cheers.
Mickael -
Regarding encryption/decryption in sender HTTP Adapter...
Hi experts,
I have a doubt that ... is there any possible ways to encrypt/decrypt the username, password using sender side Plain HTTP adapter.
Regards,
Sasitharanhi
You can use those adapters to define transport level security(HTTPS/FTPS) and message level security (encryption).
hi check this thread for refernce:
How to use the Private/Public Keys from the Key Store
Also check this document on encryption in adpaters:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/482aae19-0301-0010-3485-8efd618818d0
Check security settings section of this page:
http://help.sap.com/saphelp_nw04/helpdata/en/da/7a2f41b239a831e10000000a1550b0/content.htm
Check thiss blog as well:
/people/varadharajan.krishnasamy/blog/2007/05/11/how-to-use-digital-certificates-for-signing-encrypting-messages-in-xi
regards
chandrakanth -
Is there a way to avoid a customer to send to xi the complete following URL in order to use Sender Plain HTTP adapter
https://myserver:443/sap/xi/adapter_plain?namespace=http://mynamespace&interface=myInterface&service=SERV_B2b&Party=MyCustomer&qos=EO&sap-user=piappluser&sap-password=password&sap-client=310&sap-language=EN
How can we hard code URL paramtres that are constant for process like Interface name... ?
The goal is to provide a reduced URL to call.
Thanks a lot for your help.
Jean-Charle
Message was edited by:
Jean-Charlesno its not possible to hard code HTTP URL somewhere.
in order to reduce the length of URL what you can do is that you can shorten the names of all the objects like interface name,business system,party etc.
for e.g instead of calling the interface as <i>myInterface</i>,you can call it <i>MI_1</i>,
similarly you can shorten the length of all the objects thereby shrinking the whole URL length.
its a dirty workaround but would shorten the URL length
Thanx
Aamir
Message was edited by:
Aamir Suhail -
Hi,
I have been working with SOAP sender / receiver adapters.. Now I am working on a new scenario where I am developing scenarios from and to HTTP servers.
1. I use http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel URL to call PI from web server using SoAP adapter. sap help suggests to use http://<hostname:port>/<path>?<query-string> for calling PI from HTTP server... Can someone tell me in detail what is path and query string values to call PI?
2. I use soap sonar or soap UI to call PI using these web services. IS there any equivalent tool to test HTTP - PI communication? If yes can I do that with the WSDL?
3. While sending messages from PI to HTTP box, there is 404 not found error message.. But when I logged onto the target server, the URL seems to be right. I know it is not trying to find the correct resource. Plese throw some light on how do I validate the URL?
THanks,
~NAll,
Please help me test my latest version, which is released as Beta.
SAP PI HTTP Client 3.0
Regards,
Vikas -
How to shorten URL of Sender Http adapter?
Hi,
in a HTTP-BPM-R3 scenario I have given the below adress to a 3rd party application which is goiing to trigger BPM:
http://<server>:<ABAP-port>/sap/xi/engine?type=entry&version=3.0&Sender.Service=<YourService>&Interface=<YourNamespace>%5E<YourInterface>&sap-user=XXXX&sap-password=XXXX&QualityOfService=ExactlyOnce
However they say that their tools doesnt allow to enter more than 127 char as URL. So they asked me to shorten it. Is it possible?
Of course I can shorten ns,interface, user, pass length (and by using synch interface the last part can be chopped off) but I wonder how to get rid of "&version=3.0" or user/password for a specific interface. Or is there any other solution inside PI like in ICM or somewhere defining a URL mapping/routing and converting a tiny URL to URL above?
PI: nw2004s SP20.
Any help will be appreciated...
Best Regards,
Edited by: FIT CONSULTANT on Jul 17, 2010 9:31 AMThanks guys,
My problem is not resolved (I did not try the dispatch configuration) I shortened the URL by shortening the namespace. Now I have a different problem thread:
Http sender without SOAPAction
Regards, -
Http adapter-sender side error in communication
Hi,
I have configured the sender http adapter in the test enviroment
and i did some test using a test tool
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
The test was a success . I used a url:
http://sapxid:8000/sap/xi/adapter_plain?namespace=urn%3A/RepairJobCAp_SapInbound&interface=MI_RepairJobC&service=BS_CRM&party=&agency=&scheme=&QOS=EO&sap-user=xiappluser&sap-password=XIPASS&sap-client=001&sap-language=EN
When i did the test with the real tool of the sender system it failed , and the only sign was the log in window of the XI WAS with the user name of xiappluser .It seem that failed to log in , the password it is ok as it works with the test tool. Do you have an idea what it could be ?
Best Regards
Antonishey
could you please post the URL to which the actual sender system is pointing to(the URL to which it is sending the message to XI)
also use TCP gateway to monitor the sender HTTP
/people/stefan.grube/blog/2007/03/29/troubleshooting-soap-http-and-mail-adapter-scenarios-with-tcpgateway
Thanx
Aamir -
HTTP Adapter - Problem sending message to XI.
Hi,
We have configured a scenario in IR and ID for the HTTP -> XI -> RFC message flow. We have created all the configuration objects (Receiver determination, receiver agreement, interface determination) in ID except the Sender Agreement (There is no Sender HTTP Adapter). So to trigger this interface we are sending the message to the following URL using a client HTML page.
http://IPAddr:8000/sap/xi/adapter_plain?namespace=http://sap.com/xi/XI/TestPOC/r3&interface=MI_File_RFC_WeyPOC&service=SourceBS_XI&QOS=BE&sap-user=J2EE_GUEST&sap-password=JGUEST&sap-client=001&sap-language=EN
After submitting the contents in HTML page, it is asking us SAP Web Application Server user id and password. Which user id shall we give here. We have tried giving the J2EE_ADMINISTRATOR user id and it's password but it gives "the requested resource does not exist" error messgage.
How to resolve this problem ?
Thanks and Regards,
Lalit.Hi Lalit,
try the xiappluser or a copy of it, like Sudhir said.
But there is something else...
You must code special characters such as forward slash (/), hyphen , period (.), or colon ( with escape characters (for example, %2F for /, %2D for -, %2E for .,and %3A for :).
( http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm )
Yours,
Thomas -
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 -
Using extra attributes in plain Http Adapter
Hi All,
I am using a Plain HTTP Adapter to send messages to XI. This is working fine but i'm facing a problem with HTTP variables.
I need to send a flag as an http variable that identifies the message as a new message or not. It's important for me that this variable is reachable in the Receiver Determination so i can create a routing rule based on that. I've read this help from sap (<a href="http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm">Configuring the Sender Plain HTTP Adapter</a>), but i couldn't find a place to set the "Adapter-Specific Message Attributes".
Thanks a lot for any help.
Regards,
Leonardo Tayt-sonIn your Sender HTTP Adapter, check out for "Adapter-Specific Message Attributes" section (usually, it's the last section). Mark the "Use Adapter-Specific Message Attributes" checkbox. Then, mark "Apply URL Parameters" checkbox and enter a name for Parameter 1 (for example, New).
Then, your incoming http URL shoud be something like http://<application_hostname>?New=true .
And in your receiver determination, go to condition editor for each Business System, and enter expression editor for left expression. Check "Context Object" and select "URLParamOne" parameter from "http://sap.com/xi/XI/System/HTTP" namespace. For the right expression, use the value you want.
Them you can use your condition like
If (URLParamOne = true) send to BS 1
If (URLParamOne = false) send to BS 2
Regards,
Henrique. -
HI we are currently integrating a http to rfc connection with the URL in the format of
http://sdn.sap.com?name=Joe&country=India
we want to pass the url parameters name and country to a rfc in sap but we are having difficulties using the apply URL Parameters on the sender http adapter when it comes to message mapping. can you give a sample xml that will be generated when we received the said URL and how we can map these on the receiver RFC. Thank you in advance'Hello,
we want to pass the url parameters name and country to a rfc in sap but we are having difficulties using the apply URL Parameters on the sender http adapter when it comes to message mapping.
You need to tick ASMA and then under apply URL parameters your entry should be like this:
Parameter1 name
Parameter2 country
http://help.sap.com/saphelp_nwpi71/helpdata/EN/43/64db4daf9f30b4e10000000a11466f/content.htm
And then retrieve the name and country via dynamic configuration in message mapping using the technical name specified by SAP Help above
DynamicConfiguration conf = (DynamicConfiguration) container
.getTransformationParameters()
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey name = DynamicConfigurationKey.create(
"http://sap.com/xi/XI/System/HTTP","URLParamOne");
DynamicConfigurationKey country = DynamicConfigurationKey.create(
"http://sap.com/xi/XI/System/HTTP","URLParamTwo");
String uName = conf.get(name);
String uCountry = conf.get(country);
PS: You cannot test dynamic configuration in ESR. You have to do at least the HTTP to PI testing on your part to see if your config works.
Hope this helps,
Mark
Edited by: Mark Dihiansan on Apr 7, 2011 7:27 AM
Maybe you are looking for
-
HI Everyone! I try to deploy my web dynpro project to SAP J2EE engine. Configuration about SAP J2EE Engine is OK, but there is an error during the deployment. Here is the deployment trace: 2007-6-28 14:56:27 /userOut/daView_category (com.sap.ide.
-
Abrupt change of display-color after sleep
I POSTED THIS IN THE iMAC DISPLAY-SECTION OF DISCUSSIONS BUT NOBODY REPLIED: After I wake up my iMac 27, after it was in sleep-mode for some hours, colors look different for less then a second (warmer), then it changes to something more cold/bluish.
-
Restarting, deleting tv shows, and auto-sync
i have 3 questions.... 1 - my tv seems to be restarting quite often. my tv is left on all the time, when i leave i just turn my tv off. recently, it seems when i turn my tv on my tv restarts. also, i don't know if this has anything to do with this
-
Hi all, I have a 2 structures used in the query. Also have some input parameters to bring the query result. Suppose if data is not there in the cube as per the input parameters then query wll not bring any result. but if i want those structures to be
-
Request : BIOS for EX628 to swap Fn and Ctrl key please
BIOS BUILD A1674IMS, Ver1.OV, 11/04/2009 EC BUILD 1674EMS1 Ver4.23, 09/15/2009 thanks