Audrino and ONVIF, WEB-services, SOAP, WS-Discovery?

Does Arduino support ONVIF protocol? https://www.onvif.org/

Is there enough memory on Arduino MEGA for web service?

I have fund some C code on GitHub for WS-Discovery which works fine. https://github.com/alb423/wsdiscovery

So I'm wondering if Arduino have enough memory to host ONVIF server - only S profile. https://www.onvif.org/profiles/profile-s/ https://www.onvif.org/profiles/specifications/ - I'm only interested in PTZ service.

I would like to use ONVIF protocol to control motors connected to Aquino.

Here is free Onvif client, which I would like to use to connect to Arduino and control it. https://sourceforge.net/projects/onvifdm/

What are yours thoughts, on this idea?