cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Integration with ThingWorx

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

saran94

Even I'm facing similar issue, can you brief me how did you fix this.

Regards,
Bhavya

Former Member
0 Kudos

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

Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

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