Author: jim.ma
Date: 2012-09-05 05:27:00 -0400 (Wed, 05 Sep 2012)
New Revision: 16696
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/ObjectFactory.java
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/Test1189TestCase.java
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/WsaTestPortType.java
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/WsaTestPortTypeImpl.java
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/anon/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/anon/ObjectFactory.java
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/anon/Test1189AnonTestCase.java
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/anon/WsaTestPortType.java
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/anon/WsaTestPortTypeImpl.java
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/nonanon/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/nonanon/ObjectFactory.java
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/nonanon/Test1189NonAnonTestCase.java
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/nonanon/WsaTestPortType.java
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/nonanon/WsaTestPortTypeImpl.java
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/web.xml
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/Addressing.wsdl
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/Addressing0.wsdl
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/Addressing0.xsd
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/Addressing1.xsd
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/SignatureDocLit0.xsd
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/Test1189-Anon.wsdl
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/web.xml
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/Addressing.wsdl
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/Addressing0.wsdl
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/Addressing0.xsd
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/Addressing1.xsd
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/SignatureDocLit0.xsd
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/Test1189-NonAnon.wsdl
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/web.xml
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/Addressing.wsdl
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/Addressing0.wsdl
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/Addressing0.xsd
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/Addressing1.xsd
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/SignatureDocLit0.xsd
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/Test1189.wsdl
Modified:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/scripts/cxf-jars-jaxws.xml
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/basedoc/utf16/BaseTypesDocTestCase.java
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/baserpc/BaseTypesRPCTestCase.java
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/complexrpc/WEB-INF/web.xml
Log:
Add testcases for test1189 wsdl
Modified:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/scripts/cxf-jars-jaxws.xml
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/scripts/cxf-jars-jaxws.xml 2012-09-04
16:28:07 UTC (rev 16695)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/scripts/cxf-jars-jaxws.xml 2012-09-05
09:27:00 UTC (rev 16696)
@@ -91,8 +91,40 @@
<webinf
dir="${tests.output.dir}/test-resources/jaxws/bp12/complexdoc/WEB-INF">
<include name="wsdl/*" />
</webinf>
+ </war>
+
+ <!-- jaxws-bp12test1189 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-bp12test1189.war"
webxml="${tests.output.dir}/test-resources/jaxws/bp12/wsa/test1189/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/bp12/wsa/test1189/*.class"/>
+ <exclude
name="org/jboss/test/ws/jaxws/bp12/wsa/test1189/*TestCase.class"/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/bp12/wsa/test1189/WEB-INF">
+ <include name="wsdl/*" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-bp12test1189-anon -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-bp12test1189-anon.war"
webxml="${tests.output.dir}/test-resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/bp12/wsa/test1189/anon/*.class"/>
+ <exclude
name="org/jboss/test/ws/jaxws/bp12/wsa/test1189/anon/*TestCase.class"/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/bp12/wsa/test1189-anon/WEB-INF">
+ <include name="wsdl/*" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-bp12test1189-nonanon -->
+ <war
warfile="${tests.output.dir}/test-libs/jaxws-bp12test1189-nonanon.war"
webxml="${tests.output.dir}/test-resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/bp12/wsa/test1189/nonanon/*.class"/>
+ <exclude
name="org/jboss/test/ws/jaxws/bp12/wsa/test1189/nonanon/*TestCase.class"/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF">
+ <include name="wsdl/*" />
+ </webinf>
</war>
-
</target>
Modified:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/basedoc/utf16/BaseTypesDocTestCase.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/basedoc/utf16/BaseTypesDocTestCase.java 2012-09-04
16:28:07 UTC (rev 16695)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/basedoc/utf16/BaseTypesDocTestCase.java 2012-09-05
09:27:00 UTC (rev 16696)
@@ -54,7 +54,7 @@
Service service = Service.create(wsdlURL, serviceName);
IBaseDataTypesDocLitW port = (IBaseDataTypesDocLitW)
service.getPort(IBaseDataTypesDocLitW.class);
// invoke method
-
//((BindingProvider)port).getRequestContext().put("org.apache.cxf.message.Message.ENCODING",
"UTF-16");
+
((BindingProvider)port).getRequestContext().put("org.apache.cxf.message.Message.ENCODING",
"UTF-16");
((BindingProvider)port).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
"http://localhost:9090/jaxws-bp12basedoc-utf16/BPBaseDoc");
System.out.println("Invoking retInt...");
int _retInt_inInt = 10;
Modified:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/baserpc/BaseTypesRPCTestCase.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/baserpc/BaseTypesRPCTestCase.java 2012-09-04
16:28:07 UTC (rev 16695)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/baserpc/BaseTypesRPCTestCase.java 2012-09-05
09:27:00 UTC (rev 16696)
@@ -54,7 +54,7 @@
Service service = Service.create(wsdlURL, serviceName);
IBaseDataTypesRpcLit port = (IBaseDataTypesRpcLit)
service.getPort(IBaseDataTypesRpcLit.class);
// invoke method
-
((BindingProvider)port).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
"http://localhost/jaxws-bp12baserpc/BPBaseRPC");
+
((BindingProvider)port).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
"http://localhost:8080/jaxws-bp12baserpc/BPBaseRPC");
System.out.println("Invoking retInt...");
int _retInt_inInt = 10;
int _retInt__return = port.retInt(_retInt_inInt);
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/ObjectFactory.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/ObjectFactory.java
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/ObjectFactory.java 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,279 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2012, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.test.ws.jaxws.bp12.wsa.test1189;
+
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.datatype.Duration;
+import javax.xml.datatype.XMLGregorianCalendar;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.jboss.test.ws.jaxws.bp12.wsa.test1189 package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _EchoIn_QNAME = new
QName("http://example.org/echo", "echoIn");
+ private final static QName _UnsignedShort_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"unsignedShort");
+ private final static QName _EchoOut_QNAME = new
QName("http://example.org/echo", "echoOut");
+ private final static QName _Double_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "double");
+ private final static QName _Long_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "long");
+ private final static QName _Decimal_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"decimal");
+ private final static QName _Float_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "float");
+ private final static QName _AnyURI_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "anyURI");
+ private final static QName _Int_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "int");
+ private final static QName _QName_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "QName");
+ private final static QName _UnsignedInt_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"unsignedInt");
+ private final static QName _AnyType_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"anyType");
+ private final static QName _Notify_QNAME = new
QName("http://example.org/notify", "notify");
+ private final static QName _UnsignedByte_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"unsignedByte");
+ private final static QName _DateTime_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"dateTime");
+ private final static QName _Boolean_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"boolean");
+ private final static QName _UnsignedLong_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"unsignedLong");
+ private final static QName _Base64Binary_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"base64Binary");
+ private final static QName _Duration_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"duration");
+ private final static QName _Short_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "short");
+ private final static QName _String_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "string");
+ private final static QName _Byte_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "byte");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema
derived classes for package: org.jboss.test.ws.jaxws.bp12.wsa.test1189
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.org/echo", name =
"echoIn")
+ public JAXBElement<String> createEchoIn(String value) {
+ return new JAXBElement<String>(_EchoIn_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"unsignedShort")
+ public JAXBElement<Integer> createUnsignedShort(Integer value) {
+ return new JAXBElement<Integer>(_UnsignedShort_QNAME, Integer.class, null,
value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.org/echo", name =
"echoOut")
+ public JAXBElement<String> createEchoOut(String value) {
+ return new JAXBElement<String>(_EchoOut_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Double }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "double")
+ public JAXBElement<Double> createDouble(Double value) {
+ return new JAXBElement<Double>(_Double_QNAME, Double.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "long")
+ public JAXBElement<Long> createLong(Long value) {
+ return new JAXBElement<Long>(_Long_QNAME, Long.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link BigDecimal }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"decimal")
+ public JAXBElement<BigDecimal> createDecimal(BigDecimal value) {
+ return new JAXBElement<BigDecimal>(_Decimal_QNAME, BigDecimal.class, null,
value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Float }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "float")
+ public JAXBElement<Float> createFloat(Float value) {
+ return new JAXBElement<Float>(_Float_QNAME, Float.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "anyURI")
+ public JAXBElement<String> createAnyURI(String value) {
+ return new JAXBElement<String>(_AnyURI_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "int")
+ public JAXBElement<Integer> createInt(Integer value) {
+ return new JAXBElement<Integer>(_Int_QNAME, Integer.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link QName }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "QName")
+ public JAXBElement<QName> createQName(QName value) {
+ return new JAXBElement<QName>(_QName_QNAME, QName.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"unsignedInt")
+ public JAXBElement<Long> createUnsignedInt(Long value) {
+ return new JAXBElement<Long>(_UnsignedInt_QNAME, Long.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"anyType")
+ public JAXBElement<Object> createAnyType(Object value) {
+ return new JAXBElement<Object>(_AnyType_QNAME, Object.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.org/notify", name =
"notify")
+ public JAXBElement<String> createNotify(String value) {
+ return new JAXBElement<String>(_Notify_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Short }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"unsignedByte")
+ public JAXBElement<Short> createUnsignedByte(Short value) {
+ return new JAXBElement<Short>(_UnsignedByte_QNAME, Short.class, null,
value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"dateTime")
+ public JAXBElement<XMLGregorianCalendar> createDateTime(XMLGregorianCalendar
value) {
+ return new JAXBElement<XMLGregorianCalendar>(_DateTime_QNAME,
XMLGregorianCalendar.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"boolean")
+ public JAXBElement<Boolean> createBoolean(Boolean value) {
+ return new JAXBElement<Boolean>(_Boolean_QNAME, Boolean.class, null,
value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"unsignedLong")
+ public JAXBElement<BigInteger> createUnsignedLong(BigInteger value) {
+ return new JAXBElement<BigInteger>(_UnsignedLong_QNAME, BigInteger.class,
null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"base64Binary")
+ public JAXBElement<byte[]> createBase64Binary(byte[] value) {
+ return new JAXBElement<byte[]>(_Base64Binary_QNAME, byte[].class, null,
((byte[]) value));
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Duration }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"duration")
+ public JAXBElement<Duration> createDuration(Duration value) {
+ return new JAXBElement<Duration>(_Duration_QNAME, Duration.class, null,
value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Short }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "short")
+ public JAXBElement<Short> createShort(Short value) {
+ return new JAXBElement<Short>(_Short_QNAME, Short.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "string")
+ public JAXBElement<String> createString(String value) {
+ return new JAXBElement<String>(_String_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Byte }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "byte")
+ public JAXBElement<Byte> createByte(Byte value) {
+ return new JAXBElement<Byte>(_Byte_QNAME, Byte.class, null, value);
+ }
+
+}
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/Test1189TestCase.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/Test1189TestCase.java
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/Test1189TestCase.java 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,68 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2012, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.test.ws.jaxws.bp12.wsa.test1189;
+
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.BindingProvider;
+import javax.xml.ws.Service;
+
+import junit.framework.Test;
+import org.jboss.wsf.test.JBossWSCXFTestSetup;
+import org.jboss.wsf.test.JBossWSTest;
+
+public class Test1189TestCase extends JBossWSTest
+{
+ private final String serviceURL = "http://" + getServerHost() +
":8080/jaxws-bp12test1189/Test1189";
+
+ public static Test suite()
+ {
+ return new JBossWSCXFTestSetup(Test1189TestCase.class,
"jaxws-bp12test1189.war");
+ }
+
+ public void testWSA() throws Exception
+ {
+ // construct proxy
+ QName serviceName = new
QName("http://tempuri.org/",
"wsaTestService");
+ URL wsdlURL = new URL(serviceURL + "?wsdl");
+ Service service = Service.create(wsdlURL, serviceName);
+ WsaTestPortType port = (WsaTestPortType) service.getPort(WsaTestPortType.class);
+ // invoke method
+ ((BindingProvider)
port).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
+ "http://" + getServerHost() +
"/jaxws-bp12test1189/Test1189");
+
+ System.out.println("Invoking echo...");
+ String response = port.echo("input string");
+ System.out.println("echo.result: " + response);
+
+
+ System.out.println("Invoking notify...");
+ port.notify("input string");
+
+
+
+
+
+
+ }
+}
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/WsaTestPortType.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/WsaTestPortType.java
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/WsaTestPortType.java 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2012, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.test.ws.jaxws.bp12.wsa.test1189;
+
+import javax.jws.Oneway;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.ws.Action;
+
+@WebService(targetNamespace = "http://example.org", name =
"wsaTestPortType")
+(a)XmlSeeAlso({ObjectFactory.class})
+@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
+public interface WsaTestPortType {
+
+ @Oneway
+ @Action(input = "http://example.org/action/notify")
+ @WebMethod(operationName = "Notify", action =
"http://example.org/action/notify")
+ public void notify(
+ @WebParam(partName = "notify", name = "notify",
targetNamespace = "http://example.org/notify")
+ java.lang.String notify
+ );
+
+ @WebResult(name = "echoOut", targetNamespace =
"http://example.org/echo", partName = "echoOut")
+ @Action(input = "http://example.org/action/echoIn", output =
"http://example.org/action/echoOut")
+ @WebMethod(operationName = "Echo", action =
"http://example.org/action/echoIn")
+ public java.lang.String echo(
+ @WebParam(partName = "echoIn", name = "echoIn",
targetNamespace = "http://example.org/echo")
+ java.lang.String echoIn
+ );
+}
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/WsaTestPortTypeImpl.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/WsaTestPortTypeImpl.java
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/WsaTestPortTypeImpl.java 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,42 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2012, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.test.ws.jaxws.bp12.wsa.test1189;
+
+(a)javax.jws.WebService(
+ serviceName = "wsaTestService",
+ portName = "CustomBinding_wsaTestPortType",
+ targetNamespace = "http://tempuri.org/",
+ wsdlLocation = "WEB-INF/wsdl/Test1189.wsdl",
+ endpointInterface =
"org.jboss.test.ws.jaxws.bp12.wsa.test1189.WsaTestPortType")
+
+public class WsaTestPortTypeImpl implements WsaTestPortType {
+
+ public void notify(java.lang.String notify) {
+ System.out.println(notify);
+ }
+
+ public String echo(String echoIn) {
+ return "return : " + echoIn;
+ }
+
+}
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/anon/ObjectFactory.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/anon/ObjectFactory.java
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/anon/ObjectFactory.java 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,279 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2012, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.test.ws.jaxws.bp12.wsa.test1189.anon;
+
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.datatype.Duration;
+import javax.xml.datatype.XMLGregorianCalendar;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.jboss.test.ws.jaxws.bp12.wsa.test1189.anon package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _EchoIn_QNAME = new
QName("http://example.org/echo", "echoIn");
+ private final static QName _UnsignedShort_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"unsignedShort");
+ private final static QName _EchoOut_QNAME = new
QName("http://example.org/echo", "echoOut");
+ private final static QName _Double_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "double");
+ private final static QName _Long_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "long");
+ private final static QName _Float_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "float");
+ private final static QName _Decimal_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"decimal");
+ private final static QName _AnyURI_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "anyURI");
+ private final static QName _Int_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "int");
+ private final static QName _QName_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "QName");
+ private final static QName _UnsignedInt_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"unsignedInt");
+ private final static QName _AnyType_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"anyType");
+ private final static QName _Notify_QNAME = new
QName("http://example.org/notify", "notify");
+ private final static QName _UnsignedByte_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"unsignedByte");
+ private final static QName _DateTime_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"dateTime");
+ private final static QName _Boolean_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"boolean");
+ private final static QName _UnsignedLong_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"unsignedLong");
+ private final static QName _Base64Binary_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"base64Binary");
+ private final static QName _Duration_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"duration");
+ private final static QName _Short_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "short");
+ private final static QName _String_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "string");
+ private final static QName _Byte_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "byte");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema
derived classes for package: org.jboss.test.ws.jaxws.bp12.wsa.test1189.anon
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.org/echo", name =
"echoIn")
+ public JAXBElement<String> createEchoIn(String value) {
+ return new JAXBElement<String>(_EchoIn_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"unsignedShort")
+ public JAXBElement<Integer> createUnsignedShort(Integer value) {
+ return new JAXBElement<Integer>(_UnsignedShort_QNAME, Integer.class, null,
value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.org/echo", name =
"echoOut")
+ public JAXBElement<String> createEchoOut(String value) {
+ return new JAXBElement<String>(_EchoOut_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Double }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "double")
+ public JAXBElement<Double> createDouble(Double value) {
+ return new JAXBElement<Double>(_Double_QNAME, Double.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "long")
+ public JAXBElement<Long> createLong(Long value) {
+ return new JAXBElement<Long>(_Long_QNAME, Long.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Float }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "float")
+ public JAXBElement<Float> createFloat(Float value) {
+ return new JAXBElement<Float>(_Float_QNAME, Float.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link BigDecimal }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"decimal")
+ public JAXBElement<BigDecimal> createDecimal(BigDecimal value) {
+ return new JAXBElement<BigDecimal>(_Decimal_QNAME, BigDecimal.class, null,
value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "anyURI")
+ public JAXBElement<String> createAnyURI(String value) {
+ return new JAXBElement<String>(_AnyURI_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "int")
+ public JAXBElement<Integer> createInt(Integer value) {
+ return new JAXBElement<Integer>(_Int_QNAME, Integer.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link QName }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "QName")
+ public JAXBElement<QName> createQName(QName value) {
+ return new JAXBElement<QName>(_QName_QNAME, QName.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"unsignedInt")
+ public JAXBElement<Long> createUnsignedInt(Long value) {
+ return new JAXBElement<Long>(_UnsignedInt_QNAME, Long.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"anyType")
+ public JAXBElement<Object> createAnyType(Object value) {
+ return new JAXBElement<Object>(_AnyType_QNAME, Object.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.org/notify", name =
"notify")
+ public JAXBElement<String> createNotify(String value) {
+ return new JAXBElement<String>(_Notify_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Short }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"unsignedByte")
+ public JAXBElement<Short> createUnsignedByte(Short value) {
+ return new JAXBElement<Short>(_UnsignedByte_QNAME, Short.class, null,
value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"dateTime")
+ public JAXBElement<XMLGregorianCalendar> createDateTime(XMLGregorianCalendar
value) {
+ return new JAXBElement<XMLGregorianCalendar>(_DateTime_QNAME,
XMLGregorianCalendar.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"boolean")
+ public JAXBElement<Boolean> createBoolean(Boolean value) {
+ return new JAXBElement<Boolean>(_Boolean_QNAME, Boolean.class, null,
value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"unsignedLong")
+ public JAXBElement<BigInteger> createUnsignedLong(BigInteger value) {
+ return new JAXBElement<BigInteger>(_UnsignedLong_QNAME, BigInteger.class,
null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"base64Binary")
+ public JAXBElement<byte[]> createBase64Binary(byte[] value) {
+ return new JAXBElement<byte[]>(_Base64Binary_QNAME, byte[].class, null,
((byte[]) value));
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Duration }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"duration")
+ public JAXBElement<Duration> createDuration(Duration value) {
+ return new JAXBElement<Duration>(_Duration_QNAME, Duration.class, null,
value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Short }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "short")
+ public JAXBElement<Short> createShort(Short value) {
+ return new JAXBElement<Short>(_Short_QNAME, Short.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "string")
+ public JAXBElement<String> createString(String value) {
+ return new JAXBElement<String>(_String_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Byte }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "byte")
+ public JAXBElement<Byte> createByte(Byte value) {
+ return new JAXBElement<Byte>(_Byte_QNAME, Byte.class, null, value);
+ }
+
+}
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/anon/Test1189AnonTestCase.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/anon/Test1189AnonTestCase.java
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/anon/Test1189AnonTestCase.java 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,82 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2012, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.test.ws.jaxws.bp12.wsa.test1189.anon;
+
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.BindingProvider;
+import javax.xml.ws.Service;
+import javax.xml.ws.soap.SOAPFaultException;
+
+import junit.framework.Test;
+
+import org.apache.cxf.ws.addressing.AddressingProperties;
+import org.apache.cxf.ws.addressing.AttributedURIType;
+import org.apache.cxf.ws.addressing.EndpointReferenceType;
+import org.apache.cxf.ws.addressing.JAXWSAConstants;
+import org.apache.cxf.ws.addressing.impl.AddressingPropertiesImpl;
+import org.jboss.wsf.test.JBossWSCXFTestSetup;
+import org.jboss.wsf.test.JBossWSTest;
+
+public class Test1189AnonTestCase extends JBossWSTest
+{
+ private final String serviceURL = "http://" + getServerHost() +
":8080/jaxws-bp12test1189-anon/Test1189Anon";
+
+ public static Test suite()
+ {
+ return new JBossWSCXFTestSetup(Test1189AnonTestCase.class,
"jaxws-bp12test1189-anon.war");
+ }
+
+ public void testWSA() throws Exception
+ {
+ // construct proxy
+ QName serviceName = new
QName("http://tempuri.org/",
"wsaTestService");
+ URL wsdlURL = new URL(serviceURL + "?wsdl");
+ Service service = Service.create(wsdlURL, serviceName);
+ WsaTestPortType port = (WsaTestPortType) service.getPort(WsaTestPortType.class);
+ // invoke method
+ ((BindingProvider)
port).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
+ "http://" + getServerHost() +
"/jaxws-bp12test1189-anon/Test1189Anon");
+
+
+ EndpointReferenceType wsaTo = new EndpointReferenceType();
+ AddressingProperties addrProperties = new AddressingPropertiesImpl();
+ AttributedURIType epr = new AttributedURIType();
+ epr.setValue( "http://" + getServerHost() +
":9090/jaxws-bp12test1189-anon/Test1189Anon");
+ wsaTo.setAddress(epr);
+ addrProperties.setReplyTo(wsaTo);
+ ((BindingProvider)
port).getRequestContext().put(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES,
addrProperties);
+
+ try
+ {
+ port.echo("input string");
+ fail("only anonymous supported fault is expected");
+ }
+ catch (SOAPFaultException e)
+ {
+ assertTrue("only anonymous supported error message is expected",
e.getMessage().contains("Found non-anonymous address but only anonymous
supported"));
+ }
+
+
+ }
+}
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/anon/WsaTestPortType.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/anon/WsaTestPortType.java
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/anon/WsaTestPortType.java 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,59 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2012, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.test.ws.jaxws.bp12.wsa.test1189.anon;
+
+import javax.jws.Oneway;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.ws.Action;
+
+/**
+ * This class was generated by Apache CXF 2.6.0-SNAPSHOT
+ * 2012-09-04T14:44:06.248+08:00
+ * Generated source version: 2.6.0-SNAPSHOT
+ *
+ */
+@WebService(targetNamespace = "http://example.org", name =
"wsaTestPortType")
+(a)XmlSeeAlso({ObjectFactory.class})
+@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
+public interface WsaTestPortType {
+
+ @Oneway
+ @Action(input = "http://example.org/action/notify")
+ @WebMethod(operationName = "Notify", action =
"http://example.org/action/notify")
+ public void notify(
+ @WebParam(partName = "notify", name = "notify",
targetNamespace = "http://example.org/notify")
+ java.lang.String notify
+ );
+
+ @WebResult(name = "echoOut", targetNamespace =
"http://example.org/echo", partName = "echoOut")
+ @Action(input = "http://example.org/action/echoIn", output =
"http://example.org/action/echoOut")
+ @WebMethod(operationName = "Echo", action =
"http://example.org/action/echoIn")
+ public java.lang.String echo(
+ @WebParam(partName = "echoIn", name = "echoIn",
targetNamespace = "http://example.org/echo")
+ java.lang.String echoIn
+ );
+}
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/anon/WsaTestPortTypeImpl.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/anon/WsaTestPortTypeImpl.java
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/anon/WsaTestPortTypeImpl.java 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2012, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.test.ws.jaxws.bp12.wsa.test1189.anon;
+
+(a)javax.jws.WebService(
+ serviceName = "wsaTestService",
+ portName = "CustomBinding_wsaTestPortType",
+ targetNamespace = "http://tempuri.org/",
+ wsdlLocation = "WEB-INF/wsdl/Test1189-Anon.wsdl",
+ endpointInterface =
"org.jboss.test.ws.jaxws.bp12.wsa.test1189.anon.WsaTestPortType")
+
+public class WsaTestPortTypeImpl implements WsaTestPortType {
+
+ public void notify(java.lang.String notify) {
+ System.out.println(notify);
+ }
+
+ public java.lang.String echo(java.lang.String echoIn) {
+ return echoIn;
+ }
+
+}
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/nonanon/ObjectFactory.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/nonanon/ObjectFactory.java
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/nonanon/ObjectFactory.java 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,279 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2012, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.test.ws.jaxws.bp12.wsa.test1189.nonanon;
+
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.datatype.Duration;
+import javax.xml.datatype.XMLGregorianCalendar;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.jboss.test.ws.jaxws.bp12.wsa.test1189.nonanon package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _EchoIn_QNAME = new
QName("http://example.org/echo", "echoIn");
+ private final static QName _UnsignedShort_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"unsignedShort");
+ private final static QName _EchoOut_QNAME = new
QName("http://example.org/echo", "echoOut");
+ private final static QName _Double_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "double");
+ private final static QName _Long_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "long");
+ private final static QName _Decimal_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"decimal");
+ private final static QName _Float_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "float");
+ private final static QName _AnyURI_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "anyURI");
+ private final static QName _Int_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "int");
+ private final static QName _QName_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "QName");
+ private final static QName _UnsignedInt_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"unsignedInt");
+ private final static QName _AnyType_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"anyType");
+ private final static QName _Notify_QNAME = new
QName("http://example.org/notify", "notify");
+ private final static QName _UnsignedByte_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"unsignedByte");
+ private final static QName _DateTime_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"dateTime");
+ private final static QName _Boolean_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"boolean");
+ private final static QName _UnsignedLong_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"unsignedLong");
+ private final static QName _Base64Binary_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"base64Binary");
+ private final static QName _Duration_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/",
"duration");
+ private final static QName _Short_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "short");
+ private final static QName _String_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "string");
+ private final static QName _Byte_QNAME = new
QName("http://schemas.example.com/2003/10/Serialization/", "byte");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema
derived classes for package: org.jboss.test.ws.jaxws.bp12.wsa.test1189.nonanon
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.org/echo", name =
"echoIn")
+ public JAXBElement<String> createEchoIn(String value) {
+ return new JAXBElement<String>(_EchoIn_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"unsignedShort")
+ public JAXBElement<Integer> createUnsignedShort(Integer value) {
+ return new JAXBElement<Integer>(_UnsignedShort_QNAME, Integer.class, null,
value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.org/echo", name =
"echoOut")
+ public JAXBElement<String> createEchoOut(String value) {
+ return new JAXBElement<String>(_EchoOut_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Double }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "double")
+ public JAXBElement<Double> createDouble(Double value) {
+ return new JAXBElement<Double>(_Double_QNAME, Double.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "long")
+ public JAXBElement<Long> createLong(Long value) {
+ return new JAXBElement<Long>(_Long_QNAME, Long.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link BigDecimal }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"decimal")
+ public JAXBElement<BigDecimal> createDecimal(BigDecimal value) {
+ return new JAXBElement<BigDecimal>(_Decimal_QNAME, BigDecimal.class, null,
value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Float }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "float")
+ public JAXBElement<Float> createFloat(Float value) {
+ return new JAXBElement<Float>(_Float_QNAME, Float.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "anyURI")
+ public JAXBElement<String> createAnyURI(String value) {
+ return new JAXBElement<String>(_AnyURI_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "int")
+ public JAXBElement<Integer> createInt(Integer value) {
+ return new JAXBElement<Integer>(_Int_QNAME, Integer.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link QName }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "QName")
+ public JAXBElement<QName> createQName(QName value) {
+ return new JAXBElement<QName>(_QName_QNAME, QName.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"unsignedInt")
+ public JAXBElement<Long> createUnsignedInt(Long value) {
+ return new JAXBElement<Long>(_UnsignedInt_QNAME, Long.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"anyType")
+ public JAXBElement<Object> createAnyType(Object value) {
+ return new JAXBElement<Object>(_AnyType_QNAME, Object.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.org/notify", name =
"notify")
+ public JAXBElement<String> createNotify(String value) {
+ return new JAXBElement<String>(_Notify_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Short }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"unsignedByte")
+ public JAXBElement<Short> createUnsignedByte(Short value) {
+ return new JAXBElement<Short>(_UnsignedByte_QNAME, Short.class, null,
value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"dateTime")
+ public JAXBElement<XMLGregorianCalendar> createDateTime(XMLGregorianCalendar
value) {
+ return new JAXBElement<XMLGregorianCalendar>(_DateTime_QNAME,
XMLGregorianCalendar.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"boolean")
+ public JAXBElement<Boolean> createBoolean(Boolean value) {
+ return new JAXBElement<Boolean>(_Boolean_QNAME, Boolean.class, null,
value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"unsignedLong")
+ public JAXBElement<BigInteger> createUnsignedLong(BigInteger value) {
+ return new JAXBElement<BigInteger>(_UnsignedLong_QNAME, BigInteger.class,
null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"base64Binary")
+ public JAXBElement<byte[]> createBase64Binary(byte[] value) {
+ return new JAXBElement<byte[]>(_Base64Binary_QNAME, byte[].class, null,
((byte[]) value));
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Duration }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name =
"duration")
+ public JAXBElement<Duration> createDuration(Duration value) {
+ return new JAXBElement<Duration>(_Duration_QNAME, Duration.class, null,
value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Short }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "short")
+ public JAXBElement<Short> createShort(Short value) {
+ return new JAXBElement<Short>(_Short_QNAME, Short.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "string")
+ public JAXBElement<String> createString(String value) {
+ return new JAXBElement<String>(_String_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Byte }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.example.com/2003/10/Serialization/", name = "byte")
+ public JAXBElement<Byte> createByte(Byte value) {
+ return new JAXBElement<Byte>(_Byte_QNAME, Byte.class, null, value);
+ }
+
+}
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/nonanon/Test1189NonAnonTestCase.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/nonanon/Test1189NonAnonTestCase.java
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/nonanon/Test1189NonAnonTestCase.java 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,68 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2012, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.test.ws.jaxws.bp12.wsa.test1189.nonanon;
+
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.BindingProvider;
+import javax.xml.ws.Service;
+import javax.xml.ws.soap.SOAPFaultException;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSCXFTestSetup;
+import org.jboss.wsf.test.JBossWSTest;
+
+public class Test1189NonAnonTestCase extends JBossWSTest
+{
+ private final String serviceURL = "http://" + getServerHost() +
":8080/jaxws-bp12test1189-nonanon/Test1189NonAnon";
+
+ public static Test suite()
+ {
+ return new JBossWSCXFTestSetup(Test1189NonAnonTestCase.class,
"jaxws-bp12test1189-nonanon.war");
+ }
+
+ public void testWSA() throws Exception
+ {
+ // construct proxy
+ QName serviceName = new
QName("http://tempuri.org/",
"wsaTestService");
+ URL wsdlURL = new URL(serviceURL + "?wsdl");
+ Service service = Service.create(wsdlURL, serviceName);
+ WsaTestPortType port = (WsaTestPortType) service.getPort(WsaTestPortType.class);
+ // invoke method
+ ((BindingProvider)
port).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
+ "http://" + getServerHost() +
"/jaxws-bp12test1189-nonanon/Test1189NonAnon");
+
+ try
+ {
+ port.echo("input string");
+ fail("only non anonymous supported fault is expected");
+ }
+ catch (SOAPFaultException e)
+ {
+ assertTrue("non-anonymous required message is expected",
e.getMessage().contains("Found anonymous address but non-anonymous required"));
+ }
+
+
+ }
+}
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/nonanon/WsaTestPortType.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/nonanon/WsaTestPortType.java
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/nonanon/WsaTestPortType.java 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2012, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.test.ws.jaxws.bp12.wsa.test1189.nonanon;
+
+import javax.jws.Oneway;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.ws.Action;
+
+@WebService(targetNamespace = "http://example.org", name =
"wsaTestPortType")
+(a)XmlSeeAlso({ObjectFactory.class})
+@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
+public interface WsaTestPortType {
+
+ @Oneway
+ @Action(input = "http://example.org/action/notify")
+ @WebMethod(operationName = "Notify", action =
"http://example.org/action/notify")
+ public void notify(
+ @WebParam(partName = "notify", name = "notify",
targetNamespace = "http://example.org/notify")
+ java.lang.String notify
+ );
+
+ @WebResult(name = "echoOut", targetNamespace =
"http://example.org/echo", partName = "echoOut")
+ @Action(input = "http://example.org/action/echoIn", output =
"http://example.org/action/echoOut")
+ @WebMethod(operationName = "Echo", action =
"http://example.org/action/echoIn")
+ public java.lang.String echo(
+ @WebParam(partName = "echoIn", name = "echoIn",
targetNamespace = "http://example.org/echo")
+ java.lang.String echoIn
+ );
+}
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/nonanon/WsaTestPortTypeImpl.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/nonanon/WsaTestPortTypeImpl.java
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1189/nonanon/WsaTestPortTypeImpl.java 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,44 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2012, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.test.ws.jaxws.bp12.wsa.test1189.nonanon;
+
+
+
+(a)javax.jws.WebService(
+ serviceName = "wsaTestService",
+ portName = "CustomBinding_wsaTestPortType",
+ targetNamespace = "http://tempuri.org/",
+ wsdlLocation = "WEB-INF/wsdl/Test1189-NonAnon.wsdl",
+ endpointInterface =
"org.jboss.test.ws.jaxws.bp12.wsa.test1189.nonanon.WsaTestPortType")
+
+public class WsaTestPortTypeImpl implements WsaTestPortType {
+
+ public void notify(java.lang.String notify) {
+ System.out.println(notify);
+ }
+
+ public java.lang.String echo(java.lang.String echoIn) {
+ return echoIn;
+ }
+
+
+}
Modified:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/complexrpc/WEB-INF/web.xml
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/complexrpc/WEB-INF/web.xml 2012-09-04
16:28:07 UTC (rev 16695)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/complexrpc/WEB-INF/web.xml 2012-09-05
09:27:00 UTC (rev 16696)
@@ -3,10 +3,10 @@
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd">
-
+
<servlet>
<servlet-name>ComplexRPC</servlet-name>
-
<servlet-class>org.jboss.test.ws.jaxws.bp12.complexrpc.IComplexDataTypesRpcLitImpl</servlet-class>
+
<servlet-class>org.jboss.test.ws.jaxws.bp12.complexrpc.WsaTestPortTypeImpl</servlet-class>
</servlet>
@@ -14,4 +14,5 @@
<servlet-name>ComplexRPC</servlet-name>
<url-pattern>/ComplexRPC</url-pattern>
</servlet-mapping>
+
</web-app>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/web.xml
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/web.xml
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/web.xml 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd">
+ <servlet>
+ <servlet-name>Test1189</servlet-name>
+
<servlet-class>org.jboss.test.ws.jaxws.bp12.wsa.test1189.WsaTestPortTypeImpl</servlet-class>
+ </servlet>
+
+
+ <servlet-mapping>
+ <servlet-name>Test1189</servlet-name>
+ <url-pattern>/Test1189</url-pattern>
+ </servlet-mapping>
+</web-app>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/Addressing.wsdl
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/Addressing.wsdl
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/Addressing.wsdl 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="wsaTestService"
targetNamespace="http://tempuri.org/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
xmlns:tns="http://tempuri.org/"
xmlns:wsp="http://www.w3.org/ns/ws-policy"
xmlns:i0="http://example.org"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa10="http://www.w3.org/2005/08/addressing">
+ <wsp:Policy wsu:Id="CustomBinding_wsaTestPortType_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <wsam:Addressing>
+ <wsp:Policy />
+ </wsam:Addressing>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsdl:import namespace="http://example.org"
location="Addressing0.wsdl"/>
+ <wsdl:types/>
+ <wsdl:binding name="CustomBinding_wsaTestPortType"
type="i0:wsaTestPortType">
+ <wsp:PolicyReference URI="#CustomBinding_wsaTestPortType_policy" />
+ <soap:binding
transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="Echo">
+ <soap:operation
soapAction="http://example.org/action/echoIn"
style="document" />
+ <wsdl:input name="EchoInMessage">
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output name="EchoOutMessage">
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="Notify">
+ <soap:operation
soapAction="http://example.org/action/notify"
style="document" />
+ <wsdl:input name="NotifyMessage">
+ <soap:body use="literal" />
+ </wsdl:input>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="wsaTestService">
+ <wsdl:port name="CustomBinding_wsaTestPortType"
binding="tns:CustomBinding_wsaTestPortType">
+ <soap:address location="http://localhost/WSAddressing/Soap11"/>
+ <wsa10:EndpointReference>
+ <wsa10:Address>http://localhost/WSAddressing/Soap11</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/Addressing0.wsdl
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/Addressing0.wsdl
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/Addressing0.wsdl 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions targetNamespace="http://example.org"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
xmlns:tns="http://example.org"
xmlns:wsp="http://www.w3.org/ns/ws-policy"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa10="http://www.w3.org/2005/08/addressing">
+ <wsdl:types>
+ <xsd:schema
targetNamespace="http://example.org/Imports">
+ <xsd:import schemaLocation="Addressing0.xsd"
namespace="http://example.org/echo" />
+ <xsd:import schemaLocation="Addressing1.xsd"
namespace="http://example.org/notify" />
+ <xsd:import schemaLocation="SignatureDocLit0.xsd"
namespace="http://schemas.example.com/2003/10/Serialization/" />
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="EchoInMessage">
+ <wsdl:part name="echoIn" element="q1:echoIn"
xmlns:q1="http://example.org/echo" />
+ </wsdl:message>
+ <wsdl:message name="EchoOutMessage">
+ <wsdl:part name="echoOut" element="q1:echoOut"
xmlns:q1="http://example.org/echo" />
+ </wsdl:message>
+ <wsdl:message name="NotifyMessage">
+ <wsdl:part name="notify" element="q2:notify"
xmlns:q2="http://example.org/notify"/>
+ </wsdl:message>
+ <wsdl:portType name="wsaTestPortType">
+ <wsdl:operation name="Echo">
+ <wsdl:input
wsam:Action="http://example.org/action/echoIn"
name="EchoInMessage" message="tns:EchoInMessage" />
+ <wsdl:output
wsam:Action="http://example.org/action/echoOut"
name="EchoOutMessage" message="tns:EchoOutMessage" />
+ </wsdl:operation>
+ <wsdl:operation name="Notify">
+ <wsdl:input
wsam:Action="http://example.org/action/notify"
name="NotifyMessage" message="tns:NotifyMessage" />
+ </wsdl:operation>
+ </wsdl:portType>
+</wsdl:definitions>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/Addressing0.xsd
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/Addressing0.xsd
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/Addressing0.xsd 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<xs:schema elementFormDefault="qualified"
targetNamespace="http://example.org/echo"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://example.org/echo">
+ <xs:element name="echoIn" nillable="true"
type="xs:string" />
+ <xs:element name="echoOut" nillable="true"
type="xs:string" />
+</xs:schema>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/Addressing1.xsd
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/Addressing1.xsd
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/Addressing1.xsd 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<xs:schema elementFormDefault="qualified"
targetNamespace="http://example.org/notify"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://example.org/notify">
+ <xs:element name="notify" nillable="true"
type="xs:string" />
+</xs:schema>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/SignatureDocLit0.xsd
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/SignatureDocLit0.xsd
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/SignatureDocLit0.xsd 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xs:schema attributeFormDefault="qualified"
elementFormDefault="qualified"
targetNamespace="http://schemas.example.com/2003/10/Serialization/&q...
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://schemas.example.com/2003/10/Serialization/">
+ <xs:element name="anyType" nillable="true"
type="xs:anyType"/>
+ <xs:element name="anyURI" nillable="true"
type="xs:anyURI"/>
+ <xs:element name="base64Binary" nillable="true"
type="xs:base64Binary"/>
+ <xs:element name="boolean" nillable="true"
type="xs:boolean"/>
+ <xs:element name="byte" nillable="true"
type="xs:byte"/>
+ <xs:element name="dateTime" nillable="true"
type="xs:dateTime"/>
+ <xs:element name="decimal" nillable="true"
type="xs:decimal"/>
+ <xs:element name="double" nillable="true"
type="xs:double"/>
+ <xs:element name="float" nillable="true"
type="xs:float"/>
+ <xs:element name="int" nillable="true"
type="xs:int"/>
+ <xs:element name="long" nillable="true"
type="xs:long"/>
+ <xs:element name="QName" nillable="true"
type="xs:QName"/>
+ <xs:element name="short" nillable="true"
type="xs:short"/>
+ <xs:element name="string" nillable="true"
type="xs:string"/>
+ <xs:element name="unsignedByte" nillable="true"
type="xs:unsignedByte"/>
+ <xs:element name="unsignedInt" nillable="true"
type="xs:unsignedInt"/>
+ <xs:element name="unsignedLong" nillable="true"
type="xs:unsignedLong"/>
+ <xs:element name="unsignedShort" nillable="true"
type="xs:unsignedShort"/>
+ <xs:element name="duration" nillable="true"
type="xs:duration"/>
+ <xs:attribute name="FactoryType" type="xs:QName"/>
+ <xs:attribute name="Id" type="xs:ID"/>
+ <xs:attribute name="Ref" type="xs:IDREF"/>
+</xs:schema>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/Test1189.wsdl
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/Test1189.wsdl
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189/WEB-INF/wsdl/Test1189.wsdl 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="wsaTestService"
targetNamespace="http://tempuri.org/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
xmlns:tns="http://tempuri.org/"
xmlns:wsp="http://www.w3.org/ns/ws-policy"
xmlns:i0="http://example.org"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa10="http://www.w3.org/2005/08/addressing">
+ <wsp:Policy wsu:Id="CustomBinding_wsaTestPortType_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <wsam:Addressing>
+ <wsp:Policy />
+ </wsam:Addressing>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsdl:import namespace="http://example.org"
location="Addressing0.wsdl"/>
+ <wsdl:types/>
+ <wsdl:binding name="CustomBinding_wsaTestPortType"
type="i0:wsaTestPortType">
+ <wsp:PolicyReference URI="#CustomBinding_wsaTestPortType_policy" />
+ <soap:binding
transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="Echo">
+ <soap:operation
soapAction="http://example.org/action/echoIn"
style="document" />
+ <wsdl:input name="EchoInMessage">
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output name="EchoOutMessage">
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="Notify">
+ <soap:operation
soapAction="http://example.org/action/notify"
style="document" />
+ <wsdl:input name="NotifyMessage">
+ <soap:body use="literal" />
+ </wsdl:input>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="wsaTestService">
+ <wsdl:port name="CustomBinding_wsaTestPortType"
binding="tns:CustomBinding_wsaTestPortType">
+ <soap:address location="http://localhost/WSAddressing/Soap11"/>
+ <wsa10:EndpointReference>
+ <wsa10:Address>http://localhost/WSAddressing/Soap11</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/web.xml
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/web.xml
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/web.xml 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd">
+ <servlet>
+ <servlet-name>Test1189Anon</servlet-name>
+
<servlet-class>org.jboss.test.ws.jaxws.bp12.wsa.test1189.anon.WsaTestPortTypeImpl</servlet-class>
+ </servlet>
+
+
+ <servlet-mapping>
+ <servlet-name>Test1189Anon</servlet-name>
+ <url-pattern>/Test1189Anon</url-pattern>
+ </servlet-mapping>
+</web-app>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/Addressing.wsdl
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/Addressing.wsdl
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/Addressing.wsdl 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="wsaTestService"
targetNamespace="http://tempuri.org/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
xmlns:tns="http://tempuri.org/"
xmlns:wsp="http://www.w3.org/ns/ws-policy"
xmlns:i0="http://example.org"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa10="http://www.w3.org/2005/08/addressing">
+ <wsp:Policy wsu:Id="CustomBinding_wsaTestPortType_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <wsam:Addressing>
+ <wsp:Policy />
+ </wsam:Addressing>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsdl:import namespace="http://example.org"
location="Addressing0.wsdl"/>
+ <wsdl:types/>
+ <wsdl:binding name="CustomBinding_wsaTestPortType"
type="i0:wsaTestPortType">
+ <wsp:PolicyReference URI="#CustomBinding_wsaTestPortType_policy" />
+ <soap:binding
transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="Echo">
+ <soap:operation
soapAction="http://example.org/action/echoIn"
style="document" />
+ <wsdl:input name="EchoInMessage">
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output name="EchoOutMessage">
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="Notify">
+ <soap:operation
soapAction="http://example.org/action/notify"
style="document" />
+ <wsdl:input name="NotifyMessage">
+ <soap:body use="literal" />
+ </wsdl:input>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="wsaTestService">
+ <wsdl:port name="CustomBinding_wsaTestPortType"
binding="tns:CustomBinding_wsaTestPortType">
+ <soap:address location="http://localhost/WSAddressing/Soap11"/>
+ <wsa10:EndpointReference>
+ <wsa10:Address>http://localhost/WSAddressing/Soap11</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/Addressing0.wsdl
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/Addressing0.wsdl
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/Addressing0.wsdl 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions targetNamespace="http://example.org"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
xmlns:tns="http://example.org"
xmlns:wsp="http://www.w3.org/ns/ws-policy"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa10="http://www.w3.org/2005/08/addressing">
+ <wsdl:types>
+ <xsd:schema
targetNamespace="http://example.org/Imports">
+ <xsd:import schemaLocation="Addressing0.xsd"
namespace="http://example.org/echo" />
+ <xsd:import schemaLocation="Addressing1.xsd"
namespace="http://example.org/notify" />
+ <xsd:import schemaLocation="SignatureDocLit0.xsd"
namespace="http://schemas.example.com/2003/10/Serialization/" />
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="EchoInMessage">
+ <wsdl:part name="echoIn" element="q1:echoIn"
xmlns:q1="http://example.org/echo" />
+ </wsdl:message>
+ <wsdl:message name="EchoOutMessage">
+ <wsdl:part name="echoOut" element="q1:echoOut"
xmlns:q1="http://example.org/echo" />
+ </wsdl:message>
+ <wsdl:message name="NotifyMessage">
+ <wsdl:part name="notify" element="q2:notify"
xmlns:q2="http://example.org/notify"/>
+ </wsdl:message>
+ <wsdl:portType name="wsaTestPortType">
+ <wsdl:operation name="Echo">
+ <wsdl:input
wsam:Action="http://example.org/action/echoIn"
name="EchoInMessage" message="tns:EchoInMessage" />
+ <wsdl:output
wsam:Action="http://example.org/action/echoOut"
name="EchoOutMessage" message="tns:EchoOutMessage" />
+ </wsdl:operation>
+ <wsdl:operation name="Notify">
+ <wsdl:input
wsam:Action="http://example.org/action/notify"
name="NotifyMessage" message="tns:NotifyMessage" />
+ </wsdl:operation>
+ </wsdl:portType>
+</wsdl:definitions>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/Addressing0.xsd
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/Addressing0.xsd
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/Addressing0.xsd 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<xs:schema elementFormDefault="qualified"
targetNamespace="http://example.org/echo"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://example.org/echo">
+ <xs:element name="echoIn" nillable="true"
type="xs:string" />
+ <xs:element name="echoOut" nillable="true"
type="xs:string" />
+</xs:schema>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/Addressing1.xsd
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/Addressing1.xsd
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/Addressing1.xsd 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<xs:schema elementFormDefault="qualified"
targetNamespace="http://example.org/notify"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://example.org/notify">
+ <xs:element name="notify" nillable="true"
type="xs:string" />
+</xs:schema>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/SignatureDocLit0.xsd
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/SignatureDocLit0.xsd
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/SignatureDocLit0.xsd 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xs:schema attributeFormDefault="qualified"
elementFormDefault="qualified"
targetNamespace="http://schemas.example.com/2003/10/Serialization/&q...
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://schemas.example.com/2003/10/Serialization/">
+ <xs:element name="anyType" nillable="true"
type="xs:anyType"/>
+ <xs:element name="anyURI" nillable="true"
type="xs:anyURI"/>
+ <xs:element name="base64Binary" nillable="true"
type="xs:base64Binary"/>
+ <xs:element name="boolean" nillable="true"
type="xs:boolean"/>
+ <xs:element name="byte" nillable="true"
type="xs:byte"/>
+ <xs:element name="dateTime" nillable="true"
type="xs:dateTime"/>
+ <xs:element name="decimal" nillable="true"
type="xs:decimal"/>
+ <xs:element name="double" nillable="true"
type="xs:double"/>
+ <xs:element name="float" nillable="true"
type="xs:float"/>
+ <xs:element name="int" nillable="true"
type="xs:int"/>
+ <xs:element name="long" nillable="true"
type="xs:long"/>
+ <xs:element name="QName" nillable="true"
type="xs:QName"/>
+ <xs:element name="short" nillable="true"
type="xs:short"/>
+ <xs:element name="string" nillable="true"
type="xs:string"/>
+ <xs:element name="unsignedByte" nillable="true"
type="xs:unsignedByte"/>
+ <xs:element name="unsignedInt" nillable="true"
type="xs:unsignedInt"/>
+ <xs:element name="unsignedLong" nillable="true"
type="xs:unsignedLong"/>
+ <xs:element name="unsignedShort" nillable="true"
type="xs:unsignedShort"/>
+ <xs:element name="duration" nillable="true"
type="xs:duration"/>
+ <xs:attribute name="FactoryType" type="xs:QName"/>
+ <xs:attribute name="Id" type="xs:ID"/>
+ <xs:attribute name="Ref" type="xs:IDREF"/>
+</xs:schema>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/Test1189-Anon.wsdl
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/Test1189-Anon.wsdl
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-anon/WEB-INF/wsdl/Test1189-Anon.wsdl 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="wsaTestService"
targetNamespace="http://tempuri.org/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
xmlns:tns="http://tempuri.org/"
xmlns:wsp="http://www.w3.org/ns/ws-policy"
xmlns:i0="http://example.org"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa10="http://www.w3.org/2005/08/addressing">
+ <wsp:Policy wsu:Id="CustomBinding_wsaTestPortType_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <wsam:Addressing>
+ <wsp:Policy>
+ <wsam:AnonymousResponses/>
+ </wsp:Policy>
+ </wsam:Addressing>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsdl:import namespace="http://example.org"
location="Addressing0.wsdl"/>
+ <wsdl:types/>
+ <wsdl:binding name="CustomBinding_wsaTestPortType"
type="i0:wsaTestPortType">
+ <wsp:PolicyReference URI="#CustomBinding_wsaTestPortType_policy" />
+ <soap:binding
transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="Echo">
+ <soap:operation
soapAction="http://example.org/action/echoIn"
style="document" />
+ <wsdl:input name="EchoInMessage">
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output name="EchoOutMessage">
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="Notify">
+ <soap:operation
soapAction="http://example.org/action/notify"
style="document" />
+ <wsdl:input name="NotifyMessage">
+ <soap:body use="literal" />
+ </wsdl:input>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="wsaTestService">
+ <wsdl:port name="CustomBinding_wsaTestPortType"
binding="tns:CustomBinding_wsaTestPortType">
+ <soap:address location="http://localhost/WSAddressing/Soap11"/>
+ <wsa10:EndpointReference>
+ <wsa10:Address>http://localhost/WSAddressing/Soap11</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/web.xml
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/web.xml
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/web.xml 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd">
+ <servlet>
+ <servlet-name>Test1189NonAnon</servlet-name>
+
<servlet-class>org.jboss.test.ws.jaxws.bp12.wsa.test1189.nonanon.WsaTestPortTypeImpl</servlet-class>
+ </servlet>
+
+
+ <servlet-mapping>
+ <servlet-name>Test1189NonAnon</servlet-name>
+ <url-pattern>/Test1189NonAnon</url-pattern>
+ </servlet-mapping>
+</web-app>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/Addressing.wsdl
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/Addressing.wsdl
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/Addressing.wsdl 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="wsaTestService"
targetNamespace="http://tempuri.org/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
xmlns:tns="http://tempuri.org/"
xmlns:wsp="http://www.w3.org/ns/ws-policy"
xmlns:i0="http://example.org"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa10="http://www.w3.org/2005/08/addressing">
+ <wsp:Policy wsu:Id="CustomBinding_wsaTestPortType_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <wsam:Addressing>
+ <wsp:Policy />
+ </wsam:Addressing>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsdl:import namespace="http://example.org"
location="Addressing0.wsdl"/>
+ <wsdl:types/>
+ <wsdl:binding name="CustomBinding_wsaTestPortType"
type="i0:wsaTestPortType">
+ <wsp:PolicyReference URI="#CustomBinding_wsaTestPortType_policy" />
+ <soap:binding
transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="Echo">
+ <soap:operation
soapAction="http://example.org/action/echoIn"
style="document" />
+ <wsdl:input name="EchoInMessage">
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output name="EchoOutMessage">
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="Notify">
+ <soap:operation
soapAction="http://example.org/action/notify"
style="document" />
+ <wsdl:input name="NotifyMessage">
+ <soap:body use="literal" />
+ </wsdl:input>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="wsaTestService">
+ <wsdl:port name="CustomBinding_wsaTestPortType"
binding="tns:CustomBinding_wsaTestPortType">
+ <soap:address location="http://localhost/WSAddressing/Soap11"/>
+ <wsa10:EndpointReference>
+ <wsa10:Address>http://localhost/WSAddressing/Soap11</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/Addressing0.wsdl
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/Addressing0.wsdl
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/Addressing0.wsdl 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions targetNamespace="http://example.org"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
xmlns:tns="http://example.org"
xmlns:wsp="http://www.w3.org/ns/ws-policy"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa10="http://www.w3.org/2005/08/addressing">
+ <wsdl:types>
+ <xsd:schema
targetNamespace="http://example.org/Imports">
+ <xsd:import schemaLocation="Addressing0.xsd"
namespace="http://example.org/echo" />
+ <xsd:import schemaLocation="Addressing1.xsd"
namespace="http://example.org/notify" />
+ <xsd:import schemaLocation="SignatureDocLit0.xsd"
namespace="http://schemas.example.com/2003/10/Serialization/" />
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="EchoInMessage">
+ <wsdl:part name="echoIn" element="q1:echoIn"
xmlns:q1="http://example.org/echo" />
+ </wsdl:message>
+ <wsdl:message name="EchoOutMessage">
+ <wsdl:part name="echoOut" element="q1:echoOut"
xmlns:q1="http://example.org/echo" />
+ </wsdl:message>
+ <wsdl:message name="NotifyMessage">
+ <wsdl:part name="notify" element="q2:notify"
xmlns:q2="http://example.org/notify"/>
+ </wsdl:message>
+ <wsdl:portType name="wsaTestPortType">
+ <wsdl:operation name="Echo">
+ <wsdl:input
wsam:Action="http://example.org/action/echoIn"
name="EchoInMessage" message="tns:EchoInMessage" />
+ <wsdl:output
wsam:Action="http://example.org/action/echoOut"
name="EchoOutMessage" message="tns:EchoOutMessage" />
+ </wsdl:operation>
+ <wsdl:operation name="Notify">
+ <wsdl:input
wsam:Action="http://example.org/action/notify"
name="NotifyMessage" message="tns:NotifyMessage" />
+ </wsdl:operation>
+ </wsdl:portType>
+</wsdl:definitions>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/Addressing0.xsd
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/Addressing0.xsd
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/Addressing0.xsd 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<xs:schema elementFormDefault="qualified"
targetNamespace="http://example.org/echo"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://example.org/echo">
+ <xs:element name="echoIn" nillable="true"
type="xs:string" />
+ <xs:element name="echoOut" nillable="true"
type="xs:string" />
+</xs:schema>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/Addressing1.xsd
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/Addressing1.xsd
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/Addressing1.xsd 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<xs:schema elementFormDefault="qualified"
targetNamespace="http://example.org/notify"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://example.org/notify">
+ <xs:element name="notify" nillable="true"
type="xs:string" />
+</xs:schema>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/SignatureDocLit0.xsd
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/SignatureDocLit0.xsd
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/SignatureDocLit0.xsd 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xs:schema attributeFormDefault="qualified"
elementFormDefault="qualified"
targetNamespace="http://schemas.example.com/2003/10/Serialization/&q...
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://schemas.example.com/2003/10/Serialization/">
+ <xs:element name="anyType" nillable="true"
type="xs:anyType"/>
+ <xs:element name="anyURI" nillable="true"
type="xs:anyURI"/>
+ <xs:element name="base64Binary" nillable="true"
type="xs:base64Binary"/>
+ <xs:element name="boolean" nillable="true"
type="xs:boolean"/>
+ <xs:element name="byte" nillable="true"
type="xs:byte"/>
+ <xs:element name="dateTime" nillable="true"
type="xs:dateTime"/>
+ <xs:element name="decimal" nillable="true"
type="xs:decimal"/>
+ <xs:element name="double" nillable="true"
type="xs:double"/>
+ <xs:element name="float" nillable="true"
type="xs:float"/>
+ <xs:element name="int" nillable="true"
type="xs:int"/>
+ <xs:element name="long" nillable="true"
type="xs:long"/>
+ <xs:element name="QName" nillable="true"
type="xs:QName"/>
+ <xs:element name="short" nillable="true"
type="xs:short"/>
+ <xs:element name="string" nillable="true"
type="xs:string"/>
+ <xs:element name="unsignedByte" nillable="true"
type="xs:unsignedByte"/>
+ <xs:element name="unsignedInt" nillable="true"
type="xs:unsignedInt"/>
+ <xs:element name="unsignedLong" nillable="true"
type="xs:unsignedLong"/>
+ <xs:element name="unsignedShort" nillable="true"
type="xs:unsignedShort"/>
+ <xs:element name="duration" nillable="true"
type="xs:duration"/>
+ <xs:attribute name="FactoryType" type="xs:QName"/>
+ <xs:attribute name="Id" type="xs:ID"/>
+ <xs:attribute name="Ref" type="xs:IDREF"/>
+</xs:schema>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/Test1189-NonAnon.wsdl
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/Test1189-NonAnon.wsdl
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/wsa/test1189-nonanon/WEB-INF/wsdl/Test1189-NonAnon.wsdl 2012-09-05
09:27:00 UTC (rev 16696)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="wsaTestService"
targetNamespace="http://tempuri.org/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
xmlns:tns="http://tempuri.org/"
xmlns:wsp="http://www.w3.org/ns/ws-policy"
xmlns:i0="http://example.org"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa10="http://www.w3.org/2005/08/addressing">
+ <wsp:Policy wsu:Id="CustomBinding_wsaTestPortType_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <wsam:Addressing>
+ <wsp:Policy>
+ <wsam:NonAnonymousResponses/>
+ </wsp:Policy>
+ </wsam:Addressing>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsdl:import namespace="http://example.org"
location="Addressing0.wsdl"/>
+ <wsdl:types/>
+ <wsdl:binding name="CustomBinding_wsaTestPortType"
type="i0:wsaTestPortType">
+ <wsp:PolicyReference URI="#CustomBinding_wsaTestPortType_policy" />
+ <soap:binding
transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="Echo">
+ <soap:operation
soapAction="http://example.org/action/echoIn"
style="document" />
+ <wsdl:input name="EchoInMessage">
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output name="EchoOutMessage">
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="Notify">
+ <soap:operation
soapAction="http://example.org/action/notify"
style="document" />
+ <wsdl:input name="NotifyMessage">
+ <soap:body use="literal" />
+ </wsdl:input>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="wsaTestService">
+ <wsdl:port name="CustomBinding_wsaTestPortType"
binding="tns:CustomBinding_wsaTestPortType">
+ <soap:address location="http://localhost/WSAddressing/Soap11"/>
+ <wsa10:EndpointReference>
+ <wsa10:Address>http://localhost/WSAddressing/Soap11</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file