Author: mageshbk(a)jboss.com
Date: 2008-09-27 02:53:28 -0400 (Sat, 27 Sep 2008)
New Revision: 8262
Added:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/JBWS1188TestCase.java
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/TestEndpoint.java
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/TestEndpointImpl.java
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/jaxrpc-mapping.xml
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/jboss-wsse-server.xml
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/web.xml
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/webservices.xml
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/wsdl/
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/wsdl/TestService.wsdl
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/wstools-config.xml
Removed:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/JBWS1188TestCase.java
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/TestEndpoint.java
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/TestEndpointImpl.java
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/jaxrpc-mapping.xml
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/jboss-wsse-server.xml
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/web.xml
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/webservices.xml
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/wsdl/
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/wsdl/TestService.wsdl
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/wstools-config.xml
Modified:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/ant-import-tests/build-jars-jaxrpc.xml
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/main/java/org/jboss/ws/extensions/security/element/Timestamp.java
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/main/java/org/jboss/ws/extensions/security/element/UsernameToken.java
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/main/java/org/jboss/ws/extensions/security/element/X509Token.java
Log:
[JBPAPP-1211]-Patch for [JBWS-1188 - Relax requirement for wsu:id for UsernameToken]
Modified:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/ant-import-tests/build-jars-jaxrpc.xml
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/ant-import-tests/build-jars-jaxrpc.xml 2008-09-27
05:34:49 UTC (rev 8261)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/ant-import-tests/build-jars-jaxrpc.xml 2008-09-27
06:53:28 UTC (rev 8262)
@@ -2293,6 +2293,20 @@
</webinf>
</war>
+ <!-- jaxrpc-jbws1188 -->
+ <war warfile="${tests.output.dir}/libs/jaxrpc-jbws1188.war"
webxml="${tests.output.dir}/resources/jaxrpc/jbws1188/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include
name="org/jboss/test/ws/jaxrpc/jbws1188/TestEndpointImpl.class"/>
+ <include
name="org/jboss/test/ws/jaxrpc/jbws1188/TestEndpoint.class"/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/resources/jaxrpc/jbws1188/WEB-INF">
+ <include name="webservices.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ <include name="jboss-wsse-server.xml"/>
+ </webinf>
+ </war>
+
<!-- jaxrpc-jbws1190 -->
<war warfile="${tests.output.dir}/libs/jaxrpc-jbws1190.war"
webxml="${tests.output.dir}/resources/jaxrpc/jbws1190/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/classes">
Modified:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/main/java/org/jboss/ws/extensions/security/element/Timestamp.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/main/java/org/jboss/ws/extensions/security/element/Timestamp.java 2008-09-27
05:34:49 UTC (rev 8261)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/main/java/org/jboss/ws/extensions/security/element/Timestamp.java 2008-09-27
06:53:28 UTC (rev 8262)
@@ -62,11 +62,9 @@
{
this.doc = element.getOwnerDocument();
String id = element.getAttributeNS(Constants.WSU_NS, Constants.ID);
- if (id == null || id.length() == 0)
- throw new WSSecurityException("Invalid message, Timestamp is missing an
id");
+ if (id != null && id.length() > 0)
+ this.id = id;
- this.id = id;
-
Element child = Util.getFirstChildElement(element);
if (child == null || !Constants.WSU_NS.equals(child.getNamespaceURI()) ||
!"Created".equals(child.getLocalName()))
throw new WSSecurityException("Created child expected in Timestamp
element");
Modified:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/main/java/org/jboss/ws/extensions/security/element/UsernameToken.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/main/java/org/jboss/ws/extensions/security/element/UsernameToken.java 2008-09-27
05:34:49 UTC (rev 8261)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/main/java/org/jboss/ws/extensions/security/element/UsernameToken.java 2008-09-27
06:53:28 UTC (rev 8262)
@@ -56,11 +56,9 @@
{
this.doc = element.getOwnerDocument();
String id = element.getAttributeNS(Constants.WSU_NS, Constants.ID);
- if (id == null || id.length() == 0)
- throw new WSSecurityException("Invalid message, UsernameToken is missing an
id");
+ if (id != null && id.length() > 0)
+ setId(id);
- setId(id);
-
Element child = Util.getFirstChildElement(element);
if (child == null || ! Constants.WSSE_NS.equals(child.getNamespaceURI()) || !
"Username".equals(child.getLocalName()))
throw new WSSecurityException("Username child expected in UsernameToken
element");
Modified:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/main/java/org/jboss/ws/extensions/security/element/X509Token.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/main/java/org/jboss/ws/extensions/security/element/X509Token.java 2008-09-27
05:34:49 UTC (rev 8261)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/main/java/org/jboss/ws/extensions/security/element/X509Token.java 2008-09-27
06:53:28 UTC (rev 8262)
@@ -51,11 +51,9 @@
super(element.getOwnerDocument());
String id = element.getAttributeNS(Constants.WSU_NS, Constants.ID);
- if (id == null || id.length() == 0)
- throw new WSSecurityException("Invalid message, BinarySecurityToken is
missing an id");
+ if (id != null && id.length() > 0)
+ setId(id);
- setId(id);
-
if (!
Constants.BASE64_ENCODING_TYPE.equals(element.getAttribute("EncodingType")))
throw new WSSecurityException("Invalid encoding type (only base64 is
supported) for token:" + id);
Copied:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188
(from rev 8260,
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188)
Deleted:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/JBWS1188TestCase.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/JBWS1188TestCase.java 2008-09-27
05:32:07 UTC (rev 8260)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/JBWS1188TestCase.java 2008-09-27
06:53:28 UTC (rev 8262)
@@ -1,119 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, 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.jaxrpc.jbws1188;
-
-import java.io.ByteArrayInputStream;
-import java.io.File;
-import java.net.URL;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.Service;
-import javax.xml.soap.MessageFactory;
-import javax.xml.soap.SOAPConnection;
-import javax.xml.soap.SOAPConnectionFactory;
-import javax.xml.soap.SOAPElement;
-import javax.xml.soap.SOAPMessage;
-
-import junit.framework.Test;
-
-import org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl;
-import org.jboss.wsf.test.JBossWSTest;
-import org.jboss.wsf.test.JBossWSTestSetup;
-
-/**
- * Test case to test the UsernameToken can be sent without an id.
- *
- * @author mageshbk(a)jboss.com
- */
-public class JBWS1188TestCase extends JBossWSTest
-{
-
- private static TestEndpoint port;
-
- public static Test suite() throws Exception
- {
- return new JBossWSTestSetup(JBWS1188TestCase.class,
"jaxrpc-jbws1188.war");
- }
-
- public void setUp() throws Exception
- {
- super.setUp();
- }
-
- public void testUsernameTokenNoID() throws Exception
- {
- MessageFactory factory = MessageFactory.newInstance();
-
- String reqStr =
- "<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>" +
- " <env:Header>" +
- " <wsse:Security
xmlns:wsse='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
+
- " <wsse:UsernameToken>" +
- " <wsse:Username>kermit</wsse:Username>" +
- " <wsse:Password>thefrog</wsse:Password>" +
- " </wsse:UsernameToken>" +
- " </wsse:Security>" +
- " </env:Header>" +
- " <env:Body>" +
- " <ns1:echoString
xmlns:ns1='http://org.jboss.test.ws/jbws1188'>" +
- " <String_1>" + "Jimbo!" +
"</String_1>" +
- " </ns1:echoString>" +
- " </env:Body>" +
- "</env:Envelope>";
-
- SOAPMessage reqMessage = factory.createMessage(null, new
ByteArrayInputStream(reqStr.getBytes()));
- SOAPConnection con = SOAPConnectionFactory.newInstance().createConnection();
- SOAPMessage resMessage = con.call(reqMessage, "http://" + getServerHost()
+ ":8080/jaxrpc-jbws1188");
- SOAPElement soapElement =
(SOAPElement)resMessage.getSOAPBody().getChildElements().next();
- soapElement = (SOAPElement)soapElement.getChildElements().next();
- assertEquals("Hello Jimbo!", soapElement.getValue());
- }
-
- public void testUsernameToken() throws Exception
- {
- MessageFactory factory = MessageFactory.newInstance();
-
- String reqStr =
- "<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>" +
- " <env:Header>" +
- " <wsse:Security
xmlns:wsse='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-ws...
+
- " <wsse:UsernameToken
wsu:Id='abcde-1a23bc4d-1234-1ab2'>" +
- " <wsse:Username>kermit</wsse:Username>" +
- " <wsse:Password>thefrog</wsse:Password>" +
- " </wsse:UsernameToken>" +
- " </wsse:Security>" +
- " </env:Header>" +
- " <env:Body>" +
- " <ns1:echoString
xmlns:ns1='http://org.jboss.test.ws/jbws1188'>" +
- " <String_1>" + "Jimbo!" +
"</String_1>" +
- " </ns1:echoString>" +
- " </env:Body>" +
- "</env:Envelope>";
-
- SOAPMessage reqMessage = factory.createMessage(null, new
ByteArrayInputStream(reqStr.getBytes()));
- SOAPConnection con = SOAPConnectionFactory.newInstance().createConnection();
- SOAPMessage resMessage = con.call(reqMessage, "http://" + getServerHost()
+ ":8080/jaxrpc-jbws1188");
- SOAPElement soapElement =
(SOAPElement)resMessage.getSOAPBody().getChildElements().next();
- soapElement = (SOAPElement)soapElement.getChildElements().next();
- assertEquals("Hello Jimbo!", soapElement.getValue());
- }
-}
Copied:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/JBWS1188TestCase.java
(from rev 8260,
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/JBWS1188TestCase.java)
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/JBWS1188TestCase.java
(rev 0)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/JBWS1188TestCase.java 2008-09-27
06:53:28 UTC (rev 8262)
@@ -0,0 +1,119 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.jbws1188;
+
+import java.io.ByteArrayInputStream;
+import java.io.File;
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Service;
+import javax.xml.soap.MessageFactory;
+import javax.xml.soap.SOAPConnection;
+import javax.xml.soap.SOAPConnectionFactory;
+import javax.xml.soap.SOAPElement;
+import javax.xml.soap.SOAPMessage;
+
+import junit.framework.Test;
+
+import org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test case to test the UsernameToken can be sent without an id.
+ *
+ * @author mageshbk(a)jboss.com
+ */
+public class JBWS1188TestCase extends JBossWSTest
+{
+
+ private static TestEndpoint port;
+
+ public static Test suite() throws Exception
+ {
+ return new JBossWSTestSetup(JBWS1188TestCase.class,
"jaxrpc-jbws1188.war");
+ }
+
+ public void setUp() throws Exception
+ {
+ super.setUp();
+ }
+
+ public void testUsernameTokenNoID() throws Exception
+ {
+ MessageFactory factory = MessageFactory.newInstance();
+
+ String reqStr =
+ "<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>" +
+ " <env:Header>" +
+ " <wsse:Security
xmlns:wsse='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
+
+ " <wsse:UsernameToken>" +
+ " <wsse:Username>kermit</wsse:Username>" +
+ " <wsse:Password>thefrog</wsse:Password>" +
+ " </wsse:UsernameToken>" +
+ " </wsse:Security>" +
+ " </env:Header>" +
+ " <env:Body>" +
+ " <ns1:echoString
xmlns:ns1='http://org.jboss.test.ws/jbws1188'>" +
+ " <String_1>" + "Jimbo!" +
"</String_1>" +
+ " </ns1:echoString>" +
+ " </env:Body>" +
+ "</env:Envelope>";
+
+ SOAPMessage reqMessage = factory.createMessage(null, new
ByteArrayInputStream(reqStr.getBytes()));
+ SOAPConnection con = SOAPConnectionFactory.newInstance().createConnection();
+ SOAPMessage resMessage = con.call(reqMessage, "http://" + getServerHost()
+ ":8080/jaxrpc-jbws1188");
+ SOAPElement soapElement =
(SOAPElement)resMessage.getSOAPBody().getChildElements().next();
+ soapElement = (SOAPElement)soapElement.getChildElements().next();
+ assertEquals("Hello Jimbo!", soapElement.getValue());
+ }
+
+ public void testUsernameToken() throws Exception
+ {
+ MessageFactory factory = MessageFactory.newInstance();
+
+ String reqStr =
+ "<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>" +
+ " <env:Header>" +
+ " <wsse:Security
xmlns:wsse='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-ws...
+
+ " <wsse:UsernameToken
wsu:Id='abcde-1a23bc4d-1234-1ab2'>" +
+ " <wsse:Username>kermit</wsse:Username>" +
+ " <wsse:Password>thefrog</wsse:Password>" +
+ " </wsse:UsernameToken>" +
+ " </wsse:Security>" +
+ " </env:Header>" +
+ " <env:Body>" +
+ " <ns1:echoString
xmlns:ns1='http://org.jboss.test.ws/jbws1188'>" +
+ " <String_1>" + "Jimbo!" +
"</String_1>" +
+ " </ns1:echoString>" +
+ " </env:Body>" +
+ "</env:Envelope>";
+
+ SOAPMessage reqMessage = factory.createMessage(null, new
ByteArrayInputStream(reqStr.getBytes()));
+ SOAPConnection con = SOAPConnectionFactory.newInstance().createConnection();
+ SOAPMessage resMessage = con.call(reqMessage, "http://" + getServerHost()
+ ":8080/jaxrpc-jbws1188");
+ SOAPElement soapElement =
(SOAPElement)resMessage.getSOAPBody().getChildElements().next();
+ soapElement = (SOAPElement)soapElement.getChildElements().next();
+ assertEquals("Hello Jimbo!", soapElement.getValue());
+ }
+}
Deleted:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/TestEndpoint.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/TestEndpoint.java 2008-09-27
05:32:07 UTC (rev 8260)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/TestEndpoint.java 2008-09-27
06:53:28 UTC (rev 8262)
@@ -1,35 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, 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.jaxrpc.jbws1188;
-
-import java.rmi.Remote;
-import java.rmi.RemoteException;
-
-/**
- * @author mageshbk(a)jboss.com
- */
-public interface TestEndpoint extends Remote
-{
-
- public String echoString(final String message) throws RemoteException;
-
-}
Copied:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/TestEndpoint.java
(from rev 8260,
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/TestEndpoint.java)
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/TestEndpoint.java
(rev 0)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/TestEndpoint.java 2008-09-27
06:53:28 UTC (rev 8262)
@@ -0,0 +1,35 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.jbws1188;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+/**
+ * @author mageshbk(a)jboss.com
+ */
+public interface TestEndpoint extends Remote
+{
+
+ public String echoString(final String message) throws RemoteException;
+
+}
Deleted:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/TestEndpointImpl.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/TestEndpointImpl.java 2008-09-27
05:32:07 UTC (rev 8260)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/TestEndpointImpl.java 2008-09-27
06:53:28 UTC (rev 8262)
@@ -1,37 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, 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.jaxrpc.jbws1188;
-
-import java.rmi.RemoteException;
-
-/**
- * @author mageshbk(a)jboss.com
- */
-public class TestEndpointImpl implements TestEndpoint
-{
-
- public String echoString(String message) throws RemoteException
- {
- return "Hello " + message;
- }
-
-}
Copied:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/TestEndpointImpl.java
(from rev 8260,
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/TestEndpointImpl.java)
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/TestEndpointImpl.java
(rev 0)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxrpc/jbws1188/TestEndpointImpl.java 2008-09-27
06:53:28 UTC (rev 8262)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.jbws1188;
+
+import java.rmi.RemoteException;
+
+/**
+ * @author mageshbk(a)jboss.com
+ */
+public class TestEndpointImpl implements TestEndpoint
+{
+
+ public String echoString(String message) throws RemoteException
+ {
+ return "Hello " + message;
+ }
+
+}
Copied:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188
(from rev 8260,
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/resources/jaxrpc/jbws1188)
Copied:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF
(from rev 8260,
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/resources/jaxrpc/jbws1188/WEB-INF)
Deleted:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/jaxrpc-mapping.xml
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/resources/jaxrpc/jbws1188/WEB-INF/jaxrpc-mapping.xml 2008-09-27
05:32:07 UTC (rev 8260)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/jaxrpc-mapping.xml 2008-09-27
06:53:28 UTC (rev 8262)
@@ -1,37 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping
version='1.1'
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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
- <package-mapping>
- <package-type>org.jboss.test.ws.jaxrpc.jbws1188</package-type>
- <namespaceURI>http://org.jboss.test.ws/jbws1188/types</namespaceURI>
- </package-mapping>
- <service-interface-mapping>
-
<service-interface>org.jboss.test.ws.jaxrpc.jbws1188.TestService</service-interface>
- <wsdl-service-name
xmlns:serviceNS='http://org.jboss.test.ws/jbws1188'>serviceNS:TestService</wsdl-service-name>
- <port-mapping>
- <port-name>TestEndpointPort</port-name>
- <java-port-name>TestEndpointPort</java-port-name>
- </port-mapping>
- </service-interface-mapping>
- <service-endpoint-interface-mapping>
-
<service-endpoint-interface>org.jboss.test.ws.jaxrpc.jbws1188.TestEndpoint</service-endpoint-interface>
- <wsdl-port-type
xmlns:portTypeNS='http://org.jboss.test.ws/jbws1188'>portTypeNS:TestEndpoint</wsdl-port-type>
- <wsdl-binding
xmlns:bindingNS='http://org.jboss.test.ws/jbws1188'>bindingNS:TestEndpointBinding</wsdl-binding>
- <service-endpoint-method-mapping>
- <java-method-name>echoString</java-method-name>
- <wsdl-operation>echoString</wsdl-operation>
- <method-param-parts-mapping>
- <param-position>0</param-position>
- <param-type>java.lang.String</param-type>
- <wsdl-message-mapping>
- <wsdl-message
xmlns:wsdlMsgNS='http://org.jboss.test.ws/jbws1188'>wsdlMsgNS:TestEndpoint_echoString</wsdl-message>
- <wsdl-message-part-name>String_1</wsdl-message-part-name>
- <parameter-mode>IN</parameter-mode>
- </wsdl-message-mapping>
- </method-param-parts-mapping>
- <wsdl-return-value-mapping>
- <method-return-value>java.lang.String</method-return-value>
- <wsdl-message
xmlns:wsdlMsgNS='http://org.jboss.test.ws/jbws1188'>wsdlMsgNS:TestEndpoint_echoStringResponse</wsdl-message>
- <wsdl-message-part-name>result</wsdl-message-part-name>
- </wsdl-return-value-mapping>
- </service-endpoint-method-mapping>
- </service-endpoint-interface-mapping>
-</java-wsdl-mapping>
\ No newline at end of file
Copied:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/jaxrpc-mapping.xml
(from rev 8260,
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/resources/jaxrpc/jbws1188/WEB-INF/jaxrpc-mapping.xml)
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/jaxrpc-mapping.xml
(rev 0)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/jaxrpc-mapping.xml 2008-09-27
06:53:28 UTC (rev 8262)
@@ -0,0 +1,37 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping
version='1.1'
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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.jbws1188</package-type>
+ <namespaceURI>http://org.jboss.test.ws/jbws1188/types</namespaceURI>
+ </package-mapping>
+ <service-interface-mapping>
+
<service-interface>org.jboss.test.ws.jaxrpc.jbws1188.TestService</service-interface>
+ <wsdl-service-name
xmlns:serviceNS='http://org.jboss.test.ws/jbws1188'>serviceNS:TestService</wsdl-service-name>
+ <port-mapping>
+ <port-name>TestEndpointPort</port-name>
+ <java-port-name>TestEndpointPort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+
<service-endpoint-interface>org.jboss.test.ws.jaxrpc.jbws1188.TestEndpoint</service-endpoint-interface>
+ <wsdl-port-type
xmlns:portTypeNS='http://org.jboss.test.ws/jbws1188'>portTypeNS:TestEndpoint</wsdl-port-type>
+ <wsdl-binding
xmlns:bindingNS='http://org.jboss.test.ws/jbws1188'>bindingNS:TestEndpointBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoString</java-method-name>
+ <wsdl-operation>echoString</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message
xmlns:wsdlMsgNS='http://org.jboss.test.ws/jbws1188'>wsdlMsgNS:TestEndpoint_echoString</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message
xmlns:wsdlMsgNS='http://org.jboss.test.ws/jbws1188'>wsdlMsgNS:TestEndpoint_echoStringResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Deleted:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/jboss-wsse-server.xml
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/resources/jaxrpc/jbws1188/WEB-INF/jboss-wsse-server.xml 2008-09-27
05:32:07 UTC (rev 8260)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/jboss-wsse-server.xml 2008-09-27
06:53:28 UTC (rev 8262)
@@ -1,3 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<jboss-ws-security
xmlns="http://www.jboss.com/ws-security/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.com/ws-security/config
http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
-</jboss-ws-security>
Copied:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/jboss-wsse-server.xml
(from rev 8260,
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/resources/jaxrpc/jbws1188/WEB-INF/jboss-wsse-server.xml)
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/jboss-wsse-server.xml
(rev 0)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/jboss-wsse-server.xml 2008-09-27
06:53:28 UTC (rev 8262)
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jboss-ws-security
xmlns="http://www.jboss.com/ws-security/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.com/ws-security/config
http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+</jboss-ws-security>
Deleted:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/web.xml
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/resources/jaxrpc/jbws1188/WEB-INF/web.xml 2008-09-27
05:32:07 UTC (rev 8260)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/web.xml 2008-09-27
06:53:28 UTC (rev 8262)
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<web-app
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"
- version="2.4">
-
- <context-param>
- <param-name>jbossws-config-name</param-name>
- <param-value>Standard WSSecurity Endpoint</param-value>
- </context-param>
-
- <servlet>
- <servlet-name>TestEndpoint</servlet-name>
-
<servlet-class>org.jboss.test.ws.jaxrpc.jbws1188.TestEndpointImpl</servlet-class>
- </servlet>
- <servlet-mapping>
- <servlet-name>TestEndpoint</servlet-name>
- <url-pattern>/*</url-pattern>
- </servlet-mapping>
-
-</web-app>
-
Copied:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/web.xml
(from rev 8260,
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/resources/jaxrpc/jbws1188/WEB-INF/web.xml)
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/web.xml
(rev 0)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/web.xml 2008-09-27
06:53:28 UTC (rev 8262)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app
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"
+ version="2.4">
+
+ <context-param>
+ <param-name>jbossws-config-name</param-name>
+ <param-value>Standard WSSecurity Endpoint</param-value>
+ </context-param>
+
+ <servlet>
+ <servlet-name>TestEndpoint</servlet-name>
+
<servlet-class>org.jboss.test.ws.jaxrpc.jbws1188.TestEndpointImpl</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>TestEndpoint</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Deleted:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/webservices.xml
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/resources/jaxrpc/jbws1188/WEB-INF/webservices.xml 2008-09-27
05:32:07 UTC (rev 8260)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/webservices.xml 2008-09-27
06:53:28 UTC (rev 8262)
@@ -1,15 +0,0 @@
-<webservices version='1.1'
xmlns='http://java.sun.com/xml/ns/j2ee'
xmlns:impl='http://org.jboss.test.ws/jbws1188'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee
http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
- <webservice-description>
- <webservice-description-name>TestService</webservice-description-name>
- <wsdl-file>WEB-INF/wsdl/TestService.wsdl</wsdl-file>
- <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
- <port-component>
- <port-component-name>TestEndpointPort</port-component-name>
- <wsdl-port>impl:TestEndpointPort</wsdl-port>
-
<service-endpoint-interface>org.jboss.test.ws.jaxrpc.jbws1188.TestEndpoint</service-endpoint-interface>
- <service-impl-bean>
- <servlet-link>TestEndpoint</servlet-link>
- </service-impl-bean>
- </port-component>
- </webservice-description>
-</webservices>
\ No newline at end of file
Copied:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/webservices.xml
(from rev 8260,
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/resources/jaxrpc/jbws1188/WEB-INF/webservices.xml)
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/webservices.xml
(rev 0)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/webservices.xml 2008-09-27
06:53:28 UTC (rev 8262)
@@ -0,0 +1,15 @@
+<webservices version='1.1'
xmlns='http://java.sun.com/xml/ns/j2ee'
xmlns:impl='http://org.jboss.test.ws/jbws1188'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee
http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
+ <webservice-description>
+ <webservice-description-name>TestService</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/TestService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>TestEndpointPort</port-component-name>
+ <wsdl-port>impl:TestEndpointPort</wsdl-port>
+
<service-endpoint-interface>org.jboss.test.ws.jaxrpc.jbws1188.TestEndpoint</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>TestEndpoint</servlet-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Copied:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/wsdl
(from rev 8260,
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/resources/jaxrpc/jbws1188/WEB-INF/wsdl)
Deleted:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/wsdl/TestService.wsdl
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/resources/jaxrpc/jbws1188/WEB-INF/wsdl/TestService.wsdl 2008-09-27
05:32:07 UTC (rev 8260)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/wsdl/TestService.wsdl 2008-09-27
06:53:28 UTC (rev 8262)
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions name='TestService'
targetNamespace='http://org.jboss.test.ws/jbws1188'
xmlns='http://schemas.xmlsoap.org/wsdl/'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:tns='http://org.jboss.test.ws/jbws1188'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
- <types/>
- <message name='TestEndpoint_echoString'>
- <part name='String_1' type='xsd:string'/>
- </message>
- <message name='TestEndpoint_echoStringResponse'>
- <part name='result' type='xsd:string'/>
- </message>
- <portType name='TestEndpoint'>
- <operation name='echoString' parameterOrder='String_1'>
- <input message='tns:TestEndpoint_echoString'/>
- <output message='tns:TestEndpoint_echoStringResponse'/>
- </operation>
- </portType>
- <binding name='TestEndpointBinding' type='tns:TestEndpoint'>
- <soap:binding style='rpc'
transport='http://schemas.xmlsoap.org/soap/http'/>
- <operation name='echoString'>
- <soap:operation soapAction=''/>
- <input>
- <soap:body namespace='http://org.jboss.test.ws/jbws1188'
use='literal'/>
- </input>
- <output>
- <soap:body namespace='http://org.jboss.test.ws/jbws1188'
use='literal'/>
- </output>
- </operation>
- </binding>
- <service name='TestService'>
- <port binding='tns:TestEndpointBinding' name='TestEndpointPort'>
- <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
- </port>
- </service>
-</definitions>
\ No newline at end of file
Copied:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/wsdl/TestService.wsdl
(from rev 8260,
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/resources/jaxrpc/jbws1188/WEB-INF/wsdl/TestService.wsdl)
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/wsdl/TestService.wsdl
(rev 0)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/WEB-INF/wsdl/TestService.wsdl 2008-09-27
06:53:28 UTC (rev 8262)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='TestService'
targetNamespace='http://org.jboss.test.ws/jbws1188'
xmlns='http://schemas.xmlsoap.org/wsdl/'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:tns='http://org.jboss.test.ws/jbws1188'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types/>
+ <message name='TestEndpoint_echoString'>
+ <part name='String_1' type='xsd:string'/>
+ </message>
+ <message name='TestEndpoint_echoStringResponse'>
+ <part name='result' type='xsd:string'/>
+ </message>
+ <portType name='TestEndpoint'>
+ <operation name='echoString' parameterOrder='String_1'>
+ <input message='tns:TestEndpoint_echoString'/>
+ <output message='tns:TestEndpoint_echoStringResponse'/>
+ </operation>
+ </portType>
+ <binding name='TestEndpointBinding' type='tns:TestEndpoint'>
+ <soap:binding style='rpc'
transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='echoString'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.test.ws/jbws1188'
use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.test.ws/jbws1188'
use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='TestService'>
+ <port binding='tns:TestEndpointBinding' name='TestEndpointPort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Deleted:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/wstools-config.xml
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/resources/jaxrpc/jbws1188/wstools-config.xml 2008-09-27
05:32:07 UTC (rev 8260)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/wstools-config.xml 2008-09-27
06:53:28 UTC (rev 8262)
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -cp ../../../../../output/tests/classes -dest ./WEB-INF -config
wstools-config.xml
--->
-
-<!-- Set the soap:address location to
'http://localhost:8080//jbossws-jbws1188/TestEndpoint?wsdl' to run with Tomcat
-->
-
-<configuration
xmlns="http://www.jboss.org/jbossws-tools"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-
xsi:schemaLocation="http://www.jboss.org/jbossws-tools
http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
- <java-wsdl>
- <service name="TestService"
endpoint="org.jboss.test.ws.jaxrpc.jbws1188.TestEndpoint"
style="rpc">
- </service>
- <namespaces target-namespace="http://org.jboss.test.ws/jbws1188"
type-namespace="http://org.jboss.test.ws/jbws1188/types"/>
- <mapping file="jaxrpc-mapping.xml"/>
- <webservices servlet-link="TestEndpoint"/>
- </java-wsdl>
-</configuration>
Copied:
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/wstools-config.xml
(from rev 8260,
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/test/resources/jaxrpc/jbws1188/wstools-config.xml)
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/wstools-config.xml
(rev 0)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP03_JBPAPP-1211/src/test/resources/jaxrpc/jbws1188/wstools-config.xml 2008-09-27
06:53:28 UTC (rev 8262)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../../../output/tests/classes -dest ./WEB-INF -config
wstools-config.xml
+-->
+
+<!-- Set the soap:address location to
'http://localhost:8080//jbossws-jbws1188/TestEndpoint?wsdl' to run with Tomcat
-->
+
+<configuration
xmlns="http://www.jboss.org/jbossws-tools"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://www.jboss.org/jbossws-tools
http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+ <java-wsdl>
+ <service name="TestService"
endpoint="org.jboss.test.ws.jaxrpc.jbws1188.TestEndpoint"
style="rpc">
+ </service>
+ <namespaces target-namespace="http://org.jboss.test.ws/jbws1188"
type-namespace="http://org.jboss.test.ws/jbws1188/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices servlet-link="TestEndpoint"/>
+ </java-wsdl>
+</configuration>