ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-site/targets/ws-fx/addressing/xref-test/addressing package-frame.html package-summary.html TestSerDeser.html
Date Wed, 11 Feb 2004 16:23:59 GMT
dims        2004/02/11 08:23:59

  Added:       targets/ws-fx/addressing/xref-test/addressing
                        package-frame.html package-summary.html
                        TestSerDeser.html
  Log:
  Checkin web site for addressing
  
  Revision  Changes    Path
  1.1                  ws-site/targets/ws-fx/addressing/xref-test/addressing/package-frame.html
  
  Index: package-frame.html
  ===================================================================
  
  
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
    <html>
      <head>
        <title>
          Apache Addressing 1.0 Reference Package addressing
        </title>
        <link rel="stylesheet" href="../stylesheet.css" type="text/css" title="style"></link>
      </head>
      <body>
  
        <font class="FrameTitleFont">
          <a href="package-summary.html" target="classFrame">addressing</a>
        </font>
        
        <table border="0" width="100%">
          <tr>
            <td nowrap="nowrap">
              <font class="FrameHeadingFont">Classes</font>
              <br></br>
  
              
                <font class="FrameItemFont">
                  <a href="TestSerDeser.html" target="classFrame">TestSerDeser</a>
                </font>
                <br></br>
              
  
            </td>
          </tr>
        </table>
      </body>
    </html>
  
  
  
  1.1                  ws-site/targets/ws-fx/addressing/xref-test/addressing/package-summary.html
  
  Index: package-summary.html
  ===================================================================
  
  
    
  
    
      
  
      
  
      
      
    
        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
        <html>
          <head>
            <title>
              Apache Addressing 1.0 Reference Package 
            </title>
            <link rel="stylesheet" href="../stylesheet.css" type="text/css" title="style"></link>
          </head>
          <body>
  
            
        
        
        <a name="navbar_top"></a>
        <table border="0" width="100%" cellspacing="0" cellpadding="1">
          <tr>
            <td class="NavBarCell1" colspan="2">
              <a name="navbar_top_firstrow"></a>
              <table border="0" cellspacing="3" cellpadding="0">
                <tr valign="top" align="center">
                  <td class="NavBarCell1">
                    <a href="../overview-summary.html">
                      &nbsp;<font class="NavBarFont1"><b>Overview</b></font>&nbsp;
                    </a>
                  </td>
  
                  <td class="NavBarCell1Rev">
                    <font class="NavBarFont1Rev">Package</font>
                  </td>
                </tr>
              </table>
            </td>
            <td valign="top" rowspan="3" align="right">
              <em>
              </em>
            </td>
          </tr>
  
          <tr>
            <td class="NavBarCell2" align="center" colspan="2">
              <font size="-2">
                <a href="../index.html" target="_top"><b>FRAMES</b></a>
                &nbsp;
                <a href="package-summary.html" target="_top"><b>NO FRAMES</b></a>
              </font>
            </td>
          </tr>
        </table>
        
      
        
        <h2>Package addressing</h2>
        
        <table border="1" width="100%" cellspacing="0" cellpadding="3">
          <tr class="TableHeadingColor">
            <td>
              <font size="+2"><b>Class Summary</b></font>
            </td>
          </tr>
          
          
            <tr class="TableRowColor">
              <td>
                <b><a href="TestSerDeser.html" target="classFrame">TestSerDeser</a></b>
              </td>
            </tr>
          
        </table>
  
        <p></p>
        <hr></hr>
      
        
        
        <a name="navbar_top"></a>
        <table border="0" width="100%" cellspacing="0" cellpadding="1">
          <tr>
            <td class="NavBarCell1" colspan="2">
              <a name="navbar_top_firstrow"></a>
              <table border="0" cellspacing="3" cellpadding="0">
                <tr valign="top" align="center">
                  <td class="NavBarCell1">
                    <a href="../overview-summary.html">
                      &nbsp;<font class="NavBarFont1"><b>Overview</b></font>&nbsp;
                    </a>
                  </td>
  
                  <td class="NavBarCell1Rev">
                    <font class="NavBarFont1Rev">Package</font>
                  </td>
                </tr>
              </table>
            </td>
            <td valign="top" rowspan="3" align="right">
              <em>
              </em>
            </td>
          </tr>
  
          <tr>
            <td class="NavBarCell2" align="center" colspan="2">
              <font size="-2">
                <a href="../index.html" target="_top"><b>FRAMES</b></a>
                &nbsp;
                <a href="package-summary.html" target="_top"><b>NO FRAMES</b></a>
              </font>
            </td>
          </tr>
        </table>
        
      
      
            
            <hr></hr>
  
            Copyright &copy;  Apache Web Services. All Rights Reserved.
  
          </body>
        </html>
      
  
  
  
  1.1                  ws-site/targets/ws-fx/addressing/xref-test/addressing/TestSerDeser.html
  
  Index: TestSerDeser.html
  ===================================================================
  <html>
  <body bgcolor="white">
  <pre>
  <table bgcolor="#FFFFCC" cellpadding="0" cellspacing="0" border="0" width="100%"></table>
  <a name="1" href="#1">1</a>   <font color="#329900"><i>/*</i></font>
  <a name="2" href="#2">2</a>   <font color="#329900"><i> * Copyright
 1999-2004 The Apache Software Foundation.</i></font>
  <a name="3" href="#3">3</a>   <font color="#329900"><i> *</i></font>
  <a name="4" href="#4">4</a>   <font color="#329900"><i> *  Licensed
under the Apache License, Version 2.0 (the "License");</i></font>
  <a name="5" href="#5">5</a>   <font color="#329900"><i> *  you may
not use this file except in compliance with the License.</i></font>
  <a name="6" href="#6">6</a>   <font color="#329900"><i> *  You may
obtain a copy of the License at</i></font>
  <a name="7" href="#7">7</a>   <font color="#329900"><i> *</i></font>
  <a name="8" href="#8">8</a>   <font color="#329900"><i> *      <a
href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></i></font>
  <a name="9" href="#9">9</a>   <font color="#329900"><i> *</i></font>
  <a name="10" href="#10">10</a>  <font color="#329900"><i> *  Unless
required by applicable law or agreed to in writing, software</i></font>
  <a name="11" href="#11">11</a>  <font color="#329900"><i> *  distributed
under the License is distributed on an "AS IS" BASIS,</i></font>
  <a name="12" href="#12">12</a>  <font color="#329900"><i> *  WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</i></font>
  <a name="13" href="#13">13</a>  <font color="#329900"><i> *  See
the License for the specific language governing permissions and</i></font>
  <a name="14" href="#14">14</a>  <font color="#329900"><i> *  limitations
under the License.</i></font>
  <a name="15" href="#15">15</a>  <font color="#329900"><i> *</i></font>
  <a name="16" href="#16">16</a>  <font color="#329900"><i> */</i></font>
  <a name="17" href="#17">17</a>  
  <a name="18" href="#18">18</a>  <b>package</b> <a href="../addressing/package-summary.html">addressing</a>;
  <a name="19" href="#19">19</a>  
  <a name="20" href="#20">20</a>  <b>import</b> junit.framework.TestCase;
  <a name="21" href="#21">21</a>  <b>import</b> org.apache.axis.Message;
  <a name="22" href="#22">22</a>  <b>import</b> org.apache.axis.message.addressing.AddressingHeaders;
  <a name="23" href="#23">23</a>  <b>import</b> org.apache.axis.message.addressing.RelatesTo;
  <a name="24" href="#24">24</a>  
  <a name="25" href="#25">25</a>  <b>import</b> java.io.ByteArrayInputStream;
  <a name="26" href="#26">26</a>  
  <a name="27" href="#27">27</a>  <font color="#AA0000"><i>/**<font
color="#AA0000"><i>*</i></font></i></font>
  <a name="28" href="#28">28</a>  <font color="#AA0000"><i> * Class
ReplyTo</i></font>
  <a name="29" href="#29">29</a>  <font color="#AA0000"><i> * </i></font>
  <a name="30" href="#30">30</a>  <font color="#AA0000"><i> * @author
Davanum Srinivas (dims@yahoo.com)</i></font>
  <a name="31" href="#31">31</a>  <font color="#AA0000"><i> */</i></font>
  <a name="32" href="#32">32</a>  <b>public</b> <b>class</b>
