AXIS2-4565
Contributor:Rich Scheuerle
A) Examine the namespace on the @RequestWrapper and @ResponseWrapper (if provided) to calculate the
packages needed for JAXBContext construction.
B) WSImport has a slight behavior for NS->PKG than the rule defined in the JAXB spec. WSImport
prepends a "_" to names that conflict with java keywords. The JAXB spec appends a "_".
The code is changed to tolerate both styles.
AXIS2-4562
Contributor:Rich Scheuerle
To improve the performance of the initialization of a JAXBContext, exclude SessionBean objects from the calculation.
Also provided a test.
AXIS2-4562
Contributor:Rich Scheuerle
To improve the performance of the initialization of a JAXBContext, exclude SessionBean objects from the calculation.
Also provided a test.
AXIS2-4561
Contributor:Rich Scheuerle
Fix ClassCastException when an message containing a SOAP Fault is consumed by a JAX-WS Dispatch<OMElement> API.
Added a unit test for validation.
AXIS2-3341
Contributor: Rich Scheuerle
Added code to support arrays/lists for the Document Literal Wrapped "Minimal" scenarios.
"Minimal" means that the JAX-WS service lacks wrapper beans.
The use of JAX-WS services that lack wrapper beans is not recommended.
Also added verification tests to validate the code.
AXIS2-4523
Contributor: Rich Scheuerle
This is a small change to the JAX-WS exception unmarshalling code.
The JAX-WS engine uses the first element of the Fault detail to find and unmarshal a service exception (aka application exception). The code is chagned to use the first element even if there are more than one element inside the fault detail.
Extra debug information is also added.
* Add AUTO_OPERATION_CLEANUP option, defaulting to true. This cleans up the last OperationContext each time we make a new ServiceClient, rather than forcing the user to use setCallTransportCleanup() which always fully builds the Axiom model.
This is a performance improvement item for Provider<OMElement> JAX-WS api. I am adding new Custom Builder that creates OM backed by DataSource (ParserInputStreamDataSource contributed to Axiom) that avoids unnecessary expansion of OM improving providers performance.