JBossWS SVN: r4948 - framework/branches/jbossws-framework-2.0.2.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-10-31 05:21:20 -0400 (Wed, 31 Oct 2007)
New Revision: 4948
Modified:
framework/branches/jbossws-framework-2.0.2/.classpath
Log:
eclipse classpath
Modified: framework/branches/jbossws-framework-2.0.2/.classpath
===================================================================
--- framework/branches/jbossws-framework-2.0.2/.classpath 2007-10-31 09:20:43 UTC (rev 4947)
+++ framework/branches/jbossws-framework-2.0.2/.classpath 2007-10-31 09:21:20 UTC (rev 4948)
@@ -15,6 +15,6 @@
<classpathentry kind="lib" path="thirdparty/activation.jar"/>
<classpathentry kind="lib" path="thirdparty/jaxb-api.jar"/>
<classpathentry kind="lib" path="thirdparty/jbossws-common.jar"/>
- <classpathentry kind="lib" path="thirdparty/jbossws-spi.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jbossws-spi.jar" sourcepath="thirdparty/jbossws-spi-src.zip"/>
<classpathentry kind="output" path="output/eclipse"/>
</classpath>
17 years, 2 months
JBossWS SVN: r4947 - framework/branches/jbossws-framework-2.0.2/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-10-31 05:20:43 -0400 (Wed, 31 Oct 2007)
New Revision: 4947
Modified:
framework/branches/jbossws-framework-2.0.2/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.java
Log:
javadoc
Modified: framework/branches/jbossws-framework-2.0.2/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.java
===================================================================
--- framework/branches/jbossws-framework-2.0.2/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.java 2007-10-31 01:35:11 UTC (rev 4946)
+++ framework/branches/jbossws-framework-2.0.2/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.java 2007-10-31 09:20:43 UTC (rev 4947)
@@ -21,18 +21,20 @@
*/
package org.jboss.test.ws.jaxws.samples.serviceref;
+import java.io.File;
+import java.io.InputStream;
+import java.net.URL;
+
+import javax.naming.InitialContext;
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+
import junit.framework.Test;
+
import org.jboss.wsf.test.JBossWSTest;
import org.jboss.wsf.test.JBossWSTestHelper;
import org.jboss.wsf.test.JBossWSTestSetup;
-import javax.naming.InitialContext;
-import javax.xml.namespace.QName;
-import javax.xml.ws.Service;
-import java.io.File;
-import java.io.InputStream;
-import java.net.URL;
-
/**
* Test the JAXRPC <service-ref>
*
@@ -63,31 +65,32 @@
public void testDynamicProxy() throws Exception
{
- if (isTargetJBoss50() == false)
- return;
-
- URL wsdlURL = new File("resources/jaxws/samples/serviceref/META-INF/wsdl/TestEndpoint.wsdl").toURL();
- QName qname = new QName("http://serviceref.samples.jaxws.ws.test.jboss.org/", "TestEndpointService");
- Service service = Service.create(wsdlURL, qname);
- TestEndpoint port = (TestEndpoint)service.getPort(TestEndpoint.class);
+ // JAXWS <service-ref> is only supported in EE5
+ if (isTargetJBoss50())
+ {
+ URL wsdlURL = new File("resources/jaxws/samples/serviceref/META-INF/wsdl/TestEndpoint.wsdl").toURL();
+ QName qname = new QName("http://serviceref.samples.jaxws.ws.test.jboss.org/", "TestEndpointService");
+ Service service = Service.create(wsdlURL, qname);
+ TestEndpoint port = (TestEndpoint)service.getPort(TestEndpoint.class);
- String helloWorld = "testDynamicProxy";
- Object retObj = port.echo(helloWorld);
- assertEquals(helloWorld, retObj);
+ String helloWorld = "testDynamicProxy";
+ Object retObj = port.echo(helloWorld);
+ assertEquals(helloWorld, retObj);
+ }
}
public void testEJBClient() throws Exception
{
- if (isTargetJBoss50() == false)
- return;
-
- InitialContext iniCtx = getInitialContext();
- EJBRemote ejbRemote = (EJBRemote)iniCtx.lookup("/ejb/EJBClient");
+ // JAXWS <service-ref> is only supported in EE5
+ if (isTargetJBoss50())
+ {
+ InitialContext iniCtx = getInitialContext();
+ EJBRemote ejbRemote = (EJBRemote)iniCtx.lookup("/ejb/EJBClient");
- String helloWorld = "Hello World!";
- Object retObj = ejbRemote.echo(helloWorld);
- assertEquals(helloWorld, retObj);
-
+ String helloWorld = "Hello World!";
+ Object retObj = ejbRemote.echo(helloWorld);
+ assertEquals(helloWorld, retObj);
+ }
}
}
17 years, 2 months
JBossWS SVN: r4946 - stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/jaxws/binding.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2007-10-30 21:35:11 -0400 (Tue, 30 Oct 2007)
New Revision: 4946
Added:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/jaxws/binding/ClientHandler2.java
Modified:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/jaxws/binding/SOAPBindingTestCase.java
Log:
[JBWS-1876] Test case
Added: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/jaxws/binding/ClientHandler2.java
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/jaxws/binding/ClientHandler2.java (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/jaxws/binding/ClientHandler2.java 2007-10-31 01:35:11 UTC (rev 4946)
@@ -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.jaxws.binding;
+
+import javax.xml.soap.MimeHeaders;
+import javax.xml.soap.SOAPConstants;
+import javax.xml.soap.SOAPException;
+import javax.xml.soap.SOAPMessage;
+import javax.xml.ws.WebServiceException;
+import javax.xml.ws.handler.MessageContext;
+import javax.xml.ws.handler.soap.SOAPMessageContext;
+
+import org.jboss.logging.Logger;
+import org.jboss.ws.core.jaxws.handler.GenericSOAPHandler;
+
+/**
+ * A client side handler
+ *
+ * @author Alessio Soldano, alessio.soldano(a)jboss.com
+ * @since 31-Oct-2007
+ */
+public class ClientHandler2 extends GenericSOAPHandler
+{
+ private static Logger log = Logger.getLogger(ClientHandler2.class);
+
+ public boolean handleInbound(MessageContext msgContext)
+ {
+ log.info("handleInbound");
+
+ SOAPMessage soapMessage = ((SOAPMessageContext)msgContext).getMessage();
+
+ MimeHeaders mimeHeaders = soapMessage.getMimeHeaders();
+ String[] ct = mimeHeaders.getHeader("Content-Type");
+ System.out.println(mimeHeaders);
+ if (ct != null)
+ {
+ for (int i = 0; i < ct.length; i++)
+ {
+ if (ct[i].startsWith(SOAPConstants.SOAP_1_2_CONTENT_TYPE))
+ return true;
+ }
+ }
+ return false;
+ }
+
+ protected boolean handleOutbound(MessageContext msgContext)
+ {
+ log.info("handleOutbound");
+
+ try
+ {
+ SOAPMessage soapMessage = ((SOAPMessageContext)msgContext).getMessage();
+ soapMessage.saveChanges();
+
+ MimeHeaders mimeHeaders = soapMessage.getMimeHeaders();
+ System.out.println(mimeHeaders);
+ String[] ct = mimeHeaders.getHeader("Content-Type");
+ if (ct != null)
+ {
+ for (int i = 0; i < ct.length; i++)
+ {
+ if (ct[i].startsWith(SOAPConstants.SOAP_1_2_CONTENT_TYPE))
+ return true;
+ }
+ }
+ return false;
+ }
+ catch (SOAPException ex)
+ {
+ throw new WebServiceException(ex);
+ }
+ }
+}
Property changes on: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/jaxws/binding/ClientHandler2.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/jaxws/binding/SOAPBindingTestCase.java
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/jaxws/binding/SOAPBindingTestCase.java 2007-10-30 21:19:12 UTC (rev 4945)
+++ stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/jaxws/binding/SOAPBindingTestCase.java 2007-10-31 01:35:11 UTC (rev 4946)
@@ -105,6 +105,7 @@
List<Handler> handlerChain = new ArrayList<Handler>();
handlerChain.addAll(provider.getBinding().getHandlerChain());
handlerChain.add(new ClientHandler());
+ handlerChain.add(new ClientHandler2());
provider.getBinding().setHandlerChain(handlerChain);
String nsURI = port.namespace();
17 years, 2 months
JBossWS SVN: r4945 - stack/native/branches/rest/src/main/java/org/jboss/rs/model.
by jbossws-commits@lists.jboss.org
Author: heiko.braun(a)jboss.com
Date: 2007-10-30 17:19:12 -0400 (Tue, 30 Oct 2007)
New Revision: 4945
Modified:
stack/native/branches/rest/src/main/java/org/jboss/rs/model/AbstractRegexResolveable.java
stack/native/branches/rest/src/main/java/org/jboss/rs/model/RegexQualifier.java
stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceLocator.java
stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceMethod.java
stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceModel.java
Log:
cleanup package structure and access rights
Modified: stack/native/branches/rest/src/main/java/org/jboss/rs/model/AbstractRegexResolveable.java
===================================================================
--- stack/native/branches/rest/src/main/java/org/jboss/rs/model/AbstractRegexResolveable.java 2007-10-30 21:15:16 UTC (rev 4944)
+++ stack/native/branches/rest/src/main/java/org/jboss/rs/model/AbstractRegexResolveable.java 2007-10-30 21:19:12 UTC (rev 4945)
@@ -29,7 +29,7 @@
* @author Heiko.Braun(a)jboss.com
* @version $Revision$
*/
-public abstract class AbstractRegexResolveable
+abstract class AbstractRegexResolveable
{
public final String URI_PARAM_PATTERN = "(.*?)";
public final String CHILD_SUFFIX_PATTERN = "(/.*)?";
Modified: stack/native/branches/rest/src/main/java/org/jboss/rs/model/RegexQualifier.java
===================================================================
--- stack/native/branches/rest/src/main/java/org/jboss/rs/model/RegexQualifier.java 2007-10-30 21:15:16 UTC (rev 4944)
+++ stack/native/branches/rest/src/main/java/org/jboss/rs/model/RegexQualifier.java 2007-10-30 21:19:12 UTC (rev 4945)
@@ -33,7 +33,7 @@
public static RegexQualifier NONE = new RegexQualifier(0,0,"");
- public RegexQualifier(int matchingGroups, int patternLenght, String uriToken)
+ RegexQualifier(int matchingGroups, int patternLenght, String uriToken)
{
this.numGroups = matchingGroups;
this.patternLength = patternLenght;
Modified: stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceLocator.java
===================================================================
--- stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceLocator.java 2007-10-30 21:15:16 UTC (rev 4944)
+++ stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceLocator.java 2007-10-30 21:19:12 UTC (rev 4945)
@@ -31,7 +31,7 @@
private String uriTemplate;
- public ResourceLocator(ResourceModel target)
+ ResourceLocator(ResourceModel target)
{
this.uriTemplate = target.getUriTemplate();
this.target = target;
Modified: stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceMethod.java
===================================================================
--- stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceMethod.java 2007-10-30 21:15:16 UTC (rev 4944)
+++ stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceMethod.java 2007-10-30 21:19:12 UTC (rev 4945)
@@ -35,7 +35,7 @@
private String uriTemplate;
private Method invocationTarget;
- public ResourceMethod(MethodHTTP method, String uriTemplate, Method invocationTarget)
+ ResourceMethod(MethodHTTP method, String uriTemplate, Method invocationTarget)
{
this.uriTemplate = uriTemplate;
this.methodHTTP = method;
Modified: stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceModel.java
===================================================================
--- stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceModel.java 2007-10-30 21:15:16 UTC (rev 4944)
+++ stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceModel.java 2007-10-30 21:19:12 UTC (rev 4945)
@@ -40,7 +40,7 @@
private List<ResourceMethod> subResourceMethods = new ArrayList<ResourceMethod>();
private List<ResourceLocator> resourceLocators = new ArrayList<ResourceLocator>();
- public ResourceModel(String uriTemplate, Class implementation)
+ ResourceModel(String uriTemplate, Class implementation)
{
this(null, uriTemplate, implementation);
}
17 years, 2 months
JBossWS SVN: r4944 - in stack/native/branches/rest/src: main/java/org/jboss/rs/model and 2 other directories.
by jbossws-commits@lists.jboss.org
Author: heiko.braun(a)jboss.com
Date: 2007-10-30 17:15:16 -0400 (Tue, 30 Oct 2007)
New Revision: 4944
Added:
stack/native/branches/rest/src/main/java/org/jboss/rs/runtime/
stack/native/branches/rest/src/main/java/org/jboss/rs/runtime/RuntimeContext.java
Removed:
stack/native/branches/rest/src/main/java/org/jboss/rs/model/EntityModel.java
stack/native/branches/rest/src/main/java/org/jboss/rs/model/RuntimeContext.java
Modified:
stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceResolver.java
stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/ResolverTestCase.java
Log:
Cleanup. Introduce runtime package
Deleted: stack/native/branches/rest/src/main/java/org/jboss/rs/model/EntityModel.java
===================================================================
--- stack/native/branches/rest/src/main/java/org/jboss/rs/model/EntityModel.java 2007-10-30 21:12:37 UTC (rev 4943)
+++ stack/native/branches/rest/src/main/java/org/jboss/rs/model/EntityModel.java 2007-10-30 21:15:16 UTC (rev 4944)
@@ -1,47 +0,0 @@
-/*
- * 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.rs.model;
-
-/**
- * @author Heiko.Braun(a)jboss.com
- * @version $Revision$
- */
-public class EntityModel
-{
- Class implementation;
-
- public EntityModel(Class implementation)
- {
- this.implementation = implementation;
- }
-
- public Class getImplementation()
- {
- return implementation;
- }
-
-
- public String toString()
- {
- return "EntityModel {impl="+implementation+"}";
- }
-}
Modified: stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceResolver.java
===================================================================
--- stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceResolver.java 2007-10-30 21:12:37 UTC (rev 4943)
+++ stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceResolver.java 2007-10-30 21:15:16 UTC (rev 4944)
@@ -21,6 +21,8 @@
*/
package org.jboss.rs.model;
+import org.jboss.rs.runtime.RuntimeContext;
+
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
Deleted: stack/native/branches/rest/src/main/java/org/jboss/rs/model/RuntimeContext.java
===================================================================
--- stack/native/branches/rest/src/main/java/org/jboss/rs/model/RuntimeContext.java 2007-10-30 21:12:37 UTC (rev 4943)
+++ stack/native/branches/rest/src/main/java/org/jboss/rs/model/RuntimeContext.java 2007-10-30 21:15:16 UTC (rev 4944)
@@ -1,63 +0,0 @@
-/*
- * 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.rs.model;
-
-import org.jboss.rs.MethodHTTP;
-
-import java.util.List;
-
-/**
- * @author Heiko.Braun(a)jboss.com
- * @version $Revision$
- */
-public class RuntimeContext
-{
- private MethodHTTP requestMethod;
- private List<ResourceModel> rootResources;
- private String uri;
-
- private Object requestMediaType;
- private Object responseMediaType;
-
- public RuntimeContext(MethodHTTP requestMethod, String uri, List<ResourceModel> rootResources)
- {
- this.requestMethod = requestMethod;
- this.rootResources = rootResources;
- this.uri = uri;
- }
-
- public MethodHTTP getRequestMethod()
- {
- return requestMethod;
- }
-
-
- public List<ResourceModel> getRootResources()
- {
- return rootResources;
- }
-
- public String getUri()
- {
- return uri;
- }
-}
Copied: stack/native/branches/rest/src/main/java/org/jboss/rs/runtime/RuntimeContext.java (from rev 4943, stack/native/branches/rest/src/main/java/org/jboss/rs/model/RuntimeContext.java)
===================================================================
--- stack/native/branches/rest/src/main/java/org/jboss/rs/runtime/RuntimeContext.java (rev 0)
+++ stack/native/branches/rest/src/main/java/org/jboss/rs/runtime/RuntimeContext.java 2007-10-30 21:15:16 UTC (rev 4944)
@@ -0,0 +1,64 @@
+/*
+ * 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.rs.runtime;
+
+import org.jboss.rs.MethodHTTP;
+import org.jboss.rs.model.ResourceModel;
+
+import java.util.List;
+
+/**
+ * @author Heiko.Braun(a)jboss.com
+ * @version $Revision$
+ */
+public class RuntimeContext
+{
+ private MethodHTTP requestMethod;
+ private List<ResourceModel> rootResources;
+ private String uri;
+
+ private Object requestMediaType;
+ private Object responseMediaType;
+
+ public RuntimeContext(MethodHTTP requestMethod, String uri, List<ResourceModel> rootResources)
+ {
+ this.requestMethod = requestMethod;
+ this.rootResources = rootResources;
+ this.uri = uri;
+ }
+
+ public MethodHTTP getRequestMethod()
+ {
+ return requestMethod;
+ }
+
+
+ public List<ResourceModel> getRootResources()
+ {
+ return rootResources;
+ }
+
+ public String getUri()
+ {
+ return uri;
+ }
+}
Property changes on: stack/native/branches/rest/src/main/java/org/jboss/rs/runtime/RuntimeContext.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/ResolverTestCase.java
===================================================================
--- stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/ResolverTestCase.java 2007-10-30 21:12:37 UTC (rev 4943)
+++ stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/ResolverTestCase.java 2007-10-30 21:15:16 UTC (rev 4944)
@@ -24,11 +24,11 @@
import junit.framework.TestCase;
import org.jboss.rs.ResourceRegistry;
import org.jboss.rs.MethodHTTP;
+import org.jboss.rs.runtime.RuntimeContext;
import org.jboss.rs.model.ResourceModel;
import org.jboss.rs.model.ResourceModelParser;
import org.jboss.rs.model.ResourceResolver;
import org.jboss.rs.model.ResourceMethod;
-import org.jboss.rs.model.RuntimeContext;
import java.util.List;
import java.lang.reflect.Method;
17 years, 2 months
JBossWS SVN: r4943 - stack/native/branches/rest/src/main/java/org/jboss/rs/model.
by jbossws-commits@lists.jboss.org
Author: heiko.braun(a)jboss.com
Date: 2007-10-30 17:12:37 -0400 (Tue, 30 Oct 2007)
New Revision: 4943
Modified:
stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceResolver.java
stack/native/branches/rest/src/main/java/org/jboss/rs/model/RuntimeContext.java
Log:
Docs and comments
Modified: stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceResolver.java
===================================================================
--- stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceResolver.java 2007-10-30 20:57:23 UTC (rev 4942)
+++ stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceResolver.java 2007-10-30 21:12:37 UTC (rev 4943)
@@ -27,6 +27,8 @@
import java.util.List;
/**
+ * Resolves resource methods from runtime context.
+ *
* @author Heiko.Braun(a)jboss.com
* @version $Revision$
*/
@@ -36,6 +38,7 @@
public static ResourceResolver newInstance(RuntimeContext context)
{
+ assert context!=null;
return new ResourceResolver(context);
}
@@ -171,16 +174,23 @@
return match;
}
+ // TODO: error handling and media-type matching
private ResourceMethod contentNegotiation(List<ResourceMatch<ResourceMethod>> matches)
{
ResourceMethod match = null;
for(ResourceMatch<ResourceMethod> candiate : matches)
{
+ // Match by request method -> HTTP 405
if(context.getRequestMethod() == candiate.model.getMethodHTTP())
{
match = candiate.model;
break;
}
+
+ // Match by supported input data format -> HTTP 415
+
+ // Match by supported output data format -> HTTP 406
+
}
return match;
}
Modified: stack/native/branches/rest/src/main/java/org/jboss/rs/model/RuntimeContext.java
===================================================================
--- stack/native/branches/rest/src/main/java/org/jboss/rs/model/RuntimeContext.java 2007-10-30 20:57:23 UTC (rev 4942)
+++ stack/native/branches/rest/src/main/java/org/jboss/rs/model/RuntimeContext.java 2007-10-30 21:12:37 UTC (rev 4943)
@@ -35,6 +35,9 @@
private List<ResourceModel> rootResources;
private String uri;
+ private Object requestMediaType;
+ private Object responseMediaType;
+
public RuntimeContext(MethodHTTP requestMethod, String uri, List<ResourceModel> rootResources)
{
this.requestMethod = requestMethod;
17 years, 2 months
JBossWS SVN: r4942 - in stack/native/branches/rest: src/main/java/org/jboss/rs and 3 other directories.
by jbossws-commits@lists.jboss.org
Author: heiko.braun(a)jboss.com
Date: 2007-10-30 16:57:23 -0400 (Tue, 30 Oct 2007)
New Revision: 4942
Added:
stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceModelParser.java
stack/native/branches/rest/src/main/java/org/jboss/rs/model/RuntimeContext.java
stack/native/branches/rest/src/main/java/org/jboss/rs/util/
stack/native/branches/rest/src/main/java/org/jboss/rs/util/Convert.java
stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/ModelParserTestCase.java
Removed:
stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceModelFactory.java
stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/ResourceFactoryTestCase.java
Modified:
stack/native/branches/rest/src/main/java/org/jboss/rs/model/RegexQualifier.java
stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceMethod.java
stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceModel.java
stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceResolver.java
stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/ResolverTestCase.java
stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/Widget.java
stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/WidgetList.java
stack/native/branches/rest/version.properties
Log:
Parse resource methods. Added content negotitation hook
Modified: stack/native/branches/rest/src/main/java/org/jboss/rs/model/RegexQualifier.java
===================================================================
--- stack/native/branches/rest/src/main/java/org/jboss/rs/model/RegexQualifier.java 2007-10-30 20:24:48 UTC (rev 4941)
+++ stack/native/branches/rest/src/main/java/org/jboss/rs/model/RegexQualifier.java 2007-10-30 20:57:23 UTC (rev 4942)
@@ -31,6 +31,8 @@
public final int patternLength;
public final String nextUriToken;
+ public static RegexQualifier NONE = new RegexQualifier(0,0,"");
+
public RegexQualifier(int matchingGroups, int patternLenght, String uriToken)
{
this.numGroups = matchingGroups;
Modified: stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceMethod.java
===================================================================
--- stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceMethod.java 2007-10-30 20:24:48 UTC (rev 4941)
+++ stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceMethod.java 2007-10-30 20:57:23 UTC (rev 4942)
@@ -23,22 +23,23 @@
import org.jboss.rs.MethodHTTP;
+import java.lang.reflect.Method;
+
/**
* @author Heiko.Braun(a)jboss.com
* @version $Revision$
*/
public class ResourceMethod extends AbstractRegexResolveable
-{
- private EntityModel entityModel;
+{
private MethodHTTP methodHTTP;
private String uriTemplate;
+ private Method invocationTarget;
- public ResourceMethod(MethodHTTP method, String uriTemplate, EntityModel entityModel)
+ public ResourceMethod(MethodHTTP method, String uriTemplate, Method invocationTarget)
{
this.uriTemplate = uriTemplate;
this.methodHTTP = method;
- this.entityModel = entityModel;
-
+ this.invocationTarget = invocationTarget;
}
public MethodHTTP getMethodHTTP()
@@ -46,12 +47,6 @@
return methodHTTP;
}
-
- public EntityModel getEntityModel()
- {
- return entityModel;
- }
-
public String getUriTemplate()
{
return this.uriTemplate;
@@ -63,6 +58,11 @@
return false;
}
+ public Method getInvocationTarget()
+ {
+ return invocationTarget;
+ }
+
void freeze()
{
initFromUriTemplate(this.uriTemplate);
@@ -71,6 +71,6 @@
public String toString()
{
- return "ResourceMethod {"+methodHTTP+" uri="+uriTemplate+", regex="+regexPattern+", entity="+entityModel+"}";
+ return "ResourceMethod {"+methodHTTP+" uri="+uriTemplate+", regex="+regexPattern+"}";
}
}
Modified: stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceModel.java
===================================================================
--- stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceModel.java 2007-10-30 20:24:48 UTC (rev 4941)
+++ stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceModel.java 2007-10-30 20:57:23 UTC (rev 4942)
@@ -33,9 +33,9 @@
private ResourceModel parent = null;
private String uriTemplate;
- private Class implementation;
+ private Class invocationTarget;
- /*TODO : parse resource methods = no UriTemplatem but HttpMethod annotation */
+ /*TODO : parse resource methods => no UriTemplate but HttpMethod annotation */
private List<ResourceMethod> resourceMethods = new ArrayList<ResourceMethod>();
private List<ResourceMethod> subResourceMethods = new ArrayList<ResourceMethod>();
private List<ResourceLocator> resourceLocators = new ArrayList<ResourceLocator>();
@@ -45,11 +45,11 @@
this(null, uriTemplate, implementation);
}
- public ResourceModel(ResourceModel parent, String uriTemplate, Class implementation)
+ public ResourceModel(ResourceModel parent, String uriTemplate, Class invocationTarget)
{
this.parent = parent;
this.uriTemplate = uriTemplate;
- this.implementation = implementation;
+ this.invocationTarget = invocationTarget;
}
/**
@@ -60,6 +60,11 @@
initFromUriTemplate(this.uriTemplate);
}
+ public void addResourceMethod(ResourceMethod srm)
+ {
+ resourceMethods.add(srm);
+ }
+
public void addSubResourceMethod(ResourceMethod srm)
{
subResourceMethods.add(srm);
@@ -80,9 +85,9 @@
return parent;
}
- public Class getImplementation()
+ public Class getInvocationTarget()
{
- return implementation;
+ return invocationTarget;
}
public String getUriTemplate()
@@ -90,13 +95,17 @@
return uriTemplate;
}
+ public List<ResourceMethod> getResourceMethods()
+ {
+ return resourceMethods;
+ }
- List<ResourceMethod> getSubResourceMethods()
+ public List<ResourceMethod> getSubResourceMethods()
{
return subResourceMethods;
}
- List<ResourceLocator> getResourceLocator()
+ public List<ResourceLocator> getResourceLocator()
{
return resourceLocators;
}
@@ -108,6 +117,6 @@
public String toString()
{
- return "ResourceModel {uri=" + uriTemplate + ", regex=" + regexPattern + ", impl=" + implementation + "}";
+ return "ResourceModel {uri=" + uriTemplate + ", regex=" + regexPattern + ", impl=" + invocationTarget + "}";
}
}
Deleted: stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceModelFactory.java
===================================================================
--- stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceModelFactory.java 2007-10-30 20:24:48 UTC (rev 4941)
+++ stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceModelFactory.java 2007-10-30 20:57:23 UTC (rev 4942)
@@ -1,103 +0,0 @@
-/*
- * 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.rs.model;
-
-import org.jboss.rs.MethodHTTP;
-
-import javax.ws.rs.GET;
-import javax.ws.rs.UriTemplate;
-import java.lang.reflect.Method;
-
-/**
- * @author Heiko.Braun(a)jboss.com
- * @version $Revision$
- */
-public class ResourceModelFactory
-{
- public static ResourceModel createModel(Class bean)
- {
- assert bean.isAnnotationPresent(UriTemplate.class);
-
- // the root resource
- UriTemplate rootUri = (UriTemplate)bean.getAnnotation(UriTemplate.class);
- ResourceModel rootResource = new ResourceModel(rootUri.value(), bean);
-
- System.out.println("Creating resource model from bean: " + bean);
-
- parseMetaData(rootResource);
-
- return rootResource;
- }
-
- private static void parseMetaData(ResourceModel resource)
- {
- String parent = resource.getParent()!=null ? resource.getParent().getImplementation().getName() : "";
-
- for( Method m : resource.getImplementation().getDeclaredMethods() )
- {
- // handle subresources
- if(m.isAnnotationPresent(UriTemplate.class))
- {
- UriTemplate uri = m.getAnnotation(UriTemplate.class);
- Class<?> returnType = m.getReturnType();
-
- // TODO: extend to other http methods
- if(m.isAnnotationPresent(GET.class))
- {
- // sub resource method
- GET http = (GET)m.getAnnotation(GET.class);
- ResourceMethod resourceMethod = new ResourceMethod(
- MethodHTTP.valueOf("GET"), uri.value(), new EntityModel(returnType)
- );
- resource.addSubResourceMethod(resourceMethod);
- }
- else
- {
- // locator
- ResourceModel subResource = new ResourceModel(resource, uri.value(), returnType);
- ResourceLocator locator = new ResourceLocator(subResource);
- locator.freeze();
- resource.addSubResourceLocator(locator);
-
- // recursive
- parseMetaData(subResource);
- }
- }
-
- }
-
- // freeze resource
- resource.freeze();
-
- System.out.println("---");
- System.out.println(resource);
-
- // freeze sub resource methods
- for(ResourceMethod srm : resource.getSubResourceMethods())
- {
- srm.freeze();
- System.out.println(srm);
- }
-
- System.out.println("---");
- }
-}
Copied: stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceModelParser.java (from rev 4914, stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceModelFactory.java)
===================================================================
--- stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceModelParser.java (rev 0)
+++ stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceModelParser.java 2007-10-30 20:57:23 UTC (rev 4942)
@@ -0,0 +1,145 @@
+/*
+ * 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.rs.model;
+
+import org.jboss.rs.util.Convert;
+
+import javax.ws.rs.UriTemplate;
+import java.lang.annotation.Annotation;
+import java.lang.reflect.Method;
+
+/**
+ * @author Heiko.Braun(a)jboss.com
+ * @version $Revision$
+ */
+public class ResourceModelParser
+{
+ ResourceModelParser()
+ {
+ }
+
+ public static ResourceModelParser newInstance()
+ {
+ return new ResourceModelParser();
+ }
+
+ public ResourceModel parse(Class bean)
+ {
+ assert bean.isAnnotationPresent(UriTemplate.class);
+
+ // the root resource
+ UriTemplate rootUri = (UriTemplate)bean.getAnnotation(UriTemplate.class);
+ ResourceModel rootResource = new ResourceModel(rootUri.value(), bean);
+
+ System.out.println("Creating resource model from bean: " + bean);
+
+ parseInternal(rootResource);
+
+ return rootResource;
+ }
+
+ private void parseInternal(ResourceModel resource)
+ {
+
+ for( Method m : resource.getInvocationTarget().getDeclaredMethods() )
+ {
+ parseMethod(m, resource);
+
+ // todo: constructors
+ }
+
+ // freeze resource
+ resource.freeze();
+
+ System.out.println("---");
+ System.out.println(resource);
+
+ // freeze resource methods
+ for(ResourceMethod rm : resource.getResourceMethods())
+ {
+ rm.freeze();
+ System.out.println(rm);
+ }
+
+ // freeze sub resource methods
+ for(ResourceMethod srm : resource.getSubResourceMethods())
+ {
+ srm.freeze();
+ System.out.println(srm);
+ }
+
+ System.out.println("---");
+ }
+
+ private void parseMethod(Method method, ResourceModel resource)
+ {
+ if(method.isAnnotationPresent(UriTemplate.class))
+ {
+ UriTemplate uri = method.getAnnotation(UriTemplate.class);
+
+ ResourceMethod resourceMethod = null;
+
+ // subresource methods
+ for(Class requestType : Convert.REQUEST_TYPES)
+ {
+ if(method.isAnnotationPresent(requestType))
+ {
+ // sub resource method
+ Annotation a = method.getAnnotation(requestType);
+ resourceMethod = new ResourceMethod(
+ Convert.annotationToMethodHTTP(a), uri.value(), method
+ );
+ resource.addSubResourceMethod(resourceMethod);
+ }
+ }
+
+ // subresource locator
+ if(null == resourceMethod)
+ {
+ // locator
+ ResourceModel subResource = new ResourceModel(resource, uri.value(), method.getReturnType());
+ ResourceLocator locator = new ResourceLocator(subResource);
+ locator.freeze();
+ resource.addSubResourceLocator(locator);
+
+ // recursive
+ parseInternal(subResource);
+ }
+ }
+ else
+ {
+ for(Class requestType : Convert.REQUEST_TYPES)
+ {
+ if(method.isAnnotationPresent(requestType))
+ {
+ // resource method
+ Annotation a = method.getAnnotation(requestType);
+ ResourceMethod resourceMethod = new ResourceMethod(
+ Convert.annotationToMethodHTTP(a), "", method
+ );
+ resource.addResourceMethod(resourceMethod);
+ }
+ }
+ }
+ }
+
+}
Property changes on: stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceModelParser.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceResolver.java
===================================================================
--- stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceResolver.java 2007-10-30 20:24:48 UTC (rev 4941)
+++ stack/native/branches/rest/src/main/java/org/jboss/rs/model/ResourceResolver.java 2007-10-30 20:57:23 UTC (rev 4942)
@@ -32,7 +32,19 @@
*/
public class ResourceResolver
{
- public ResourceMethod resolve(List<ResourceModel> rootResources, String uri)
+ private RuntimeContext context;
+
+ public static ResourceResolver newInstance(RuntimeContext context)
+ {
+ return new ResourceResolver(context);
+ }
+
+ private ResourceResolver(RuntimeContext context)
+ {
+ this.context = context;
+ }
+
+ public ResourceMethod resolve()
throws NoResourceException, NoMethodException
{
ResourceMethod resourceMethod = null;
@@ -40,18 +52,18 @@
// Filter the set of resource classes by rejecting those whose
// regular expression does not match uri
List<ResourceMatch> includedResources = new ArrayList<ResourceMatch>();
- Iterator<ResourceModel> it1 = rootResources.iterator();
+ Iterator<ResourceModel> it1 = context.getRootResources().iterator();
while(it1.hasNext())
{
ResourceModel model = it1.next();
- RegexQualifier qualifier = model.resolve(uri);
+ RegexQualifier qualifier = model.resolve(context.getUri());
if(qualifier!=null)
includedResources.add( new ResourceMatch(model, qualifier) );
}
if(includedResources.isEmpty())
- throw new NoResourceException("No resource matches URI '"+uri+"'");
-
+ throw new NoResourceException("No resource matches URI '"+context.getUri()+"'");
+
Collections.sort(includedResources);
// DFS by locator, should result in a resource match
@@ -63,7 +75,7 @@
}
if(null == resourceMethod)
- throw new NoMethodException("No method for URI '"+uri);
+ throw new NoMethodException("No method for URI '"+context.getUri());
// gotcha
return resourceMethod;
@@ -72,15 +84,18 @@
/**
* Recursive scan for resource methods.
* Inspect a resource match for methods and it fails try the locators.
- *
+ *
* @param dfsEntry
* @return
*/
private ResourceMethod dfsResourceMatch(ResourceMatch dfsEntry)
{
ResourceMethod resourceMethod = null;
- resourceMethod = resolveResourceMethod(dfsEntry, dfsEntry.qualifier.nextUriToken);
+ String nextUriToken = dfsEntry.qualifier.nextUriToken;
+ // resource and subresource methods first
+ resourceMethod = resolveResourceMethod(dfsEntry, nextUriToken);
+
// root didn't match, so recurse locators to find a resource
if(null == resourceMethod)
{
@@ -88,6 +103,7 @@
if(subResource!=null)
resourceMethod = dfsResourceMatch(subResource);
}
+
return resourceMethod;
}
@@ -108,40 +124,67 @@
if(!weightedResults.isEmpty())
{
Collections.sort(weightedResults);
- match = weightedResults.get(0);
+ match = weightedResults.get(0);
}
-
+
return match;
}
private ResourceMethod resolveResourceMethod(ResourceMatch<ResourceModel> methodTarget, String uriToken)
{
ResourceMethod match = null;
+ List<ResourceMatch<ResourceMethod>> matches = new ArrayList<ResourceMatch<ResourceMethod>>();
- List<ResourceMatch<ResourceMethod>> matches = new ArrayList<ResourceMatch<ResourceMethod>>();
- List<ResourceMethod> methods = methodTarget.model.getSubResourceMethods();
- Iterator<ResourceMethod> it = methods.iterator();
- while(it.hasNext())
+ if("".equals(uriToken) || "/".equals(uriToken)) // resources methods
{
- ResourceMethod method = it.next();
- RegexQualifier qualifier = method.resolve(uriToken);
- if(qualifier!=null && ("".equals(qualifier.nextUriToken) || "/".equals(qualifier.nextUriToken)))
+ // use any available resource method for further mathing by mimetype, etc
+ for(ResourceMethod resourceMethod : methodTarget.model.getResourceMethods())
{
matches.add(
- new ResourceMatch<ResourceMethod>(method, qualifier)
- );
+ new ResourceMatch<ResourceMethod>(resourceMethod, RegexQualifier.NONE)
+ );
}
}
-
+ else // subresource methods
+ {
+ List<ResourceMethod> methods = methodTarget.model.getSubResourceMethods();
+ Iterator<ResourceMethod> it = methods.iterator();
+ while(it.hasNext())
+ {
+ ResourceMethod method = it.next();
+ RegexQualifier qualifier = method.resolve(uriToken);
+ if(qualifier!=null && ("".equals(qualifier.nextUriToken) || "/".equals(qualifier.nextUriToken)))
+ {
+ matches.add(
+ new ResourceMatch<ResourceMethod>(method, qualifier)
+ );
+ }
+ }
+ }
+
if(!matches.isEmpty())
{
Collections.sort(matches);
- match = matches.get(0).model;
+ match = contentNegotiation(matches);
}
-
+
return match;
}
+ private ResourceMethod contentNegotiation(List<ResourceMatch<ResourceMethod>> matches)
+ {
+ ResourceMethod match = null;
+ for(ResourceMatch<ResourceMethod> candiate : matches)
+ {
+ if(context.getRequestMethod() == candiate.model.getMethodHTTP())
+ {
+ match = candiate.model;
+ break;
+ }
+ }
+ return match;
+ }
+
class ResourceMatch<T> implements Comparable
{
final T model;
Added: stack/native/branches/rest/src/main/java/org/jboss/rs/model/RuntimeContext.java
===================================================================
--- stack/native/branches/rest/src/main/java/org/jboss/rs/model/RuntimeContext.java (rev 0)
+++ stack/native/branches/rest/src/main/java/org/jboss/rs/model/RuntimeContext.java 2007-10-30 20:57:23 UTC (rev 4942)
@@ -0,0 +1,60 @@
+/*
+ * 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.rs.model;
+
+import org.jboss.rs.MethodHTTP;
+
+import java.util.List;
+
+/**
+ * @author Heiko.Braun(a)jboss.com
+ * @version $Revision$
+ */
+public class RuntimeContext
+{
+ private MethodHTTP requestMethod;
+ private List<ResourceModel> rootResources;
+ private String uri;
+
+ public RuntimeContext(MethodHTTP requestMethod, String uri, List<ResourceModel> rootResources)
+ {
+ this.requestMethod = requestMethod;
+ this.rootResources = rootResources;
+ this.uri = uri;
+ }
+
+ public MethodHTTP getRequestMethod()
+ {
+ return requestMethod;
+ }
+
+
+ public List<ResourceModel> getRootResources()
+ {
+ return rootResources;
+ }
+
+ public String getUri()
+ {
+ return uri;
+ }
+}
Property changes on: stack/native/branches/rest/src/main/java/org/jboss/rs/model/RuntimeContext.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/rest/src/main/java/org/jboss/rs/util/Convert.java
===================================================================
--- stack/native/branches/rest/src/main/java/org/jboss/rs/util/Convert.java (rev 0)
+++ stack/native/branches/rest/src/main/java/org/jboss/rs/util/Convert.java 2007-10-30 20:57:23 UTC (rev 4942)
@@ -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.rs.util;
+
+import org.jboss.rs.MethodHTTP;
+
+import javax.ws.rs.GET;
+import javax.ws.rs.POST;
+import javax.ws.rs.PUT;
+import javax.ws.rs.DELETE;
+import java.lang.annotation.Annotation;
+
+/**
+ * @author Heiko.Braun(a)jboss.com
+ * @version $Revision$
+ */
+public class Convert
+{
+ public static Class[] REQUEST_TYPES = new Class[] { GET.class, POST.class, PUT.class, DELETE.class };
+
+ public static MethodHTTP annotationToMethodHTTP(Annotation a)
+ {
+ MethodHTTP m = null;
+
+ if(a instanceof GET)
+ m = MethodHTTP.GET;
+ else if(a instanceof POST)
+ m = MethodHTTP.POST;
+ else if(a instanceof PUT)
+ m = MethodHTTP.PUT;
+ else if(a instanceof DELETE)
+ m = MethodHTTP.DELETE;
+
+ return m;
+
+ }
+}
Property changes on: stack/native/branches/rest/src/main/java/org/jboss/rs/util/Convert.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Copied: stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/ModelParserTestCase.java (from rev 4914, stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/ResourceFactoryTestCase.java)
===================================================================
--- stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/ModelParserTestCase.java (rev 0)
+++ stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/ModelParserTestCase.java 2007-10-30 20:57:23 UTC (rev 4942)
@@ -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.rs.model;
+
+import junit.framework.TestCase;
+import org.jboss.rs.model.ResourceModelParser;
+import org.jboss.rs.model.ResourceModel;
+import org.jboss.rs.model.ResourceMethod;
+import org.jboss.rs.MethodHTTP;
+
+/**
+ * @author Heiko.Braun(a)jboss.com
+ * @version $Revision$
+ */
+public class ModelParserTestCase extends TestCase
+{
+ public void testParseMetaModel() throws Exception
+ {
+ ResourceModel root = ResourceModelParser.newInstance().parse(WidgetList.class);
+
+ ResourceMethod match = null;
+ for(ResourceMethod m : root.getSubResourceMethods())
+ {
+ if(m.getMethodHTTP() == MethodHTTP.POST
+ && m.getUriTemplate().equals("special"))
+ {
+ match = m;
+ break;
+ }
+ }
+
+ assertNotNull(match);
+ }
+}
Property changes on: stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/ModelParserTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/ResolverTestCase.java
===================================================================
--- stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/ResolverTestCase.java 2007-10-30 20:24:48 UTC (rev 4941)
+++ stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/ResolverTestCase.java 2007-10-30 20:57:23 UTC (rev 4942)
@@ -23,12 +23,15 @@
import junit.framework.TestCase;
import org.jboss.rs.ResourceRegistry;
+import org.jboss.rs.MethodHTTP;
import org.jboss.rs.model.ResourceModel;
-import org.jboss.rs.model.ResourceModelFactory;
+import org.jboss.rs.model.ResourceModelParser;
import org.jboss.rs.model.ResourceResolver;
import org.jboss.rs.model.ResourceMethod;
+import org.jboss.rs.model.RuntimeContext;
import java.util.List;
+import java.lang.reflect.Method;
/**
* @author Heiko.Braun(a)jboss.com
@@ -43,15 +46,16 @@
protected void setUp() throws Exception
{
this.registry = new ResourceRegistry();
- ResourceModel root = ResourceModelFactory.createModel(WidgetList.class);
+ ResourceModel root = ResourceModelParser.newInstance().parse(WidgetList.class);
registry.addResourceModelForContext("/rest", root);
rootModels = registry.getResourceModelsForContext("/rest");
}
public void testRegexResolver1() throws Exception
{
- ResourceResolver resolver = new ResourceResolver();
- ResourceMethod method = resolver.resolve(rootModels, "widgets/Id/spec");
+ RuntimeContext context = new RuntimeContext(MethodHTTP.GET, "widgets/Id/spec", rootModels );
+ ResourceResolver resolver = ResourceResolver.newInstance(context);
+ ResourceMethod method = resolver.resolve();
assertNotNull(method);
assertEquals("spec", method.getUriTemplate());
@@ -59,9 +63,10 @@
public void testRegexResolver2() throws Exception
{
- ResourceResolver resolver = new ResourceResolver();
+ RuntimeContext context = new RuntimeContext(MethodHTTP.POST, "widgets/special", rootModels );
+ ResourceResolver resolver = ResourceResolver.newInstance(context);
- ResourceMethod method = resolver.resolve(rootModels, "widgets/special");
+ ResourceMethod method = resolver.resolve();
assertNotNull(method);
assertEquals("special", method.getUriTemplate());
@@ -69,24 +74,37 @@
public void testRegexResolver3() throws Exception
{
- ResourceResolver resolver = new ResourceResolver();
+ RuntimeContext context = new RuntimeContext(MethodHTTP.GET, "widgets/offers", rootModels );
+ ResourceResolver resolver = ResourceResolver.newInstance(context);
- ResourceMethod method = resolver.resolve(rootModels, "widgets/offers");
+ ResourceMethod method = resolver.resolve();
assertNotNull(method);
- assertEquals("offers", method.getUriTemplate());
- assertTrue(method.getEntityModel().getImplementation().equals(WidgetList.class));
+ assertEquals("offers", method.getUriTemplate());
}
public void testRegexResolver4() throws Exception
{
- ResourceResolver resolver = new ResourceResolver();
+ RuntimeContext context = new RuntimeContext(MethodHTTP.GET, "widgets/Id/spec/SpecName", rootModels );
+ ResourceResolver resolver = ResourceResolver.newInstance(context);
- ResourceMethod method = resolver.resolve(rootModels, "widgets/Id/spec/SpecName");
+ ResourceMethod method = resolver.resolve();
assertNotNull(method);
- assertEquals("spec/{name}", method.getUriTemplate());
- assertTrue(method.getEntityModel().getImplementation().equals(Specification.class));
+ assertEquals("spec/{name}", method.getUriTemplate());
}
+ public void testRegexResolver5() throws Exception
+ {
+ RuntimeContext context = new RuntimeContext(MethodHTTP.GET, "widgets", rootModels );
+ ResourceResolver resolver = ResourceResolver.newInstance(context);
+
+ ResourceMethod method = resolver.resolve();
+
+ assertNotNull(method);
+ Method target = method.getInvocationTarget();
+ String result = (String)target.invoke( target.getDeclaringClass().newInstance());
+ assertEquals("A widgetlist", result);
+ }
+
}
Deleted: stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/ResourceFactoryTestCase.java
===================================================================
--- stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/ResourceFactoryTestCase.java 2007-10-30 20:24:48 UTC (rev 4941)
+++ stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/ResourceFactoryTestCase.java 2007-10-30 20:57:23 UTC (rev 4942)
@@ -1,43 +0,0 @@
-/*
- * 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.rs.model;
-
-import junit.framework.TestCase;
-import org.jboss.rs.model.ResourceModelFactory;
-import org.jboss.rs.model.ResourceModel;
-
-/**
- * @author Heiko.Braun(a)jboss.com
- * @version $Revision$
- */
-public class ResourceFactoryTestCase extends TestCase
-{
- public void testParseMetaModel() throws Exception
- {
- ResourceModel root = ResourceModelFactory.createModel(WidgetList.class);
- }
-
- private void dumpModel(ResourceModel model)
- {
-
- }
-}
Modified: stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/Widget.java
===================================================================
--- stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/Widget.java 2007-10-30 20:24:48 UTC (rev 4941)
+++ stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/Widget.java 2007-10-30 20:57:23 UTC (rev 4942)
@@ -22,8 +22,8 @@
package org.jboss.test.rs.model;
import javax.ws.rs.GET;
+import javax.ws.rs.UriParam;
import javax.ws.rs.UriTemplate;
-import javax.ws.rs.UriParam;
/**
* @author Heiko.Braun(a)jboss.com
Modified: stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/WidgetList.java
===================================================================
--- stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/WidgetList.java 2007-10-30 20:24:48 UTC (rev 4941)
+++ stack/native/branches/rest/src/test/java/org/jboss/test/rs/model/WidgetList.java 2007-10-30 20:57:23 UTC (rev 4942)
@@ -30,6 +30,11 @@
public class WidgetList
{
@GET
+ String getDescription() {
+ return "A widgetlist";
+ }
+
+ @GET
@UriTemplate("offers")
WidgetList getDiscounted() {
return null;
Modified: stack/native/branches/rest/version.properties
===================================================================
--- stack/native/branches/rest/version.properties 2007-10-30 20:24:48 UTC (rev 4941)
+++ stack/native/branches/rest/version.properties 2007-10-30 20:57:23 UTC (rev 4942)
@@ -67,6 +67,7 @@
jboss-vfs=2.0.0.Beta2
jbossas-core-libs=4.2.0.GA
junit=3.8.1
+jsr311=0.3
oswego-concurrent=1.3.4
qdox=1.4
sun-hudson=1.93
17 years, 2 months
JBossWS SVN: r4941 - in stack/native/branches/jbossws-native-2.0.2: src/test/java/org/jboss/test/ws/jaxrpc and 9 other directories.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-10-30 16:24:48 -0400 (Tue, 30 Oct 2007)
New Revision: 4941
Added:
stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/
stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/
Removed:
stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/serviceref/
stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/serviceref/
Modified:
stack/native/branches/jbossws-native-2.0.2/ant-import-tests/build-jars-jaxrpc.xml
stack/native/branches/jbossws-native-2.0.2/ant-import-tests/build-samples-jaxrpc.xml
stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ApplicationClient.java
stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBClient.java
stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBRemote.java
stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBRemoteHome.java
stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ExampleHandler.java
stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefClientTestCase.java
stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefEJBTestCase.java
stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefServletTestCase.java
stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServletClient.java
stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpoint.java
stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointImpl.java
stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointService.java
stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/META-INF/application-client.xml
stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/META-INF/ejb-jar.xml
stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/META-INF/jaxrpc-mapping.xml
stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/META-INF/wsdl/TestEndpoint.wsdl
stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/WEB-INF/web.xml
stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/WEB-INF/webservices.xml
stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/servlet-client/WEB-INF/web.xml
stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/wstools-java-wsdl.xml
stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/wstools-wsdl-java.xml
Log:
Migrate jaxrpc/serviceref to jaxrpc/samples/serviceref
Modified: stack/native/branches/jbossws-native-2.0.2/ant-import-tests/build-jars-jaxrpc.xml
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/ant-import-tests/build-jars-jaxrpc.xml 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/ant-import-tests/build-jars-jaxrpc.xml 2007-10-30 20:24:48 UTC (rev 4941)
@@ -2703,60 +2703,6 @@
</metainf>
</jar>
- <!-- jaxrpc-serviceref -->
- <war warfile="${tests.output.dir}/libs/jaxrpc-serviceref.war" webxml="${tests.output.dir}/resources/jaxrpc/serviceref/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/classes">
- <include name="org/jboss/test/ws/jaxrpc/serviceref/TestEndpointImpl.class"/>
- <include name="org/jboss/test/ws/jaxrpc/serviceref/TestEndpoint.class"/>
- </classes>
- <webinf dir="${tests.output.dir}/resources/jaxrpc/serviceref/META-INF">
- <include name="jaxrpc-mapping.xml"/>
- <include name="wsdl/**"/>
- </webinf>
- <webinf dir="${tests.output.dir}/resources/jaxrpc/serviceref/WEB-INF">
- <include name="webservices.xml"/>
- </webinf>
- </war>
- <jar destfile="${tests.output.dir}/libs/jaxrpc-serviceref-client.jar">
- <fileset dir="${tests.output.dir}/classes">
- <include name="org/jboss/test/ws/jaxrpc/serviceref/ApplicationClient.class"/>
- <include name="org/jboss/test/ws/jaxrpc/serviceref/TestEndpointService.class"/>
- <include name="org/jboss/test/ws/jaxrpc/serviceref/TestEndpoint.class"/>
- </fileset>
- <metainf dir="${tests.output.dir}/resources/jaxrpc/serviceref/META-INF">
- <include name="application-client.xml"/>
- <include name="jboss-client.xml"/>
- <include name="jaxrpc-mapping.xml"/>
- <include name="wsdl/**"/>
- </metainf>
- </jar>
- <war destfile="${tests.output.dir}/libs/jaxrpc-serviceref-servlet-client.war" webxml="${tests.output.dir}/resources/jaxrpc/serviceref/servlet-client/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/classes">
- <include name="org/jboss/test/ws/jaxrpc/serviceref/ServletClient.class"/>
- <include name="org/jboss/test/ws/jaxrpc/serviceref/TestEndpointService.class"/>
- <include name="org/jboss/test/ws/jaxrpc/serviceref/TestEndpoint.class"/>
- <include name="org/jboss/test/ws/jaxrpc/serviceref/ExampleHandler.class"/>
- </classes>
- <webinf dir="${tests.output.dir}/resources/jaxrpc/serviceref/META-INF">
- <include name="jaxrpc-mapping.xml"/>
- <include name="wsdl/**"/>
- </webinf>
- </war>
- <jar destfile="${tests.output.dir}/libs/jaxrpc-serviceref-ejb-client.jar">
- <fileset dir="${tests.output.dir}/classes">
- <include name="org/jboss/test/ws/jaxrpc/serviceref/EJBClient.class"/>
- <include name="org/jboss/test/ws/jaxrpc/serviceref/EJBRemote.class"/>
- <include name="org/jboss/test/ws/jaxrpc/serviceref/EJBRemoteHome.class"/>
- <include name="org/jboss/test/ws/jaxrpc/serviceref/TestEndpointService.class"/>
- <include name="org/jboss/test/ws/jaxrpc/serviceref/TestEndpoint.class"/>
- </fileset>
- <metainf dir="${tests.output.dir}/resources/jaxrpc/serviceref/META-INF">
- <include name="ejb-jar.xml"/>
- <include name="jaxrpc-mapping.xml"/>
- <include name="wsdl/**"/>
- </metainf>
- </jar>
-
<!-- jaxrpc-utf16 -->
<war warfile="${tests.output.dir}/libs/jaxrpc-utf16.war" webxml="${tests.output.dir}/resources/jaxrpc/utf16/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/classes">
Modified: stack/native/branches/jbossws-native-2.0.2/ant-import-tests/build-samples-jaxrpc.xml
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/ant-import-tests/build-samples-jaxrpc.xml 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/ant-import-tests/build-samples-jaxrpc.xml 2007-10-30 20:24:48 UTC (rev 4941)
@@ -461,6 +461,60 @@
</metainf>
</jar>
+ <!-- jaxrpc-samples-serviceref -->
+ <war warfile="${tests.output.dir}/libs/jaxrpc-samples-serviceref.war" webxml="${tests.output.dir}/resources/jaxrpc/samples/serviceref/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointImpl.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpoint.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/serviceref/META-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/serviceref/WEB-INF">
+ <include name="webservices.xml"/>
+ </webinf>
+ </war>
+ <jar destfile="${tests.output.dir}/libs/jaxrpc-samples-serviceref-client.jar">
+ <fileset dir="${tests.output.dir}/classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/ApplicationClient.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointService.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpoint.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/serviceref/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+ <war destfile="${tests.output.dir}/libs/jaxrpc-samples-serviceref-servlet-client.war" webxml="${tests.output.dir}/resources/jaxrpc/samples/serviceref/servlet-client/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/ServletClient.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointService.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpoint.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/ExampleHandler.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/serviceref/META-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ </war>
+ <jar destfile="${tests.output.dir}/libs/jaxrpc-samples-serviceref-ejb-client.jar">
+ <fileset dir="${tests.output.dir}/classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/EJBClient.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/EJBRemote.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/EJBRemoteHome.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointService.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpoint.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/serviceref/META-INF">
+ <include name="ejb-jar.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+
<!-- jaxrpc-samples-swa -->
<war warfile="${tests.output.dir}/libs/jaxrpc-samples-swa.war" webxml="${tests.output.dir}/resources/jaxrpc/samples/swa/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/classes">
Copied: stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref (from rev 4940, stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/serviceref)
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ApplicationClient.java
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/serviceref/ApplicationClient.java 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ApplicationClient.java 2007-10-30 20:24:48 UTC (rev 4941)
@@ -19,7 +19,7 @@
* 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.serviceref;
+package org.jboss.test.ws.jaxrpc.samples.serviceref;
import java.rmi.RemoteException;
import java.util.ArrayList;
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBClient.java
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/serviceref/EJBClient.java 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBClient.java 2007-10-30 20:24:48 UTC (rev 4941)
@@ -19,7 +19,7 @@
* 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.serviceref;
+package org.jboss.test.ws.jaxrpc.samples.serviceref;
import java.rmi.RemoteException;
import java.util.ArrayList;
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBRemote.java
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/serviceref/EJBRemote.java 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBRemote.java 2007-10-30 20:24:48 UTC (rev 4941)
@@ -19,7 +19,7 @@
* 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.serviceref;
+package org.jboss.test.ws.jaxrpc.samples.serviceref;
import java.rmi.RemoteException;
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBRemoteHome.java
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/serviceref/EJBRemoteHome.java 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBRemoteHome.java 2007-10-30 20:24:48 UTC (rev 4941)
@@ -19,7 +19,7 @@
* 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.serviceref;
+package org.jboss.test.ws.jaxrpc.samples.serviceref;
import java.rmi.RemoteException;
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ExampleHandler.java
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/serviceref/ExampleHandler.java 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ExampleHandler.java 2007-10-30 20:24:48 UTC (rev 4941)
@@ -19,7 +19,7 @@
* 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.serviceref;
+package org.jboss.test.ws.jaxrpc.samples.serviceref;
import javax.xml.rpc.handler.GenericHandler;
import javax.xml.namespace.QName;
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefClientTestCase.java
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/serviceref/ServiceRefClientTestCase.java 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefClientTestCase.java 2007-10-30 20:24:48 UTC (rev 4941)
@@ -19,7 +19,7 @@
* 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.serviceref;
+package org.jboss.test.ws.jaxrpc.samples.serviceref;
import java.io.File;
import java.net.MalformedURLException;
@@ -46,11 +46,11 @@
*/
public class ServiceRefClientTestCase extends JBossWSTest
{
- public final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxrpc-serviceref";
+ public final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxrpc-samples-serviceref";
public static Test suite()
{
- return new JBossWSTestSetup(ServiceRefClientTestCase.class, "jaxrpc-serviceref.war, jaxrpc-serviceref-client.jar");
+ return new JBossWSTestSetup(ServiceRefClientTestCase.class, "jaxrpc-samples-serviceref.war, jaxrpc-samples-serviceref-client.jar");
}
public void testWSDLAccess() throws MalformedURLException
@@ -63,8 +63,8 @@
public void testDynamicProxy() throws Exception
{
- URL wsdlURL = new File("resources/jaxrpc/serviceref/META-INF/wsdl/TestEndpoint.wsdl").toURL();
- URL mappingURL = new File("resources/jaxrpc/serviceref/META-INF/jaxrpc-mapping.xml").toURL();
+ URL wsdlURL = new File("resources/jaxrpc/samples/serviceref/META-INF/wsdl/TestEndpoint.wsdl").toURL();
+ URL mappingURL = new File("resources/jaxrpc/samples/serviceref/META-INF/jaxrpc-mapping.xml").toURL();
QName qname = new QName("http://org.jboss.ws/wsref", "TestEndpointService");
Service service = new ServiceFactoryImpl().createService(wsdlURL, qname, mappingURL);
TestEndpoint port = (TestEndpoint)service.getPort(TestEndpoint.class);
@@ -76,7 +76,7 @@
public void testDynamicProxyNeg() throws Exception
{
- URL wsdlURL = new File("resources/jaxrpc/serviceref/META-INF/wsdl/TestEndpoint.wsdl").toURL();
+ URL wsdlURL = new File("resources/jaxrpc/samples/serviceref/META-INF/wsdl/TestEndpoint.wsdl").toURL();
QName qname = new QName("http://org.jboss.ws/wsref", "TestEndpointService");
Service service = ServiceFactory.newInstance().createService(wsdlURL, qname);
try
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefEJBTestCase.java
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/serviceref/ServiceRefEJBTestCase.java 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefEJBTestCase.java 2007-10-30 20:24:48 UTC (rev 4941)
@@ -19,7 +19,7 @@
* 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.serviceref;
+package org.jboss.test.ws.jaxrpc.samples.serviceref;
import java.io.File;
import java.net.MalformedURLException;
@@ -45,11 +45,11 @@
*/
public class ServiceRefEJBTestCase extends JBossWSTest
{
- public final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxrpc-serviceref";
+ public final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxrpc-samples-serviceref";
public static Test suite()
{
- return new JBossWSTestSetup(ServiceRefEJBTestCase.class, "jaxrpc-serviceref.war, jaxrpc-serviceref-ejb-client.jar");
+ return new JBossWSTestSetup(ServiceRefEJBTestCase.class, "jaxrpc-samples-serviceref.war, jaxrpc-samples-serviceref-ejb-client.jar");
}
public void testWSDLAccess() throws MalformedURLException
@@ -62,8 +62,8 @@
public void testDynamicProxy() throws Exception
{
- URL wsdlURL = new File("resources/jaxrpc/serviceref/META-INF/wsdl/TestEndpoint.wsdl").toURL();
- URL mappingURL = new File("resources/jaxrpc/serviceref/META-INF/jaxrpc-mapping.xml").toURL();
+ URL wsdlURL = new File("resources/jaxrpc/samples/serviceref/META-INF/wsdl/TestEndpoint.wsdl").toURL();
+ URL mappingURL = new File("resources/jaxrpc/samples/serviceref/META-INF/jaxrpc-mapping.xml").toURL();
QName qname = new QName("http://org.jboss.ws/wsref", "TestEndpointService");
Service service = new ServiceFactoryImpl().createService(wsdlURL, qname, mappingURL);
TestEndpoint port = (TestEndpoint)service.getPort(TestEndpoint.class);
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefServletTestCase.java
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/serviceref/ServiceRefServletTestCase.java 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefServletTestCase.java 2007-10-30 20:24:48 UTC (rev 4941)
@@ -19,7 +19,7 @@
* 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.serviceref;
+package org.jboss.test.ws.jaxrpc.samples.serviceref;
import java.io.BufferedReader;
import java.io.File;
@@ -46,11 +46,11 @@
*/
public class ServiceRefServletTestCase extends JBossWSTest
{
- public final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxrpc-serviceref";
+ public final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxrpc-samples-serviceref";
public static Test suite()
{
- return new JBossWSTestSetup(ServiceRefServletTestCase.class, "jaxrpc-serviceref.war, jaxrpc-serviceref-servlet-client.war");
+ return new JBossWSTestSetup(ServiceRefServletTestCase.class, "jaxrpc-samples-serviceref.war, jaxrpc-samples-serviceref-servlet-client.war");
}
public void testWSDLAccess() throws MalformedURLException
@@ -63,8 +63,8 @@
public void testDynamicProxy() throws Exception
{
- URL wsdlURL = new File("resources/jaxrpc/serviceref/META-INF/wsdl/TestEndpoint.wsdl").toURL();
- URL mappingURL = new File("resources/jaxrpc/serviceref/META-INF/jaxrpc-mapping.xml").toURL();
+ URL wsdlURL = new File("resources/jaxrpc/samples/serviceref/META-INF/wsdl/TestEndpoint.wsdl").toURL();
+ URL mappingURL = new File("resources/jaxrpc/samples/serviceref/META-INF/jaxrpc-mapping.xml").toURL();
QName qname = new QName("http://org.jboss.ws/wsref", "TestEndpointService");
Service service = new ServiceFactoryImpl().createService(wsdlURL, qname, mappingURL);
TestEndpoint port = (TestEndpoint)service.getPort(TestEndpoint.class);
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServletClient.java
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/serviceref/ServletClient.java 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServletClient.java 2007-10-30 20:24:48 UTC (rev 4941)
@@ -19,7 +19,7 @@
* 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.serviceref;
+package org.jboss.test.ws.jaxrpc.samples.serviceref;
import java.io.IOException;
import java.util.ArrayList;
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpoint.java
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/serviceref/TestEndpoint.java 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpoint.java 2007-10-30 20:24:48 UTC (rev 4941)
@@ -19,7 +19,7 @@
* 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.serviceref;
+package org.jboss.test.ws.jaxrpc.samples.serviceref;
import java.rmi.Remote;
import java.rmi.RemoteException;
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointImpl.java
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/serviceref/TestEndpointImpl.java 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointImpl.java 2007-10-30 20:24:48 UTC (rev 4941)
@@ -19,7 +19,7 @@
* 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.serviceref;
+package org.jboss.test.ws.jaxrpc.samples.serviceref;
import org.jboss.logging.Logger;
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointService.java
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/serviceref/TestEndpointService.java 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointService.java 2007-10-30 20:24:48 UTC (rev 4941)
@@ -5,7 +5,7 @@
//Auto Generated by jbossws - Please do not edit!!!
-package org.jboss.test.ws.jaxrpc.serviceref;
+package org.jboss.test.ws.jaxrpc.samples.serviceref;
import javax.xml.rpc.ServiceException;
@@ -14,6 +14,6 @@
public interface TestEndpointService extends javax.xml.rpc.Service
{
- public org.jboss.test.ws.jaxrpc.serviceref.TestEndpoint getTestEndpointPort() throws ServiceException;
+ public org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint getTestEndpointPort() throws ServiceException;
}
Copied: stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref (from rev 4940, stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/serviceref)
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/META-INF/application-client.xml
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/serviceref/META-INF/application-client.xml 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/META-INF/application-client.xml 2007-10-30 20:24:48 UTC (rev 4941)
@@ -13,17 +13,17 @@
<wsdl-file>META-INF/wsdl/TestEndpoint.wsdl</wsdl-file>
<jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
<port-component-ref>
- <service-endpoint-interface>org.jboss.test.ws.jaxrpc.serviceref.TestEndpoint</service-endpoint-interface>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint</service-endpoint-interface>
</port-component-ref>
</service-ref>
<service-ref>
<service-ref-name>service2</service-ref-name>
- <service-interface>org.jboss.test.ws.jaxrpc.serviceref.TestEndpointService</service-interface>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpointService</service-interface>
<wsdl-file>META-INF/wsdl/TestEndpoint.wsdl</wsdl-file>
<jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
<port-component-ref>
- <service-endpoint-interface>org.jboss.test.ws.jaxrpc.serviceref.TestEndpoint</service-endpoint-interface>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint</service-endpoint-interface>
</port-component-ref>
</service-ref>
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/META-INF/ejb-jar.xml
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/serviceref/META-INF/ejb-jar.xml 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/META-INF/ejb-jar.xml 2007-10-30 20:24:48 UTC (rev 4941)
@@ -8,9 +8,9 @@
<enterprise-beans>
<session>
<ejb-name>EJBClient</ejb-name>
- <home>org.jboss.test.ws.jaxrpc.serviceref.EJBRemoteHome</home>
- <remote>org.jboss.test.ws.jaxrpc.serviceref.EJBRemote</remote>
- <ejb-class>org.jboss.test.ws.jaxrpc.serviceref.EJBClient</ejb-class>
+ <home>org.jboss.test.ws.jaxrpc.samples.serviceref.EJBRemoteHome</home>
+ <remote>org.jboss.test.ws.jaxrpc.samples.serviceref.EJBRemote</remote>
+ <ejb-class>org.jboss.test.ws.jaxrpc.samples.serviceref.EJBClient</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
@@ -20,17 +20,17 @@
<wsdl-file>META-INF/wsdl/TestEndpoint.wsdl</wsdl-file>
<jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
<port-component-ref>
- <service-endpoint-interface>org.jboss.test.ws.jaxrpc.serviceref.TestEndpoint</service-endpoint-interface>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint</service-endpoint-interface>
</port-component-ref>
</service-ref>
<service-ref>
<service-ref-name>service2</service-ref-name>
- <service-interface>org.jboss.test.ws.jaxrpc.serviceref.TestEndpointService</service-interface>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpointService</service-interface>
<wsdl-file>META-INF/wsdl/TestEndpoint.wsdl</wsdl-file>
<jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
<port-component-ref>
- <service-endpoint-interface>org.jboss.test.ws.jaxrpc.serviceref.TestEndpoint</service-endpoint-interface>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint</service-endpoint-interface>
</port-component-ref>
</service-ref>
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/META-INF/jaxrpc-mapping.xml
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/serviceref/META-INF/jaxrpc-mapping.xml 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/META-INF/jaxrpc-mapping.xml 2007-10-30 20:24:48 UTC (rev 4941)
@@ -1,10 +1,10 @@
<?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.serviceref</package-type>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.serviceref</package-type>
<namespaceURI>http://org.jboss.ws/wsref/types</namespaceURI>
</package-mapping>
<service-interface-mapping>
- <service-interface>org.jboss.test.ws.jaxrpc.serviceref.TestEndpointService</service-interface>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpointService</service-interface>
<wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/wsref'>serviceNS:TestEndpointService</wsdl-service-name>
<port-mapping>
<port-name>TestEndpointPort</port-name>
@@ -12,7 +12,7 @@
</port-mapping>
</service-interface-mapping>
<service-endpoint-interface-mapping>
- <service-endpoint-interface>org.jboss.test.ws.jaxrpc.serviceref.TestEndpoint</service-endpoint-interface>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint</service-endpoint-interface>
<wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/wsref'>portTypeNS:TestEndpoint</wsdl-port-type>
<wsdl-binding xmlns:bindingNS='http://org.jboss.ws/wsref'>bindingNS:TestEndpointBinding</wsdl-binding>
<service-endpoint-method-mapping>
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/META-INF/wsdl/TestEndpoint.wsdl
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/serviceref/META-INF/wsdl/TestEndpoint.wsdl 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/META-INF/wsdl/TestEndpoint.wsdl 2007-10-30 20:24:48 UTC (rev 4941)
@@ -27,7 +27,7 @@
</binding>
<service name='TestEndpointService'>
<port binding='tns:TestEndpointBinding' name='TestEndpointPort'>
- <soap:address location='http://@jboss.bind.address@:8080/jaxrpc-serviceref'/>
+ <soap:address location='http://@jboss.bind.address@:8080/jaxrpc-samples-serviceref'/>
</port>
</service>
</definitions>
\ No newline at end of file
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/WEB-INF/web.xml
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/serviceref/WEB-INF/web.xml 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/WEB-INF/web.xml 2007-10-30 20:24:48 UTC (rev 4941)
@@ -5,7 +5,7 @@
<servlet>
<servlet-name>TestEndpoint</servlet-name>
- <servlet-class>org.jboss.test.ws.jaxrpc.serviceref.TestEndpointImpl</servlet-class>
+ <servlet-class>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpointImpl</servlet-class>
</servlet>
<servlet-mapping>
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/WEB-INF/webservices.xml
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/serviceref/WEB-INF/webservices.xml 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/WEB-INF/webservices.xml 2007-10-30 20:24:48 UTC (rev 4941)
@@ -6,7 +6,7 @@
<port-component>
<port-component-name>TestEndpointPort</port-component-name>
<wsdl-port>impl:TestEndpointPort</wsdl-port>
- <service-endpoint-interface>org.jboss.test.ws.jaxrpc.serviceref.TestEndpoint</service-endpoint-interface>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint</service-endpoint-interface>
<service-impl-bean>
<servlet-link>TestEndpoint</servlet-link>
</service-impl-bean>
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/servlet-client/WEB-INF/web.xml
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/serviceref/servlet-client/WEB-INF/web.xml 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/servlet-client/WEB-INF/web.xml 2007-10-30 20:24:48 UTC (rev 4941)
@@ -5,7 +5,7 @@
<servlet>
<servlet-name>ServletClient</servlet-name>
- <servlet-class>org.jboss.test.ws.jaxrpc.serviceref.ServletClient</servlet-class>
+ <servlet-class>org.jboss.test.ws.jaxrpc.samples.serviceref.ServletClient</servlet-class>
</servlet>
<servlet-mapping>
@@ -19,11 +19,11 @@
<wsdl-file>WEB-INF/wsdl/TestEndpoint.wsdl</wsdl-file>
<jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
<port-component-ref>
- <service-endpoint-interface>org.jboss.test.ws.jaxrpc.serviceref.TestEndpoint</service-endpoint-interface>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint</service-endpoint-interface>
</port-component-ref>
<handler>
<handler-name>Handler</handler-name>
- <handler-class>org.jboss.test.ws.jaxrpc.serviceref.ExampleHandler</handler-class>
+ <handler-class>org.jboss.test.ws.jaxrpc.samples.serviceref.ExampleHandler</handler-class>
<!--soap-header xmlns:soap-header_ns__="http://extra-header.org">soap-header_ns__:extra-header</soap-header>
<soap-role>extra-header-actor</soap-role-->
</handler>
@@ -31,11 +31,11 @@
<service-ref>
<service-ref-name>service2</service-ref-name>
- <service-interface>org.jboss.test.ws.jaxrpc.serviceref.TestEndpointService</service-interface>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpointService</service-interface>
<wsdl-file>WEB-INF/wsdl/TestEndpoint.wsdl</wsdl-file>
<jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
<port-component-ref>
- <service-endpoint-interface>org.jboss.test.ws.jaxrpc.serviceref.TestEndpoint</service-endpoint-interface>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint</service-endpoint-interface>
</port-component-ref>
</service-ref>
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/wstools-java-wsdl.xml
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/serviceref/wstools-java-wsdl.xml 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/wstools-java-wsdl.xml 2007-10-30 20:24:48 UTC (rev 4941)
@@ -8,11 +8,11 @@
xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
<global>
- <package-namespace package="org.jboss.test.ws.jaxrpc.serviceref" namespace="http://org.jboss.ws/wsref"/>
+ <package-namespace package="org.jboss.test.ws.jaxrpc.samples.serviceref" namespace="http://org.jboss.ws/wsref"/>
</global>
<java-wsdl>
- <service name="TestEndpointService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.serviceref.TestEndpoint"/>
+ <service name="TestEndpointService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint"/>
<namespaces target-namespace="http://org.jboss.ws/wsref" type-namespace="http://org.jboss.ws/wsref/types"/>
<mapping file="jaxrpc-mapping.xml"/>
<webservices servlet-link="TestEndpoint"/>
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/wstools-wsdl-java.xml
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/serviceref/wstools-wsdl-java.xml 2007-10-30 18:25:04 UTC (rev 4940)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/resources/jaxrpc/samples/serviceref/wstools-wsdl-java.xml 2007-10-30 20:24:48 UTC (rev 4941)
@@ -8,7 +8,7 @@
xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
<global>
- <package-namespace package="org.jboss.test.ws.jaxrpc.serviceref" namespace="http://org.jboss.ws/wsref"/>
+ <package-namespace package="org.jboss.test.ws.jaxrpc.samples.serviceref" namespace="http://org.jboss.ws/wsref"/>
</global>
<wsdl-java location="META-INF/wsdl/TestEndpoint.wsdl">
17 years, 2 months
JBossWS SVN: r4940 - stack/native/branches/jbossws-native-2.0.2/ant-import-tests.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-10-30 14:25:04 -0400 (Tue, 30 Oct 2007)
New Revision: 4940
Modified:
stack/native/branches/jbossws-native-2.0.2/ant-import-tests/build-testsuite.xml
Log:
JBWS-1852 Failed to create a new SAX parser
Modified: stack/native/branches/jbossws-native-2.0.2/ant-import-tests/build-testsuite.xml
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/ant-import-tests/build-testsuite.xml 2007-10-30 15:39:45 UTC (rev 4939)
+++ stack/native/branches/jbossws-native-2.0.2/ant-import-tests/build-testsuite.xml 2007-10-30 18:25:04 UTC (rev 4940)
@@ -179,8 +179,10 @@
<classpath location="${tests.output.dir}/resources/jaxws/samples/wssecurityAnnotatedpolicy"/>
</taskdef>
+ <!-- JBWS-1852 Failed to create a new SAX parser
<wsprovide resourcedestdir="${tests.output.dir}/wsprovide/resources/jaxws/samples/wssecurity" genwsdl="true" sei="org.jboss.test.ws.jaxws.samples.wssecurity.HelloJavaBean" verbose="true"/>
<wsprovide resourcedestdir="${tests.output.dir}/wsprovide/resources/jaxws/samples/wssecurityAnnotatedpolicy" genwsdl="true" sei="org.jboss.test.ws.jaxws.samples.wssecurityAnnotatedpolicy.HelloJavaBean"/>
+ -->
</target>
<target name="tests-compile-generated-resources" depends="servicegen,wstools,wsprovide">
17 years, 2 months
JBossWS SVN: r4939 - stack/native/branches/jbossws-native-2.0.2.
by jbossws-commits@lists.jboss.org
Author: heiko.braun(a)jboss.com
Date: 2007-10-30 11:39:45 -0400 (Tue, 30 Oct 2007)
New Revision: 4939
Added:
stack/native/branches/jbossws-native-2.0.2/jbossws-native-2.0.2.iml
Log:
intellij files
Added: stack/native/branches/jbossws-native-2.0.2/jbossws-native-2.0.2.iml
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/jbossws-native-2.0.2.iml (rev 0)
+++ stack/native/branches/jbossws-native-2.0.2/jbossws-native-2.0.2.iml 2007-10-30 15:39:45 UTC (rev 4939)
@@ -0,0 +1,646 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module version="4" relativePaths="true" type="JAVA_MODULE">
+ <component name="ModuleRootManager" />
+ <component name="NewModuleRootManager" inherit-compiler-output="true">
+ <exclude-output />
+ <content url="file://$MODULE_DIR$">
+ <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/src/test-framework/java" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="false" />
+ </content>
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-jboss421-src.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/streambuffer.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/wstx.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-remoting.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jaxws-rt.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-j2ee.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/stax-api.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-jboss40.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-javaee.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-xml-binding.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jaxb-xjc.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/stax-ex.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-common-core-sources.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/serializer.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/xercesImpl.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/ant.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/mail.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-jboss42-resources.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-jaxb-intros.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-jboss40-src.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-spi.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-vfs.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/xmlsec.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-deployers-src.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-common.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/commons-logging.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/commons-collections.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jaxb-impl.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/concurrent.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbosssx-src.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-framework-src.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-framework-scripts.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-common-src.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/xmlunit.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-framework.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-logging-log4j.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-remoting-src.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/qdox.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-dependency.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-xml-binding-sources.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/resolver.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-jboss421.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/xml-apis.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-spi-src.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-microcontainer.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-vfs-sources.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/servlet-api.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/xalan.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-container.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/dom4j.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbossws-jboss40-resources.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-deployers.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/javassist.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-logging-spi.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-common-core.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbosssx.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/hibernate3.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jaxws-tools.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/junit.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/policy.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/activation.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/log4j.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-microcontainer-src.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/wsdl4j-src.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jaxb-api.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jboss-dependency-src.zip!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/wsdl4j.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/getopt.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jbosssx-client.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/thirdparty/jaxen.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntryProperties />
+ </component>
+</module>
+
17 years, 2 months