Skip to Content

SAP Integration with ThingWorx

Hi Developers,

I'm trying this SAP Hands On Tutorial on Thingworx 8.0.1-b39. I have a SAP Gateway - Demo System (ES5) and my account have access to "https://sapes5.sapdevcenter.com/sap/opu/odata/IWBEP/GWSAMPLE_BASIC/". I have the integration runtime properly configured and running.

In Step 3 the following are the parameters i have given (the username and password are properly given not as shown below):

  • Generic Connector Connection Settings
    • Authentication Type =fixed
  • HTTP Connector Connection Settings
    • Username = <SAP Gateway user>
    • Password = < SAP Gateway pwd>
    • Base URL : https://sapes5.sapdevcenter.com/sap
    • Relative URL :/opu/odata/IWBEP/GWSAMPLE_BASIC/
    • Connection URL :/opu/odata/IWBEP/GWSAMPLE_BASIC/$metadata

The following are the errors i observed :

  • ValidateConnection

    StatusMessageConnectorTemplateFailed Check logs for more detailsSAPODataConnector
  • GetEndpointList

    [context: com.thingworx.webservices.context.HttpExecutionContext@52e3b401][message: Unable to Invoke Service GetProductSet on ptc-SAP-OData-connector : Your route exchange has failed. Resource Error [Connect to sapes5.sapdevcenter.com:443 [sapes5.sapdevcenter.com/155.56.38.41] failed: Connection timed out: connect]]

I'm suspecting the error is with this port sapes5.sapdevcenter.com/155.56.38.41because i tested this URL ("https://sapes5.sapdevcenter.com/155.56.38.41") in the browser and it returned "HTTP 404 - Not found" page.

Could you please point out where i might be going wrong.

Regards,

Saran

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 15, 2018 at 06:03 AM

    Hi Andre Fischer,

    Thanks for your reply. It seems that the URL was blocked by our internal network. So i tried the same from an outside network and got the expected result. I'll also try the URL you suggested.

    Regards,

    Saran

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 12, 2018 at 12:27 PM

    The relative URL you are using is wrong.

    Check out this link:

    https://sapes5.sapdevcenter.com/sap/opu/odata/iwbep/GWSAMPLE_BASIC/ProductSet?$format=xml

    It is

    /sap/opu/odata/iwbep/GWSAMPLE_BASIC/

    not

    /opu/odata/IWBEP/GWSAMPLE_BASIC/

    Regards,

    Andre

    Add comment
    10|10000 characters needed characters exceeded