There are quiet a few ways to create and deploy your Web services,the one best way to do this is by using Apache Axis2.Its easy,simple,efficient,flexible… [feature list can be found on their official website] and cost free.
What is Apache Axis2?
In very simple terms “It is an implementation of SOAP[Simple Object Access Protocol]”.
There are two implementations of the Apache Axis2 Web services engine – Apache Axis2/Java and Apache Axis2/C.
The below figure shows the flow for Apache Axis2/Java, which i have been working on now.
It is very brief and the actuall internal flow and Architecture of the Apache Axis2 can be found on their website.
Flex framework uses WebService Class to access SOAP-based Web services on remote servers which define their interfaces in a WSDL document.As Apache Axis2 is an implementation of SOAP, acts as an intermediate layer or engine between service requester [Flex using WebService Class] and service provider.
Web services have been criticised for their complex Web structures for deployment and performance.But as these frameworks for Web services emerge with simplicity, they are no longer a concern.Soon i will come up with a post on creating and deploying Web services Using Apache Axis2/Java.
Enjoy the post.