cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] Apache CXF Documentation > 2.7 Migration Guide
Date Thu, 13 Sep 2012 21:28:00 GMT
    <base href="">
            <link rel="stylesheet" href="/confluence/s/2042/9/1/_/styles/combined.css?spaceKey=CXF20DOC&amp;forWysiwyg=true"
<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="">2.7
Migration Guide</a></h2>
    <h4>Page <b>edited</b> by             <a href="">Daniel
                         <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" > <br>* New UDP transport <br></td></tr>
            <tr><td class="diff-changed-lines" >* New optional HTTP transport
<span class="diff-changed-words">base<span class="diff-added-chars"style="background-color:
#dfd;">d</span></span> on [Apache HTTP Components HttpAsyncClient|].
            <tr><td class="diff-unchanged" >* Support for the [SOAP over UDP specification|]
<br>* Support for WS-Discovery <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h3><a name="2.7MigrationGuide-NewFeatures"></a>New Features</h3>

	<li>New UDP transport</li>
	<li>New optional HTTP transport based on <a href=""
class="external-link" rel="nofollow">Apache HTTP Components HttpAsyncClient</a>.</li>
	<li>Support for the <a href=""
class="external-link" rel="nofollow">SOAP over UDP specification</a></li>
	<li>Support for WS-Discovery
		<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>

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

	<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>

	<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>

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

        <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