when invoked from the .asmx page it runs just fine,
If IsNumeric(num1) Then
If num1 < 1 Then
Return Math.Round(3.2, 2)
ElseIf num1 < 4.9 Then
Return Math.Round(1.6 * num1, 2)
ElseIf num1 < 9.9 Then
Return Math.Round(0.8 * num1, 2)
ElseIf num1 > 9.9 Then
Return Math.Round(0.4 * num1, 2)
Else
Return "Error"
End If
End If
End Function
I have the following demo (http://www.w3schools.com/webservices/ws_summary.asp) and a hello world demo working fine on both asp and asax and they're on the same page/same service
Any ideas?
Replies
Know the answer? Post it — somebody with the same question will find it here.