Ich habe einen Webservice zum Abrufen von Elementen im Vollkalender aufgerufen. Das Verfahren ist nie und Firebug gibt diesen Fehler genannt:Webservice - unbekannte Webmethode Parametername Methodenname
* „POST [http]: // localhost: 50536/FullCalendar/ServicioFullCalendar.asmx/GetEventosCalendario POST [http]: // localhost: 50536/FullCalendar/ServicioFullCalendar.asmx/GetEventosCalendario
500 Internal Server Error 1.01s“ "unbekannter Web-Methode Parametername Methodenname" *
ist der asmx.vb Code:
<System.Web.Script.Services.ScriptService()> _
<System.Web.Services.WebService(Namespace:="http://localhost/uva/")> _
<System.Web.Services.WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
<ToolboxItem(False)> _
Public Class ServicioFullCalendar
Inherits System.Web.Services.WebService
<ScriptMethod(ResponseFormat:=ResponseFormat.Json)> _
<WebMethod(MessageName:="ObtieneEventos")> _
Public Shared Function GetEventosCalendario(ByVal startDate As String, ByVal endDate As String) As String
Try
Return CalendarioMensualDAO.Instance.getEventos(startDate, endDate)
Catch ex As Exception
Throw New Exception("FullCalendar:GetEventos: " & ex.Message)
Finally
End Try
End Function
Der Webservice ist „geladen“ aus dem fullcalendar wie folgt:
events: "ServicioFullCalendar.asmx/GetEventosCalendario",
Danke für die Empfehlung – ch3r1f