Add soft type to Windchill Rest Services (WRS)
I tried following this Extending Product Management Domain to Add A Soft Type which seems pretty straightforward... however if I put anything there ($WC/codebase/rest/custom/domain/ProdMgmt/v5/entity/), even a completely empty .json file, the Rest Services api page will error and spit out some un-formatted HTML:
500 : <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>Windchill Error</title> </head> <body> <!-- General purpose Windchill error page, /wtcore/error.jsp --> <h1>Windchill Error</h1> <p style="font-size: large"> Contact your administrator for assistance. Information for their reference follows. </p> <table> <tbody> <tr><td colspan="2"><hr /></td></tr> <tr valign="top"> <th align="right" scope="row">Request Id: </th> <td>4eiigk7l;kvjyingz;15792;zianvk;18726</td> </tr> <tr valign="top"> <th align="right" scope="row">Request URI: </th> <td>/Windchill/netmarkets/html/wrs/odata-to-swagger.jsp</td> </tr> <tr valign="top"> <th align="right" scope="row">Query String: </th> <td>v=5&d=ProdMgmt</td> </tr> <tr valign="top"> <th align="right" scope="row">Status Code: </th> <td>500</td> </tr> <tr valign="top"> <th align="right" scope="row">Exception: </th> <td> java.lang.NullPointerException </td> </tr> <tr><td colspan="2"><hr /></td></tr> </tbody> </table> <p style="font-style: italic; font-size: small">Current Time: 2021-11-04 14:03:43.847 -0400</p> </body> </html> http://thewindchillserverishere/Windchill/netmarkets/html/wrs/swagger.html/../odata-to-swagger.jsp?v=5&d=ProdMgmt
What am I missing? Like I said the documentation makes it sound like it should be pretty simple but I have no idea what the issue is and the error doesn't seem to tell me what or where the problem is.

