Author: alessio.soldano(a)jboss.com
Date: 2007-11-01 09:48:17 -0400 (Thu, 01 Nov 2007)
New Revision: 4970
Added:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/AddressingTestCase.java
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/Echo.java
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/EchoImpl.java
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/EchoInMessage.java
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/EchoOutMessage.java
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/Notify.java
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/NotifyImpl.java
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/NotifyMessage.java
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/ObjectFactory.java
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/ReplyToServlet.java
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/package-info.java
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/META-INF/
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/META-INF/scenarios.xml
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/jboss-web.xml
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/web.xml
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/service.wsdl
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/wsdl0.wsdl
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/wsdl1.wsdl
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/wsdl2.wsdl
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/xsd0.xsd
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/xsd1.xsd
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/xsd2.xsd
Modified:
stack/native/branches/asoldano/trunk/ant-import-tests/build-jars-jaxws.xml
Log:
WCF interoperability tests, wsa 1.0 soap 1.2.
See also [JBWS-1880].
Modified: stack/native/branches/asoldano/trunk/ant-import-tests/build-jars-jaxws.xml
===================================================================
--- stack/native/branches/asoldano/trunk/ant-import-tests/build-jars-jaxws.xml 2007-11-01
11:42:44 UTC (rev 4969)
+++ stack/native/branches/asoldano/trunk/ant-import-tests/build-jars-jaxws.xml 2007-11-01
13:48:17 UTC (rev 4970)
@@ -793,6 +793,27 @@
<!-- WCF Interoperability Plug-fest November 2007 -->
+ <!-- jbossws-interop-nov2007-wsaSoap12.war -->
+ <war
warfile="${tests.output.dir}/libs/jbossws-interop-nov2007-wsaSoap12.war"
+
webxml="${tests.output.dir}/resources/interop/nov2007/wsaSoap12/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include
name="org/jboss/test/ws/interop/nov2007/wsaSoap12/**/*.class"/>
+ <include name="org/jboss/test/ws/interop/*.class"/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/resources/interop/nov2007/wsaSoap12/WEB-INF">
+ <include name="wsdl/**"/>
+ <include name="jboss-web.xml"/>
+ <include name="scenarios.xml"/>
+ </webinf>
+ <fileset
dir="${tests.output.dir}/resources/interop/nov2007/wsaSoap12">
+ <include name="*.*"/>
+ </fileset>
+ </war>
+ <!-- jbossws-interop-nov2007-wsaSoap12-client.jar -->
+ <jar
destfile="${tests.output.dir}/libs/jbossws-interop-nov2007-wsaSoap12-client.jar">
+ <metainf
dir="${tests.output.dir}/resources/interop/nov2007/wsaSoap12/META-INF"/>
+ </jar>
+
<!-- jbossws-interop-nov2007-wsseEncrypt.war -->
<war
warfile="${tests.output.dir}/libs/jbossws-interop-nov2007-wsseEncrypt.war"
webxml="${tests.output.dir}/resources/interop/nov2007/wsse/encrypt/WEB-INF/web.xml">
Added:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/AddressingTestCase.java
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/AddressingTestCase.java
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/AddressingTestCase.java 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,543 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.interop.nov2007.wsaSoap12;
+
+import java.io.File;
+import java.net.MalformedURLException;
+import java.net.URI;
+import java.net.URL;
+import java.net.URLClassLoader;
+import java.util.List;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.BindingProvider;
+import javax.xml.ws.Service;
+import javax.xml.ws.addressing.AddressingBuilder;
+import javax.xml.ws.addressing.AddressingConstants;
+import javax.xml.ws.addressing.AddressingProperties;
+import javax.xml.ws.addressing.JAXWSAConstants;
+import javax.xml.ws.addressing.Relationship;
+import javax.xml.ws.addressing.soap.SOAPAddressingProperties;
+import javax.xml.ws.soap.SOAPFaultException;
+
+import junit.framework.Test;
+
+import org.jboss.test.ws.interop.ClientScenario;
+import org.jboss.test.ws.interop.InteropConfigFactory;
+import org.jboss.ws.core.StubExt;
+import org.jboss.ws.extensions.addressing.AddressingClientUtil;
+import org.jboss.wsf.common.DOMUtils;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestHelper;
+import org.jboss.wsf.test.JBossWSTestSetup;
+import org.w3c.dom.Element;
+
+/**
+ * @author Alessio Soldano, alessio.soldano(a)jboss.com
+ * @version $Id$
+ * @since 31-Oct-2007
+ */
+public class AddressingTestCase extends JBossWSTest {
+
+ private static Echo echoPort;
+ private static Notify notifyPort;
+
+ final static String WSA_FROM = "http://example.org/node/A";
+ final static String WSA_TO = "http://example.org/node/B";
+// final static String WSA_TO =
"http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap12";
+
+ private static URL wsdlLocation;
+
+ private static AddressingBuilder BUILDER;
+ private static AddressingConstants CONSTANTS;
+
+ static
+ {
+ AddressingTestCase.BUILDER = AddressingBuilder.getAddressingBuilder();
+ AddressingTestCase.CONSTANTS =
AddressingTestCase.BUILDER.newAddressingConstants();
+ }
+
+ private Element customerParam;
+ private Element faultParam;
+ private Element extraStuff;
+ private Element wsdl1Param;
+ private Element wsdl2Param;
+
+ public static Test suite()
+ {
+
addClientConfToClasspath("jbossws-interop-nov2007-wsaSoap12-client.jar");
+ return new JBossWSTestSetup(AddressingTestCase.class,
"jbossws-interop-nov2007-wsaSoap12.war");
+ }
+
+ protected void setUp() throws Exception
+ {
+
+ if (echoPort==null || notifyPort==null)
+ {
+ wsdlLocation = new
File("resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/service.wsdl").toURL();
+
+ Service service = Service.create(wsdlLocation, new
QName("http://tempuri.org/", "WSAddressingCR"));
+ echoPort = service.getPort(Echo.class);
+ notifyPort= service.getPort(Notify.class);
+
+ ((StubExt)echoPort).setConfigName("Standard SOAP 1.2 WSAddressing
Client");
+ ((StubExt)notifyPort).setConfigName("Standard SOAP 1.2 WSAddressing
Client");
+
+ configureClient();
+ }
+
+
+ customerParam = DOMUtils.parse("<customer:CustomerKey
xmlns:customer=\"http://example.org/customer\">Key#123456789...);
+ faultParam = DOMUtils.parse("<customer:CustomerKey
xmlns:customer=\"http://example.org/customer\">Fault#1234567...);
+ wsdl1Param = DOMUtils.parse("<definitions
xmlns=\"http://schemas.xmlsoap.org/wsdl/\">insert WSDL 1.1
here!</definitions>");
+ wsdl2Param = DOMUtils.parse("<description
xmlns=\"http://www.w3.org/2006/01/wsdl\">insert WSDL 2.0
here!</description>");
+ extraStuff = DOMUtils.parse("<customer:extraStuff
xmlns:customer=\"http://example.org/customer\">This should be
ignored</customer:extraStuff>");
+ }
+
+ protected static void addClientConfToClasspath(String s)
+ {
+ try
+ {
+ // wrap the classloader upfront to allow inclusion of the client.jar
+ JBossWSTestHelper helper = new JBossWSTestHelper();
+ ClassLoader parent = Thread.currentThread().getContextClassLoader();
+ URLClassLoader replacement = new URLClassLoader(new URL[] {
helper.getArchiveURL(s) }, parent);
+ Thread.currentThread().setContextClassLoader(replacement);
+
+ }
+ catch (MalformedURLException e)
+ {
+ throw new IllegalStateException(e);
+ }
+ }
+
+ private void configureClient() {
+
+ ((BindingProvider)echoPort).getRequestContext().put(
+ BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
"http://"+getServerHost()+":8080/nov2007/wsaSoap12/echo"
+ );
+
+ ((BindingProvider)notifyPort).getRequestContext().put(
+ BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
"http://"+getServerHost()+":8080/nov2007/wsaSoap12/notify"
+ );
+
+
+ InteropConfigFactory factory = InteropConfigFactory.newInstance();
+ ClientScenario scenario =
factory.createClientScenario(System.getProperty("client.scenario"));
+ //ClientScenario scenario = factory.createClientScenario("msft-public");
+ if(scenario!=null)
+ {
+ String notifyEndpoint = scenario.getTargetEndpoint().toString();
+ log.info("Using scenario: " + scenario);
+ log.info("Endpoint at: " + notifyEndpoint);
+
+
((BindingProvider)echoPort).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
scenario.getParameter("echoPort"));
+
((BindingProvider)notifyPort).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
notifyEndpoint);
+
+ }
+ else
+ {
+ throw new IllegalStateException("Failed to load client scenario");
+ }
+ }
+
+ /**
+ * Certain MSFT testcases require the connection to be closed
+ * since remoting cannot work with particluar HTTP response codes.
+ */
+ private void forceReset() {
+ /*try
+ {
+ echoPort = null;
+ notifyPort = null;
+ setUp();
+ }
+ catch (Exception e)
+ {
+ throw new IllegalStateException("Failed to reset connection");
+ }*/
+ }
+
+ public void test1200() {
+ // create addressing properties
+ AddressingProperties requestProps =
+
AddressingClientUtil.createDefaultProps("http://example.org/action/n...;,
AddressingTestCase.WSA_TO);
+ setRequestProperties((BindingProvider)notifyPort, requestProps);
+
+ // invoke service
+ notifyPort.notify( new NotifyMessage("Message 1200"));
+ forceReset();
+ }
+
+ public void test1201() {
+ try
+ {
+ // create addressing properties
+ AddressingProperties requestProps =
+
AddressingClientUtil.createDefaultProps("http://example.org/action/n...;,
AddressingTestCase.WSA_TO);
+ requestProps.setMessageID( AddressingTestCase.BUILDER.newURI(
AddressingClientUtil.generateMessageID()));
+
+ setRequestProperties((BindingProvider)notifyPort, requestProps);
+
+ // invoke service
+ notifyPort.notify(new NotifyMessage("Message 1201"));
+ forceReset();
+ }
+ catch (Exception e)
+ {
+ fail(e.getMessage());
+ }
+ }
+
+ public void test1202() {
+ try
+ {
+ // create addressing properties
+ AddressingProperties requestProps =
+
AddressingClientUtil.createOneWayProps("http://example.org/action/no...;,
AddressingTestCase.WSA_TO);
+
+ setRequestProperties((BindingProvider)notifyPort, requestProps);
+
+ // invoke service
+ notifyPort.notify(new NotifyMessage("Message 1202"));
+ forceReset();
+ }
+ catch (Exception e)
+ {
+ fail(e.getMessage());
+ }
+ }
+
+ public void test1203() throws Exception {
+ // create addressing properties
+ AddressingProperties requestProps =
+ AddressingClientUtil.createDefaultProps(
+ "http://example.org/action/notify", AddressingTestCase.WSA_TO);
+
+ requestProps.setFaultTo(AddressingTestCase.BUILDER.newEndpointReference(new
URI(AddressingTestCase.CONSTANTS.getNoneURI())));
+ setRequestProperties((BindingProvider)notifyPort, requestProps);
+
+ notifyPort.notify(new NotifyMessage("Message 1203"));
+ forceReset();
+ }
+
+ public void test1204() throws Exception {
+ // create addressing properties
+ AddressingProperties requestProps =
+ AddressingClientUtil.createOneWayProps(
+ "http://example.org/action/notify",
+ AddressingTestCase.WSA_TO
+ );
+
+ requestProps.setFaultTo(AddressingTestCase.BUILDER.newEndpointReference(new
URI(AddressingTestCase.CONSTANTS.getNoneURI())));
+ setRequestProperties((BindingProvider)notifyPort, requestProps);
+ notifyPort.notify(new NotifyMessage("Message 1204"));
+ forceReset();
+ }
+
+ public void test1206() throws Exception {
+ // create addressing properties
+ AddressingProperties requestProps =
+ AddressingClientUtil.createOneWayProps(
+ "http://example.org/action/notify",
+ AddressingTestCase.WSA_TO
+ );
+
+ requestProps.getReplyTo().getReferenceParameters().addElement(customerParam);
+ setRequestProperties((BindingProvider)notifyPort, requestProps);
+
+ notifyPort.notify(new NotifyMessage("Message 1206"));
+ forceReset();
+ }
+
+
+ public void test1207() throws Exception {
+ // create addressing properties
+ AddressingProperties requestProps =
+
AddressingClientUtil.createOneWayProps("http://example.org/action/no...;,
AddressingTestCase.WSA_TO);
+
+ requestProps.getReplyTo().getMetadata().addElement(wsdl1Param);
+ requestProps.getReplyTo().getMetadata().addElement(wsdl2Param);
+
+ setRequestProperties((BindingProvider)notifyPort, requestProps);
+
+ notifyPort.notify(new NotifyMessage("Message 1207"));
+ forceReset();
+ }
+
+ //
+ // One-way message containing a ReplyTo address
+ // with an element extension and an attribute extension
+ // of the ReferenceParameters and Metadata elements.
+ // /
+ public void test1208() throws Exception {
+
+ AddressingProperties requestProps =
+
AddressingClientUtil.createOneWayProps("http://example.org/action/no...;,
AddressingTestCase.WSA_TO);
+
+ requestProps.getReplyTo().getReferenceParameters().addElement(customerParam);
+ requestProps.getReplyTo().addAttribute(new
QName("http://example.org/customer","level"), "premium");
+
+ requestProps.getReplyTo().getMetadata().addElement(extraStuff);
+ requestProps.getReplyTo().getMetadata().addAttribute(new
QName("http://example.org/customer", "total"), "1");
+
+ setRequestProperties((BindingProvider)notifyPort, requestProps);
+
+ notifyPort.notify(new NotifyMessage("Message 1208"));
+ forceReset();
+ }
+
+ //
+ // Two-way message exchange containing an Action.
+ // All other fields are defaulted.
+ // The presence of a MessageID in the first message and
+ // of the corresponding RelatesTo in the second message is tested.
+ //
+ public void test1230() throws Exception {
+ AddressingProperties requestProps =
+
AddressingClientUtil.createDefaultProps("http://example.org/action/e...;,
AddressingTestCase.WSA_TO);
+ requestProps.setMessageID(AddressingClientUtil.createMessageID());
+ setRequestProperties((BindingProvider)echoPort, requestProps);
+
+ // invoke service
+ echoPort.echo(new EchoInMessage("Message 1230"));
+
+ SOAPAddressingProperties responseProperties = (SOAPAddressingProperties)
+ getResponseProperties((BindingProvider)echoPort);
+
+ forceReset();
+
+ Relationship rel = responseProperties.getRelatesTo()[0];
+ assertEquals(rel.getID().toString(),
requestProps.getMessageID().getURI().toString());
+
+ }
+
+ //
+ // Two-way message exchange containing
+ // an Action, MessageID and a ReplyTo of anonymous.
+ // All other fields are defaulted.
+ //
+ public void test1231 () throws Exception {
+ AddressingProperties requestProps =
+
AddressingClientUtil.createAnonymousProps("http://example.org/action...;,
AddressingTestCase.WSA_TO);
+ requestProps.setMessageID(AddressingClientUtil.createMessageID());
+ setRequestProperties((BindingProvider)echoPort, requestProps);
+
+ // invoke service
+ echoPort.echo(new EchoInMessage("Message 1231"));
+
+ SOAPAddressingProperties responseProperties = (SOAPAddressingProperties)
+ getResponseProperties((BindingProvider)echoPort);
+ forceReset();
+
+ Relationship rel = responseProperties.getRelatesTo()[0];
+ assertEquals(rel.getID().toString(),
requestProps.getMessageID().getURI().toString());
+ assertTrue(null == responseProperties.getReplyTo());
+
+ }
+
+ //
+ // Two-way message exchange containing an Action and a ReplyTo
+ // with the address set to anonymous.
+ // The ReplyTo contains at least one Reference Parameter value.
+ // The reply message is returned on the HTTP response with
+ // the Reference Parameter value as a first class SOAP header.
+ //
+ public void test1232() throws Exception {
+ AddressingProperties requestProps =
+
AddressingClientUtil.createAnonymousProps("http://example.org/action...;,
AddressingTestCase.WSA_TO);
+ requestProps.setMessageID(AddressingClientUtil.createMessageID());
+ requestProps.getReplyTo().getReferenceParameters().addElement(customerParam);
+
+ setRequestProperties((BindingProvider)echoPort, requestProps);
+
+ // invoke service
+ echoPort.echo(new EchoInMessage("Message 1232"));
+
+ SOAPAddressingProperties responseProperties = (SOAPAddressingProperties)
+ getResponseProperties((BindingProvider)echoPort);
+
+ forceReset();
+
+ Relationship rel = responseProperties.getRelatesTo()[0];
+ assertEquals(rel.getID().toString(),
requestProps.getMessageID().getURI().toString());
+ assertTrue(null == responseProperties.getReplyTo());
+ List<Object> returnParameters =
responseProperties.getReferenceParameters().getElements();
+ assertFalse("Reference parameter is missing",
returnParameters.isEmpty());
+
+ }
+
+ //
+ // Two-way message exchange containing an Action.
+ // The ReplyTo and FaultTo addresses are both anonymous.
+ // The ReplyTo and FaultTo contain at least one Reference Parameter value
+ // which are different.
+ // A fault message is returned on the HTTP response with the
+ // FaultTo Reference Parameter value as a first class SOAP header.
+ //
+ public void test1233() throws Exception {
+ AddressingProperties requestProps =
+
AddressingClientUtil.createAnonymousProps("http://example.org/action...;,
AddressingTestCase.WSA_TO);
+ requestProps.setMessageID(AddressingClientUtil.createMessageID());
+ requestProps.setFaultTo(AddressingTestCase.BUILDER.newEndpointReference(new
URI(AddressingTestCase.CONSTANTS.getAnonymousURI())));
+
+ requestProps.getReplyTo().getReferenceParameters().addElement(customerParam);
+ requestProps.getFaultTo().getReferenceParameters().addElement(faultParam);
+
+ setRequestProperties((BindingProvider)echoPort, requestProps);
+
+ // invoke service
+ try
+ {
+ echoPort.echo(new EchoInMessage("Message 1233"));
+ }
+ catch (Exception e)
+ {
+ boolean isSoapFault = (e.getCause() instanceof SOAPFaultException);
+ if(!isSoapFault) throw e;
+ }
+
+ SOAPAddressingProperties responseProperties = (SOAPAddressingProperties)
+ getResponseProperties((BindingProvider)echoPort);
+
+ forceReset();
+
+ Relationship rel = responseProperties.getRelatesTo()[0];
+ assertEquals(rel.getID().toString(),
requestProps.getMessageID().getURI().toString());
+ assertTrue(null == responseProperties.getReplyTo());
+ List<Object> returnParameters =
responseProperties.getReferenceParameters().getElements();
+ assertFalse("Reference parameter is missing",
returnParameters.isEmpty());
+ }
+
+ //
+ // Two-way message exchange containing an Action and a ReplyTo address,
+ // but no FaultTo EPR. The ReplyTo address is anonymous.
+ // The ReplyTo contains at least one Reference Parameter value.
+ // A fault message is returned on the HTTP response with the
+ // ReplyTo Reference Parameter value as a first class SOAP header.
+ //
+ public void test1234() throws Exception {
+ AddressingProperties requestProps =
+
AddressingClientUtil.createAnonymousProps("http://example.org/action...;,
AddressingTestCase.WSA_TO);
+ requestProps.setMessageID(AddressingClientUtil.createMessageID());
+
+ requestProps.getReplyTo().getReferenceParameters().addElement(customerParam);
+
+ setRequestProperties((BindingProvider)echoPort, requestProps);
+
+ // invoke service
+ try
+ {
+ echoPort.echo(new EchoInMessage("Message 1234"));
+ }
+ catch (Exception e)
+ {
+ boolean isSoapFault = (e.getCause() instanceof SOAPFaultException);
+ if(!isSoapFault) throw e;
+ }
+
+ SOAPAddressingProperties responseProperties = (SOAPAddressingProperties)
+ getResponseProperties((BindingProvider)echoPort);
+
+ forceReset();
+
+ Relationship rel = responseProperties.getRelatesTo()[0];
+ assertEquals(rel.getID().toString(),
requestProps.getMessageID().getURI().toString());
+ assertTrue(null == responseProperties.getReplyTo());
+ List<Object> returnParameters =
responseProperties.getReferenceParameters().getElements();
+ assertFalse("Reference parameter is missing",
returnParameters.isEmpty());
+ }
+
+ //
+ // Two-way message exchange containing a duplicate Reply-To header.
+ //
+ public void test1240() throws Exception {
+ System.out.println("1140: Not supported on the client side");
+ }
+
+ //
+ // Two-way message exchange containing a duplicate To header.
+ //
+ public void test1241() throws Exception {
+ System.out.println("1141: Not supported on the client side");
+ }
+
+ //
+ // Two-way message exchange containing a duplicate Fault-To header.
+ //
+ public void test1242() throws Exception {
+ System.out.println("1142: Not supported on the client side");
+ }
+
+ //
+ // Two-way message exchange containing a duplicate action header.
+ //
+ public void test1243() throws Exception {
+ System.out.println("1143: Not supported on the client side");
+ }
+
+ //
+ // Two-way message exchange containing a duplicate message ID header.
+ //
+ public void test1244() throws Exception {
+ System.out.println("1144: Not supported on the client side");
+ }
+
+ //
+ // Two-way message exchange containing an
+ // Action and a ReplyTo identifying an endpoint.
+ // All other fields are defaulted.
+ //
+ public void test1250() throws Exception {
+ AddressingProperties requestProps =
+
AddressingClientUtil.createDefaultProps("http://example.org/action/e...;,
AddressingTestCase.WSA_TO);
+ requestProps.setMessageID(AddressingClientUtil.createMessageID());
+ requestProps.setReplyTo(
+ AddressingTestCase.BUILDER.newEndpointReference(
+ new URI("http://localhost:8080/nov2007/wsaSoap12/replyTo")
+ )
+ );
+
+ setRequestProperties((BindingProvider)echoPort, requestProps);
+
+ echoPort.echo(new EchoInMessage("Message 1250"));
+
+ forceReset();
+
+ // todo: check echOut results
+ }
+
+ //
+ // customize a stubs endpoint url
+ //
+ private static void setTargetAddress(BindingProvider bp, String url) {
+ bp.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, url);
+ }
+
+ private void setRequestProperties(BindingProvider bp, AddressingProperties props) {
+ bp.getRequestContext().put(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES_OUTBOUND,
props);
+ }
+
+ private AddressingProperties getResponseProperties(BindingProvider bp) {
+ return
(AddressingProperties)bp.getResponseContext().get(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES_INBOUND);
+ }
+}
Property changes on:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/AddressingTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/Echo.java
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/Echo.java
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/Echo.java 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,55 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.interop.nov2007.wsaSoap12;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.jws.soap.SOAPBinding.ParameterStyle;
+
+
+/**
+ * This class was generated by the JAXWS SI.
+ * JAX-WS RI 2.0-b26-ea3
+ * Generated source version: 2.0
+ *
+ */
+@WebService(name = "Echo", targetNamespace =
"http://example.org/echo", wsdlLocation =
"/WEB-INF/wsdl/service.wsdl")
+@SOAPBinding(parameterStyle = ParameterStyle.BARE)
+public interface Echo {
+
+
+ /**
+ *
+ * @param parameters
+ * @return
+ * returns org.jboss.test.ws.interop.nov2007.wsaSoap12.EchoOutMessage
+ */
+ @WebMethod(operationName = "Echo", action =
"http://example.org/action/echoIn")
+ @WebResult(name = "EchoOutMessage", targetNamespace =
"http://example.org/echo", partName = "parameters")
+ public EchoOutMessage echo(
+ @WebParam(name = "EchoInMessage", targetNamespace =
"http://example.org/echo", partName = "parameters")
+ EchoInMessage parameters);
+
+}
Property changes on:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/Echo.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/EchoImpl.java
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/EchoImpl.java
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/EchoImpl.java 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,56 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.interop.nov2007.wsaSoap12;
+
+import org.jboss.ws.annotation.EndpointConfig;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.xml.ws.BindingType;
+
+/**
+ * @author Alessio Soldano, alessio.soldano(a)jboss.com
+ * @version $Id$
+ * @since 31-Oct-2007
+ */
+@WebService(
+ name = "Echo",
+ targetNamespace = "http://tempuri.org/",
+ wsdlLocation = "/WEB-INF/wsdl/service.wsdl",
+ endpointInterface = "org.jboss.test.ws.interop.nov2007.wsaSoap12.Echo",
+ portName = "CustomBinding_Echo1"
+)
+@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
+@EndpointConfig(configName = "Standard SOAP 1.2 WSAddressing Endpoint")
+(a)BindingType(javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING)
+public class EchoImpl implements Echo {
+
+ @WebMethod(operationName = "Echo", action =
"http://example.org/action/echoIn")
+ @WebResult(name = "EchoOutMessage", targetNamespace =
"http://example.org/echo", partName = "parameters")
+ public EchoOutMessage echo(@WebParam(name = "EchoInMessage", targetNamespace
= "http://example.org/echo", partName = "parameters") EchoInMessage
parameters) {
+ System.out.println("EchoImpl: " + parameters.getEchoIn().getValue());
+ return new EchoOutMessage( parameters.getEchoIn().getValue() );
+ }
+}
Property changes on:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/EchoImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/EchoInMessage.java
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/EchoInMessage.java
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/EchoInMessage.java 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,92 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.interop.nov2007.wsaSoap12;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.*;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for EchoInMessage element declaration.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <element name="EchoInMessage">
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="echoIn"
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "echoIn"
+})
+@XmlRootElement(name = "EchoInMessage")
+public class EchoInMessage {
+
+ public EchoInMessage(String echoIn) {
+ this.echoIn = new JAXBElement(new
QName("http://example.org/echo",
"echoIn"), String.class, echoIn);
+ }
+
+ public EchoInMessage() {
+
+ }
+
+ @XmlElementRef(name = "echoIn", namespace =
"http://example.org/echo", type = JAXBElement.class)
+ protected JAXBElement<String> echoIn;
+
+ /**
+ * Gets the value of the echoIn property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public JAXBElement<String> getEchoIn() {
+ return echoIn;
+ }
+
+ /**
+ * Sets the value of the echoIn property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public void setEchoIn(JAXBElement<String> value) {
+ this.echoIn = ((JAXBElement<String> ) value);
+ }
+
+}
Property changes on:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/EchoInMessage.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/EchoOutMessage.java
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/EchoOutMessage.java
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/EchoOutMessage.java 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,91 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.interop.nov2007.wsaSoap12;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.*;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for EchoOutMessage element declaration.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <element name="EchoOutMessage">
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="echoOut"
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "echoOut"
+})
+@XmlRootElement(name = "EchoOutMessage")
+public class EchoOutMessage {
+
+ public EchoOutMessage(String echoOut) {
+ this.echoOut = new JAXBElement(new
QName("http://example.org/echo",
"echoOut"), String.class, echoOut);
+ }
+
+ public EchoOutMessage() {
+ }
+
+ @XmlElementRef(name = "echoOut", namespace =
"http://example.org/echo", type = JAXBElement.class)
+ protected JAXBElement<String> echoOut;
+
+ /**
+ * Gets the value of the echoOut property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public JAXBElement<String> getEchoOut() {
+ return echoOut;
+ }
+
+ /**
+ * Sets the value of the echoOut property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public void setEchoOut(JAXBElement<String> value) {
+ this.echoOut = ((JAXBElement<String> ) value);
+ }
+
+}
Property changes on:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/EchoOutMessage.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/Notify.java
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/Notify.java
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/Notify.java 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.interop.nov2007.wsaSoap12;
+
+import javax.jws.Oneway;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.jws.soap.SOAPBinding.ParameterStyle;
+
+
+/**
+ * This class was generated by the JAXWS SI.
+ * JAX-WS RI 2.0-b26-ea3
+ * Generated source version: 2.0
+ *
+ */
+@WebService(name = "Notify", targetNamespace =
"http://example.org/notify", wsdlLocation =
"WEB-INF/wsdl/service.wsdl")
+@SOAPBinding(parameterStyle = ParameterStyle.BARE)
+public interface Notify {
+
+
+ /**
+ *
+ * @param parameters
+ */
+ @WebMethod(operationName = "Notify", action =
"http://example.org/action/notify")
+ @Oneway
+ public void notify(
+ @WebParam(name = "NotifyMessage", targetNamespace =
"http://example.org/notify", partName = "parameters")
+ NotifyMessage parameters);
+
+}
Property changes on:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/Notify.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/NotifyImpl.java
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/NotifyImpl.java
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/NotifyImpl.java 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,55 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.interop.nov2007.wsaSoap12;
+
+import org.jboss.ws.annotation.EndpointConfig;
+
+import javax.jws.WebMethod;
+import javax.jws.Oneway;
+import javax.jws.WebParam;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.xml.ws.BindingType;
+
+/**
+ * @author Alessio Soldano, alessio.soldano(a)jboss.com
+ * @version $Id$
+ * @since 31-Oct-2007
+ */
+@WebService(
+ name = "Notify",
+ targetNamespace = "http://tempuri.org/",
+ endpointInterface = "org.jboss.test.ws.interop.nov2007.wsaSoap12.Notify",
+ wsdlLocation = "/WEB-INF/wsdl/service.wsdl",
+ portName = "CustomBinding_Notify1"
+)
+@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
+@EndpointConfig(configName = "Standard SOAP 1.2 WSAddressing Endpoint")
+(a)BindingType(javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING)
+public class NotifyImpl implements Notify {
+
+ @WebMethod(operationName = "Notify", action =
"http://example.org/action/notify")
+ @Oneway
+ public void notify(@WebParam(name = "NotifyMessage", targetNamespace =
"http://example.org/notify", partName = "parameters") NotifyMessage
parameters) {
+ System.out.println("NotifyImpl: " + parameters.getNotify().getValue());
+ }
+}
Property changes on:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/NotifyImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/NotifyMessage.java
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/NotifyMessage.java
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/NotifyMessage.java 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,91 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.interop.nov2007.wsaSoap12;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.*;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for NotifyMessage element declaration.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <element name="NotifyMessage">
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="notify"
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "notify"
+})
+@XmlRootElement(name = "NotifyMessage", namespace =
"http://example.org/notify")
+public class NotifyMessage {
+
+ public NotifyMessage(String notify) {
+ this.notify = new JAXBElement(new
QName("http://example.org/notify",
"notify"), String.class, notify);
+ }
+
+ public NotifyMessage() {
+ }
+
+ @XmlElementRef(name = "notify", namespace =
"http://example.org/notify", type = JAXBElement.class)
+ protected JAXBElement<String> notify;
+
+ /**
+ * Gets the value of the notify property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public JAXBElement<String> getNotify() {
+ return notify;
+ }
+
+ /**
+ * Sets the value of the notify property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public void setNotify(JAXBElement<String> value) {
+ this.notify = ((JAXBElement<String> ) value);
+ }
+
+}
Property changes on:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/NotifyMessage.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/ObjectFactory.java
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/ObjectFactory.java
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/ObjectFactory.java 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,323 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.interop.nov2007.wsaSoap12;
+
+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;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.jboss.test.ws.interop.wsa 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 _EchoOutMessageEchoOut_QNAME = new
QName("http://example.org/echo", "echoOut");
+ private final static QName _NotifyMessageNotify_QNAME = new
QName("http://example.org/notify", "notify");
+ private final static QName _EchoInMessageEchoIn_QNAME = new
QName("http://example.org/echo", "echoIn");
+ private final static QName _UnsignedInt_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/",
"unsignedInt");
+ private final static QName _Long_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/", "long");
+ private final static QName _Float_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/",
"float");
+ private final static QName _Double_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/",
"double");
+ private final static QName _Decimal_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/",
"decimal");
+ private final static QName _Boolean_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/",
"boolean");
+ private final static QName _UnsignedShort_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/",
"unsignedShort");
+ private final static QName _UnsignedByte_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/",
"unsignedByte");
+ private final static QName _Short_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/",
"short");
+ private final static QName _String_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/",
"string");
+ private final static QName _AnyType_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/",
"anyType");
+ private final static QName _Char_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/", "char");
+ private final static QName _Guid_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/", "guid");
+ private final static QName _AnyURI_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/",
"anyURI");
+ private final static QName _Byte_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/", "byte");
+ private final static QName _DateTime_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/",
"dateTime");
+ private final static QName _Int_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/", "int");
+ private final static QName _QName_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/",
"QName");
+ private final static QName _Duration_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/",
"duration");
+ private final static QName _UnsignedLong_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/",
"unsignedLong");
+ private final static QName _Base64Binary_QNAME = new
QName("http://schemas.microsoft.com/2003/10/Serialization/",
"base64Binary");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema
derived classes for package: org.jboss.test.ws.interop.wsa
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link EchoOutMessage }
+ *
+ */
+ public EchoOutMessage createEchoOutMessage() {
+ return new EchoOutMessage();
+ }
+
+ /**
+ * Create an instance of {@link NotifyMessage }
+ *
+ */
+ public NotifyMessage createNotifyMessage() {
+ return new NotifyMessage();
+ }
+
+ /**
+ * Create an instance of {@link EchoInMessage }
+ *
+ */
+ public EchoInMessage createEchoInMessage() {
+ return new EchoInMessage();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.org/echo", name =
"echoOut", scope = EchoOutMessage.class)
+ public JAXBElement<String> createEchoOutMessageEchoOut(String value) {
+ return new JAXBElement<String>(_EchoOutMessageEchoOut_QNAME, String.class,
EchoOutMessage.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.org/notify", name =
"notify", scope = NotifyMessage.class)
+ public JAXBElement<String> createNotifyMessageNotify(String value) {
+ return new JAXBElement<String>(_NotifyMessageNotify_QNAME, String.class,
NotifyMessage.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://example.org/echo", name =
"echoIn", scope = EchoInMessage.class)
+ public JAXBElement<String> createEchoInMessageEchoIn(String value) {
+ return new JAXBElement<String>(_EchoInMessageEchoIn_QNAME, String.class,
EchoInMessage.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.microsoft.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 Long }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.microsoft.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.microsoft.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 Double }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.microsoft.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 BigDecimal }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.microsoft.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 Boolean }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.microsoft.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 Integer }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.microsoft.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 Short }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.microsoft.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 Short }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.microsoft.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.microsoft.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 Object }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.microsoft.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 Integer }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.microsoft.com/2003/10/Serialization/", name = "char")
+ public JAXBElement<Integer> createChar(Integer value) {
+ return new JAXBElement<Integer>(_Char_QNAME, Integer.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.microsoft.com/2003/10/Serialization/", name = "guid")
+ public JAXBElement<String> createGuid(String value) {
+ return new JAXBElement<String>(_Guid_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.microsoft.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 Byte }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.microsoft.com/2003/10/Serialization/", name = "byte")
+ public JAXBElement<Byte> createByte(Byte value) {
+ return new JAXBElement<Byte>(_Byte_QNAME, Byte.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.microsoft.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 Integer }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.microsoft.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.microsoft.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 Duration }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.microsoft.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 BigInteger }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://schemas.microsoft.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.microsoft.com/2003/10/Serialization/", name =
"base64Binary")
+ public JAXBElement<byte[]> createBase64Binary(byte[] value) {
+ return new JAXBElement<byte[]>(_Base64Binary_QNAME, byte[].class, null,
((byte[]) value));
+ }
+
+}
Property changes on:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/ObjectFactory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/ReplyToServlet.java
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/ReplyToServlet.java
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/ReplyToServlet.java 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,65 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.test.ws.interop.nov2007.wsaSoap12;
+
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import javax.servlet.ServletException;
+import java.io.IOException;
+import java.io.BufferedReader;
+
+/**
+ * @author Heiko.Braun(a)jboss.org
+ * @version $Id$
+ * @since 24.01.2007
+ */
+public class ReplyToServlet extends HttpServlet {
+
+ protected void doGet(HttpServletRequest httpServletRequest, HttpServletResponse
httpServletResponse) throws ServletException, IOException {
+ dump(httpServletRequest, httpServletResponse);
+ }
+
+ protected void doPost(HttpServletRequest httpServletRequest, HttpServletResponse
httpServletResponse) throws ServletException, IOException {
+ dump(httpServletRequest, httpServletResponse);
+ }
+
+ private void dump(HttpServletRequest httpServletRequest, HttpServletResponse
httpServletResponse) {
+ System.out.println("ReplyTo sink:");
+
+ try {
+ BufferedReader reader = httpServletRequest.getReader();
+ String inputLine;
+
+ while ((inputLine = reader.readLine()) != null) {
+ System.out.println(inputLine);
+ }
+ reader.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+
+
+ httpServletResponse.setStatus(200);
+ }
+}
+
Property changes on:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/ReplyToServlet.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/package-info.java
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/package-info.java
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/package-info.java 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,2 @@
+(a)javax.xml.bind.annotation.XmlSchema(namespace = "http://example.org/echo")
+package org.jboss.test.ws.interop.nov2007.wsaSoap12;
Property changes on:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsaSoap12/package-info.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/META-INF/scenarios.xml
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/META-INF/scenarios.xml
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/META-INF/scenarios.xml 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,17 @@
+<client-scenarios>
+ <scenario name="default" description="Testing local WSA
endpoints">
+
<target-endpoint>http://localhost:8080/nov2007/wsaSoap12/notify</target-endpoint>
+ <param name="echoPort"
value="http://localhost:8080/nov2007/wsaSoap12/echo"/>
+ </scenario>
+ <scenario name="default-munich" description="Testing Munich WSA
endpoints">
+
<target-endpoint>http://jbossws.demo.jboss.com:8080/nov2007/wsaSoap12/notify</target-endpoint>
+ <param name="echoPort"
value="http://jbossws.demo.jboss.com:8080/nov2007/wsaSoap12/echo"/>
+ </scenario>
+ <scenario name="msft-public" decsription="Testing MSFT public
interop endpoints">
+
<target-endpoint>http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap12</target-endpoint>
+ <param name="echoPort"
value="http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap12"/>
+ </scenario>
+ <scenario name="msft-public-debug" decsription="Testing MSFT public
interop endpoints">
+
<target-endpoint>http://localhost:8081/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap12</target-endpoint>
+ </scenario>
+</client-scenarios>
\ No newline at end of file
Property changes on:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/META-INF/scenarios.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/jboss-web.xml
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/jboss-web.xml
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/jboss-web.xml 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN"
"http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
+<jboss-web>
+ <context-root>/nov2007/wsaSoap12</context-root>
+</jboss-web>
\ No newline at end of file
Property changes on:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/web.xml
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/web.xml
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/web.xml 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <display-name>wsaTestService App</display-name>
+ <servlet>
+ <servlet-name>EchoEndpoint</servlet-name>
+
<servlet-class>org.jboss.test.ws.interop.nov2007.wsaSoap12.EchoImpl</servlet-class>
+ </servlet>
+ <servlet>
+ <servlet-name>NotifyEndpoint</servlet-name>
+
<servlet-class>org.jboss.test.ws.interop.nov2007.wsaSoap12.NotifyImpl</servlet-class>
+ </servlet>
+ <servlet>
+ <servlet-name>ReplyToSink</servlet-name>
+
<servlet-class>org.jboss.test.ws.interop.nov2007.wsaSoap12.ReplyToServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>ReplyToSink</servlet-name>
+ <url-pattern>/replyTo</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>EchoEndpoint</servlet-name>
+ <url-pattern>/echo</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>NotifyEndpoint</servlet-name>
+ <url-pattern>/notify</url-pattern>
+ </servlet-mapping>
+</web-app>
\ No newline at end of file
Property changes on:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/service.wsdl
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/service.wsdl
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/service.wsdl 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,54 @@
+<wsdl:definitions name='WSAddressingCR'
targetNamespace='http://tempuri.org/' xmlns:i0='http://example.org/'
xmlns:msc='http://schemas.microsoft.com/ws/2005/12/wsdl/contract'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:soap12='http://schemas.xmlsoap.org/wsdl/soap12/'
xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:tns='http://tempuri.org/'
xmlns:wsa='http://schemas.xmlsoap.org/ws/2004/08/addressing'
xmlns:wsa10='http://www.w3.org/2005/08/addressing'
xmlns:wsap='http://schemas.xmlsoap.org/ws/2004/09/policy/addressing'
xmlns:wsap10='http://www.w3.org/2005/08/addressing'
xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
xmlns:wsp='http://schemas.xmlsoap.org/ws/2004/09/policy'
xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-ws...
xmlns:wsx='http://schemas.xmlsoap.org/ws/2004/09/mex'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <wsdl:import location='wsdl1.wsdl'
namespace='http://example.org/'/>
+ <wsdl:types/>
+ <wsdl:service name='WSAddressingCR'>
+ <!--wsdl:port binding='i0:CustomBinding_Notify'
name='NotifyPort'>
+ <soap:address
location='http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11'/>
+ <wsa10:EndpointReference>
+
<wsa10:Address>http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port-->
+ <wsdl:port binding='i0:CustomBinding_Notify1'
name='CustomBinding_Notify1'>
+ <soap12:address
location='http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap12'/>
+ <wsa10:EndpointReference>
+
<wsa10:Address>http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap12</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port>
+ <!--wsdl:port binding='i0:CustomBinding_Echo' name='EchoPort'>
+ <soap:address
location='http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11'/>
+ <wsa10:EndpointReference>
+
<wsa10:Address>http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port-->
+ <wsdl:port binding='i0:CustomBinding_Echo1'
name='CustomBinding_Echo1'>
+ <soap12:address
location='http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap12'/>
+ <wsa10:EndpointReference>
+
<wsa10:Address>http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap12</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port>
+ <!--wsdl:port binding='i0:CustomBinding_Echo2' name='EchoPort2'>
+ <soap:address
location='http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11/Manual'/>
+ <wsa10:EndpointReference>
+
<wsa10:Address>http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11/Manual</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port-->
+ <wsdl:port binding='i0:CustomBinding_Echo3'
name='CustomBinding_Echo3'>
+ <soap12:address
location='http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap12/Manual'/>
+ <wsa10:EndpointReference>
+
<wsa10:Address>http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap12/Manual</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port>
+ <!--wsdl:port binding='i0:CustomBinding_Echo4' name='EchoPort4'>
+ <soap:address
location='http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11/Duplex'/>
+ <wsa10:EndpointReference>
+
<wsa10:Address>http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap11/Duplex</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port-->
+ <wsdl:port binding='i0:CustomBinding_Echo5'
name='CustomBinding_Echo5'>
+ <soap12:address
location='http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap12/Duplex'/>
+ <wsa10:EndpointReference>
+
<wsa10:Address>http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressing10.svc/Soap12/Duplex</wsa10:Address>
+ </wsa10:EndpointReference>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Property changes on:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/service.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/wsdl0.wsdl
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/wsdl0.wsdl
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/wsdl0.wsdl 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,16 @@
+<wsdl:definitions
targetNamespace='http://example.org/notify'
xmlns:msc='http://schemas.microsoft.com/ws/2005/12/wsdl/contract'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:soap12='http://schemas.xmlsoap.org/wsdl/soap12/'
xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:tns='http://example.org/notify'
xmlns:wsa='http://schemas.xmlsoap.org/ws/2004/08/addressing'
xmlns:wsa10='http://www.w3.org/2005/08/addressing'
xmlns:wsap='http://schemas.xmlsoap.org/ws/2004/08/addressing/policy'
xmlns:wsaw='http://www.w3.org/2006/05/addressing/wsdl'
xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
xmlns:wsp='http://schemas.xmlsoap.org/ws/2004/09/policy'
xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-ws...
xmlns:wsx='http://schemas.xmlsoap.org/ws/2004/09/mex'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <wsdl:types>
+ <xsd:schema
targetNamespace='http://example.org/notify/Imports'>
+ <xsd:import
namespace='http://example.org/notify'
schemaLocation='xsd0.xsd'/>
+ <xsd:import
namespace='http://schemas.microsoft.com/2003/10/Serialization/'
schemaLocation='xsd1.xsd'/>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name='NotifyMessage'>
+ <wsdl:part element='tns:NotifyMessage' name='parameters'/>
+ </wsdl:message>
+ <wsdl:portType name='Notify'>
+ <wsdl:operation name='Notify'>
+ <wsdl:input message='tns:NotifyMessage' name='NotifyMessage'
wsaw:Action='http://example.org/action/notify'/>
+ </wsdl:operation>
+ </wsdl:portType>
+</wsdl:definitions>
Property changes on:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/wsdl0.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/wsdl1.wsdl
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/wsdl1.wsdl
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/wsdl1.wsdl 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,100 @@
+<wsdl:definitions
targetNamespace='http://example.org/'
xmlns:i0='http://example.org/notify' xmlns:i1='http://example.org/echo'
xmlns:msc='http://schemas.microsoft.com/ws/2005/12/wsdl/contract'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:soap12='http://schemas.xmlsoap.org/wsdl/soap12/'
xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:tns='http://example.org/'
xmlns:wsa='http://schemas.xmlsoap.org/ws/2004/08/addressing'
xmlns:wsa10='http://www.w3.org/2005/08/addressing'
xmlns:wsap='http://schemas.xmlsoap.org/ws/2004/08/addressing/policy'
xmlns:wsaw='http://www.w3.org/2006/05/addressing/wsdl'
xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
xmlns:wsp='http://schemas.xmlsoap.org/ws/2004/09/policy'
xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-ws...
xmlns:wsx='http://schemas.xmlsoap.org/ws/2004/09/mex'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <wsdl:import location='wsdl0.wsdl'
namespace='http://example.org/notify'/>
+ <wsdl:import location='wsdl2.wsdl'
namespace='http://example.org/echo'/>
+ <wsdl:types/>
+
+ <!--wsdl:binding name='CustomBinding_Notify' type='i0:Notify'>
+ <soap:binding
transport='http://schemas.xmlsoap.org/soap/http'/>
+ <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:binding name='CustomBinding_Notify1' type='i0:Notify'>
+ <!-- <wsp:PolicyReference URI='#CustomBinding_Notify1_policy'/>
-->
+ <soap12:binding
transport='http://schemas.xmlsoap.org/soap/http'/>
+ <wsdl:operation name='Notify'>
+ <soap12:operation
soapAction='http://example.org/action/notify'
style='document'/>
+ <wsdl:input name='NotifyMessage'>
+ <soap12:body use='literal'/>
+ </wsdl:input>
+ </wsdl:operation>
+ </wsdl:binding>
+ <!--wsdl:binding name='CustomBinding_Echo'
type='i1:EchoPortType'>
+ <soap:binding
transport='http://schemas.xmlsoap.org/soap/http'/>
+ <wsdl:operation name='EchoOp'>
+ <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:binding-->
+ <wsdl:binding name='CustomBinding_Echo1' type='i1:Echo'>
+ <!-- <wsp:PolicyReference URI='#CustomBinding_Echo1_policy'/> -->
+ <soap12:binding
transport='http://schemas.xmlsoap.org/soap/http'/>
+ <wsdl:operation name='Echo'>
+ <soap12:operation
soapAction='http://example.org/action/echoIn'
style='document'/>
+ <wsdl:input name='EchoInMessage'>
+ <soap12:body use='literal'/>
+ </wsdl:input>
+ <wsdl:output name='EchoOutMessage'>
+ <soap12:body use='literal'/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <!--wsdl:binding name='CustomBinding_Echo2'
type='i1:EchoPortType'>
+ <soap:binding
transport='http://schemas.xmlsoap.org/soap/http'/>
+ <wsdl:operation name='EchoOp'>
+ <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:binding-->
+ <wsdl:binding name='CustomBinding_Echo3' type='i1:Echo'>
+ <!-- <wsp:PolicyReference URI='#CustomBinding_Echo3_policy'/> -->
+ <soap12:binding
transport='http://schemas.xmlsoap.org/soap/http'/>
+ <wsdl:operation name='Echo'>
+ <soap12:operation
soapAction='http://example.org/action/echoIn'
style='document'/>
+ <wsdl:input name='EchoInMessage'>
+ <soap12:body use='literal'/>
+ </wsdl:input>
+ <wsdl:output name='EchoOutMessage'>
+ <soap12:body use='literal'/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <!--wsdl:binding name='CustomBinding_Echo4'
type='i1:EchoPortType'>
+ <soap:binding
transport='http://schemas.xmlsoap.org/soap/http'/>
+ <wsdl:operation name='EchoOp'>
+ <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:binding-->
+ <wsdl:binding name='CustomBinding_Echo5' type='i1:Echo'>
+ <!-- <wsp:PolicyReference URI='#CustomBinding_Echo5_policy'/> -->
+ <soap12:binding
transport='http://schemas.xmlsoap.org/soap/http'/>
+ <wsdl:operation name='Echo'>
+ <soap12:operation
soapAction='http://example.org/action/echoIn'
style='document'/>
+ <wsdl:input name='EchoInMessage'>
+ <soap12:body use='literal'/>
+ </wsdl:input>
+ <wsdl:output name='EchoOutMessage'>
+ <soap12:body use='literal'/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+</wsdl:definitions>
Property changes on:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/wsdl1.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/wsdl2.wsdl
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/wsdl2.wsdl
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/wsdl2.wsdl 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,23 @@
+<wsdl:definitions
targetNamespace='http://example.org/echo'
xmlns:msc='http://schemas.microsoft.com/ws/2005/12/wsdl/contract'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:soap12='http://schemas.xmlsoap.org/wsdl/soap12/'
xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:tns='http://example.org/echo'
xmlns:wsa='http://schemas.xmlsoap.org/ws/2004/08/addressing'
xmlns:wsa10='http://www.w3.org/2005/08/addressing'
xmlns:wsap='http://schemas.xmlsoap.org/ws/2004/08/addressing/policy'
xmlns:wsaw='http://www.w3.org/2006/05/addressing/wsdl'
xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
xmlns:wsp='http://schemas.xmlsoap.org/ws/2004/09/policy'
xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-ws...
xmlns:wsx='http://schemas.xmlsoap.org/ws/2004/09/mex'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <wsdl:types>
+ <xsd:schema
targetNamespace='http://example.org/echo/Imports'>
+ <xsd:import
namespace='http://example.org/echo'
schemaLocation='xsd2.xsd'/>
+ <xsd:import
namespace='http://example.org/notify'
schemaLocation='xsd0.xsd'/>
+ <xsd:import
namespace='http://schemas.microsoft.com/2003/10/Serialization/'
schemaLocation='xsd1.xsd'/>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name='EchoInMessage'>
+ <wsdl:part element='tns:EchoInMessage' name='parameters'/>
+ </wsdl:message>
+ <wsdl:message name='EchoOutMessage'>
+ <wsdl:part element='tns:EchoOutMessage' name='parameters'/>
+ </wsdl:message>
+ <!--wsdl:portType name='EchoPortType'-->
+ <wsdl:portType name='Echo'>
+ <!--wsdl:operation name='EchoOp'-->
+ <wsdl:operation name='Echo'>
+ <wsdl:input message='tns:EchoInMessage' name='EchoInMessage'
wsaw:Action='http://example.org/action/echoIn'/>
+ <wsdl:output message='tns:EchoOutMessage' name='EchoOutMessage'
wsaw:Action='http://example.org/action/echoOut'/>
+ </wsdl:operation>
+ </wsdl:portType>
+</wsdl:definitions>
Property changes on:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/wsdl2.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/xsd0.xsd
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/xsd0.xsd
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/xsd0.xsd 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,9 @@
+<xs:schema elementFormDefault='qualified'
targetNamespace='http://example.org/notify'
xmlns:tns='http://example.org/notify'
xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <xs:element name='NotifyMessage'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='notify' nillable='true'
type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
Property changes on:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/xsd0.xsd
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/xsd1.xsd
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/xsd1.xsd
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/xsd1.xsd 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,39 @@
+<xs:schema attributeFormDefault='qualified'
elementFormDefault='qualified'
targetNamespace='http://schemas.microsoft.com/2003/10/Serialization/&...
xmlns:tns='http://schemas.microsoft.com/2003/10/Serialization/'
xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <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='char' nillable='true' type='tns:char'/>
+ <xs:simpleType name='char'>
+ <xs:restriction base='xs:int'/>
+ </xs:simpleType>
+ <xs:element name='duration' nillable='true'
type='tns:duration'/>
+ <xs:simpleType name='duration'>
+ <xs:restriction base='xs:duration'>
+ <xs:pattern value='\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?'/>
+ <xs:minInclusive value='-P10675199DT2H48M5.4775808S'/>
+ <xs:maxInclusive value='P10675199DT2H48M5.4775807S'/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:element name='guid' nillable='true' type='tns:guid'/>
+ <xs:simpleType name='guid'>
+ <xs:restriction base='xs:string'>
+ <xs:pattern
value='[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}'/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:attribute name='FactoryType' type='xs:QName'/>
+</xs:schema>
Property changes on:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/xsd1.xsd
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/xsd2.xsd
===================================================================
---
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/xsd2.xsd
(rev 0)
+++
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/xsd2.xsd 2007-11-01
13:48:17 UTC (rev 4970)
@@ -0,0 +1,16 @@
+<xs:schema elementFormDefault='qualified'
targetNamespace='http://example.org/echo'
xmlns:tns='http://example.org/echo'
xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <xs:element name='EchoInMessage'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='echoIn' nillable='true'
type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name='EchoOutMessage'>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='echoOut' nillable='true'
type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
Property changes on:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsaSoap12/WEB-INF/wsdl/xsd2.xsd
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF