<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://www.jexp.ru/index.php?action=history&amp;feed=atom&amp;title=Java%2FWeb_Services_SOA%2FWS_Addressing</id>
		<title>Java/Web Services SOA/WS Addressing - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://www.jexp.ru/index.php?action=history&amp;feed=atom&amp;title=Java%2FWeb_Services_SOA%2FWS_Addressing"/>
		<link rel="alternate" type="text/html" href="http://www.jexp.ru/index.php?title=Java/Web_Services_SOA/WS_Addressing&amp;action=history"/>
		<updated>2026-04-18T19:34:37Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.jexp.ru/index.php?title=Java/Web_Services_SOA/WS_Addressing&amp;diff=9191&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://www.jexp.ru/index.php?title=Java/Web_Services_SOA/WS_Addressing&amp;diff=9191&amp;oldid=prev"/>
				<updated>2010-06-01T07:27:29Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 07:27, 1 июня 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>http://www.jexp.ru/index.php?title=Java/Web_Services_SOA/WS_Addressing&amp;diff=9190&amp;oldid=prev</id>
		<title> в 18:01, 31 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://www.jexp.ru/index.php?title=Java/Web_Services_SOA/WS_Addressing&amp;diff=9190&amp;oldid=prev"/>
				<updated>2010-05-31T18:01:50Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== This demo shows how WS-Addressing support in Apache CXF may be enabled ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
WS-Addressing Demo&lt;br /&gt;
==================&lt;br /&gt;
This demo shows how WS-Addressing support in Apache CXF may be enabled.  &lt;br /&gt;
The client and server both use interceptor configuration to install the&lt;br /&gt;
WS-Addressing interceptor, comprising a logical interceptor (MAPAggregator)&lt;br /&gt;
responsible for aggregating the WS-A MessageAddressingProperties for&lt;br /&gt;
the current message, and a protocol interceptor (MAPCodec) responsible for&lt;br /&gt;
encoding/decoding these properties as SOAP Headers. &lt;br /&gt;
A demo-specific logging.properties file is used to snoop the log messages&lt;br /&gt;
relating to WS-A Headers and display these to the console in concise form.&lt;br /&gt;
Normally the WS-Addressing MessageAddressProperties are generated and&lt;br /&gt;
propagated implicitly, without any intravention from the&lt;br /&gt;
application. In certain circumstances however, the application may wish&lt;br /&gt;
to participate in MAP assembly, for example to associate a sequence of&lt;br /&gt;
requests via the RelatesTo header. This demo illustrates both implicit&lt;br /&gt;
and explicit MAP propagation.&lt;br /&gt;
This demo also illustrates usage of the decoupled HTTP transport, whereby&lt;br /&gt;
a seperate server-&amp;gt;client HTTP connection is used to deliver the responses.&lt;br /&gt;
Note the normal HTTP mode (where the response is delivered on the back-&lt;br /&gt;
channel of the original client-&amp;gt;server HTTP connection) may of course also&lt;br /&gt;
be used  with WS-Addressing; in this case the &amp;lt;wsa:ReplyTo&amp;gt; header is set to&lt;br /&gt;
a well-known anonymous URI, &amp;quot;http://www.w3.org/2005/08/addressing/anonymous&amp;quot;.&lt;br /&gt;
In all other respects this demo is based on the basic hello_world sample,&lt;br /&gt;
illustrating that WS-Addressing usage is independent of the application.&lt;br /&gt;
One notable addition to the familiar hello_world WSDL is the usage&lt;br /&gt;
of the &amp;lt;wsaw:UsingAddressing&amp;gt; extension element to indicate the&lt;br /&gt;
WS-Addressing support is enabled for the service endpoint.&lt;br /&gt;
Please review the README in the samples directory before continuing.&lt;br /&gt;
&lt;br /&gt;
Prerequisite&lt;br /&gt;
------------&lt;br /&gt;
If your environment already includes cxf-manifest-incubator.jar on the CLASSPATH,&lt;br /&gt;
and the JDK and ant bin directories on the PATH, it is not necessary to&lt;br /&gt;
run the environment script described in the samples directory README.&lt;br /&gt;
If your environment is not properly configured, or if you are planning&lt;br /&gt;
on using wsdl2java, javac, and java to build and run the demos, you must&lt;br /&gt;
set the environment by running the script.&lt;br /&gt;
&lt;br /&gt;
Building and running the demo using ant&lt;br /&gt;
---------------------------------------&lt;br /&gt;
From the samples/ws_addressing directory, the ant build script can be used to&lt;br /&gt;
build and run the demo.  The server and client targets automatically build&lt;br /&gt;
the demo.&lt;br /&gt;
Using either UNIX or Windows:&lt;br /&gt;
  ant server&lt;br /&gt;
  ant client&lt;br /&gt;
