All Implemented Interfaces:
DBWSPackager

public class JavasePackager extends ProviderPackager

PUBLIC: JavasePackager extends ProviderPackager. It generates a simplified version
of the JAX-WS Provider Endpoint that can be run using the Javase 6 'containerless' Endpoint API:

   Endpoint endpoint = Endpoint.create(new @WebService or @WebServiceProvider);
   endpoint.publish(ENDPOINT_ADDRESS);
   QName serviceQName = new QName(serviceNamespace, serviceName);
   QName portQName = new QName(serviceNamespace, portName);
   service = Service.create(serviceQName);
   service.addPort(portQName, jakarta.xml.ws.soap.SOAPBinding.SOAP11HTTP_BINDING, ENDPOINT_ADDRESS);
   ...
   Dispatch<SOAPMessage> dispatch = testService.createDispatch(portQName, SOAPMessage.class,
     Service.Mode.MESSAGE);
   SOAPMessage response = dispatch.invoke(request);
   ...
 
Package files generated by parent according to the following layout:
 ${PACKAGER_ROOT} - could be a directory or a .jar file:
    +---META-INF
    |       eclipselink-dbws-or.xml
    |       eclipselink-dbws-ox.xml
    |       eclipselink-dbws-sessions.xml
    |       eclipselink-dbws.xml
    |
    +---_dbws
    |       DBWSProvider.class
    |
    \---wsdl
            swaref.xsd                 -- optional if using attachments
            eclipselink-dbws-schema.xsd
            eclipselink-dbws.wsdl
 
Since:
EclipseLink 1.x