on 12-31-2014 3:20 AM
Hi Experts,
We had a requirement to extract data from exchange rates URL and post it to ECC.
For this we are using a UDF to connect to the URL and extract the data in the message mapping.
We implemented new firewall rules for dev, quality and prod with help of network team to establish connection between SAP PI systems and external URL.
This is working fine and we are able to connect and extract data in our dev and Quality system.
Recently we moved the code to prodcution and we get connection refused error in message mapping.
We provided the ip address of the systems for the firewall rule. Network team provided the log where there is entry for prodcution ip to connect with the URL ip.
But still we are not able to connect from prodcution and message is failing. It is still working in dev and quality.
Can you please throw some pointers on this. Will there be any extra protection for prodcution system?
Hi Pavi,
Can you confirm from destination end,whether they have allowed your IP to talk to there server.
Regards
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pavi,
What kind of lookup are you using in the message mapping, SOAP, RFC?. Check the connection parameters are the rights for the production environment.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This the UDF used for the extractign the XML from the external link
try{
URL url = new URL("<Ex rate URL>");
URLConnection yc = url.openConnection();
BufferedReader in = new BufferedReader(new InputStreamReader(
yc.getInputStream()));
String inputLine;
while ((inputLine = in.readLine()) != null) {
output = output + inputLine;
}
in.close();
} catch (Exception e){
Error log from test tab in message mapping:
Start of test
Executed successfully
End of test
Hi,
What is the error you are getting ?
Thanks,
Sudhansu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please check if there is extra security layer for production web service. like certificate etc.
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
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.