I recommend you spend more time learning about SOA. For example, the current trend is moving towards REST and JSON, away from SOAP and XML.

One common approach is the Web Application presents a...