Forum Discussion

amrinh's avatar
amrinh
New Contributor
11 years ago

Access is denied when accessing URI using mockservice in soa

I have tried to create a mock service using a sample rest project as per the details at this link.

But when I try to access the URI(http://localhost:6080/Rest-Sample/rest/HelloExample) as mentioned in the mockservice configuration I get the following error:

Server com.eviware.soapui.impl.wsdl.mock.DispatchException: java.io.FileNotFoundException: C:\Documents and Settings\user123\Desktop\project\Testing related\test\docroot (Access is denied)

I have save the project under "C:\Documents and Settings\user123\Desktop\project\Testing related\test\" and in the mockservice configuration I have specified docroot path as "${projectDir}/docroot" but still the issue of "Access is denied"

Can anyone plz suggest what could be the root cause?