<?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_Policy</id>
		<title>Java/Web Services SOA/WS Policy - История изменений</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_Policy"/>
		<link rel="alternate" type="text/html" href="http://www.jexp.ru/index.php?title=Java/Web_Services_SOA/WS_Policy&amp;action=history"/>
		<updated>2026-04-18T19:36:21Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.jexp.ru/index.php?title=Java/Web_Services_SOA/WS_Policy&amp;diff=9193&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_Policy&amp;diff=9193&amp;oldid=prev"/>
				<updated>2010-06-01T07:27:30Z</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_Policy&amp;diff=9192&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_Policy&amp;diff=9192&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 the CXF WS-Policy framework in Apache CXF uses WSDL 1.1 Policy attachments to enable the use of WS-Addressing ==&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-Policy Demo&lt;br /&gt;
==============&lt;br /&gt;
This demo shows how the CXF WS-Policy framework in Apache CXF uses&lt;br /&gt;
WSDL 1.1 Policy attachments to enable the use of WS-Addressing.&lt;br /&gt;
While most of the demo is very similar to the ws_addressing demo, there&lt;br /&gt;
are two major differences:&lt;br /&gt;
1. � Policy element containing an Addressing assertion is attached to &lt;br /&gt;
the port element in the demo&amp;quot;s wsdl.&lt;br /&gt;
2. The configuration files for the client and server specify that the &lt;br /&gt;
CXF policy engine should be enabled. &lt;br /&gt;
In addition, the configuration file for the server tells the policy&lt;br /&gt;
engine where to look for external policy attachments. This is necessary&lt;br /&gt;
since neither the implementor not the interface specify wsdlLocation&lt;br /&gt;
in their WebService annotation (the client could also use external policy&lt;br /&gt;
attachments instead of WSDL 1.1 attachments).&lt;br /&gt;
Note that, apart from the configuration of the decoupled http endpoint &lt;br /&gt;
on which the client receives responses from the server, nothing else&lt;br /&gt;
needs to be configured. In particular, there is no need to specify the&lt;br /&gt;
WS-Addressing interceptors. The internals of what is involved in&lt;br /&gt;
ensuring that addressing headers are added to the messages (namely:&lt;br /&gt;
the addition of two addressing interceptors to the inbound and outbound&lt;br /&gt;
fault and message processing chains) are left to the policy framework,&lt;br /&gt;
or rather: its built-in support for the Addressing assertion.&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_policy 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;
Although not explicitly instructed to use these interceptors, &lt;br /&gt;
both client and server will use the MAPAggregator and MAPCodec&lt;br /&gt;
interceptors 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_policy 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_policy/common/*.java&lt;br /&gt;
  javac -d build/classes src/demo/ws_policy/client/*.java&lt;br /&gt;
  javac -d build/classes src/demo/ws_policy/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_policy\common\*.java&lt;br /&gt;
  javac -d build\classes src\demo\ws_policy\client\*.java&lt;br /&gt;
  javac -d build\classes src\demo\ws_policy\server\*.java&lt;br /&gt;
Running the demo using java&lt;br /&gt;
---------------------------&lt;br /&gt;
From the samples/ws_policy 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_policy.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_policy.client.Client&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_policy.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_policy.client.Client&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;
/////////////////////////////////////////////////////////////////////&lt;br /&gt;
/**&lt;br /&gt;
 * Licensed to the Apache Software Foundation (ASF) under one&lt;br /&gt;
 * or more contributor license agreements. See the NOTICE file&lt;br /&gt;
 * distributed with this work for additional information&lt;br /&gt;
 * regarding copyright ownership. The ASF licenses this file&lt;br /&gt;
 * to you under the Apache License, Version 2.0 (the&lt;br /&gt;
 * &amp;quot;License&amp;quot;); you may not use this file except in compliance&lt;br /&gt;
 * with the License. You may obtain a copy of the License at&lt;br /&gt;
 *&lt;br /&gt;
 * http://www.apache.org/licenses/LICENSE-2.0&lt;br /&gt;
 *&lt;br /&gt;
 * Unless required by applicable law or agreed to in writing,&lt;br /&gt;
 * software distributed under the License is distributed on an&lt;br /&gt;
 * &amp;quot;AS IS&amp;quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY&lt;br /&gt;
 * KIND, either express or implied. See the License for the&lt;br /&gt;
 * specific language governing permissions and limitations&lt;br /&gt;
 * under the License.&lt;br /&gt;
 */&lt;br /&gt;