<a href="../addressing/TestSerDeser.html">TestSerDeser</a> <b>extends</b>
TestCase {
  <a name="33" href="#33">33</a>      String xml = <font color="#000099">"&lt;S:Envelope
xmlns:S=\&quot;http://schemas.xmlsoap.org/soap/envelope/\&quot;\n"</font> +
  <a name="34" href="#34">34</a>              <font color="#000099">"  xmlns:wsa=\&quot;http://schemas.xmlsoap.org/ws/2003/03/addressing\&quot;\n"</font>
+
  <a name="35" href="#35">35</a>              <font color="#000099">"  xmlns:f123=\&quot;http://www.fabrikam123.com/svc53\&quot;
\n"</font> +
  <a name="36" href="#36">36</a>              <font color="#000099">"&gt;\n"</font>
+
  <a name="37" href="#37">37</a>              <font color="#000099">"  &lt;S:Header&gt;\n"</font>
+
  <a name="38" href="#38">38</a>              <font color="#000099">"  
 &lt;wsa:MessageID&gt;uuid:aaaabbbb-cccc-dddd-eeee-ffffffffffff\n"</font> +
  <a name="39" href="#39">39</a>              <font color="#000099">"  
 &lt;/wsa:MessageID&gt;\n"</font> +
  <a name="40" href="#40">40</a>              <font color="#000099">"  
 &lt;wsa:RelatesTo&gt;uuid:11112222-3333-4444-5555-666666666666\n"</font> +
  <a name="41" href="#41">41</a>              <font color="#000099">"  
 &lt;/wsa:RelatesTo&gt;\n"</font> +
  <a name="42" href="#42">42</a>              <font color="#000099">"  
 &lt;wsa:ReplyTo&gt;\n"</font> +
  <a name="43" href="#43">43</a>              <font color="#000099">"  
   &lt;wsa:Address&gt;http://business456.com/client1&lt;/wsa:Address&gt;\n"</font>
+
  <a name="44" href="#44">44</a>              <font color="#000099">"  
 &lt;/wsa:ReplyTo&gt;\n"</font> +
  <a name="45" href="#45">45</a>              <font color="#000099">"  
 &lt;wsa:FaultTo&gt;\n"</font> +
  <a name="46" href="#46">46</a>              <font color="#000099">"  
   &lt;wsa:Address&gt;http://business456.com/deadletters&lt;/wsa:Address&gt;\n"</font>
+
  <a name="47" href="#47">47</a>              <font color="#000099">"  
 &lt;/wsa:FaultTo&gt;\n"</font> +
  <a name="48" href="#48">48</a>              <font color="#000099">"  
 &lt;wsa:To S:mustUnderstand=\&quot;1\&quot;&gt;mailto:joe@fabrikam123.com&lt;/wsa:To&gt;\n"</font>
+
  <a name="49" href="#49">49</a>              <font color="#000099">"  
 &lt;wsa:Action&gt;http://fabrikam123.com/mail#Delete&lt;/wsa:Action&gt;\n"</font>
+
  <a name="50" href="#50">50</a>              <font color="#000099">"  &lt;/S:Header&gt;\n"</font>
+
  <a name="51" href="#51">51</a>              <font color="#000099">"  &lt;S:Body&gt;\n"</font>
+
  <a name="52" href="#52">52</a>              <font color="#000099">"  
 &lt;f123:Delete&gt;\n"</font> +
  <a name="53" href="#53">53</a>              <font color="#000099">"  
   &lt;maxCount&gt;42&lt;/maxCount&gt;\n"</font> +
  <a name="54" href="#54">54</a>              <font color="#000099">"  
 &lt;/f123:Delete&gt;\n"</font> +
  <a name="55" href="#55">55</a>              <font color="#000099">"  &lt;/S:Body&gt;\n"</font>
+
  <a name="56" href="#56">56</a>              <font color="#000099">"&lt;/S:Envelope&gt;"</font>;
  <a name="57" href="#57">57</a>  
  <a name="58" href="#58">58</a>      <b>public</b> <b>void</b>
testSOAPEnvelope() throws Exception {
  <a name="59" href="#59">59</a>          Message msg = <b>new</b>
Message(<b>new</b> ByteArrayInputStream(xml.getBytes()));
  <a name="60" href="#60">60</a>          AddressingHeaders headers = <b>new</b>
AddressingHeaders(msg.getSOAPEnvelope());
  <a name="61" href="#61">61</a>          System.out.println(<font color="#000099">"Header/MessageID
      : "</font> + headers.getMessageID());
  <a name="62" href="#62">62</a>          System.out.println(<font color="#000099">"Header/Action
         : "</font> + headers.getAction());
  <a name="63" href="#63">63</a>  
  <a name="64" href="#64">64</a>          System.out.println(<font color="#000099">"Header/To
             : "</font> + headers.getTo().getAddress());
  <a name="65" href="#65">65</a>          System.out.println(<font color="#000099">"Header/RelatesTo
      : "</font> + ((RelatesTo) headers.getRelatesTo().get(0)).getURI());
  <a name="66" href="#66">66</a>          System.out.println(<font color="#000099">"Header/FaultTo/Address
: "</font> + headers.getFaultTo().getAddress());
  <a name="67" href="#67">67</a>  
  <a name="68" href="#68">68</a>          System.out.println(<font color="#000099">"================================="</font>);
  <a name="69" href="#69">69</a>          System.out.println(msg.getSOAPPartAsString());
  <a name="70" href="#70">70</a>          System.out.println(<font color="#000099">"================================="</font>);
  <a name="71" href="#71">71</a>  
  <a name="72" href="#72">72</a>          headers.toEnvelope(msg.getSOAPEnvelope());
  <a name="73" href="#73">73</a>  
  <a name="74" href="#74">74</a>          System.out.println(<font color="#000099">"================================="</font>);
  <a name="75" href="#75">75</a>          System.out.println(msg.getSOAPPartAsString());
  <a name="76" href="#76">76</a>          System.out.println(<font color="#000099">"================================="</font>);
  <a name="77" href="#77">77</a>      }
  <a name="78" href="#78">78</a>  }
  </pre>
  <hr><center>This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></center></body>
  </html>
  
  
  
  

Mime
View raw message