We are trying to design a generic webService endpoint that will be invoked for different message types of different structures from a SharePoint portal. So we can’t define a particular message as input of this service.
We are trying to use $xmldata as input. Upon receiving the message, we will extract the key details and process further.
Is there any better approach to create a generic webService?
Thanks in advance