Last post Dec 15, 2017 07:22 PM by neoaguil17
Dec 05, 2017 07:24 PM|neoaguil17|LINK
I created a "Service Reference" to a WCF project, but I not sure why the wizard creates references with files which are not in the disk.
This is my example..
Dec 06, 2017 02:30 AM|Edward Z|LINK
I made a test with simple WCF Service, but I fail to reproduce your issue, all of my xsd files exist.
To check whether it is related with this specific, I suggest you crate a new WCF Service, did this issue exist?
It would be much helpful if you could share us a simple project which could reproduce your issue.
Dec 06, 2017 06:31 PM|neoaguil17|LINK
This is the link of the wsdl:
This the link of the service code:
Dec 07, 2017 03:02 AM|Edward Z|LINK
>> I created a "Service Reference" to a WCF project, but I not sure why the wizard creates references with files which are not in the disk.
Where did this issue happen?
There are two parts you shared. The first is wsdl for Ws.InterfacesWeb, and the second is the source code of Ws.InterfacesWeb, am I right?
I create a new Console App and add Service reference by
http://localhost:1725/InterfacesWeb.svc?wsd, there is no xsd files which are not in the disk.
Then, I checked the Service Reference in Ws.InterfacesWeb, and found some files which indicate that is not exist. It is from
http://localhost:8732/InterfacesWeb, I am not able to make a test with this as you did not share us.
I suggest you turn to InterfacesWebReference->Configure Service Reference->OK to update the service reference, will the not exist files disappear?
If you create a new Console App by adding service reference with
http://localhost:8732/InterfacesWeb, will it create xsd files which not exist?
If it created, it would be helpful if you could share us
http://localhost:8732/InterfacesWeb this service source code, and then we could try to reproduce your issue.
Dec 11, 2017 10:58 PM|neoaguil17|LINK
I shared the complete source code of the service InterfacesWeb :
The folder which has the InterfacesWeb is Ws.InterfacesWeb.
Dec 13, 2017 08:14 AM|Edward Z|LINK
For removing the not exist file, you could delete the service reference and re-add service reference.
Dec 13, 2017 07:13 PM|neoaguil17|LINK
I did that many times, but I see the same result.
Dec 14, 2017 05:26 AM|Edward Z|LINK
I fail to reproduce your issue with your project.
Here is my result.
Dec 15, 2017 07:22 PM|neoaguil17|LINK
After I deleted the reference and created a new reference, the wizard created the service reference well.