[jboss-svn-commits] JBL Code SVN: r37958 - in labs/jbossesb/trunk/product: services/soap and 3 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Mar 28 03:37:47 EDT 2012


Author: mageshbk at jboss.com
Date: 2012-03-28 03:37:45 -0400 (Wed, 28 Mar 2012)
New Revision: 37958

Added:
   labs/jbossesb/trunk/product/lib/ext/jboss-jaxrpc.jar
   labs/jbossesb/trunk/product/lib/ext/policy.jar
   labs/jbossesb/trunk/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/wise/ComplexObject.java
   labs/jbossesb/trunk/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/wise/PingComplexObject.java
   labs/jbossesb/trunk/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/wise/SOAPClientAspectUnitTest.java
   labs/jbossesb/trunk/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/wise/wrappedservice.wsdl
   labs/jbossesb/trunk/product/services/soap/src/test/resources/META-INF/
   labs/jbossesb/trunk/product/services/soap/src/test/resources/META-INF/standard-jaxws-client-config.xml
Modified:
   labs/jbossesb/trunk/product/services/soap/build.xml
Log:
[JBESB-3766] - Added test for JBESB-3727

Added: labs/jbossesb/trunk/product/lib/ext/jboss-jaxrpc.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbossesb/trunk/product/lib/ext/jboss-jaxrpc.jar
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: labs/jbossesb/trunk/product/lib/ext/policy.jar
===================================================================
(Binary files differ)


Property changes on: labs/jbossesb/trunk/product/lib/ext/policy.jar
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Modified: labs/jbossesb/trunk/product/services/soap/build.xml
===================================================================
--- labs/jbossesb/trunk/product/services/soap/build.xml	2012-03-27 20:11:08 UTC (rev 37957)
+++ labs/jbossesb/trunk/product/services/soap/build.xml	2012-03-28 07:37:45 UTC (rev 37958)
@@ -41,10 +41,23 @@
         <path id="classpath">
             <path refid="base-classpath" />
 
-            <fileset dir="../../lib/ext" includes="*.jar"/>
+            <fileset dir="../../lib/ext">
+                <include name="cxf-api*.jar"/>
+                <include name="cxf-common-utilities*.jar"/>
+                <include name="cxf-rt-core*.jar"/>
+                <include name="cxf-rt-transports-http*.jar"/>
+                <include name="jbossws-core.jar"/>
+                <include name="jbossws-spi.jar"/>
+                <include name="jbossws-cxf-server.jar"/>
+                <include name="servlet-api.jar"/>
+                <include name="wsdl4j*.jar"/>
+            </fileset>
             <fileset dir="../../build/lib">
-	     <include name="*.jar"/>
-	     <exclude name="ant**"/>
+                <include name="commons-httpclient*.jar"/>
+                <include name="javassist*.jar"/>
+                <include name="jboss-aop*.jar"/>
+                <include name="jboss-metadata*.jar"/>
+                <include name="spring-context*.jar"/>
             </fileset>
             <!-- Adding the Smooks jars... -->
             <fileset dir="../smooks/lib/ext" includes="*.jar"/>
@@ -54,7 +67,27 @@
             <pathelement location="../soapui-client/target/classes" />
         </path>
         <path id="exec.classpath">
+            <pathelement location="${aop.jar}"/>
+            <pathelement location="${build.dir}/${wise.jar}"/>
             <path refid="classpath"/>
+
+            <fileset dir="../../lib/ext">
+                <include name="commons-ssl*.jar"/>
+                <include name="jboss-jaxrpc.jar"/>
+                <include name="jboss-jaxws.jar"/>
+                <include name="policy.jar"/>
+            </fileset>
+            <fileset dir="../../build/lib">
+                <include name="javassist*.jar"/>
+                <include name="jaxb-xjc*.jar"/>
+                <include name="jaxws-rt*.jar"/>
+                <include name="jaxws-tools*.jar"/>
+                <include name="jbossxb*.jar"/>
+                <include name="xerces*.jar"/>
+                <include name="wstx*.jar"/>
+            </fileset>
+            <fileset dir="${java.home}/lib" includes="tools.jar"/>
+            <fileset dir="${java.home}/../lib" includes="tools.jar"/>
         </path>
     </target>
 

