cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache CXF Documentation > 2.7 Migration Guide
Date Wed, 26 Sep 2012 19:08:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2042/9/1/_/styles/combined.css?spaceKey=CXF20DOC&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/CXF20DOC/2.7+Migration+Guide">2.7
Migration Guide</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~dkulp">Daniel
Kulp</a>
    </h4>
        <br/>
                         <h4>Changes (1)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >* New [UDP Transport] <br>*
New optional HTTP transport based on [Apache HTTP Components HttpAsyncClient|http://hc.apache.org/httpcomponents-asyncclient-dev/index.html].
<br></td></tr>
            <tr><td class="diff-changed-lines" >* Support for the [SOAP over <span
class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">UDP
specification|http://docs.oasis-open.org/ws-dd/soapoverudp/1.1/wsdd-soapoverudp-1.1-spec.html]</span>
<span class="diff-added-words"style="background-color: #dfd;">UDP].</span> <br></td></tr>
            <tr><td class="diff-unchanged" >* Support for WS-Discovery <br>**
Services can send Hello/Bye when started/stopped as well as respond to Probe requests <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h3><a name="2.7MigrationGuide-NewFeatures"></a>New Features</h3>

<ul>
	<li>New <a href="/confluence/display/CXF20DOC/UDP+Transport" title="UDP Transport">UDP
Transport</a></li>
	<li>New optional HTTP transport based on <a href="http://hc.apache.org/httpcomponents-asyncclient-dev/index.html"
class="external-link" rel="nofollow">Apache HTTP Components HttpAsyncClient</a>.</li>
	<li>Support for the <a href="/confluence/display/CXF20DOC/SOAP+over+UDP" title="SOAP
over UDP">SOAP over UDP</a>.</li>
	<li>Support for WS-Discovery
	<ul>
		<li>Services can send Hello/Bye when started/stopped as well as respond to Probe requests</li>
		<li>API for sending probes and resolving to EndpointReferences</li>
	</ul>
	</li>
	<li>Initial support for parts of the JAX-RS 2.0 specification
	<ul>
		<li>Additional methods on WebClient to provide asynchronous invocations</li>
	</ul>
	</li>
</ul>



<h3><a name="2.7MigrationGuide-APIChanges"></a>API Changes</h3>

<ul>
	<li>The HTTPConduit class has been made abstract with the HttpURLConnection related
code moving to an URLConnectionHTTPConduit.   Several method calls of the HTTPConduit that
used to take HttpURLConnection objects have been eliminated.  Also, most methods taking a
URL object now take a URI object instead.   The HTTPConduit.WrappedOutputStream class is also
now abstract.   If you have custom subclasses of HTTPConduit, changing them to subclass URLConnectionHTTPConduit
will likely work.</li>
</ul>


<ul>
	<li>The WS-Addressing related VersionTransformer and MAPCodec classes have been changed
to not encode the WS-Addressing headers to  DOM elements and instead just use the Header list
on the SoapMessage directly.  This did change the parameters on the encode methods to take
the JAXBContext instead of the Marshaller.  Any custom VersionTransformers will need to be
updated.  (very rare)</li>
</ul>


<ul>
	<li>All methods that took or returned org.apache.cxf.feature.AbstractFeatures have
been changed to just use org.apache.cxf.feature.Feature.</li>
</ul>

    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/CXF20DOC/2.7+Migration+Guide">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=29688919&revisedVersion=13&originalVersion=12">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/CXF20DOC/2.7+Migration+Guide?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message