namerg
asked on
How to read successfully a web app service in the browser
I am not a web developer, i am sys admins and i am trying to assist the web apps support dpt.
We have to environments:
UAT and PROD
In UAT if i browse to this URL:
http://pe01.uat.lcl/EWS-DEV/EngineService.svc I get the following on the browser
But if I go to PROD and browse
http://pe01.prod.lcl/EWS-PROD/EngineService.svc I get the following:
Thanks for your your help
We have to environments:
UAT and PROD
In UAT if i browse to this URL:
http://pe01.uat.lcl/EWS-DEV/EngineService.svc I get the following on the browser
EngineService Service
You have created a service.
To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command line with the following syntax:
svcutil.exe http://pe01.uat.lcl/EWS-DEV/EngineService.svc?wsdl
You can also access the service description as a single file:
http://pe01.uat.lcl/EWS-DEV/EngineService.svc?singleWsdl
This will generate a configuration file and a code file that contains the client class. Add the two files to your client application and use the generated client class to call the Service. For example:
C#
class Test
{
static void Main()
{
EngineServiceClient client = new EngineServiceClient();
// Use the 'client' variable to call operations on the service.
// Always close the client.
client.Close();
}
}
Visual Basic
Class Test
Shared Sub Main()
Dim client As EngineServiceClient = New EngineServiceClient()
' Use the 'client' variable to call operations on the service.
' Always close the client.
client.Close()
End Sub
End Class
But if I go to PROD and browse
http://pe01.prod.lcl/EWS-PROD/EngineService.svc I get the following:
Server Error
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable
Thanks for your your help
if both UAT and PROD using the same compiled libraries, I would think there could have some mis-configuration for the PROD? If there's log to track the errors then it would be easier for troubleshooting.
ASKER
ohh man why are you asking me...I have no idea. Can we do baby steps ? :) please...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I did explore and it is there:
And I went to the link and i get the 404 - File or directory not found. Thanks.
X:\>dir C:\EWS\PROD
Volume in drive C has no label.
Volume Serial Number is A2C7-DA4E
Directory of C:\EWS\PROD
11/14/2019 05:15 PM <DIR> .
11/14/2019 05:15 PM <DIR> ..
11/07/2019 01:39 PM <DIR> bin
10/15/2018 02:10 PM 131 EngineService.svc
10/15/2018 02:10 PM 3,312 index.htm
11/07/2019 01:44 PM 8,253 Web.config
And I went to the link and i get the 404 - File or directory not found. Thanks.
If so, is the correct version of .net framework installed with http activation enabled for WCF services?