Forum Discussion
SmartBear_Suppo
Alumni
15 years agoHello,
There a a few alternatives for getting the existing EventHandlers from the WsdlProjectPro. You can use the two methods getEventHandlerCount() and getEventHandlerAt( int index ) to iterate over the existing EventHandlers. You can also use getEventHandlers( String type ) to get an array of the EventHandlers of a specific type. As long as the EventHandlers have unique names, you can use getName() to check if an EventHandler is already present or not.
Regarding the Pro documentation, I've raised the question about making this available to our users.
Regards,
Dain
eviware.com
There a a few alternatives for getting the existing EventHandlers from the WsdlProjectPro. You can use the two methods getEventHandlerCount() and getEventHandlerAt( int index ) to iterate over the existing EventHandlers. You can also use getEventHandlers( String type ) to get an array of the EventHandlers of a specific type. As long as the EventHandlers have unique names, you can use getName() to check if an EventHandler is already present or not.
Regarding the Pro documentation, I've raised the question about making this available to our users.
Regards,
Dain
eviware.com