-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
Description
Receive the following error when attempting to access Canvas App from Salesforce:
Failed to access the WSDL at: file:/tmp/build_ada2c53c8bd4854f664bb492af739e64/src/main/resources/toolingapi.wsdl. It failed with: /tmp/build_ada2c53c8bd4854f664bb492af739e64/src/main/resources/toolingapi.wsdl (No such file or directory).
--- Steps to replicate ---
- Download current source code
- Run app on Heroku
- Setup Salesforce Connected App, and link it to Heroku
- Upon encountering errors on Canvas.jsp, perform following steps to make compatible with java 1.7:
- Add a new file called ‘system.properties’ to the root dir, with this line in it: java.runtime.version=1.7. This tells Heroku to operate on java 1.7 rather than it’s default 1.8
- In the ‘pom.xml’ update Java to “1.7”
- In Heroku add an environment setting ‘CANVAS_CONSUMER_SECRET’, which matches the Salesforce connected app secret.
- Once step 4 completed, attempt to access Canvas App from with Salesforce, and observe attached error.
