Module org.eclipse.persistence.dbws
Class ProviderHelper
java.lang.Object
org.eclipse.persistence.internal.xr.XRServiceFactory
org.eclipse.persistence.internal.dbws.ProviderHelper
INTERNAL: ProviderHelper bridges between DBWSAdapter
's and JAX-WS Provider
's
- Since:
- EclipseLink 1.1
packaging required for deployment as a Web Service \--- root of war file | \---web-inf | web.xml | +---classes | +---META-INF | | eclipselink-dbws.xml | | eclipselink-dbws-sessions.xml -- name can be overridden by <sessions-file> entry in eclipselink-dbws.xml | | eclipselink-dbws-or.xml | | eclipselink-dbws-ox.xml | | | +---_dbws | | DBWSProvider.java -- (source provided as a convenience for IDE integration) | | DBWSProvider.class -- ASM-generated jakarta.xml.ws.Provider | | | \---foo -- optional domain classes | \---bar | Address.class | Employee.class | PhoneNumber.class \---wsdl swaref.xsd -- optional to handle attachments eclipselink-dbws.wsdl eclipselink-dbws-schema.xsd
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.persistence.internal.xr.XRServiceFactory
XRServiceFactory.JPAMetadataSource, XRServiceFactory.OXMMetadataSource, XRServiceFactory.XRPersistenceUnitInfo
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QName
static final String
protected MessageContext
protected boolean
static final QName
protected static final String
protected static final String
Fields inherited from class org.eclipse.persistence.internal.xr.XRServiceFactory
parentClassLoader, xrSchemaStream, xrService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildService
(XRServiceModel xrServiceModel) void
destroy()
static SOAPElement
getSOAPBodyElement
(SOAPEnvelope envelope) void
init
(ClassLoader parentClassLoader, ServletContext sc, boolean mtomEnabled) protected InputStream
initWSDLInputStream
(ClassLoader parentClassLoader, ServletContext sc) protected InputStream
initXRSchemaStream
(ClassLoader parentClassLoader, ServletContext sc) protected InputStream
initXRServiceStream
(ClassLoader parentClassLoader, ServletContext sc) invoke
(SOAPMessage request) protected void
Methods inherited from class org.eclipse.persistence.internal.xr.XRServiceFactory
buildDescriptorIndex, buildService, buildSessions, customizeSession, getDescriptorForClassName, getDocumentBuilder, getTransformer, initializeOperations, initializeService, loadORMetadata, loadOXMetadata, loadXMLSchema, loginSessions, logoutSessions, prepareDescriptors, resolveName, updateFindQueryNames, validateOperations
-
Field Details
-
SENDER_QNAME
-
CLIENT_QNAME
-
XSL_PREAMBLE
- See Also:
-
XSL_POSTSCRIPT
- See Also:
-
MATCH_SCHEMA
- See Also:
-
responseWriter
-
mtomEnabled
protected boolean mtomEnabled -
mc
-
-
Constructor Details
-
ProviderHelper
public ProviderHelper()
-
-
Method Details
-
setMessageContext
-
initXRServiceStream
-
initXRSchemaStream
-
initWSDLInputStream
-
init
-
invoke
-
destroy
public void destroy() -
buildService
- Overrides:
buildService
in classXRServiceFactory
-
getSOAPBodyElement
- Throws:
SOAPException
-