Forum Discussion
Jun 11, 2007
Posted By Allen Mao on 06/10/2007 11:38 PM
And if i build a listener that works "look" like a web service, how can I set the SubscriptionDetails's parameter url?
The process is two steps.
1. Creation of the subscription.
You will need to use some web services client code connecting to the EventSubscription interface to create the subscription pointing to the URL of your endpoint.
2. Create a listener.
When an event occurs that matches the specification in the created subscription, it will send a HTTP Post message containing the events_occurred SOAP method to the supplied endpoint in 1. At this point, your endpoint will either have to use a built-in webservice toolkit to implement the parsing of the listener, or if you choose to build your own parsing, you will have to pull the HTTP request out of your listening socket and parse the HTTP request containing the SOAP Body in the body section of the HTTP Post. You will then need to return the SOAP response detailed above in the HTTP response sent back to the BIG-IP.
Unfortunately, I haven't built custom HTTP parsers so I can't be of much more help than this.
-Joe