cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] Apache CXF > 2.3 Migration Guide
Date Mon, 31 Aug 2009 17:26:00 GMT
    <base href="">
            <link rel="stylesheet" href="/confluence/s/1519/1/11/_/styles/combined.css?spaceKey=CXF&amp;forWysiwyg=true"
<body style="background-color: white" bgcolor="white">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
     <h2><a href="">2.3
Migration Guide</a></h2>
     <h4>Page <b>edited</b> by             <a href="">Benson
     <div class="notificationGreySide">
         <h2><a name="2.3MigrationGuide-Newfeatures"></a>New features</h2>
	<li>New annotations of java first use cases
		<li>@WSDLDocumentation annotation to add documentation nodes to generated wsdl</li>
		<li>@SchemaValidation annotation to turn on schema validation</li>
		<li>@DataBinding to set the databinding used (if other than JAXB)</li>
		<li>@GZIP to turn on GZIP compression</li>
		<li>@FastInfoset to turn on FastInfoset support</li>
		<li>@Logging to turn on and control various Logging functionality</li>
	<li>SOAP/JMS spec implementation</li>
	<li>SDO databinding</li>

<h2><a name="2.3MigrationGuide-APIchanges"></a>API changes</h2>

<h2><a name="2.3MigrationGuide-Runtimechanges"></a>Runtime changes</h2>
	<li>In 2.2.x and earlier, mustUnderstand=true headers were sent into the endpoint (in
the List&lt;Header&gt;) and only checked after the endpoint is done processing.  If
the endpoint doesn't process them, only afterword is the mustUnderstand fault raised.   With
2.3.x, mustUnderstand=true headers are checked prior to dispatch.   If an endpoint requires
mustUnderstand headers to be passed in, it must be configured so the runtime knows to allow
them through.  To do so, add a endpoint property named "endpoint-processes-headers" that is
either a string of the qname of the header to pass in or a collection of string of qnames
of headers to pass in.   (We'll be adding an annotation or other means to configure this shortly)</li>

	<li>SOAP/JMS - CXF now support the <a href=""
rel="nofollow">w3c SOAP/JMS spec</a>.  Existing SOAP/JMS stuff should continue working,
but users are encouraged to start using the standard configurations.</li>

		<li>The set of root classes is now of type Set&lt;java.lang.reflect.Type&gt;
to permit generics.</li>
		<li>The class Type is renamed to AegisType to reduce confusion and conflict with java.lang.reflect.Type.</li>

<h2><a name="2.3MigrationGuide-Configchanges"></a>Config changes</h2>
     <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href=""
class="grey">Change Notification Preferences</a>

       <a href="">View
       <a href="">View
       <a href=";showCommentArea=true#addcomment">Add

View raw message