Forum Discussion
Jeremy_Bridges_
Nimbostratus
Jun 21, 2007EventNotification Web Service in SDK not working
In an attempt to get event notification to work correctly, I placed a copy of the SDK's example EventNotification web service on a IIS server. We only use Visual Studio 2005 here so I did convert the...
Jun 21, 2007
There must be something that has changed since VS.Net 2003. Try modifying the Action attribute on the events_occurred method call in the EventNotification.asmx.cs file from
[WebMethod]
[System.Web.Services.Protocols.SoapRpcMethodAttribute(
"urn:iControl:Management/EventNotification",
RequestNamespace="urn:iControl:Management/EventNotification",
ResponseNamespace="urn:iControl:Management/EventNotification",
Action="urn:iControl:Management/EventNotification")]
public override void
events_occurred
(
ManagementEventNotificationEventSource event_source,
string subscription_id,
ManagementEventNotificationEventData[] event_data_list,
CommonTimeStamp time_stamp
)
to
[WebMethod]
[System.Web.Services.Protocols.SoapRpcMethodAttribute(
"urn:iControl:Management/EventNotification",
RequestNamespace="urn:iControl:Management/EventNotification",
ResponseNamespace="urn:iControl:Management/EventNotification",
Action="urn:iControl:Management/EventNotificationevents_occurred")]
public override void
events_occurred
(
ManagementEventNotificationEventSource event_source,
string subscription_id,
ManagementEventNotificationEventData[] event_data_list,
CommonTimeStamp time_stamp
)
And see if that clears things up. If so, I'll get the fix included in the next rev of the SDK.
-Joe
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects