Question
· Oct 31, 2016

Grant Permission for WSDL

I implemented a WebService in edge of HeathShare but it is asking for user and password, so it isn't possible to publish.

How can I grant permission for that service?

 

PS. When I type the user and pass the WSDL shown is correct.

Discussion (4)0
Log in or sign up to continue

Hello David,

Are you trying to access the WSDL in a web browser using the generated CSP page? What is the URL that you are using? The application path of the URL should correlate with a web application definition defined in HealthShare that can be edited in the System Management Portal. This web application definition is likely set to Password Authentication. By setting the web application definition to Unauthenticated Access, a login screen should not be presented when trying to view the WSDL.

Best, 

Patrick 

Yes, I am.

once I have implemented the following class, what else do I have to do in WebApplication page in order to publish the webservice unauthenticated. Thanks in advance. 

Class TEST.bs.Services.Service1 Extends EnsLib.SOAP.Service{

/// ---------------------------------------------------
Parameter ADAPTER = "EnsLib.SOAP.InboundAdapter";

/// ---------------------------------------------------
Parameter SERVICENAME = "PUsuario_seviceName";

Parameter LOCATION = "http://10.99.9.189:57772/csp/healthshare/service1";

/// ---------------------------------------------------
Parameter NAMESPACE = "http://Service1.br";

/// ---------------------------------------------------
Parameter USECLASSNAMESPACES = 1;