Web service oriented architecture for manufacturing and automation