Can anyone spot why VS2010 claims that
Class 'IVP_WebServices' must implement 'Function Prover(ics As InquiredCustomerSample) As String' for interface 'IProver'.? I'm stumped. It all looks so simple to me.
Namespace IVP_WebServices
<DataContract()>
Public Class InquiredCustomerSample
<DataMember()>
Property CustomerNbr As String
<DataMember()>
Property BillToNbr As String
<DataMember()>
Property CustomerName As String
<DataMember()>
Property CustomerAddress01 As String
<DataMember()>
Property City As String
<DataMember()>
Property StateProvince As String
<DataMember()>
Property ZIP As String
End Class
Public Class CustomerToInquire
Property RequestID As String
Property RequestMode As String
Property CMSDataBase As String
Property ServLang As String
Property ServPlntCod As String
Property CustomerNbr As String
End Class
<ServiceContract()>
Public Interface IProver
<OperationContract()>
Function Prover(ByVal ics As InquiredCustomerSample) As String
End Interface
Public Class IVP_WebServices
Implements IProver
Function Prover(ByVal ics As InquiredCustomerSample) As String
Return String.Format("CustomerNbr: {0} CustomerName: {1}", ics.CustomerNbr, ics.CustomerName)
End Function
End Class
End Namespace