Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
Access to was denied when trying to access Spotfire Public Web Services WSDL
Solution:
When accessing the TIBCO Spotfire Server Public Web Services API's WSDL you may receive the following error ,
For example http[s]://<tss_host>[:<port>]/spotfire/ws/pub/<ServiceName>?wsdl or http[s]://<host>[:<port>]/spotfire/api/soap/<ServiceName>/wsdl
Access to <spotfire-server ip> was denied You don't have authorization to view this page. HTTP ERROR 403If you open the Developer Tools [F12] in the browser, you can see the following error in the console tab:
Failed to load resource: the server responded with a status of 403 ()This error occurs if the Public Web Services API is not enabled on the Spotfire server
To resolve the issue the Web Services API must be enabled.
To do this, export the server configuration from the database, run the config-web-service-api command to enable web services, and import the updated configuration to the database. See the "Enabling the Web Services API" documentation reference for more details. On the command line, go to the <server installation folder>\tomcat\bin directory, and run the following commands:
For Spotfire 7.12 and earlier:
- config export-config --force
- config config-web-service-api --enabled=true
- config import-config -c "Enabled the public Web Service API"
Note: All user accounts that are going to use the API must also be members of the API User group.
For Spotfire 7.13 and after:
- config export-config --force
- config config-web-service-api --soap-enabled=true
- config import-config -c "Enabled the public Web Service API"
- https://docs.tibco.com/pub/spotfire_server/7.11.0/doc/html/TIB_sfire_server_tsas_admin_help/GUID-EDEC3041-B238-4FEC-930E-EFF885B26E43.html
- https://docs.tibco.com/pub/spotfire_server/10.3.0/doc/html/TIB_sfire_server_tsas_admin_help/GUID-EDEC3041-B238-4FEC-930E-EFF885B26E43.html
Comments
0 comments
Article is closed for comments.