OGC : How to know which ogc service type is in my url location?

Having a predefined url for my ogc service how can i know if is wms or wfs: /My/predefined/URL/Well i know that if i made /My/predefined/URL/?request=GetCapabilities i will find which service type is, but is there any faster way something like GetServiceType?I want categorize my url from wms and wfs, and in some cases i could find that information directly on url but in other cases not. How can i do that without have to ask for each url getCapabilites and lookup for servicetype attribut to see if is wms or wfs....Read more