Skip to content

Failing to access WSDL #2

@dsmorris85-SFDC

Description

@dsmorris85-SFDC

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 ---

  1. Download current source code
  2. Run app on Heroku
  3. Setup Salesforce Connected App, and link it to Heroku
  4. 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.

screen shot 2016-07-08 at 23 00 49

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions