rest-api-samples
rest-api-samples copied to clipboard
exception on initialize doesn't print completely
see exception handling here https://github.com/tableau/rest-api-samples/blob/master/java/src/com/tableausoftware/documentation/api/rest/util/RestApiUtils.java#L129 we put exceptions into the variable 'ex', but on the next line where we send the exception string, we don't include the variable to print the specific exceptions that were caught.
After downloaded the git code. 1.download the right xsd xml according you tableau server. https://help.tableau.com/v2020.1/api/rest_api/en-us/REST/rest_api_ref.htm 2.replace classes under binging package. generate new complex type Java Classes use java xjc command. i think the root cause is that git complex type classes are not match the xsd. you may try it.