Thank you for replay
I read the article. i may not gave the correct description of the problem. Anyhow, I create a console application as a client to this service. I am getting the following error msg when i am adding service reference. It soud that the machine doesn't recognize this as a service. I appreciate any help in this issue
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\svcutil.exe /noLogo /s /d:"C:\Documents and Settings\IElserafi\Local Settings\Temp\3\r2tgltay.hrb" /config:"C:\Documents and Settings\IElserafi\Local Settings\Temp\3\r2tgltay.hrb\newapp.config" /mergeConfig /out:"CimsEmployeesService.vb" /language:vb /n:*,CimsEmployeesService "http://localhost/CimsEmployees/CimsEmployeesService.svc"
Attempting to download metadata from 'http://localhost/CimsEmployees/CimsEmployeesService.svc' using WS-Metadata Exchange or DISCO.
Microsoft (R) Service Model Metadata Tool
[Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.30]
Copyright (c) Microsoft Corporation. All rights reserved.
Error: Cannot obtain Metadata from http://localhost/CimsEmployees/CimsEmployeesService.svc
If this is a Windows (R) Communication Foundation service to which you have access, please check that you have enabled metadata publishing at the specified address. For help enabling metadata publishing, please refer to the MSDN documentation at http://go.microsoft.com/fwlink/?LinkId=65455.
WS-Metadata Exchange Error
URI: http://localhost/CimsEmployees/CimsEmployeesService.svc
Metadata contains a reference that cannot be resolved: 'http://localhost/CimsEmployees/CimsEmployeesService.svc'.
The remote server returned an unexpected response: (405) Method Not Allowed.
The remote server returned an error: (405) Method Not Allowed.
If you would like more help, type "svcutil /?"
HTTP GET Error
URI: http://localhost/CimsEmployees/CimsEmployeesService.svc
The document at the url http://localhost/CimsEmployees/CimsEmployeesService.svc was not recognized as a known document type.
The error message from each known type may help you fix the problem:
- Report from 'DISCO Document' is 'Name cannot begin with the '%' character, hexadecimal value 0x25. Line 1, position 2.'.
- Report from 'WSDL Document' is 'There is an error in XML document (1, 2).'.
- Name cannot begin with the '%' character, hexadecimal value 0x25. Line 1, position 2.
- Report from 'XML Schema' is 'Name cannot begin with the '%' character, hexadecimal value 0x25. Line 1, position 2.'.