on 08-22-2007 3:57 PM
Hello Experts,
I'm very new at XI.
I wanna make synchronous interface from "ABAP proxy" to "HTTP Plain web site"
The URL is like
http://www.xxx.com/search?key=xxxxx&query=news&target=rank
It has three URL parameters key, query and target which are dynamic.
How can I pass URL parameter value from ABAP proxy?
Pass the Key , Query and Target as a part of the Payload from the ABAP proxy and then use Dynamic Configuration to create the HTTP URL Dynamically inside your mapping.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Bhavesh,
Can you explain more detail?
Especally for, Payload XML structure and How to configure communication channel.
I'm looking at
http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
However, have no idea how to configure it.
Hi,
In the message mapping you will need to write a UDF to create the HTTP URL.
In the Receiver Adapter you will need to select Adapter Specific Identieifers.
The code to be used to set the URL dynamically in the mapping will be,
DynamicConfiguration conf = (DynamicConfiguration) container
.getTransformationParameters()
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create(
"http://sap.com/xi/XI/System/Http",
"TargetURL");
conf.put(key, "URLVALUE");
}
Regards
Bhavesh
I found out SAP online document is not correct for URL parameter.
http://help.sap.com/saphelp_nw70/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
● If you want to use URL parameters, choose Apply URL Parameters and enter the parameters in the fields Parameter 1 to Parameter 6. The parameters are embedded in the HTTP request under the names you enter here.
The technical names of the fields are URLParamOne, , URLParamSix.
URLParamOne is not working. Correct technical name is UrlParamOne
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.