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 AM
Thanks 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,
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
-
Stored procedure : how to call SP in sender JDBC adapter for mysql
HI friends ,
we have JDBC---->XI--
>SAP scenario. For some business requirement, we have to call STORED PROCEDURE , please let me know how to call SP in sender JDBC adapter for mysql .
Thanks
mojibHi Mojib,
Please create a sample stored procedure like this which contains select statement and in communication channel give
wite stored procedure name only to sql query statment and in update statement write <test>.
I am executing this stored procedure successfully.
Create Proc GetResultX As
Begin
Select * From TESTX
End
Execute statement for stored procedure is :
Exec GetResultX
Regards
Laxmi Bhushan Jha
Rewards point if found usful
I have given same answer to one of the same thread -
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 detailsHi 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. -
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 -
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 -
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 -
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 build the "Path Prefix" HTTP Adapter at run time
Hi All,
I have a scenario wherein I have to call the HTTP Url of a thiird party system from R/3 via PI.
The third party url looks liike this:
http://gis/ias/cgi-bin/siscgi.exe?request=batch&command=<requests><request><name>sis_neighbouring_knos_for_sambandh_service</name><buffer>20</buffer><same_premise_kno>123</same_premise_kno><l
eft_kno>331</left_kno><gis_id>4019589</gis_id><priority>same_premise_kno,left_kno,right_kno,gis_id</priority></request></requests>&user_name=sambandh.sias&pa
ssword=sambandhsias
I have successfully created a HTTP Recevier comm channel and provided the following in the "Path Prefix"
/ias/cgi-bin/siscgi.exe?request=batch&command=<requests><request><name>sis_neighbouring_knos_for_sambandh_service</name><buffer>20</buffer><same_premise_kno>123</same_premise_kno><l
eft_kno>331</left_kno><gis_id>4019589</gis_id><priority>same_premise_kno,left_kno,right_kno,gis_id</priority></request></requests>&user_name=sambandh.sias&pa
ssword=sambandhsias
But If I need to pass the values inside the xml tags specified above e.g. "name" at run time, How do I do that?
I have explored the "Apply URL Parameters" option in the HTTP Comm channel but it has fixed names for the HTTP URL parameter.
Please let me know how is this possible hopefully without a UDF
thanks,
PiyushHi Piyush,
Have you checked the option of ASMA of the adapter?
http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
Also see Note 1101338 - Dynamic configuration of HTTP adapter
Regards
Suraj -
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 -
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 -
How to filter emails using sender email adapter
Hi,
Does any one know how to filter emails of mail server using Sender email adapter(POP3 protocol ) in PI .
To make it more clear let us assume that there are 10 emails in the email server then 3 emails should be fetched for Interface A , 3 emails Should be fetched for Interface B and remaining 4 emails should be ignored and left in the email server as it is , the reason for this is that it is not related with the Interface A or Interface B. Any suggestion or solution will be much appreciated.
Thanks & Regards
PrabhatHi,
I guess you didnt get my requirement clearly. My requirement is how to filter emails from email server using sender Email adapter in POP3 protocl and pass it to relevant Interface.
For ex: suppose email no.1 is related to Interface A then it should go to Interface A
or email no. 2 is related to Interface B then it should go to Interface B
or if email no. 3 is junk mail then it should avoid deleting that email and leave that email as it is
The problem/challenge here is that email adapter of Interface A or B reads it first and deletes the email message so it is not available for the Interface A or B.
So I just want that sender email adapter should filter it before deleting email from the email server.
Can you provide some solution for this?
Thanks & Regards
Prabhat -
How to make call to Sender Soap Adapter using HTTPS with Client Aut
Hello everyone, I have spent some time trying to get this to work. We downloaded a trail certificate from SAP and installed it on our machine and I created a webservice that works great. I tested the HTTPS without client authentification and it works great, as soon as I change it to use with Client Authentification I can't get it to go through. I am using Soap Sonar to test the certificates. To get the certificate I called the url with firefox then saved the certificate in my trust store, from there I import it to soap sonar as a signed certificate, but I am getting the error <Exception>Object contains only the public half of a key pair. A private key must also be provided.</Exception> I assume I am doing something way wrong, is there a way to get the certificate with both public and private key pair, or a way to test this that I can't seem to find in documentation or blogs?
I def award points
Cheers
DevlinHi
I think This link is useful to u
http://www.sapag.co.in/SAP-XI-SOAP-Adapter-FAQ'S.html
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f9cd4
Thanks
Santosh -
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
Maybe you are looking for
-
ITunes is telling me I have 4658 songs and my Ipod is telling me I have 4656. I have synched syched it up and it is still showing a difference. How can that be? compaq Windows 2000
-
So reading on line docs as well as DreamWeaver Bible leave out one convention when instructing how to make a record set. Dreamweaver is writing record set code to whatever page is active and you have to have one page active to access server behavior
-
X-Plot Channel 1 vs. Channel 0 in Signal Express
Hello All! This is probably obvious, but I have not been able to find it. I am trying to use signal express to record 2 differential analog imputs in a DAQ device (NIDaqMX). I have differential Channel 0 and differential Channel 1. I can record chann
-
Displaying/Listing Individual Episodes of Podcast
Hi -- Is it possible to list/display INDIVIDUAL EPISODES of a Podcast in my iTunes library? THANKS for any help!
-
I am trying to order a printed photo book but when I type in my details my telephone number is rejected as invalid. I have ordered books previously with no problem. Any suggestions?