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 Thu, 16 Aug 2012 18:17: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" > <br>* 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. <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">
<br>* 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) <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 UDP transport</li>
	<li>Support for the <a href="http://docs.oasis-open.org/ws-dd/soapoverudp/1.1/wsdd-soapoverudp-1.1-spec.html"
class="external-link" rel="nofollow">SOAP over UDP specification</a></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>


    </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=6&originalVersion=5">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