You are on page 1of 2

Acronym JWS WSPA SOAP

Expanded version Java Web Services Web Services Platform Architecture Simple Object Access Protocol

Invokation On Server Side Seralization

Deployment Complexity with SOAP web service. Deployment WebService Endpoint service endpoint interface(SEI)

Any web services platform must provide these 3 subsystems

sorce code annotation

Detailed description progamming language specific tools for creating, deploying and invoking a web service. This has a server side and client side component.eg:Axis, JWS server: 1. receive the SOAP message from HTTP or JMS request. 2. Send the msg through handlers for persisting message. 3 From message identify which target WSDL oeration to invoke. 4. Identify Which java class/operation to invoke. 5. Passing the SOAP message to Serialization system to convert to java input parameters. 6 invoke the java method and get returned object. 7. handing the object to Serialization to marshall to xml based on WSDL rturn type. 8. wrapping the returned xml into SOAP conforming to WSDL. 9. Handing SOAP message to transport system. If exception does happen the invocation system would wrap it as a SOAP fault. Client: 1.Creating an instance of SEI(Serice Endpoint Interface - is a proxy of the actual service). This is usually got from factories. 2. Taking the params sent to SEI and pass to Serialization subsystem to be made into xml elements conforming to WSDL. 3. wrapping the xml into SOAP envelope. 4. Invoke the handlers. 5 . receive the SOAP response and pass it to Serialization System to de-serialize the SOAP message to the actual returned java 1. should have mapping between the wsdl operation and proper target java method to invoke so that the invocation service can get the correct target. 2. Also interprit the proper bindings(document , rpc, wrapped, unwrapped). 3. Responsible for publishing the WSDL as a url. 4. configuring and asociating SOAP handlers with the web service even though the invocation is done by the invocation subsystem. handlers are used for security, persist incoming message, encryption. Mapping from SOAP to target java operation and also unmarshalling input parameters to the method. web service can be deployed as a web application(war - servlet endpoint) or ejb application(jar - ejb endpoint) is implemented by a serv;et class that listens to the incoming http/soap request. This servlet class is a listener that is internal and is deployed by the deployment subsystem by eading the annotated class or the WSDL. The proxy class genearted by using wsimport against the WSDL. This proxy has all the SOAP geneartion and end point details within it. The JWS designers have introduced source code annotations for Web Services to help reduce deployment complexity. Annotations are defined in Jax-WS, JaxB and ws-metadata

You might also like