Wednesday, 19 September 2012

JAX WS Web service Flow


> Service Class is extended:

public class WSObjectContext extends Service

public WSObjectContext(URL wsdlURL, QName qualifiedServiceName)
{
        super(wsdlURL, qualifiedServiceName);
}



> Service Class inside build ServiceDelegate object (Service Delegate is Abstract Class class) (IN WS.SPI Package).
getPort() is returned from Service Delegate

> ServiceDelegate is created using
      Provider Abstract Class (In WS.SPI Package) and
             in Provider Abstract class there is provider method
             which returns Implementation of Provider Class (use FactoryFinder method)

      Provider for Provider class is : com.sun.xml.internal.ws.spi.ProviderImpl

> ProviderImpl class have createServiceDelegate() implementation which returns  WSServiceDelegate object which is again class of com.sun.xml.internal.ws package


The whole implementation present in rt.jar. com.sun package contains oracle reference implementations of the standard Java (EE) APIs

No comments:

Post a Comment