Access permissions to WS service
I am creating a WS as a server, but when I ask for the WSDL it is giving me an error because it cannot find the class.
I have added the following instructions:
set ^SYS("Security","CSP","AllowClass","MiProyecto.MiClaseWS","%SOAP.WebServiceInfo")=1 set ^SYS("Security","CSP","AllowClass","MiProyecto.MiClaseWS","%SOAP.WebServiceInvoke")=1
I have created an entry in the WS security configuration
In the Application Roles tab I have put the %All permissions
(The Namespaces "Samples" in the image is due to security reasons)
If I invoke the service in the following way, http://localhost: 57772/myproject/ws/MyProject.MiClassWS.cls? Wsdl gives me the following error:
Not Found The requested URL /miproyecto/ws/MiProyecto.MiClaseWS.cls was not found on this server.
But, on the other hand, it works correctly if I ask for: https://localhost:57772/csp/sample/MiProyecto.MiClaseWS.cls?wsdl .
The csp/sample has the default configuration of NAMESPACE, so it asks for authorization (username and password), but we are not going to publish this route publicly,
What may be missing so it can´t find the class? How can the WS be deployed to the public?
Thank you very much in advance,