package demo.ws_policy.client;&lt;br /&gt;
import org.apache.hello_world_soap_http.Greeter;&lt;br /&gt;
import org.apache.hello_world_soap_http.PingMeFault;&lt;br /&gt;
import org.apache.hello_world_soap_http.SOAPService;&lt;br /&gt;
public final class Client {&lt;br /&gt;
    &lt;br /&gt;
    private static final String USER_NAME = System.getProperty(&amp;quot;user.name&amp;quot;);&lt;br /&gt;
    private Client() {&lt;br /&gt;
    } &lt;br /&gt;
    public static void main(String args[]) {&lt;br /&gt;
        try { &lt;br /&gt;
            SOAPService service = new SOAPService();&lt;br /&gt;
            Greeter port = service.getSoapPort();&lt;br /&gt;
            System.out.println(&amp;quot;Invoking sayHi...&amp;quot;);&lt;br /&gt;
            String resp = port.sayHi();&lt;br /&gt;
            System.out.println(&amp;quot;Server responded with: &amp;quot; + resp + &amp;quot;\n&amp;quot;);&lt;br /&gt;
    &lt;br /&gt;
            System.out.println(&amp;quot;Invoking greetMe...&amp;quot;);&lt;br /&gt;
            resp = port.greetMe(USER_NAME);&lt;br /&gt;
            System.out.println(&amp;quot;Server responded with: &amp;quot; + resp + &amp;quot;\n&amp;quot;);&lt;br /&gt;
    &lt;br /&gt;
            System.out.println(&amp;quot;Invoking greetMeOneWay...&amp;quot;);&lt;br /&gt;
            port.greetMeOneWay(USER_NAME);&lt;br /&gt;
            System.out.println(&amp;quot;No response from server as method is OneWay\n&amp;quot;);&lt;br /&gt;
    &lt;br /&gt;
            try {&lt;br /&gt;
                System.out.println(&amp;quot;Invoking pingMe, expecting exception...&amp;quot;);&lt;br /&gt;
                port.pingMe();&lt;br /&gt;
            } catch (PingMeFault ex) {&lt;br /&gt;
                System.out.println(&amp;quot;Expected exception occurred: &amp;quot; + ex);&lt;br /&gt;
            }&lt;br /&gt;
        } catch (Exception ex) { &lt;br /&gt;
            ex.printStackTrace();&lt;br /&gt;
        }  finally { &lt;br /&gt;
            System.exit(0); &lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
////////////////////////////////////////////////////////////////////&lt;br /&gt;
/**&lt;br /&gt;
 * Licensed to the Apache Software Foundation (ASF) under one&lt;br /&gt;
 * or more contributor license agreements. See the NOTICE file&lt;br /&gt;
 * distributed with this work for additional information&lt;br /&gt;
 * regarding copyright ownership. The ASF licenses this file&lt;br /&gt;
 * to you under the Apache License, Version 2.0 (the&lt;br /&gt;
 * &amp;quot;License&amp;quot;); you may not use this file except in compliance&lt;br /&gt;
 * with the License. You may obtain a copy of the License at&lt;br /&gt;
 *&lt;br /&gt;
 * http://www.apache.org/licenses/LICENSE-2.0&lt;br /&gt;
 *&lt;br /&gt;
 * Unless required by applicable law or agreed to in writing,&lt;br /&gt;
 * software distributed under the License is distributed on an&lt;br /&gt;
 * &amp;quot;AS IS&amp;quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY&lt;br /&gt;
 * KIND, either express or implied. See the License for the&lt;br /&gt;
 * specific language governing permissions and limitations&lt;br /&gt;
 * under the License.&lt;br /&gt;
 */&lt;br /&gt;
package demo.ws_policy.rumon;&lt;br /&gt;
import java.util.logging.LogRecord;&lt;br /&gt;
import java.util.logging.SimpleFormatter;&lt;br /&gt;
public class ConciseFormatter extends SimpleFormatter {&lt;br /&gt;
    public synchronized String format(LogRecord record) {&lt;br /&gt;
        String longForm = super.format(record);&lt;br /&gt;
        String shortForm = longForm.indexOf(&amp;quot;INFO: &amp;quot;) &amp;gt; 0&lt;br /&gt;
                           ? longForm.substring(longForm.indexOf(&amp;quot;INFO: &amp;quot;) + 6)&lt;br /&gt;
                           : longForm;&lt;br /&gt;
        return shortForm;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/////////////////////////////////////////////////////////////////////&lt;br /&gt;
/**&lt;br /&gt;
 * Licensed to the Apache Software Foundation (ASF) under one&lt;br /&gt;
 * or more contributor license agreements. See the NOTICE file&lt;br /&gt;
 * distributed with this work for additional information&lt;br /&gt;
 * regarding copyright ownership. The ASF licenses this file&lt;br /&gt;
 * to you under the Apache License, Version 2.0 (the&lt;br /&gt;
 * &amp;quot;License&amp;quot;); you may not use this file except in compliance&lt;br /&gt;
 * with the License. You may obtain a copy of the License at&lt;br /&gt;
 *&lt;br /&gt;
 * http://www.apache.org/licenses/LICENSE-2.0&lt;br /&gt;
 *&lt;br /&gt;
 * Unless required by applicable law or agreed to in writing,&lt;br /&gt;
 * software distributed under the License is distributed on an&lt;br /&gt;
 * &amp;quot;AS IS&amp;quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY&lt;br /&gt;
 * KIND, either express or implied. See the License for the&lt;br /&gt;
 * specific language governing permissions and limitations&lt;br /&gt;
 * under the License.&lt;br /&gt;
 */&lt;br /&gt;
package demo.ws_policy.server;&lt;br /&gt;
import java.util.logging.Logger;&lt;br /&gt;
import javax.jws.WebService;&lt;br /&gt;
import org.apache.hello_world_soap_http.Greeter;&lt;br /&gt;
import org.apache.hello_world_soap_http.PingMeFault;&lt;br /&gt;
import org.apache.hello_world_soap_http.types.FaultDetail;&lt;br /&gt;
&lt;br /&gt;
@WebService(name = &amp;quot;Greeter&amp;quot;,&lt;br /&gt;
            serviceName = &amp;quot;SOAPService&amp;quot;, &lt;br /&gt;
            targetNamespace = &amp;quot;http://apache.org/hello_world_soap_http&amp;quot;)&lt;br /&gt;
                  &lt;br /&gt;
public class GreeterImpl implements Greeter {&lt;br /&gt;
    private static final Logger LOG = &lt;br /&gt;
        Logger.getLogger(GreeterImpl.class.getPackage().getName());&lt;br /&gt;
    &lt;br /&gt;
    /* (non-Javadoc)&lt;br /&gt;
     * @see org.apache.hello_world_soap_http.Greeter#greetMe(java.lang.String)&lt;br /&gt;
     */&lt;br /&gt;
    public String greetMe(String me) {&lt;br /&gt;
        LOG.info(&amp;quot;Executing operation greetMe&amp;quot;);&lt;br /&gt;
        System.out.println(&amp;quot;Executing operation greetMe&amp;quot;);&lt;br /&gt;
        System.out.println(&amp;quot;Message received: &amp;quot; + me + &amp;quot;\n&amp;quot;);&lt;br /&gt;
        return &amp;quot;Hello &amp;quot; + me;&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    /* (non-Javadoc)&lt;br /&gt;
     * @see org.apache.hello_world_soap_http.Greeter#greetMeOneWay(java.lang.String)&lt;br /&gt;
     */&lt;br /&gt;
    public void greetMeOneWay(String me) {&lt;br /&gt;
        LOG.info(&amp;quot;Executing operation greetMeOneWay&amp;quot;);&lt;br /&gt;
        System.out.println(&amp;quot;Executing operation greetMeOneWay\n&amp;quot;);&lt;br /&gt;
        System.out.println(&amp;quot;Hello there &amp;quot; + me);&lt;br /&gt;
    }&lt;br /&gt;
    /* (non-Javadoc)&lt;br /&gt;
     * @see org.apache.hello_world_soap_http.Greeter#sayHi()&lt;br /&gt;
     */&lt;br /&gt;
    public String sayHi() {&lt;br /&gt;
        LOG.info(&amp;quot;Executing operation sayHi&amp;quot;);&lt;br /&gt;
        System.out.println(&amp;quot;Executing operation sayHi\n&amp;quot;);&lt;br /&gt;
        return &amp;quot;Bonjour&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    public void pingMe() throws PingMeFault {&lt;br /&gt;
        FaultDetail faultDetail = new FaultDetail();&lt;br /&gt;
        faultDetail.setMajor((short)2);&lt;br /&gt;
        faultDetail.setMinor((short)1);&lt;br /&gt;
        LOG.info(&amp;quot;Executing operation pingMe, throwing PingMeFault exception&amp;quot;);&lt;br /&gt;
        System.out.println(&amp;quot;Executing operation pingMe, throwing PingMeFault exception\n&amp;quot;);&lt;br /&gt;
        throw new PingMeFault(&amp;quot;PingMeFault raised by server&amp;quot;, faultDetail);&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/////////////////////////////////////////////////////////////////////////&lt;br /&gt;
/**&lt;br /&gt;
 * Licensed to the Apache Software Foundation (ASF) under one&lt;br /&gt;
 * or more contributor license agreements. See the NOTICE file&lt;br /&gt;
 * distributed with this work for additional information&lt;br /&gt;
 * regarding copyright ownership. The ASF licenses this file&lt;br /&gt;
 * to you under the Apache License, Version 2.0 (the&lt;br /&gt;
 * &amp;quot;License&amp;quot;); you may not use this file except in compliance&lt;br /&gt;
 * with the License. You may obtain a copy of the License at&lt;br /&gt;
 *&lt;br /&gt;
 * http://www.apache.org/licenses/LICENSE-2.0&lt;br /&gt;
 *&lt;br /&gt;
 * Unless required by applicable law or agreed to in writing,&lt;br /&gt;
 * software distributed under the License is distributed on an&lt;br /&gt;
 * &amp;quot;AS IS&amp;quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY&lt;br /&gt;
 * KIND, either express or implied. See the License for the&lt;br /&gt;
 * specific language governing permissions and limitations&lt;br /&gt;
 * under the License.&lt;br /&gt;
 */&lt;br /&gt;
package demo.ws_policy.server;&lt;br /&gt;
import javax.xml.ws.Endpoint;&lt;br /&gt;
public class Server {&lt;br /&gt;
    protected Server() throws Exception {&lt;br /&gt;
        System.out.println(&amp;quot;Starting Server&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
        Object implementor = new GreeterImpl();&lt;br /&gt;
        String address = &amp;quot;http://localhost:9000/SoapContext/SoapPort&amp;quot;;&lt;br /&gt;
        Endpoint.publish(address, implementor);&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    public static void main(String args[]) throws Exception {&lt;br /&gt;
        new Server();&lt;br /&gt;
        System.out.println(&amp;quot;Server ready...&amp;quot;); &lt;br /&gt;
        &lt;br /&gt;
        Thread.sleep(5 * 60 * 1000); &lt;br /&gt;
        System.out.println(&amp;quot;Server exiting&amp;quot;);&lt;br /&gt;
        System.exit(0);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
  Licensed to the Apache Software Foundation (ASF) under one&lt;br /&gt;
  or more contributor license agreements. See the NOTICE file&lt;br /&gt;
  distributed with this work for additional information&lt;br /&gt;
  regarding copyright ownership. The ASF licenses this file&lt;br /&gt;
  to you under the Apache License, Version 2.0 (the&lt;br /&gt;
  &amp;quot;License&amp;quot;); you may not use this file except in compliance&lt;br /&gt;
  with the License. You may obtain a copy of the License at&lt;br /&gt;
 &lt;br /&gt;
  http://www.apache.org/licenses/LICENSE-2.0&lt;br /&gt;
 &lt;br /&gt;
  Unless required by applicable law or agreed to in writing,&lt;br /&gt;
  software distributed under the License is distributed on an&lt;br /&gt;
  &amp;quot;AS IS&amp;quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY&lt;br /&gt;
  KIND, either express or implied. See the License for the&lt;br /&gt;
  specific language governing permissions and limitations&lt;br /&gt;
  under the License.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;wsdl:definitions name=&amp;quot;HelloWorld&amp;quot; targetNamespace=&amp;quot;http://apache.org/hello_world_soap_http&amp;quot; &lt;br /&gt;
    xmlns=&amp;quot;http://schemas.xmlsoap.org/wsdl/&amp;quot; &lt;br /&gt;
    xmlns:soap=&amp;quot;http://schemas.xmlsoap.org/wsdl/soap/&amp;quot; &lt;br /&gt;
    xmlns:tns=&amp;quot;http://apache.org/hello_world_soap_http&amp;quot;&lt;br /&gt;
    xmlns:x1=&amp;quot;http://apache.org/hello_world_soap_http/types&amp;quot;&lt;br /&gt;
    xmlns:wsdl=&amp;quot;http://schemas.xmlsoap.org/wsdl/&amp;quot; &lt;br /&gt;
    xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;wsdl:types&amp;gt;&lt;br /&gt;
        &amp;lt;schema targetNamespace=&amp;quot;http://apache.org/hello_world_soap_http/types&amp;quot; &lt;br /&gt;
            xmlns=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; elementFormDefault=&amp;quot;qualified&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;element name=&amp;quot;sayHi&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;complexType/&amp;gt;&lt;br /&gt;
            &amp;lt;/element&amp;gt;&lt;br /&gt;
            &amp;lt;element name=&amp;quot;sayHiResponse&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;complexType&amp;gt;&lt;br /&gt;
                    &amp;lt;sequence&amp;gt;&lt;br /&gt;
                        &amp;lt;element name=&amp;quot;responseType&amp;quot; type=&amp;quot;xsd:string&amp;quot;/&amp;gt;&lt;br /&gt;
                    &amp;lt;/sequence&amp;gt;&lt;br /&gt;
                &amp;lt;/complexType&amp;gt;&lt;br /&gt;
            &amp;lt;/element&amp;gt;&lt;br /&gt;
            &amp;lt;element name=&amp;quot;greetMe&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;complexType&amp;gt;&lt;br /&gt;
                    &amp;lt;sequence&amp;gt;&lt;br /&gt;
                        &amp;lt;element name=&amp;quot;requestType&amp;quot; type=&amp;quot;xsd:string&amp;quot;/&amp;gt;&lt;br /&gt;
                    &amp;lt;/sequence&amp;gt;&lt;br /&gt;
                &amp;lt;/complexType&amp;gt;&lt;br /&gt;
            &amp;lt;/element&amp;gt;&lt;br /&gt;
            &amp;lt;element name=&amp;quot;greetMeResponse&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;complexType&amp;gt;&lt;br /&gt;
                    &amp;lt;sequence&amp;gt;&lt;br /&gt;
                        &amp;lt;element name=&amp;quot;responseType&amp;quot; type=&amp;quot;xsd:string&amp;quot;/&amp;gt;&lt;br /&gt;
                    &amp;lt;/sequence&amp;gt;&lt;br /&gt;
                &amp;lt;/complexType&amp;gt;&lt;br /&gt;
            &amp;lt;/element&amp;gt;&lt;br /&gt;
            &amp;lt;element name=&amp;quot;greetMeOneWay&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;complexType&amp;gt;&lt;br /&gt;
                    &amp;lt;sequence&amp;gt;&lt;br /&gt;
                        &amp;lt;element name=&amp;quot;requestType&amp;quot; type=&amp;quot;xsd:string&amp;quot;/&amp;gt;&lt;br /&gt;
                    &amp;lt;/sequence&amp;gt;&lt;br /&gt;
                &amp;lt;/complexType&amp;gt;&lt;br /&gt;
            &amp;lt;/element&amp;gt;&lt;br /&gt;
            &amp;lt;element name=&amp;quot;pingMe&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;complexType/&amp;gt;&lt;br /&gt;
            &amp;lt;/element&amp;gt;&lt;br /&gt;
            &amp;lt;element name=&amp;quot;pingMeResponse&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;complexType/&amp;gt;&lt;br /&gt;
            &amp;lt;/element&amp;gt;&lt;br /&gt;
            &amp;lt;element name=&amp;quot;faultDetail&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;complexType&amp;gt;&lt;br /&gt;
                    &amp;lt;sequence&amp;gt;&lt;br /&gt;
                        &amp;lt;element name=&amp;quot;minor&amp;quot; type=&amp;quot;xsd:short&amp;quot;/&amp;gt;&lt;br /&gt;
                        &amp;lt;element name=&amp;quot;major&amp;quot; type=&amp;quot;xsd:short&amp;quot;/&amp;gt;&lt;br /&gt;
                    &amp;lt;/sequence&amp;gt;&lt;br /&gt;
                &amp;lt;/complexType&amp;gt;&lt;br /&gt;
            &amp;lt;/element&amp;gt;&lt;br /&gt;
        &amp;lt;/schema&amp;gt;&lt;br /&gt;
    &amp;lt;/wsdl:types&amp;gt;&lt;br /&gt;
    &amp;lt;wsdl:message name=&amp;quot;sayHiRequest&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;wsdl:part element=&amp;quot;x1:sayHi&amp;quot; name=&amp;quot;in&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/wsdl:message&amp;gt;&lt;br /&gt;
    &amp;lt;wsdl:message name=&amp;quot;sayHiResponse&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;wsdl:part element=&amp;quot;x1:sayHiResponse&amp;quot; name=&amp;quot;out&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/wsdl:message&amp;gt;&lt;br /&gt;
    &amp;lt;wsdl:message name=&amp;quot;greetMeRequest&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;wsdl:part element=&amp;quot;x1:greetMe&amp;quot; name=&amp;quot;in&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/wsdl:message&amp;gt;&lt;br /&gt;
    &amp;lt;wsdl:message name=&amp;quot;greetMeResponse&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;wsdl:part element=&amp;quot;x1:greetMeResponse&amp;quot; name=&amp;quot;out&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/wsdl:message&amp;gt;&lt;br /&gt;
    &amp;lt;wsdl:message name=&amp;quot;greetMeOneWayRequest&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;wsdl:part element=&amp;quot;x1:greetMeOneWay&amp;quot; name=&amp;quot;in&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/wsdl:message&amp;gt;&lt;br /&gt;
    &amp;lt;wsdl:message name=&amp;quot;pingMeRequest&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;wsdl:part name=&amp;quot;in&amp;quot; element=&amp;quot;x1:pingMe&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/wsdl:message&amp;gt;&lt;br /&gt;
    &amp;lt;wsdl:message name=&amp;quot;pingMeResponse&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;wsdl:part name=&amp;quot;out&amp;quot; element=&amp;quot;x1:pingMeResponse&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/wsdl:message&amp;gt;        &lt;br /&gt;
    &amp;lt;wsdl:message name=&amp;quot;pingMeFault&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;wsdl:part name=&amp;quot;faultDetail&amp;quot; element=&amp;quot;x1:faultDetail&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/wsdl:message&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
    &amp;lt;wsdl:portType name=&amp;quot;Greeter&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;wsdl:operation name=&amp;quot;sayHi&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;wsdl:input message=&amp;quot;tns:sayHiRequest&amp;quot; name=&amp;quot;sayHiRequest&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;wsdl:output message=&amp;quot;tns:sayHiResponse&amp;quot; name=&amp;quot;sayHiResponse&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/wsdl:operation&amp;gt;&lt;br /&gt;
        &lt;br /&gt;
        &amp;lt;wsdl:operation name=&amp;quot;greetMe&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;wsdl:input message=&amp;quot;tns:greetMeRequest&amp;quot; name=&amp;quot;greetMeRequest&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;wsdl:output message=&amp;quot;tns:greetMeResponse&amp;quot; name=&amp;quot;greetMeResponse&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/wsdl:operation&amp;gt;&lt;br /&gt;
        &lt;br /&gt;
        &amp;lt;wsdl:operation name=&amp;quot;greetMeOneWay&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;wsdl:input message=&amp;quot;tns:greetMeOneWayRequest&amp;quot; name=&amp;quot;greetMeOneWayRequest&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/wsdl:operation&amp;gt;&lt;br /&gt;
        &amp;lt;wsdl:operation name=&amp;quot;pingMe&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;wsdl:input name=&amp;quot;pingMeRequest&amp;quot; message=&amp;quot;tns:pingMeRequest&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;wsdl:output name=&amp;quot;pingMeResponse&amp;quot; message=&amp;quot;tns:pingMeResponse&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;wsdl:fault name=&amp;quot;pingMeFault&amp;quot; message=&amp;quot;tns:pingMeFault&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/wsdl:operation&amp;gt; &lt;br /&gt;
    &amp;lt;/wsdl:portType&amp;gt;&lt;br /&gt;
    &amp;lt;wsdl:binding name=&amp;quot;Greeter_SOAPBinding&amp;quot; type=&amp;quot;tns:Greeter&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;soap:binding style=&amp;quot;document&amp;quot; transport=&amp;quot;http://schemas.xmlsoap.org/soap/http&amp;quot;/&amp;gt;&lt;br /&gt;
        &lt;br /&gt;
        &amp;lt;wsdl:operation name=&amp;quot;sayHi&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;soap:operation soapAction=&amp;quot;&amp;quot; style=&amp;quot;document&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;wsdl:input name=&amp;quot;sayHiRequest&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;soap:body use=&amp;quot;literal&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/wsdl:input&amp;gt;&lt;br /&gt;
            &amp;lt;wsdl:output name=&amp;quot;sayHiResponse&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;soap:body use=&amp;quot;literal&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/wsdl:output&amp;gt;&lt;br /&gt;
        &amp;lt;/wsdl:operation&amp;gt;&lt;br /&gt;
        &lt;br /&gt;
        &amp;lt;wsdl:operation name=&amp;quot;greetMe&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;soap:operation soapAction=&amp;quot;&amp;quot; style=&amp;quot;document&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;wsdl:input name=&amp;quot;greetMeRequest&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;soap:body use=&amp;quot;literal&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/wsdl:input&amp;gt;&lt;br /&gt;
            &amp;lt;wsdl:output name=&amp;quot;greetMeResponse&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;soap:body use=&amp;quot;literal&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/wsdl:output&amp;gt;&lt;br /&gt;
        &amp;lt;/wsdl:operation&amp;gt;&lt;br /&gt;
        &lt;br /&gt;
        &amp;lt;wsdl:operation name=&amp;quot;greetMeOneWay&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;soap:operation soapAction=&amp;quot;&amp;quot; style=&amp;quot;document&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;wsdl:input name=&amp;quot;greetMeOneWayRequest&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;soap:body use=&amp;quot;literal&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/wsdl:input&amp;gt;&lt;br /&gt;
        &amp;lt;/wsdl:operation&amp;gt;&lt;br /&gt;
            &amp;lt;wsdl:operation name=&amp;quot;pingMe&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;soap:operation style=&amp;quot;document&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;wsdl:input&amp;gt;&lt;br /&gt;
                &amp;lt;soap:body use=&amp;quot;literal&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/wsdl:input&amp;gt;&lt;br /&gt;
            &amp;lt;wsdl:output&amp;gt;&lt;br /&gt;
                &amp;lt;soap:body use=&amp;quot;literal&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/wsdl:output&amp;gt;&lt;br /&gt;
            &amp;lt;wsdl:fault name=&amp;quot;pingMeFault&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;soap:fault name=&amp;quot;pingMeFault&amp;quot; use=&amp;quot;literal&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/wsdl:fault&amp;gt;&lt;br /&gt;
        &amp;lt;/wsdl:operation&amp;gt;&lt;br /&gt;
        &lt;br /&gt;
    &amp;lt;/wsdl:binding&amp;gt;&lt;br /&gt;
    &amp;lt;wsdl:service name=&amp;quot;SOAPService&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;wsdl:port binding=&amp;quot;tns:Greeter_SOAPBinding&amp;quot; name=&amp;quot;SoapPort&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;soap:address location=&amp;quot;http://localhost:9000/SoapContext/SoapPort&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;wsp:Policy xmlns:wsp=&amp;quot;http://www.w3.org/2006/07/ws-policy&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;wsam:Addressing xmlns:wsam=&amp;quot;http://www.w3.org/2007/02/addressing/metadata&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;wsp:Policy/&amp;gt;&lt;br /&gt;
                &amp;lt;/wsam:Addressing&amp;gt;&lt;br /&gt;
            &amp;lt;/wsp:Policy&amp;gt;&lt;br /&gt;
            &amp;lt;wswa:UsingAddressing xmlns:wswa=&amp;quot;http://www.w3.org/2005/02/addressing/wsdl&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/wsdl:port&amp;gt;&lt;br /&gt;
    &amp;lt;/wsdl:service&amp;gt;&lt;br /&gt;
&amp;lt;/wsdl:definitions&amp;gt;&lt;br /&gt;
&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>