Reputation: 159
I have a WCF service that plays nicely with WCF clients but the most crucial of clients I need it to work with is an ASMX client. How could I make my WCF service compatible with ASMX clients?
I've followed this guide but to no avail(albeit I'm know 100% sure I have implemented it correctly)
Below is my ServiceContract and OperationContracts. My Web.config has no MEX endpoints.
<ServiceContract()>
<XmlSerializerFormat(Use:=OperationFormatUse.Literal, Style:=OperationFormatStyle.Document)>
Public Interface racoSMS
<OperationContract(Action:="http://tempuri.org/ReceiveSMS", ReplyAction:="http://tempuri.org/ReceiveSMS")>
Function ReceiveSMS(ByVal securityKey As String, ByVal from As String, ByVal message As String) As ServiceResult
<OperationContract(Action:="http://tempuri.org/Test", ReplyAction:="http://tempuri.org/Test")>
Function Test(ByVal securityKey As String) As ServiceResult
End Interface
Upvotes: 1
Views: 622
Reputation: 63709
Your question is quite vague. A few things to note:
As it is, I guess this is pretty much an answer to your question. You said that you did all this "to no avail", but you'll need to be more specific (either here, or possibly even in new question(s)) for us to help you.
Upvotes: 1