Here is a snippet of the code file I am trying to generate. This is an older WCF project, so I am not familiar. With the new service projects I simply right click and choose update service references.
using System;
`//-------------------------------------------------------------------------
-----
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.269
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--------------------------------------------------------------------------
----
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel",
"4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName =
"IBusinessService")]
[CLSCompliant(false)]
public interface IBusinessService
{
[System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IBusinessService/Receive_Replenishment_Request", ReplyAction = "http://tempuri.org/IBusinessService/Receive_Replenishment_RequestResponse")]
int Receive_Replenishment_Request(System.Nullable<int> Module, System.Nullable<int> Level, System.Nullable<int> Side, System.Nullable<int> Row, string User);
This file is in a separate project than the BusinessService.cs and IBuesinessService.cs which has the [ServiceContract] attribute.
Is there a tool that I have to run to generate the service reference class? I need to update this service reference.