Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Hi , TW Community
I'am trying to integrate SAP to TW , I did ( Runtime integration webservice) without any issues , than I configured SAP Credentials to the Thing but when I want to create an API Map I got this error !!!
where can I get the Mapping ID ?
BR
Solved! Go to Solution.
Thanks Barko ,
Good News , problem solved it was in the URL's and Endpoints (Misconfiguration)
The “Your route exchange has failed” message is generic and means something about your connection or request is not right. Frequently it involves the authentication method you are using. There is usually more information in the webserver logs on the target side (example: access.log and error.log in Apache Httpd webserver).
The “Internal error accessing metadata references” is an issue on the Resource Provider (SAP) side. You may need to follow up this message with your SAP administrator. In a similar case involving Windchill as the Resource Provider, the case was transferred from Navigate to Windchill and the Windchill team recommended reinstalling REST services on Windchill.
You have to go through the logs to find more information about what happened. I have no access to SAP, so I can’t be more specific than that.
Thanks again barko ,
this is the log message from the runtime service
as you see above, the "sap" as a mapping ID causes this exception,
I don't know what do I type in mapping ID field, do you think that this issue is related to SAP?
IntegrationRuntime establishes the connection between the ThingWorx server and the Resource Provider server (in this case, the server that runs SAP). From the details in the stack trace, the system cannot get a DNS resolution to the hostname “sap”. While you might get by this particular error by adding the name sap with the IP address of the SAP server to the Hosts file, it would be best practice to use the FQDN of the server in the configuration, wherever the hostname is used for a URL.
Thanks Barko ,
Good News , problem solved it was in the URL's and Endpoints (Misconfiguration)