Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hello everyone,
I'm trying to connect TWX to SAP and have been able to correctly validate the connection. What I'm having issue with is accessing the metadata.
The address that I got from the customer is correct, I can directly access it through chrome or edge.
But when I try to run the GetEndpointList, it returns me the following error:
2023-03-03 11:12:47.497 [ClientProcessor-4] ERROR c.t.i.r.o.MetadataTransformer - Failure processing metadata for root /sap/opu/odata/sap/API_BILL_OF_MATERIAL_SRV/ and serviceRelativePath with exception: Internal error accessing metadata references
2023-03-03 11:12:47.498 [ClientProcessor-4] ERROR c.t.i.r.IntegrationEngine - Exchange process failed with exception thrown : Your route exchange has failed. Resource Error [Internal error accessing metadata references]
java.lang.RuntimeException: Your route exchange has failed. Resource Error [Internal error accessing metadata references]
The address the customer gave is: https://xxxxxxxxxxxxxxxxx/sap/opu/odata/sap/API_BILL_OF_MATERIAL_SRV/$metadata
This is my HTTP connector settings.
wonder if there's something to do with the SAP node within ODATA?
In the hands-on tutorial it uses the /opu/odata/IWBEP/...... instead of /opu/odata/sap/.....
Would that make a difference in the connection?
Thanks!
Article - "GetEndpointList service on SAPODataConnector fails with error "Your route exchange has failed. Resource Error [Internal error accessing metadata references]" in ThingWorx": https://www.ptc.com/en/support/article/CS362945
Discussion - "SAP OData Connector - ERROR c.t.i.r.IntegrationEngine": https://community.ptc.com/t5/ThingWorx-Developers/SAP-OData-Connector-ERROR-c-t-i-r-IntegrationEngine/td-p/682165
I've looked into both... The urls are correct and I don't have network issues.
Hello,
I'd suggest checking what https://xxxxxxxxxxxxxxxxx/sap/opu/odata/sap/API_BILL_OF_MATERIAL_SRV/$metadata actually returns, e.g. if all URLs are correct in the response.
/ Constantine
Hi Constantine, I've done that... It returns the metadata correctly.
It's something SAP related, I think it's some kind of configuration on the SAP side