Added: labs/jbossesb/trunk/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/wise/ComplexObject.java
===================================================================
--- labs/jbossesb/trunk/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/wise/ComplexObject.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/wise/ComplexObject.java	2012-03-28 07:37:45 UTC (rev 37958)
@@ -0,0 +1,137 @@
+/*
+ * JBoss, Home of Professional Open Source Copyright 2012, Red Hat Middleware
+ * LLC, and individual contributors by the @authors tag. See the copyright.txt
+ * in the distribution for a full listing of individual contributors.
+ * 
+ * This is free software; you can redistribute it and/or modify it under the
+ * terms of the GNU Lesser General Public License as published by the Free
+ * Software Foundation; either version 2.1 of the License, or (at your option)
+ * any later version.
+ * 
+ * This software is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+ * details.
+ * 
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this software; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF
+ * site: http://www.fsf.org.
+ */
+package org.jboss.soa.esb.actions.soap.wise;
+
+import java.util.Date;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for complexObject complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="complexObject">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="calendarField" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
+ *         &lt;element name="integerField" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
+ *         &lt;element name="stringField" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "complexObject", propOrder = {
+    "calendarField",
+    "integerField",
+    "stringField"
+})
+public class ComplexObject {
+
+    @XmlSchemaType(name = "dateTime")
+    protected Date calendarField;
+    protected Integer integerField;
+    protected String stringField;
+
+    /**
+     * Gets the value of the calendarField property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Date }
+     *     
+     */
+    public Date getCalendarField() {
+        return calendarField;
+    }
+
+    /**
+     * Sets the value of the calendarField property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Date }
+     *     
+     */
+    public void setCalendarField(Date value) {
+        this.calendarField = value;
+    }
+
+    /**
+     * Gets the value of the integerField property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Integer }
+     *     
+     */
+    public Integer getIntegerField() {
+        return integerField;
+    }
+
+    /**
+     * Sets the value of the integerField property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Integer }
+     *     
+     */
+    public void setIntegerField(Integer value) {
+        this.integerField = value;
+    }
+
+    /**
+     * Gets the value of the stringField property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getStringField() {
+        return stringField;
+    }
+
+    /**
+     * Sets the value of the stringField property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setStringField(String value) {
+        this.stringField = value;
+    }
+
+}

Added: labs/jbossesb/trunk/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/wise/PingComplexObject.java
===================================================================
--- labs/jbossesb/trunk/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/wise/PingComplexObject.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/wise/PingComplexObject.java	2012-03-28 07:37:45 UTC (rev 37958)
@@ -0,0 +1,106 @@
+/*
+ * JBoss, Home of Professional Open Source Copyright 2012, Red Hat Middleware
+ * LLC, and individual contributors by the @authors tag. See the copyright.txt
+ * in the distribution for a full listing of individual contributors.
+ * 
+ * This is free software; you can redistribute it and/or modify it under the
+ * terms of the GNU Lesser General Public License as published by the Free
+ * Software Foundation; either version 2.1 of the License, or (at your option)
+ * any later version.
+ * 
+ * This software is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+ * details.
+ * 
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this software; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF
+ * site: http://www.fsf.org.
+ */
+package org.jboss.soa.esb.actions.soap.wise;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for pingComplexObject complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="pingComplexObject">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="complexObject" type="{http://webservice_consumer_wiseWRAPPED/pingws}complexObject" minOccurs="0"/>
+ *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "pingComplexObject", propOrder = {
+    "complexObject",
+    "name"
+})
+public class PingComplexObject {
+
+    protected ComplexObject complexObject;
+    protected String name;
+
+    /**
+     * Gets the value of the complexObject property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link ComplexObject }
+     *     
+     */
+    public ComplexObject getComplexObject() {
+        return complexObject;
+    }
+
+    /**
+     * Sets the value of the complexObject property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link ComplexObject }
+     *     
+     */
+    public void setComplexObject(ComplexObject value) {
+        this.complexObject = value;
+    }
+
+    /**
+     * Gets the value of the name property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * Sets the value of the name property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setName(String value) {
+        this.name = value;
+    }
+
+}

Added: labs/jbossesb/trunk/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/wise/SOAPClientAspectUnitTest.java
===================================================================
--- labs/jbossesb/trunk/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/wise/SOAPClientAspectUnitTest.java	                        (rev 0)
+++ labs/jbossesb/trunk/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/wise/SOAPClientAspectUnitTest.java	2012-03-28 07:37:45 UTC (rev 37958)
@@ -0,0 +1,99 @@
+/*
+ * JBoss, Home of Professional Open Source Copyright 2012, Red Hat Middleware
+ * LLC, and individual contributors by the @authors tag. See the copyright.txt
+ * in the distribution for a full listing of individual contributors.
+ * 
+ * This is free software; you can redistribute it and/or modify it under the
+ * terms of the GNU Lesser General Public License as published by the Free
+ * Software Foundation; either version 2.1 of the License, or (at your option)
+ * any later version.
+ * 
+ * This software is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+ * details.
+ * 
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this software; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF
+ * site: http://www.fsf.org.
+ */
+package org.jboss.soa.esb.actions.soap.wise;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
+import it.javalinux.wise.core.client.WSDynamicClient;
+import it.javalinux.wise.core.client.WSEndpoint;
+import it.javalinux.wise.core.client.WSMethod;
+import it.javalinux.wise.core.utils.WiseProperties;
+
+import java.io.File;
+import java.util.Date;
+import java.util.HashMap;
+import java.util.Map;
+
+import junit.framework.JUnit4TestAdapter;
+
+import org.jboss.aop.joinpoint.MethodInvocation;
+import org.jboss.internal.soa.esb.soap.wise.WSMethodParameterMappingAspect;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
+import org.junit.Test;
+
+/**
+ *
+ * @author <a href='mailto:mbojan at jboss.com'>Magesh Kumar B</a>
+ */
+public class SOAPClientAspectUnitTest
+{
+    @Test
+    public void wrappedService() throws Throwable
+    {
+        WiseProperties props = WiseProperties.newInstance("build/working");
+        props.setProperty("wise.forceImportObject", "true");
+        props.setProperty("wise.targetPackage", "org.jboss.soa.esb.actions.soap.wise");
+        props.setProperty("wise.keepGeneratedSources", "true");
+        props.setProperty("wise.wsImporter.verbose", "true");
+
+        WSDynamicClient client = new WSDynamicClient(props);
+        assertNotNull(client);
+        client.init(getClass().getResource("wrappedservice.wsdl").toExternalForm(), "wrappedservice", null, null);
+        Map<String, WSEndpoint> endpoints = client.processEndpoints();
+        assertNotNull(endpoints);
+        Map<String, WSMethod> methods = endpoints.get("PingWSPort").getWSMethods();
+        assertNotNull(methods);
+        WSMethod method = methods.get("pingComplexObject");
+        assertNotNull(method);
+
+        Map<String, Object> args = new HashMap<String, Object>();
+        PingComplexObject wrapper = new PingComplexObject();
+        ComplexObject complex = new ComplexObject();
+        complex.setIntegerField(1);
+        complex.setStringField("Testing with AOP");
+        Date date = new Date();
+        complex.setCalendarField(date);
+        wrapper.setComplexObject(complex);
+        wrapper.setName("Dexter");
+        args.put("complexObject", complex);
+        args.put("pingComplexObject", wrapper);
+
+        MethodInvocation invocation = new MethodInvocation();
+        invocation.setArguments(new Object[]{args});
+        invocation.setTargetObject(method);
+        WSMethodParameterMappingAspect aspect = new WSMethodParameterMappingAspect();
+        Object[] result = (Object[]) aspect.getParameterInRightPositionArray(invocation);
+        assertNotNull(result[0]);
+        assertNotNull(result[1]);
+        assertEquals(date, ((ComplexObject) result[0]).getCalendarField());
+        assertEquals("Testing with AOP", ((ComplexObject) result[0]).getStringField());
+        assertEquals(1, ((ComplexObject) result[0]).getIntegerField());
+        assertEquals("Dexter", result[1]);
+
+    }
+
+    public static junit.framework.Test suite()
+    {
+        return new JUnit4TestAdapter(SOAPClientAspectUnitTest.class);
+    }
+
+}

Added: labs/jbossesb/trunk/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/wise/wrappedservice.wsdl
===================================================================
--- labs/jbossesb/trunk/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/wise/wrappedservice.wsdl	                        (rev 0)
+++ labs/jbossesb/trunk/product/services/soap/src/test/java/org/jboss/soa/esb/actions/soap/wise/wrappedservice.wsdl	2012-03-28 07:37:45 UTC (rev 37958)
@@ -0,0 +1,59 @@
+<?xml version='1.0' encoding='UTF-8'?><wsdl:definitions name="PingWSService" targetNamespace="http://webservice_consumer_wiseWRAPPED/pingws" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://webservice_consumer_wiseWRAPPED/pingws" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <wsdl:types>
+<xs:schema elementFormDefault="unqualified" targetNamespace="http://webservice_consumer_wiseWRAPPED/pingws" version="1.0" xmlns:tns="http://webservice_consumer_wiseWRAPPED/pingws" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+<xs:element name="pingComplexObject" type="tns:pingComplexObject"/>
+<xs:element name="pingComplexObjectResponse" type="tns:pingComplexObjectResponse"/>
+<xs:complexType name="pingComplexObject">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="complexObject" type="tns:complexObject"/>
+      <xs:element minOccurs="0" name="name" type="xs:string"/>
+    </xs:sequence>
+  </xs:complexType>
+<xs:complexType name="complexObject">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="calendarField" type="xs:dateTime"/>
+      <xs:element minOccurs="0" name="integerField" type="xs:int"/>
+      <xs:element minOccurs="0" name="stringField" type="xs:string"/>
+    </xs:sequence>
+  </xs:complexType>
+<xs:complexType name="pingComplexObjectResponse">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="ComplexObject" type="tns:complexObject"/>
+    </xs:sequence>
+  </xs:complexType>
+</xs:schema>
+  </wsdl:types>
+  <wsdl:message name="pingComplexObjectResponse">
+    <wsdl:part element="tns:pingComplexObjectResponse" name="parameters">
+    </wsdl:part>
+  </wsdl:message>
+  <wsdl:message name="pingComplexObject">
+    <wsdl:part element="tns:pingComplexObject" name="parameters">
+    </wsdl:part>
+  </wsdl:message>
+  <wsdl:portType name="PingWS">
+    <wsdl:operation name="pingComplexObject">
+      <wsdl:input message="tns:pingComplexObject" name="pingComplexObject">
+    </wsdl:input>
+      <wsdl:output message="tns:pingComplexObjectResponse" name="pingComplexObjectResponse">
+    </wsdl:output>
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="PingWSServiceSoapBinding" type="tns:PingWS">
+    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+    <wsdl:operation name="pingComplexObject">
+      <soap:operation soapAction="urn:pingComplexObject" style="document"/>
+      <wsdl:input name="pingComplexObject">
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output name="pingComplexObjectResponse">
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="PingWSService">
+    <wsdl:port binding="tns:PingWSServiceSoapBinding" name="PingWSPort">
+      <soap:address location="http://localhost:8080/Quickstart_webservice_consumer_wiseWRAPPED/PingWS"/>
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file

Added: labs/jbossesb/trunk/product/services/soap/src/test/resources/META-INF/standard-jaxws-client-config.xml
===================================================================
--- labs/jbossesb/trunk/product/services/soap/src/test/resources/META-INF/standard-jaxws-client-config.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/services/soap/src/test/resources/META-INF/standard-jaxws-client-config.xml	2012-03-28 07:37:45 UTC (rev 37958)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: standard-jaxws-client-config.xml 3813 2008-03-31 12:03:40Z richard.opalka at jboss.com $ -->
+
+<jaxws-config xmlns="urn:jboss:jaxws-config:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+  xsi:schemaLocation="urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd">
+  
+  <client-config>
+    <config-name>Standard Client</config-name>
+    <feature>http://org.jboss.ws/dispatch/validate</feature>
+    <property>
+      <property-name>http://org.jboss.ws/http#chunksize</property-name>
+      <property-value>2048</property-value>
+    </property>
+  </client-config>
+  
+  <client-config>
+    <config-name>HTTP 1.0 Client</config-name>
+    <feature>http://org.jboss.ws/dispatch/validate</feature>
+  </client-config>
+  
+  <client-config>
+    <config-name>Standard WSAddressing Client</config-name>
+    <post-handler-chains>
+      <javaee:handler-chain>
+        <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+        <javaee:handler>
+          <javaee:handler-name>WSAddressing Handler</javaee:handler-name>
+          <javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingClientHandler</javaee:handler-class>
+        </javaee:handler>
+      </javaee:handler-chain>
+    </post-handler-chains>
+  </client-config>
+  
+  <client-config>
+    <config-name>Standard SOAP 1.2 WSAddressing Client</config-name>
+    <post-handler-chains>
+      <javaee:handler-chain>
+        <javaee:protocol-bindings>##SOAP12_HTTP</javaee:protocol-bindings>
+        <javaee:handler>
+          <javaee:handler-name>WSAddressing Handler</javaee:handler-name>
+          <javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingClientHandler</javaee:handler-class>
+        </javaee:handler>
+      </javaee:handler-chain>
+    </post-handler-chains>
+  </client-config>
+  
+  <client-config>
+    <config-name>Standard WSSecurity Client</config-name>
+    <post-handler-chains>
+      <javaee:handler-chain>
+        <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+        <javaee:handler>
+          <javaee:handler-name>WSSecurityHandlerOutbound</javaee:handler-name>
+          <javaee:handler-class>org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerClient</javaee:handler-class>
+        </javaee:handler>
+      </javaee:handler-chain>
+    </post-handler-chains>
+  </client-config>
+  
+</jaxws-config>



More information about the jboss-svn-commits mailing list