Both client and server will use the MAPAggregator and MAPCodec&lt;br /&gt;
handlers to aggregate and encode the WS-Addressing MAPs.&lt;br /&gt;
To remove the code generated from the WSDL file and the .class&lt;br /&gt;
files, run:&lt;br /&gt;
  ant clean&lt;br /&gt;
&lt;br /&gt;
Buildng the demo using wsdl2java and javac&lt;br /&gt;
------------------------------------------&lt;br /&gt;
From the samples/ws_addressing directory, first create the target directory&lt;br /&gt;
build/classes and then generate code from the WSDL file.&lt;br /&gt;
For UNIX:&lt;br /&gt;
  mkdir -p build/classes&lt;br /&gt;
  wsdl2java -d build/classes -compile ./wsdl/hello_world_addr.wsdl&lt;br /&gt;
For Windows:&lt;br /&gt;
  mkdir build\classes&lt;br /&gt;
    Must use back slashes.&lt;br /&gt;
  wsdl2java -d build\classes -compile .\wsdl\hello_world_addr.wsdl&lt;br /&gt;
    May use either forward or back slashes.&lt;br /&gt;
Now compile the provided client and server applications with the commands:&lt;br /&gt;
For UNIX:  &lt;br /&gt;
  &lt;br /&gt;
  export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-manifest-incubator.jar:./build/classes:.&lt;br /&gt;
  javac -d build/classes src/demo/ws_addressing/common/*.java&lt;br /&gt;
  javac -d build/classes src/demo/ws_addressing/client/*.java&lt;br /&gt;
  javac -d build/classes src/demo/ws_addressing/server/*.java&lt;br /&gt;
For Windows:&lt;br /&gt;
  set classpath=%classpath%;%CXF_HOME%\lib\cxf-manifest-incubator.jar;.\build\classes;.&lt;br /&gt;
  javac -d build\classes src\demo\ws_addressing\common\*.java&lt;br /&gt;
  javac -d build\classes src\demo\ws_addressing\client\*.java&lt;br /&gt;
  javac -d build\classes src\demo\ws_addressing\server\*.java&lt;br /&gt;
Running the demo using java&lt;br /&gt;
---------------------------&lt;br /&gt;
From the samples/ws_addressing directory run the commands (entered on a single command line):&lt;br /&gt;
For UNIX (must use forward slashes):&lt;br /&gt;
    java -Djava.util.logging.config.file=./logging.properties&lt;br /&gt;
         -Dcxf.config.file=server.xml&lt;br /&gt;
         demo.ws_addressing.server.Server &amp;amp;&lt;br /&gt;
    java -Djava.util.logging.config.file=./logging.properties&lt;br /&gt;
         -Dcxf.config.file=client.xml&lt;br /&gt;
         demo.ws_addressing.client.Client ./wsdl/hello_world_addr.wsdl&lt;br /&gt;
The server process starts in the background.&lt;br /&gt;
For Windows (may use either forward or back slashes):&lt;br /&gt;
  start &lt;br /&gt;
    java -Djava.util.logging.config.file=.\logging.properties&lt;br /&gt;
         -Dcxf.config.file=server.xml&lt;br /&gt;
         demo.ws_addressing.server.Server&lt;br /&gt;
    java -Djava.util.logging.config.file=.\logging.properties&lt;br /&gt;
         -Dcxf.config.file=client.xml&lt;br /&gt;
         demo.ws_addressing.client.Client .\wsdl\hello_world_addr.wsdl&lt;br /&gt;
The server process starts in a new command window.&lt;br /&gt;
After running the client, terminate the server process.&lt;br /&gt;
To remove the code generated from the WSDL file and the .class&lt;br /&gt;
files, either delete the build directory and its contents or run:&lt;br /&gt;
  ant clean&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- end source code --&amp;gt;&lt;/div&gt;</summary>
			</entry>

	</feed>