JBossWS SVN: r9730 - stack/cxf/trunk.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-04-03 16:01:00 -0400 (Fri, 03 Apr 2009)
New Revision: 9730
Modified:
stack/cxf/trunk/pom.xml
Log:
[JBWS-2074] use up2date AS 423 integration layer
Modified: stack/cxf/trunk/pom.xml
===================================================================
--- stack/cxf/trunk/pom.xml 2009-04-03 19:58:12 UTC (rev 9729)
+++ stack/cxf/trunk/pom.xml 2009-04-03 20:01:00 UTC (rev 9730)
@@ -47,7 +47,7 @@
<jbossws.common.version>1.0.10-SNAPSHOT</jbossws.common.version>
<jbossws.framework.version>3.1.1-SNAPSHOT</jbossws.framework.version>
<jbossws.spi.version>1.1.1-SNAPSHOT</jbossws.spi.version>
- <jbossws.jboss423.version>3.1.0.GA</jbossws.jboss423.version>
+ <jbossws.jboss423.version>3.1.1-SNAPSHOT</jbossws.jboss423.version>
<jbossws.jboss500.version>3.1.1-SNAPSHOT</jbossws.jboss500.version>
<jbossws.jboss501.version>3.1.1-SNAPSHOT</jbossws.jboss501.version>
<!-- JBWS-2505 -->
15 years, 5 months
JBossWS SVN: r9729 - in container/jboss42/branches/jboss423: src/main/java/org/jboss/wsf/container/jboss42 and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-04-03 15:58:12 -0400 (Fri, 03 Apr 2009)
New Revision: 9729
Modified:
container/jboss42/branches/jboss423/pom.xml
container/jboss42/branches/jboss423/src/main/java/org/jboss/wsf/container/jboss42/InvocationHandlerJSE.java
Log:
[JBWS-2074] fixing AS 423 integration layer
Modified: container/jboss42/branches/jboss423/pom.xml
===================================================================
--- container/jboss42/branches/jboss423/pom.xml 2009-04-03 19:56:50 UTC (rev 9728)
+++ container/jboss42/branches/jboss423/pom.xml 2009-04-03 19:58:12 UTC (rev 9729)
@@ -1,40 +1,38 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
-
+
<name>JBoss Web Services - Container JBoss-4.2.3</name>
<groupId>org.jboss.ws</groupId>
<artifactId>jbossws-jboss423</artifactId>
-
- <version>3.1.0.GA</version>
-
+
+ <version>3.1.1-SNAPSHOT</version>
+
<!-- Parent -->
<parent>
<groupId>org.jboss.ws</groupId>
<artifactId>jbossws-parent</artifactId>
<version>1.0.2.GA</version>
</parent>
-
+
<!-- Source Control Management -->
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossws/container/jboss42/tags/jbo...</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossws/container/jboss42/tags/jbossw...</developerConnection>
- <url>http://fisheye.jboss.com/viewrep/JBossWS/container/jboss42/tags/jbossws-j...</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossws/container/jboss42/branches...</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossws/container/jboss42/branches/jb...</developerConnection>
+ <url>http://fisheye.jboss.com/viewrep/JBossWS/container/jboss42/branches/jboss423</url>
</scm>
-
+
<!-- Properties -->
<properties>
- <jbossws.common.version>1.0.9.GA</jbossws.common.version>
- <jbossws.spi.version>1.1.0.GA</jbossws.spi.version>
-
+ <jbossws.common.version>1.0.10-SNAPSHOT</jbossws.common.version>
+ <jbossws.spi.version>1.1.1-SNAPSHOT</jbossws.spi.version>
<!--
To deploy-file to snapshot repo do:
http://wiki.jboss.org/auth/wiki/en/MavenSnapshotRepository
-
+
mvn deploy:deploy-file -DgroupId=jboss -DartifactId=jbosssx -Dversion=4.2.3.GA -Dpackaging=jar -Dfile=server/default/lib/jbosssx.jar -Durl=dav:https://snapshots.jboss.org/maven2 -DrepositoryId=snapshots.jboss.org
-->
<jboss.version>4.2.3.GA</jboss.version>
-
<!-- versions defined in build/build-thirdparty.xml -->
<dom4j.version>1.6.1</dom4j.version>
<jboss.aop.version>1.5.6.GA</jboss.aop.version>
@@ -42,10 +40,9 @@
<jboss.microcontainer.version>1.0.2</jboss.microcontainer.version>
<jbossxb.version>1.0.0.SP1</jbossxb.version>
</properties>
-
+
<!-- Dependencies -->
<dependencies>
-
<!-- jbossws dependencies -->
<dependency>
<groupId>org.jboss.ws</groupId>
@@ -57,7 +54,6 @@
<artifactId>jbossws-spi</artifactId>
<version>${jbossws.spi.version}</version>
</dependency>
-
<!-- provided apis -->
<dependency>
<groupId>javax.ejb</groupId>
@@ -101,7 +97,6 @@
<version>2.1</version>
<scope>provided</scope>
</dependency>
-
<!-- jboss thirdparty dependencies -->
<dependency>
<groupId>dom4j</groupId>
@@ -179,7 +174,7 @@
<version>${jboss.microcontainer.version}</version>
</dependency>
</dependencies>
-
+
<!-- Plugins -->
<build>
<resources>
@@ -230,5 +225,5 @@
</plugin>
</plugins>
</build>
-
+
</project>
Modified: container/jboss42/branches/jboss423/src/main/java/org/jboss/wsf/container/jboss42/InvocationHandlerJSE.java
===================================================================
--- container/jboss42/branches/jboss423/src/main/java/org/jboss/wsf/container/jboss42/InvocationHandlerJSE.java 2009-04-03 19:56:50 UTC (rev 9728)
+++ container/jboss42/branches/jboss423/src/main/java/org/jboss/wsf/container/jboss42/InvocationHandlerJSE.java 2009-04-03 19:58:12 UTC (rev 9729)
@@ -80,14 +80,14 @@
{
throw new IllegalStateException("Cannot get target bean instance", ex);
}
-
- JavaxAnnotationHelper.callPostConstructMethod(targetBean, targetBean.getClass().getClassLoader());
+
+ JavaxAnnotationHelper.callPostConstructMethod(targetBean);
ep.addAttachment(PreDestroyHolder.class, new PreDestroyHolder(targetBean));
}
-
+
return targetBean;
}
-
+
public void invoke(Endpoint ep, Invocation epInv) throws Exception
{
try
15 years, 5 months
JBossWS SVN: r9728 - in common/trunk/src/main/java/org/jboss/wsf/common/javax: finders and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-04-03 15:56:50 -0400 (Fri, 03 Apr 2009)
New Revision: 9728
Modified:
common/trunk/src/main/java/org/jboss/wsf/common/javax/JavaxAnnotationHelper.java
common/trunk/src/main/java/org/jboss/wsf/common/javax/PreDestroyHolder.java
common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/AbstractPostConstructPreDestroyAnnotatedMethodFinder.java
common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/InjectionFieldFinder.java
common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/InjectionMethodFinder.java
common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/PostConstructMethodFinder.java
common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/PreDestroyMethodFinder.java
common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/ReflectionUtils.java
common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/ResourceFieldFinder.java
common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/ResourceMethodFinder.java
Log:
fixing whitespaces and removing unused imports
Modified: common/trunk/src/main/java/org/jboss/wsf/common/javax/JavaxAnnotationHelper.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/common/javax/JavaxAnnotationHelper.java 2009-04-03 19:41:08 UTC (rev 9727)
+++ common/trunk/src/main/java/org/jboss/wsf/common/javax/JavaxAnnotationHelper.java 2009-04-03 19:56:50 UTC (rev 9728)
@@ -41,13 +41,13 @@
import org.jboss.wsf.spi.metadata.injection.InjectionsMetaData;
/**
- * A helper class for <b>javax.annotation</b> annotations.
- *
+ * A helper class for <b>javax.annotation</b> annotations.
+ *
* @author ropalka(a)redhat.com
*/
public final class JavaxAnnotationHelper
{
-
+
private static final Logger LOG = Logger.getLogger(JavaxAnnotationHelper.class);
private static final String JNDI_PREFIX = "java:comp/env/";
private static final ClassProcessor<Method> POST_CONSTRUCT_METHOD_FINDER = new PostConstructMethodFinder();
@@ -56,7 +56,7 @@
private static final ClassProcessor<Field> RESOURCE_FIELD_FINDER = new ResourceFieldFinder(WebServiceContext.class, false);
private static final ClassProcessor<Method> WEB_SERVICE_CONTEXT_METHOD_FINDER = new ResourceMethodFinder(WebServiceContext.class, true);
private static final ClassProcessor<Field> WEB_SERVICE_CONTEXT_FIELD_FINDER = new ResourceFieldFinder(WebServiceContext.class, true);
-
+
/**
* Forbidden constructor.
*/
@@ -64,14 +64,14 @@
{
super();
}
-
+
/**
* The Resource annotation marks a resource that is needed by the application. This annotation may be applied
* to an application component class, or to fields or methods of the component class. When the annotation is
* applied to a field or method, the container will inject an instance of the requested resource into the
* application component when the component is initialized. If the annotation is applied to the component class,
* the annotation declares a resource that the application will look up at runtime.
- *
+ *
* @param instance to inject resource on
* @param injections injections metadata
* @throws Exception if some error occurs
@@ -80,9 +80,9 @@
{
if (instance == null)
throw new IllegalArgumentException("Object instance cannot be null");
-
+
Class<?> instanceClass = instance.getClass();
-
+
InitialContext ctx = new InitialContext();
// inject descriptor driven annotations
@@ -138,7 +138,7 @@
LOG.warn("Cannot inject @Resource annotated method: " + method, e);
}
}
-
+
// inject @Resource annotated fields
Collection<Field> resourceAnnotatedFields = RESOURCE_FIELD_FINDER.process(instanceClass);
for (Field field : resourceAnnotatedFields)
@@ -153,11 +153,11 @@
}
}
}
-
+
public static void injectWebServiceContext(final Object instance, final WebServiceContext ctx)
{
final Class<?> instanceClass = instance.getClass();
-
+
// inject @Resource annotated methods accepting WebServiceContext parameter
Collection<Method> resourceAnnotatedMethods = WEB_SERVICE_CONTEXT_METHOD_FINDER.process(instanceClass);
for(Method method : resourceAnnotatedMethods)
@@ -171,7 +171,7 @@
LOG.warn("Cannot inject @Resource annotated method: " + method, e);
}
}
-
+
// inject @Resource annotated fields of WebServiceContext type
Collection<Field> resourceAnnotatedFields = WEB_SERVICE_CONTEXT_FIELD_FINDER.process(instanceClass);
for (Field field : resourceAnnotatedFields)
@@ -186,10 +186,10 @@
}
}
}
-
+
/**
* Calls @PostConstruct annotated method if exists.
- *
+ *
* @param instance to invoke @PostConstruct annotated method on
* @throws Exception if some error occurs
* @see org.jboss.wsf.common.javax.finders.PostConstructMethodFinder
@@ -201,7 +201,7 @@
throw new IllegalArgumentException("Object instance cannot be null");
Collection<Method> methods = POST_CONSTRUCT_METHOD_FINDER.process(instance.getClass());
-
+
if (methods.size() > 0)
{
Method method = methods.iterator().next();
@@ -216,10 +216,10 @@
}
}
}
-
+
/**
* Calls @PreDestroy annotated method if exists.
- *
+ *
* @param instance to invoke @PreDestroy annotated method on
* @throws Exception if some error occurs
* @see org.jboss.wsf.common.javax.finders.PreDestroyMethodFinder
@@ -231,7 +231,7 @@
throw new IllegalArgumentException("Object instance cannot be null");
Collection<Method> methods = PRE_DESTROY_METHOD_FINDER.process(instance.getClass());
-
+
if (methods.size() > 0)
{
Method method = methods.iterator().next();
@@ -246,10 +246,10 @@
}
}
}
-
+
/**
* Injects @Resource annotated method.
- *
+ *
* @param method to invoke
* @param instance to invoke method on
* @param resourceName resource name
@@ -266,10 +266,10 @@
LOG.debug("Injecting method: " + method);
invokeMethod(instance, method, new Object[] {value});
}
-
+
/**
* Injects @Resource annotated field.
- *
+ *
* @param field to set
* @param instance to modify field on
* @param resourceName resource name
@@ -282,14 +282,14 @@
{
final String beanName = field.getName();
final Object value = ctx.lookup(getName(resourceName, beanName));
-
+
LOG.debug("Injecting field: " + field);
setField(instance, field, value);
}
/**
* Translates "setBeanName" to "beanName" string.
- *
+ *
* @param methodName to translate
* @return bean name
*/
@@ -297,10 +297,10 @@
{
return Character.toLowerCase(methodName.charAt(3)) + methodName.substring(4);
}
-
+
/**
* Returns full JNDI name.
- *
+ *
* @param resourceName to be used if specified
* @param beanName fallback bean name to be used
* @return JNDI full name
@@ -309,10 +309,10 @@
{
return JNDI_PREFIX + (resourceName.length() > 0 ? resourceName : beanName);
}
-
+
/**
* Invokes method on object with specified arguments.
- *
+ *
* @param instance to invoke method on
* @param method method to invoke
* @param args arguments to pass
@@ -322,7 +322,7 @@
throws Exception
{
boolean accessability = method.isAccessible();
-
+
try
{
method.setAccessible(true);
@@ -333,7 +333,7 @@
method.setAccessible(accessability);
}
}
-
+
/**
* Sets field on object with specified value.
*
@@ -346,7 +346,7 @@
throws Exception
{
boolean accessability = field.isAccessible();
-
+
try
{
field.setAccessible(true);
@@ -357,10 +357,10 @@
field.setAccessible(accessability);
}
}
-
+
/**
* Returns method that matches the descriptor injection metadata or null if not found.
- *
+ *
* @param injectionMD descriptor injection metadata
* @param clazz to process
* @return method that matches the criteria or null if not found
@@ -369,13 +369,13 @@
private static Method getMethod(final InjectionMetaData injectionMD, final Class<?> clazz)
{
final Collection<Method> result = new InjectionMethodFinder(injectionMD).process(clazz);
-
+
return result.isEmpty() ? null : result.iterator().next();
}
-
+
/**
* Returns field that matches the descriptor injection metadata or null if not found.
- *
+ *
* @param injectionMD descriptor injection metadata
* @param clazz to process
* @return field that matches the criteria or null if not found
@@ -384,8 +384,8 @@
private static Field getField(final InjectionMetaData injectionMD, final Class<?> clazz)
{
final Collection<Field> result = new InjectionFieldFinder(injectionMD).process(clazz);
-
+
return result.isEmpty() ? null : result.iterator().next();
}
-
+
}
Modified: common/trunk/src/main/java/org/jboss/wsf/common/javax/PreDestroyHolder.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/common/javax/PreDestroyHolder.java 2009-04-03 19:41:08 UTC (rev 9727)
+++ common/trunk/src/main/java/org/jboss/wsf/common/javax/PreDestroyHolder.java 2009-04-03 19:56:50 UTC (rev 9728)
@@ -29,31 +29,32 @@
{
private final Object object;
private final int hashCode;
-
+
public PreDestroyHolder(Object object)
{
super();
this.hashCode = System.identityHashCode(object);
this.object = object;
}
-
+
public final Object getObject()
{
return this.object;
}
-
+
public final boolean equals(Object o)
{
if (o instanceof PreDestroyHolder)
{
return ((PreDestroyHolder)o).hashCode == this.hashCode;
}
-
+
return false;
}
-
+
public final int hashCode()
{
return this.hashCode;
}
+
}
\ No newline at end of file
Modified: common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/AbstractPostConstructPreDestroyAnnotatedMethodFinder.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/AbstractPostConstructPreDestroyAnnotatedMethodFinder.java 2009-04-03 19:41:08 UTC (rev 9727)
+++ common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/AbstractPostConstructPreDestroyAnnotatedMethodFinder.java 2009-04-03 19:56:50 UTC (rev 9728)
@@ -38,7 +38,7 @@
/**
* Constructor.
- *
+ *
* @param annotationClass annotation.
*/
AbstractPostConstructPreDestroyAnnotatedMethodFinder(final Class<A> annotationClass)
@@ -67,5 +67,5 @@
ReflectionUtils.assertNoCheckedExceptionsAreThrown(method, annotation);
ReflectionUtils.assertNotStatic(method, annotation);
}
-
+
}
Modified: common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/InjectionFieldFinder.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/InjectionFieldFinder.java 2009-04-03 19:41:08 UTC (rev 9727)
+++ common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/InjectionFieldFinder.java 2009-04-03 19:56:50 UTC (rev 9728)
@@ -22,7 +22,6 @@
package org.jboss.wsf.common.javax.finders;
import java.lang.reflect.Field;
-import java.lang.reflect.Method;
import java.util.Collection;
import org.jboss.wsf.common.reflection.FieldFinder;
@@ -36,22 +35,22 @@
public final class InjectionFieldFinder
extends FieldFinder
{
-
+
/**
* Descriptor injection metadata.
*/
private final InjectionMetaData injectionMD;
-
+
/**
* Constructor.
- *
+ *
* @param injectionMD descriptor injection metadata
*/
public InjectionFieldFinder(final InjectionMetaData injectionMD)
{
if (injectionMD == null)
throw new IllegalArgumentException("Injection metadata cannot be null");
-
+
this.injectionMD = injectionMD;
}
@@ -72,7 +71,7 @@
return true;
}
}
-
+
return false;
}
@@ -80,7 +79,7 @@
public void validate(final Collection<Field> fields)
{
super.validate(fields);
-
+
if (fields.size() > 2)
{
throw new RuntimeException("More than one field found matching the criteria: " + injectionMD);
@@ -91,10 +90,10 @@
public void validate(final Field field)
{
super.validate(field);
-
+
ReflectionUtils.assertNotVoidType(field);
ReflectionUtils.assertNotStatic(field);
ReflectionUtils.assertNotPrimitiveType(field);
}
-
+
}
Modified: common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/InjectionMethodFinder.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/InjectionMethodFinder.java 2009-04-03 19:41:08 UTC (rev 9727)
+++ common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/InjectionMethodFinder.java 2009-04-03 19:56:50 UTC (rev 9728)
@@ -35,22 +35,22 @@
public final class InjectionMethodFinder
extends MethodFinder
{
-
+
/**
* Descriptor injection metadata.
*/
private final InjectionMetaData injectionMD;
-
+
/**
* Constructor.
- *
+ *
* @param injectionMD descriptor injection metadata
*/
public InjectionMethodFinder(final InjectionMetaData injectionMD)
{
if (injectionMD == null)
throw new IllegalArgumentException("Injection metadata cannot be null");
-
+
this.injectionMD = injectionMD;
}
@@ -77,7 +77,7 @@
}
}
}
-
+
return false;
}
@@ -85,7 +85,7 @@
public void validate(final Collection<Method> methods)
{
super.validate(methods);
-
+
if (methods.size() > 2)
{
throw new RuntimeException("More than one method found matching the criteria: " + injectionMD);
@@ -96,7 +96,7 @@
public void validate(final Method method)
{
super.validate(method);
-
+
ReflectionUtils.assertVoidReturnType(method);
ReflectionUtils.assertOneParameter(method);
ReflectionUtils.assertNoPrimitiveParameters(method);
@@ -104,5 +104,5 @@
ReflectionUtils.assertNoCheckedExceptionsAreThrown(method);
ReflectionUtils.assertNotStatic(method);
}
-
+
}
Modified: common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/PostConstructMethodFinder.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/PostConstructMethodFinder.java 2009-04-03 19:41:08 UTC (rev 9727)
+++ common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/PostConstructMethodFinder.java 2009-04-03 19:56:50 UTC (rev 9728)
@@ -46,7 +46,7 @@
public final class PostConstructMethodFinder
extends AbstractPostConstructPreDestroyAnnotatedMethodFinder<PostConstruct>
{
-
+
/**
* Constructor.
*/
@@ -54,5 +54,5 @@
{
super(PostConstruct.class);
}
-
+
}
Modified: common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/PreDestroyMethodFinder.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/PreDestroyMethodFinder.java 2009-04-03 19:41:08 UTC (rev 9727)
+++ common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/PreDestroyMethodFinder.java 2009-04-03 19:56:50 UTC (rev 9728)
@@ -46,7 +46,7 @@
public final class PreDestroyMethodFinder
extends AbstractPostConstructPreDestroyAnnotatedMethodFinder<PreDestroy>
{
-
+
/**
* Constructor.
*/
@@ -54,5 +54,5 @@
{
super(PreDestroy.class);
}
-
+
}
Modified: common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/ReflectionUtils.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/ReflectionUtils.java 2009-04-03 19:41:08 UTC (rev 9727)
+++ common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/ReflectionUtils.java 2009-04-03 19:56:50 UTC (rev 9728)
@@ -34,7 +34,7 @@
*/
final class ReflectionUtils
{
-
+
/**
* Constructor.
*/
@@ -42,10 +42,10 @@
{
super();
}
-
+
/**
* Asserts method don't declare primitive parameters.
- *
+ *
* @param method to validate
* @param annotation annotation to propagate in exception message
*/
@@ -59,20 +59,20 @@
}
}
}
-
+
/**
* Asserts method don't declare primitive parameters.
- *
+ *
* @param method to validate
*/
public static void assertNoPrimitiveParameters(final Method method)
{
assertNoPrimitiveParameters(method, null);
}
-
+
/**
* Asserts field is not of primitive type.
- *
+ *
* @param method to validate
* @param annotation annotation to propagate in exception message
*/
@@ -83,20 +83,20 @@
throw new RuntimeException("Field " + getAnnotationMessage(annotation) + "can't be of primitive type: " + field);
}
}
-
+
/**
* Asserts field is not of primitive type.
- *
+ *
* @param method to validate
*/
public static void assertNotPrimitiveType(final Field field)
{
assertNotPrimitiveType(field, null);
}
-
+
/**
* Asserts method have no parameters.
- *
+ *
* @param method to validate
* @param annotation annotation to propagate in exception message
*/
@@ -107,10 +107,10 @@
throw new RuntimeException("Method " + getAnnotationMessage(annotation) + "have to have no parameters: " + method);
}
}
-
+
/**
* Asserts method have no parameters.
- *
+ *
* @param method to validate
*/
public static void assertNoParameters(final Method method)
@@ -120,7 +120,7 @@
/**
* Asserts method return void.
- *
+ *
* @param method to validate
* @param annotation annotation to propagate in exception message
*/
@@ -131,20 +131,20 @@
throw new RuntimeException("Method " + getAnnotationMessage(annotation) + "have to return void: " + method);
}
}
-
+
/**
* Asserts method return void.
- *
+ *
* @param method to validate
*/
public static void assertVoidReturnType(final Method method)
{
assertVoidReturnType(method, null);
}
-
+
/**
* Asserts field isn't of void type.
- *
+ *
* @param field to validate
* @param annotation annotation to propagate in exception message
*/
@@ -158,7 +158,7 @@
/**
* Asserts field isn't of void type.
- *
+ *
* @param field to validate
*/
public static void assertNotVoidType(final Field field)
@@ -168,7 +168,7 @@
/**
* Asserts method don't throw checked exceptions.
- *
+ *
* @param method to validate
* @param annotation annotation to propagate in exception message
*/
@@ -187,7 +187,7 @@
/**
* Asserts method don't throw checked exceptions.
- *
+ *
* @param method to validate
*/
public static void assertNoCheckedExceptionsAreThrown(final Method method)
@@ -197,7 +197,7 @@
/**
* Asserts method is not static.
- *
+ *
* @param method to validate
* @param annotation annotation to propagate in exception message
*/
@@ -211,7 +211,7 @@
/**
* Asserts method is not static.
- *
+ *
* @param method to validate
*/
public static void assertNotStatic(final Method method)
@@ -221,7 +221,7 @@
/**
* Asserts field is not static.
- *
+ *
* @param field to validate
* @param annotation annotation to propagate in exception message
*/
@@ -235,7 +235,7 @@
/**
* Asserts field is not static.
- *
+ *
* @param field to validate
*/
public static void assertNotStatic(final Field field)
@@ -245,7 +245,7 @@
/**
* Asserts method have exactly one parameter.
- *
+ *
* @param method to validate
* @param annotation annotation to propagate in exception message
*/
@@ -256,20 +256,20 @@
throw new RuntimeException("Method " + getAnnotationMessage(annotation) + "have to declare exactly one parameter: " + method);
}
}
-
+
/**
* Asserts method have exactly one parameter.
- *
+ *
* @param method to validate
*/
public static void assertOneParameter(final Method method)
{
assertOneParameter(method, null);
}
-
+
/**
* Asserts valid Java Beans setter method name.
- *
+ *
* @param method to validate
* @param annotation annotation to propagate in exception message
*/
@@ -279,26 +279,26 @@
final boolean correctMethodNameLength = methodName.length() > 3;
final boolean isSetterMethodName = methodName.startsWith("set");
final boolean isUpperCasedPropertyName = correctMethodNameLength ? Character.isUpperCase(methodName.charAt(3)) : false;
-
+
if (!correctMethodNameLength || !isSetterMethodName || !isUpperCasedPropertyName)
{
throw new RuntimeException("Method " + getAnnotationMessage(annotation) + "doesn't follow Java Beans setter method name: " + method);
}
}
-
+
/**
* Asserts valid Java Beans setter method name.
- *
+ *
* @param method to validate
*/
public static void assertValidSetterName(final Method method)
{
assertValidSetterName(method, null);
}
-
+
/**
* Asserts only one method is annotated with annotation.
- *
+ *
* @param method collection of methods to validate
* @param annotation annotation to propagate in exception message
*/
@@ -309,20 +309,20 @@
throw new RuntimeException("Only one method " + getAnnotationMessage(annotation) + "can exist");
}
}
-
+
/**
* Asserts only one method is annotated with annotation.
- *
+ *
* @param method collection of methods to validate
*/
public static void assertOnlyOneMethod(final Collection<Method> methods)
{
assertOnlyOneMethod(methods, null);
}
-
+
/**
* Constructs annotation message. If annotation class is null it returns empty string.
- *
+ *
* @param annotation to construct message for
* @return annotation message or empty string
*/
@@ -330,5 +330,5 @@
{
return annotation == null ? "" : "annotated with @" + annotation + " annotation ";
}
-
+
}
Modified: common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/ResourceFieldFinder.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/ResourceFieldFinder.java 2009-04-03 19:41:08 UTC (rev 9727)
+++ common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/ResourceFieldFinder.java 2009-04-03 19:56:50 UTC (rev 9728)
@@ -46,7 +46,7 @@
public final class ResourceFieldFinder
extends AnnotatedFieldFinder<Resource>
{
-
+
/**
* Parameter type to accept/ignore.
*/
@@ -56,20 +56,20 @@
* <ul>
* <li><b>true</b> means include only methods with <b>accept</b> parameter,
* <li><b>false</b> means exclude all methods with <b>accept</b> parameter
- * </ul>
+ * </ul>
*/
private final boolean include;
-
+
/**
* Constructor.
- *
+ *
* @param accept filtering class
* @param include whether include/exclude filtering class
*/
public ResourceFieldFinder(final Class<?> accept, boolean include)
{
super(Resource.class);
-
+
this.accept = accept;
this.include = include;
}
@@ -90,7 +90,7 @@
public boolean matches(Field field)
{
final boolean matches = super.matches(field);
-
+
if (matches)
{
// processing @Resource annotated method
Modified: common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/ResourceMethodFinder.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/ResourceMethodFinder.java 2009-04-03 19:41:08 UTC (rev 9727)
+++ common/trunk/src/main/java/org/jboss/wsf/common/javax/finders/ResourceMethodFinder.java 2009-04-03 19:56:50 UTC (rev 9728)
@@ -45,7 +45,7 @@
public final class ResourceMethodFinder
extends AnnotatedMethodFinder<Resource>
{
-
+
/**
* Parameter type to accept/ignore.
*/
@@ -55,20 +55,20 @@
* <ul>
* <li><b>true</b> means include only methods with <b>accept</b> parameter,
* <li><b>false</b> means exclude all methods with <b>accept</b> parameter
- * </ul>
+ * </ul>
*/
private final boolean include;
-
+
/**
* Constructor.
- *
+ *
* @param accept filtering class
* @param include whether include/exclude filtering class
*/
public ResourceMethodFinder(final Class<?> accept, boolean include)
{
super(Resource.class);
-
+
this.accept = accept;
this.include = include;
}
@@ -92,7 +92,7 @@
public boolean matches(Method method)
{
final boolean matches = super.matches(method);
-
+
if (matches)
{
// processing @Resource annotated method
15 years, 5 months
JBossWS SVN: r9727 - container/jboss42/branches.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-04-03 15:41:08 -0400 (Fri, 03 Apr 2009)
New Revision: 9727
Added:
container/jboss42/branches/jboss423/
Log:
creating user branch
Copied: container/jboss42/branches/jboss423 (from rev 9726, container/jboss42/tags/jbossws-jboss423-3.1.0.GA)
15 years, 5 months
JBossWS SVN: r9726 - stack/cxf/trunk/src/main/distro.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2009-04-03 11:10:18 -0400 (Fri, 03 Apr 2009)
New Revision: 9726
Modified:
stack/cxf/trunk/src/main/distro/build-project-gen.xml
Log:
Fixing classpath of generated user project
Modified: stack/cxf/trunk/src/main/distro/build-project-gen.xml
===================================================================
--- stack/cxf/trunk/src/main/distro/build-project-gen.xml 2009-04-03 15:09:06 UTC (rev 9725)
+++ stack/cxf/trunk/src/main/distro/build-project-gen.xml 2009-04-03 15:10:18 UTC (rev 9726)
@@ -106,12 +106,19 @@
</copy>
<copy tofile="${project.home}/build.properties" file="${basedir}/user-project.properties"/>
<path id="project.classpath">
- <pathelement location="${jboss.client}/jaxb-api.jar"/>
- <pathelement location="${jboss.client}/jbossws-common.jar"/>
- <pathelement location="${jboss.client}/jbossws-spi.jar"/>
- <pathelement location="${jboss.client}/jbossws-cxf-client.jar"/>
- <pathelement location="${jboss.client}/geronimo-ws-metadata_2.0_spec.jar"/>
- <path refid="integration.target.javac.classpath" />
+ <pathelement location="${jboss.client}/cxf-api.jar"/>
+ <pathelement location="${jboss.client}/cxf-rt-core.jar"/>
+ <pathelement location="${jboss.client}/cxf-rt-ws-addr.jar"/>
+ <pathelement location="${jboss.client}/cxf-rt-ws-policy.jar"/>
+ <pathelement location="${jboss.client}/cxf-rt-ws-rm.jar"/>
+ <pathelement location="${jboss.client}/cxf-rt-ws-security.jar"/>
+ <pathelement location="${jboss.client}/jaxb-api.jar"/>
+ <pathelement location="${jboss.client}/jaxws-api.jar"/>
+ <pathelement location="${jboss.client}/jbossws-common.jar"/>
+ <pathelement location="${jboss.client}/jbossws-spi.jar"/>
+ <pathelement location="${jboss.client}/jbossws-cxf-client.jar"/>
+ <pathelement location="${jboss.client}/geronimo-ws-metadata_2.0_spec.jar"/>
+ <path refid="integration.target.javac.classpath" />
</path>
<eclipseClasspathGenerator pathId="project.classpath" outputFile="${project.home}/.classpath" srcPath="src/main/java" srcOutput="bin/main" />
<eclipseProjectGenerator projectName="${project.name}" outputFile="${project.home}/.project" />
15 years, 5 months
JBossWS SVN: r9725 - in projects/interop/cxf/noemax/FastInfosetTest: src and 24 other directories.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2009-04-03 11:09:06 -0400 (Fri, 03 Apr 2009)
New Revision: 9725
Added:
projects/interop/cxf/noemax/FastInfosetTest/.classpath
projects/interop/cxf/noemax/FastInfosetTest/.project
projects/interop/cxf/noemax/FastInfosetTest/build.properties
projects/interop/cxf/noemax/FastInfosetTest/build.xml
projects/interop/cxf/noemax/FastInfosetTest/libraries.xml
projects/interop/cxf/noemax/FastInfosetTest/src/
projects/interop/cxf/noemax/FastInfosetTest/src/main/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/microsoft/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/microsoft/schemas/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/microsoft/schemas/_2003/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/microsoft/schemas/_2003/_10/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/microsoft/schemas/_2003/_10/serialization/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/microsoft/schemas/_2003/_10/serialization/ObjectFactory.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/Echo.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/EchoResponse.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/EchoStruct.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/EchoStructResponse.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/GetOrder.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/GetOrderResponse.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/GetStruct.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/GetStructResponse.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/IBenchmarkService.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/ObjectFactory.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/SendOrder.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/SendOrderResponse.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/SendStruct.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/SendStructResponse.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/package-info.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/Address.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/ArrayOfDataStruct.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/ArrayOfLineItem.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/CustomerRef.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/DataStruct.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/LineItem.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/ObjectFactory.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/Order.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/package-info.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/jboss/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/jboss/test/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/jboss/test/ws/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/jboss/test/ws/fastinfoset/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/jboss/test/ws/fastinfoset/NoemaxClient.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/tempuri/
projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/tempuri/BenchmarkServiceImpl.java
projects/interop/cxf/noemax/FastInfosetTest/src/main/resources/
projects/interop/cxf/noemax/FastInfosetTest/src/main/resources/META-INF/
projects/interop/cxf/noemax/FastInfosetTest/src/main/resources/META-INF/client-config.xml
Log:
[JBWS-2538] Importing test client
Added: projects/interop/cxf/noemax/FastInfosetTest/.classpath
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/.classpath (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/.classpath 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" output="bin/main" path="src/main/java"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/jaxb-api.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/jbossws-common.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/jbossws-spi.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/jbossws-cxf-client.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/geronimo-ws-metadata_2.0_spec.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/activation.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/jboss-appclient.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/jboss-common-core.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/jboss-ejb3-ext-api.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/jboss-logging-spi.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/jboss-metadata.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/jboss-remoting.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/jboss-xml-binding.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/mail.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/stax-api.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/wsdl4j.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/common/lib/jboss-javaee.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/common/lib/jbosssx.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/common/lib/servlet-api.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/jaxws-api.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/cxf-rt-core.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/cxf-rt-ws-addr.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/cxf-rt-ws-policy.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/cxf-rt-ws-rm.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/cxf-rt-ws-security.jar"/>
+ <classpathentry kind="lib" path="/dati/jboss-5.0.1.GA/client/cxf-api.jar"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: projects/interop/cxf/noemax/FastInfosetTest/.project
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/.project (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/.project 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>FastInfosetTest</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
\ No newline at end of file
Added: projects/interop/cxf/noemax/FastInfosetTest/build.properties
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/build.properties (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/build.properties 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,7 @@
+#Generated by JBossWS user project setup
+#Fri Apr 03 14:20:30 CEST 2009
+project.name=FastInfosetTest
+project.jboss.home=/dati/jboss-5.0.1.GA
+project.type=jar
+workspace.home=/dati/jbossws/projects/interop/cxf/noemax
+project.jboss.conf=default
Added: projects/interop/cxf/noemax/FastInfosetTest/build.xml
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/build.xml (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/build.xml 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<project name="FastInfosetTest" default="deploy" basedir="." >
+
+ <property file="${basedir}/build.properties" />
+ <import file="libraries.xml" />
+
+ <!-- set global properties for this build -->
+ <property name="project.name" value="FastInfosetTest" />
+ <property name="dist.dir" value="dist" />
+ <property name="deploy.dir" value="${project.jboss.home}/server/${project.jboss.conf}/deploy" />
+ <property name="output.dir" value="output" />
+ <property name="src.main.dir" value="src/main/java" />
+ <property name="resources.main.dir" value="src/main/resources" />
+ <property name="classes.main.dir" value="classes/main/java" />
+ <property name="javac.debug" value="true" />
+ <property name="javac.deprecation" value="false" />
+
+ <condition property="project.war" value="true">
+ <equals arg1="${project.type}" arg2="war"/>
+ </condition>
+
+ <target name="clean">
+ <delete dir="${output.dir}" />
+ <delete dir="${dist.dir}" />
+ </target>
+
+ <target name="init">
+ <mkdir dir="${output.dir}" />
+ <mkdir dir="${dist.dir}" />
+ </target>
+
+ <target name="compile" depends="init" description="Compile the Java source code" unless="eclipse.running">
+ <tstamp/>
+ <javac destdir="${output.dir}" classpathref="project.classpath" debug="${javac.debug}" deprecation="${javac.deprecation}" nowarn="on">
+ <src path="${src.main.dir}" />
+ </javac>
+ </target>
+
+ <target name="copyclasses" depends="init" description="Copy the classes that were compiled by Eclipse" if="eclipse.running">
+ <copy todir="${output.dir}">
+ <fileset dir="${classes/main}">
+ <include name="**/*.class"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="dist" depends="clean,compile,copyclasses" description="Create the application distribution archive">
+ <fail unless="project.type">project.type not set</fail>
+ <jar jarfile="${dist.dir}/${project.name}.${project.type}">
+ <fileset dir="${output.dir}" />
+ <fileset dir="${resources.main.dir}">
+ <include name="META-INF/**"/>
+ <include name="WEB-INF/**" if="project.war" />
+ </fileset>
+ </jar>
+ </target>
+
+ <target name="deploy" depends="dist" description="Deploy to JBoss AS">
+ <fail unless="project.jboss.home">project.jboss.home not set</fail>
+ <copy todir="${deploy.dir}" file="${dist.dir}/${project.name}.${project.type}" />
+ </target>
+
+ <target name="undeploy" description="Undeploy from JBoss AS">
+ <fail unless="project.jboss.home">project.jboss.home not set</fail>
+ <fail unless="project.jboss.conf">project.jboss.conf not set</fail>
+ <delete file="${deploy.dir}/${project.name}.${project.type}" />
+ </target>
+
+</project>
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/build.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/libraries.xml
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/libraries.xml (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/libraries.xml 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+<path id="project.classpath">
+<pathelement location="${project.jboss.home}/client/cxf-api.jar"/>
+<pathelement location="${project.jboss.home}/client/cxf-rt-core.jar"/>
+<pathelement location="${project.jboss.home}/client/cxf-rt-ws-addr.jar"/>
+<pathelement location="${project.jboss.home}/client/cxf-rt-ws-policy.jar"/>
+<pathelement location="${project.jboss.home}/client/cxf-rt-ws-rm.jar"/>
+<pathelement location="${project.jboss.home}/client/cxf-rt-ws-security.jar"/>
+<pathelement location="${project.jboss.home}/client/jaxb-api.jar"/>
+<pathelement location="${project.jboss.home}/client/jaxws-api.jar"/>
+<pathelement location="${project.jboss.home}/client/jbossws-common.jar"/>
+<pathelement location="${project.jboss.home}/client/jbossws-spi.jar"/>
+<pathelement location="${project.jboss.home}/client/jbossws-cxf-client.jar"/>
+<pathelement location="${project.jboss.home}/client/geronimo-ws-metadata_2.0_spec.jar"/>
+<pathelement location="${project.jboss.home}/client/activation.jar"/>
+<pathelement location="${project.jboss.home}/client/jaxws-tools.jar"/>
+<pathelement location="${project.jboss.home}/client/jboss-annotations-ejb3.jar"/>
+<pathelement location="${project.jboss.home}/client/jboss-appclient.jar"/>
+<pathelement location="${project.jboss.home}/client/jboss-common-core.jar"/>
+<pathelement location="${project.jboss.home}/client/jboss-ejb3-client.jar"/>
+<pathelement location="${project.jboss.home}/client/jboss-ejb3-ext-api.jar"/>
+<pathelement location="${project.jboss.home}/client/jboss-logging-spi.jar"/>
+<pathelement location="${project.jboss.home}/client/jboss-metadata.jar"/>
+<pathelement location="${project.jboss.home}/client/jboss-remoting.jar"/>
+<pathelement location="${project.jboss.home}/client/jboss-wsit-tools.jar"/>
+<pathelement location="${project.jboss.home}/client/jboss-xml-binding.jar"/>
+<pathelement location="${project.jboss.home}/client/mail.jar"/>
+<pathelement location="${project.jboss.home}/client/stax-api.jar"/>
+<pathelement location="${project.jboss.home}/client/wsdl4j.jar"/>
+<pathelement location="${project.jboss.home}/common/lib/jboss-javaee.jar"/>
+<pathelement location="${project.jboss.home}/common/lib/jbosssx.jar"/>
+<pathelement location="${project.jboss.home}/common/lib/servlet-api.jar"/>
+</path></project>
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/libraries.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/microsoft/schemas/_2003/_10/serialization/ObjectFactory.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/microsoft/schemas/_2003/_10/serialization/ObjectFactory.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/microsoft/schemas/_2003/_10/serialization/ObjectFactory.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,249 @@
+
+package com.microsoft.schemas._2003._10.serialization;
+
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.datatype.Duration;
+import javax.xml.datatype.XMLGregorianCalendar;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the com.microsoft.schemas._2003._10.serialization package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _UnsignedInt_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "unsignedInt");
+ private final static QName _Double_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "double");
+ private final static QName _Decimal_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "decimal");
+ private final static QName _Boolean_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "boolean");
+ private final static QName _String_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "string");
+ private final static QName _AnyType_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "anyType");
+ private final static QName _Byte_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "byte");
+ private final static QName _DateTime_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "dateTime");
+ private final static QName _Int_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "int");
+ private final static QName _QName_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "QName");
+ private final static QName _Long_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "long");
+ private final static QName _Float_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "float");
+ private final static QName _UnsignedByte_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "unsignedByte");
+ private final static QName _UnsignedShort_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "unsignedShort");
+ private final static QName _Short_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "short");
+ private final static QName _Char_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "char");
+ private final static QName _Guid_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "guid");
+ private final static QName _AnyURI_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "anyURI");
+ private final static QName _Duration_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "duration");
+ private final static QName _UnsignedLong_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "unsignedLong");
+ private final static QName _Base64Binary_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "base64Binary");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.microsoft.schemas._2003._10.serialization
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "unsignedInt")
+ public JAXBElement<Long> createUnsignedInt(Long value) {
+ return new JAXBElement<Long>(_UnsignedInt_QNAME, Long.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Double }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "double")
+ public JAXBElement<Double> createDouble(Double value) {
+ return new JAXBElement<Double>(_Double_QNAME, Double.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link BigDecimal }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "decimal")
+ public JAXBElement<BigDecimal> createDecimal(BigDecimal value) {
+ return new JAXBElement<BigDecimal>(_Decimal_QNAME, BigDecimal.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "boolean")
+ public JAXBElement<Boolean> createBoolean(Boolean value) {
+ return new JAXBElement<Boolean>(_Boolean_QNAME, Boolean.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "string")
+ public JAXBElement<String> createString(String value) {
+ return new JAXBElement<String>(_String_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "anyType")
+ public JAXBElement<Object> createAnyType(Object value) {
+ return new JAXBElement<Object>(_AnyType_QNAME, Object.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Byte }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "byte")
+ public JAXBElement<Byte> createByte(Byte value) {
+ return new JAXBElement<Byte>(_Byte_QNAME, Byte.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "dateTime")
+ public JAXBElement<XMLGregorianCalendar> createDateTime(XMLGregorianCalendar value) {
+ return new JAXBElement<XMLGregorianCalendar>(_DateTime_QNAME, XMLGregorianCalendar.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "int")
+ public JAXBElement<Integer> createInt(Integer value) {
+ return new JAXBElement<Integer>(_Int_QNAME, Integer.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link QName }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "QName")
+ public JAXBElement<QName> createQName(QName value) {
+ return new JAXBElement<QName>(_QName_QNAME, QName.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "long")
+ public JAXBElement<Long> createLong(Long value) {
+ return new JAXBElement<Long>(_Long_QNAME, Long.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Float }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "float")
+ public JAXBElement<Float> createFloat(Float value) {
+ return new JAXBElement<Float>(_Float_QNAME, Float.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Short }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "unsignedByte")
+ public JAXBElement<Short> createUnsignedByte(Short value) {
+ return new JAXBElement<Short>(_UnsignedByte_QNAME, Short.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "unsignedShort")
+ public JAXBElement<Integer> createUnsignedShort(Integer value) {
+ return new JAXBElement<Integer>(_UnsignedShort_QNAME, Integer.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Short }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "short")
+ public JAXBElement<Short> createShort(Short value) {
+ return new JAXBElement<Short>(_Short_QNAME, Short.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "char")
+ public JAXBElement<Integer> createChar(Integer value) {
+ return new JAXBElement<Integer>(_Char_QNAME, Integer.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "guid")
+ public JAXBElement<String> createGuid(String value) {
+ return new JAXBElement<String>(_Guid_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "anyURI")
+ public JAXBElement<String> createAnyURI(String value) {
+ return new JAXBElement<String>(_AnyURI_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Duration }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "duration")
+ public JAXBElement<Duration> createDuration(Duration value) {
+ return new JAXBElement<Duration>(_Duration_QNAME, Duration.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "unsignedLong")
+ public JAXBElement<BigInteger> createUnsignedLong(BigInteger value) {
+ return new JAXBElement<BigInteger>(_UnsignedLong_QNAME, BigInteger.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "base64Binary")
+ public JAXBElement<byte[]> createBase64Binary(byte[] value) {
+ return new JAXBElement<byte[]>(_Base64Binary_QNAME, byte[].class, null, ((byte[]) value));
+ }
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/microsoft/schemas/_2003/_10/serialization/ObjectFactory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/Echo.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/Echo.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/Echo.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,34 @@
+
+package com.noemax.wcf.benchmark;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "Echo")
+public class Echo {
+
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/Echo.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/EchoResponse.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/EchoResponse.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/EchoResponse.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,34 @@
+
+package com.noemax.wcf.benchmark;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "EchoResponse")
+public class EchoResponse {
+
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/EchoResponse.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/EchoStruct.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/EchoStruct.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/EchoStruct.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,66 @@
+
+package com.noemax.wcf.benchmark;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.datacontract.schemas._2004._07.noemax.ArrayOfDataStruct;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="list" type="{http://schemas.datacontract.org/2004/07/Noemax.Benchmarking}ArrayOfDataStruct" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "list"
+})
+@XmlRootElement(name = "EchoStruct")
+public class EchoStruct {
+
+ @XmlElementRef(name = "list", namespace = "http://www.noemax.com/wcf/benchmark", type = JAXBElement.class)
+ protected JAXBElement<ArrayOfDataStruct> list;
+
+ /**
+ * Gets the value of the list property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link ArrayOfDataStruct }{@code >}
+ *
+ */
+ public JAXBElement<ArrayOfDataStruct> getList() {
+ return list;
+ }
+
+ /**
+ * Sets the value of the list property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link ArrayOfDataStruct }{@code >}
+ *
+ */
+ public void setList(JAXBElement<ArrayOfDataStruct> value) {
+ this.list = ((JAXBElement<ArrayOfDataStruct> ) value);
+ }
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/EchoStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/EchoStructResponse.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/EchoStructResponse.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/EchoStructResponse.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,66 @@
+
+package com.noemax.wcf.benchmark;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.datacontract.schemas._2004._07.noemax.ArrayOfDataStruct;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="EchoStructResult" type="{http://schemas.datacontract.org/2004/07/Noemax.Benchmarking}ArrayOfDataStruct" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "echoStructResult"
+})
+@XmlRootElement(name = "EchoStructResponse")
+public class EchoStructResponse {
+
+ @XmlElementRef(name = "EchoStructResult", namespace = "http://www.noemax.com/wcf/benchmark", type = JAXBElement.class)
+ protected JAXBElement<ArrayOfDataStruct> echoStructResult;
+
+ /**
+ * Gets the value of the echoStructResult property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link ArrayOfDataStruct }{@code >}
+ *
+ */
+ public JAXBElement<ArrayOfDataStruct> getEchoStructResult() {
+ return echoStructResult;
+ }
+
+ /**
+ * Sets the value of the echoStructResult property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link ArrayOfDataStruct }{@code >}
+ *
+ */
+ public void setEchoStructResult(JAXBElement<ArrayOfDataStruct> value) {
+ this.echoStructResult = ((JAXBElement<ArrayOfDataStruct> ) value);
+ }
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/EchoStructResponse.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/GetOrder.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/GetOrder.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/GetOrder.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,62 @@
+
+package com.noemax.wcf.benchmark;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="numberOfItems" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "numberOfItems"
+})
+@XmlRootElement(name = "GetOrder")
+public class GetOrder {
+
+ protected Integer numberOfItems;
+
+ /**
+ * Gets the value of the numberOfItems property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getNumberOfItems() {
+ return numberOfItems;
+ }
+
+ /**
+ * Sets the value of the numberOfItems property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setNumberOfItems(Integer value) {
+ this.numberOfItems = value;
+ }
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/GetOrder.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/GetOrderResponse.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/GetOrderResponse.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/GetOrderResponse.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,65 @@
+
+package com.noemax.wcf.benchmark;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.datacontract.schemas._2004._07.noemax.Order;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="GetOrderResult" type="{http://schemas.datacontract.org/2004/07/Noemax.Benchmarking}Order" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "getOrderResult"
+})
+@XmlRootElement(name = "GetOrderResponse")
+public class GetOrderResponse {
+
+ @XmlElement(name = "GetOrderResult")
+ protected Order getOrderResult;
+
+ /**
+ * Gets the value of the getOrderResult property.
+ *
+ * @return
+ * possible object is
+ * {@link Order }
+ *
+ */
+ public Order getGetOrderResult() {
+ return getOrderResult;
+ }
+
+ /**
+ * Sets the value of the getOrderResult property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Order }
+ *
+ */
+ public void setGetOrderResult(Order value) {
+ this.getOrderResult = value;
+ }
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/GetOrderResponse.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/GetStruct.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/GetStruct.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/GetStruct.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,62 @@
+
+package com.noemax.wcf.benchmark;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="number" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "number"
+})
+@XmlRootElement(name = "GetStruct")
+public class GetStruct {
+
+ protected Integer number;
+
+ /**
+ * Gets the value of the number property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getNumber() {
+ return number;
+ }
+
+ /**
+ * Sets the value of the number property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setNumber(Integer value) {
+ this.number = value;
+ }
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/GetStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/GetStructResponse.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/GetStructResponse.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/GetStructResponse.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,66 @@
+
+package com.noemax.wcf.benchmark;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.datacontract.schemas._2004._07.noemax.ArrayOfDataStruct;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="GetStructResult" type="{http://schemas.datacontract.org/2004/07/Noemax.Benchmarking}ArrayOfDataStruct" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "getStructResult"
+})
+@XmlRootElement(name = "GetStructResponse")
+public class GetStructResponse {
+
+ @XmlElementRef(name = "GetStructResult", namespace = "http://www.noemax.com/wcf/benchmark", type = JAXBElement.class)
+ protected JAXBElement<ArrayOfDataStruct> getStructResult;
+
+ /**
+ * Gets the value of the getStructResult property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link ArrayOfDataStruct }{@code >}
+ *
+ */
+ public JAXBElement<ArrayOfDataStruct> getGetStructResult() {
+ return getStructResult;
+ }
+
+ /**
+ * Sets the value of the getStructResult property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link ArrayOfDataStruct }{@code >}
+ *
+ */
+ public void setGetStructResult(JAXBElement<ArrayOfDataStruct> value) {
+ this.getStructResult = ((JAXBElement<ArrayOfDataStruct> ) value);
+ }
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/GetStructResponse.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/IBenchmarkService.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/IBenchmarkService.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/IBenchmarkService.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,76 @@
+package com.noemax.wcf.benchmark;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.ws.Action;
+import javax.xml.ws.RequestWrapper;
+import javax.xml.ws.ResponseWrapper;
+
+/**
+ * This class was generated by Apache CXF 2.2
+ * Fri Apr 03 14:30:39 CEST 2009
+ * Generated source version: 2.2
+ *
+ */
+
+@WebService(targetNamespace = "http://www.noemax.com/wcf/benchmark", name = "IBenchmarkService")
+(a)XmlSeeAlso({ObjectFactory.class,org.datacontract.schemas._2004._07.noemax.ObjectFactory.class,com.microsoft.schemas._2003._10.serialization.ObjectFactory.class})
+public interface IBenchmarkService {
+
+ @ResponseWrapper(localName = "GetStructResponse", targetNamespace = "http://www.noemax.com/wcf/benchmark", className = "com.noemax.wcf.benchmark.GetStructResponse")
+ @Action(input = "GetStruct", output = "http://www.noemax.com/wcf/benchmark/IBenchmarkService/GetStructResponse")
+ @RequestWrapper(localName = "GetStruct", targetNamespace = "http://www.noemax.com/wcf/benchmark", className = "com.noemax.wcf.benchmark.GetStruct")
+ @WebResult(name = "GetStructResult", targetNamespace = "http://www.noemax.com/wcf/benchmark")
+ @WebMethod(operationName = "GetStruct", action = "GetStruct")
+ public org.datacontract.schemas._2004._07.noemax.ArrayOfDataStruct getStruct(
+ @WebParam(name = "number", targetNamespace = "http://www.noemax.com/wcf/benchmark")
+ java.lang.Integer number
+ );
+
+ @ResponseWrapper(localName = "GetOrderResponse", targetNamespace = "http://www.noemax.com/wcf/benchmark", className = "com.noemax.wcf.benchmark.GetOrderResponse")
+ @Action(input = "GetOrder", output = "http://www.noemax.com/wcf/benchmark/IBenchmarkService/GetOrderResponse")
+ @RequestWrapper(localName = "GetOrder", targetNamespace = "http://www.noemax.com/wcf/benchmark", className = "com.noemax.wcf.benchmark.GetOrder")
+ @WebResult(name = "GetOrderResult", targetNamespace = "http://www.noemax.com/wcf/benchmark")
+ @WebMethod(operationName = "GetOrder", action = "GetOrder")
+ public org.datacontract.schemas._2004._07.noemax.Order getOrder(
+ @WebParam(name = "numberOfItems", targetNamespace = "http://www.noemax.com/wcf/benchmark")
+ java.lang.Integer numberOfItems
+ );
+
+ @ResponseWrapper(localName = "EchoStructResponse", targetNamespace = "http://www.noemax.com/wcf/benchmark", className = "com.noemax.wcf.benchmark.EchoStructResponse")
+ @Action(input = "EchoStruct", output = "http://www.noemax.com/wcf/benchmark/IBenchmarkService/EchoStructResponse")
+ @RequestWrapper(localName = "EchoStruct", targetNamespace = "http://www.noemax.com/wcf/benchmark", className = "com.noemax.wcf.benchmark.EchoStruct")
+ @WebResult(name = "EchoStructResult", targetNamespace = "http://www.noemax.com/wcf/benchmark")
+ @WebMethod(operationName = "EchoStruct", action = "EchoStruct")
+ public org.datacontract.schemas._2004._07.noemax.ArrayOfDataStruct echoStruct(
+ @WebParam(name = "list", targetNamespace = "http://www.noemax.com/wcf/benchmark")
+ org.datacontract.schemas._2004._07.noemax.ArrayOfDataStruct list
+ );
+
+ @ResponseWrapper(localName = "SendOrderResponse", targetNamespace = "http://www.noemax.com/wcf/benchmark", className = "com.noemax.wcf.benchmark.SendOrderResponse")
+ @Action(input = "SendOrder", output = "http://www.noemax.com/wcf/benchmark/IBenchmarkService/SendOrderResponse")
+ @RequestWrapper(localName = "SendOrder", targetNamespace = "http://www.noemax.com/wcf/benchmark", className = "com.noemax.wcf.benchmark.SendOrder")
+ @WebMethod(operationName = "SendOrder", action = "SendOrder")
+ public void sendOrder(
+ @WebParam(name = "order", targetNamespace = "http://www.noemax.com/wcf/benchmark")
+ org.datacontract.schemas._2004._07.noemax.Order order
+ );
+
+ @ResponseWrapper(localName = "SendStructResponse", targetNamespace = "http://www.noemax.com/wcf/benchmark", className = "com.noemax.wcf.benchmark.SendStructResponse")
+ @Action(input = "SendStruct", output = "http://www.noemax.com/wcf/benchmark/IBenchmarkService/SendStructResponse")
+ @RequestWrapper(localName = "SendStruct", targetNamespace = "http://www.noemax.com/wcf/benchmark", className = "com.noemax.wcf.benchmark.SendStruct")
+ @WebMethod(operationName = "SendStruct", action = "SendStruct")
+ public void sendStruct(
+ @WebParam(name = "list", targetNamespace = "http://www.noemax.com/wcf/benchmark")
+ org.datacontract.schemas._2004._07.noemax.ArrayOfDataStruct list
+ );
+
+ @ResponseWrapper(localName = "EchoResponse", targetNamespace = "http://www.noemax.com/wcf/benchmark", className = "com.noemax.wcf.benchmark.EchoResponse")
+ @Action(input = "Echo", output = "http://www.noemax.com/wcf/benchmark/IBenchmarkService/EchoResponse")
+ @RequestWrapper(localName = "Echo", targetNamespace = "http://www.noemax.com/wcf/benchmark", className = "com.noemax.wcf.benchmark.Echo")
+ @WebMethod(operationName = "Echo", action = "Echo")
+ public void echo();
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/IBenchmarkService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/ObjectFactory.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/ObjectFactory.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/ObjectFactory.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,171 @@
+
+package com.noemax.wcf.benchmark;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+import org.datacontract.schemas._2004._07.noemax.ArrayOfDataStruct;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the com.noemax.wcf.benchmark package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _EchoStructList_QNAME = new QName("http://www.noemax.com/wcf/benchmark", "list");
+ private final static QName _EchoStructResponseEchoStructResult_QNAME = new QName("http://www.noemax.com/wcf/benchmark", "EchoStructResult");
+ private final static QName _GetStructResponseGetStructResult_QNAME = new QName("http://www.noemax.com/wcf/benchmark", "GetStructResult");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.noemax.wcf.benchmark
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link GetOrderResponse }
+ *
+ */
+ public GetOrderResponse createGetOrderResponse() {
+ return new GetOrderResponse();
+ }
+
+ /**
+ * Create an instance of {@link EchoStructResponse }
+ *
+ */
+ public EchoStructResponse createEchoStructResponse() {
+ return new EchoStructResponse();
+ }
+
+ /**
+ * Create an instance of {@link SendStruct }
+ *
+ */
+ public SendStruct createSendStruct() {
+ return new SendStruct();
+ }
+
+ /**
+ * Create an instance of {@link EchoResponse }
+ *
+ */
+ public EchoResponse createEchoResponse() {
+ return new EchoResponse();
+ }
+
+ /**
+ * Create an instance of {@link GetStruct }
+ *
+ */
+ public GetStruct createGetStruct() {
+ return new GetStruct();
+ }
+
+ /**
+ * Create an instance of {@link GetOrder }
+ *
+ */
+ public GetOrder createGetOrder() {
+ return new GetOrder();
+ }
+
+ /**
+ * Create an instance of {@link Echo }
+ *
+ */
+ public Echo createEcho() {
+ return new Echo();
+ }
+
+ /**
+ * Create an instance of {@link SendOrder }
+ *
+ */
+ public SendOrder createSendOrder() {
+ return new SendOrder();
+ }
+
+ /**
+ * Create an instance of {@link GetStructResponse }
+ *
+ */
+ public GetStructResponse createGetStructResponse() {
+ return new GetStructResponse();
+ }
+
+ /**
+ * Create an instance of {@link EchoStruct }
+ *
+ */
+ public EchoStruct createEchoStruct() {
+ return new EchoStruct();
+ }
+
+ /**
+ * Create an instance of {@link SendOrderResponse }
+ *
+ */
+ public SendOrderResponse createSendOrderResponse() {
+ return new SendOrderResponse();
+ }
+
+ /**
+ * Create an instance of {@link SendStructResponse }
+ *
+ */
+ public SendStructResponse createSendStructResponse() {
+ return new SendStructResponse();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ArrayOfDataStruct }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.noemax.com/wcf/benchmark", name = "list", scope = EchoStruct.class)
+ public JAXBElement<ArrayOfDataStruct> createEchoStructList(ArrayOfDataStruct value) {
+ return new JAXBElement<ArrayOfDataStruct>(_EchoStructList_QNAME, ArrayOfDataStruct.class, EchoStruct.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ArrayOfDataStruct }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.noemax.com/wcf/benchmark", name = "EchoStructResult", scope = EchoStructResponse.class)
+ public JAXBElement<ArrayOfDataStruct> createEchoStructResponseEchoStructResult(ArrayOfDataStruct value) {
+ return new JAXBElement<ArrayOfDataStruct>(_EchoStructResponseEchoStructResult_QNAME, ArrayOfDataStruct.class, EchoStructResponse.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ArrayOfDataStruct }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.noemax.com/wcf/benchmark", name = "list", scope = SendStruct.class)
+ public JAXBElement<ArrayOfDataStruct> createSendStructList(ArrayOfDataStruct value) {
+ return new JAXBElement<ArrayOfDataStruct>(_EchoStructList_QNAME, ArrayOfDataStruct.class, SendStruct.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ArrayOfDataStruct }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.noemax.com/wcf/benchmark", name = "GetStructResult", scope = GetStructResponse.class)
+ public JAXBElement<ArrayOfDataStruct> createGetStructResponseGetStructResult(ArrayOfDataStruct value) {
+ return new JAXBElement<ArrayOfDataStruct>(_GetStructResponseGetStructResult_QNAME, ArrayOfDataStruct.class, GetStructResponse.class, value);
+ }
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/ObjectFactory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/SendOrder.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/SendOrder.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/SendOrder.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,63 @@
+
+package com.noemax.wcf.benchmark;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.datacontract.schemas._2004._07.noemax.Order;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="order" type="{http://schemas.datacontract.org/2004/07/Noemax.Benchmarking}Order" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "order"
+})
+@XmlRootElement(name = "SendOrder")
+public class SendOrder {
+
+ protected Order order;
+
+ /**
+ * Gets the value of the order property.
+ *
+ * @return
+ * possible object is
+ * {@link Order }
+ *
+ */
+ public Order getOrder() {
+ return order;
+ }
+
+ /**
+ * Sets the value of the order property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Order }
+ *
+ */
+ public void setOrder(Order value) {
+ this.order = value;
+ }
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/SendOrder.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/SendOrderResponse.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/SendOrderResponse.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/SendOrderResponse.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,34 @@
+
+package com.noemax.wcf.benchmark;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "SendOrderResponse")
+public class SendOrderResponse {
+
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/SendOrderResponse.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/SendStruct.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/SendStruct.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/SendStruct.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,66 @@
+
+package com.noemax.wcf.benchmark;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.datacontract.schemas._2004._07.noemax.ArrayOfDataStruct;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="list" type="{http://schemas.datacontract.org/2004/07/Noemax.Benchmarking}ArrayOfDataStruct" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "list"
+})
+@XmlRootElement(name = "SendStruct")
+public class SendStruct {
+
+ @XmlElementRef(name = "list", namespace = "http://www.noemax.com/wcf/benchmark", type = JAXBElement.class)
+ protected JAXBElement<ArrayOfDataStruct> list;
+
+ /**
+ * Gets the value of the list property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link ArrayOfDataStruct }{@code >}
+ *
+ */
+ public JAXBElement<ArrayOfDataStruct> getList() {
+ return list;
+ }
+
+ /**
+ * Sets the value of the list property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link ArrayOfDataStruct }{@code >}
+ *
+ */
+ public void setList(JAXBElement<ArrayOfDataStruct> value) {
+ this.list = ((JAXBElement<ArrayOfDataStruct> ) value);
+ }
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/SendStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/SendStructResponse.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/SendStructResponse.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/SendStructResponse.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,34 @@
+
+package com.noemax.wcf.benchmark;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "SendStructResponse")
+public class SendStructResponse {
+
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/SendStructResponse.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/package-info.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/package-info.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/package-info.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,2 @@
+(a)javax.xml.bind.annotation.XmlSchema(namespace = "http://www.noemax.com/wcf/benchmark", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package com.noemax.wcf.benchmark;
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/com/noemax/wcf/benchmark/package-info.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/Address.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/Address.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/Address.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,175 @@
+
+package org.datacontract.schemas._2004._07.noemax;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Address complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Address">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="City" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="PostCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="Province" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="State" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="Street" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Address", propOrder = {
+ "city",
+ "postCode",
+ "province",
+ "state",
+ "street"
+})
+public class Address {
+
+ @XmlElementRef(name = "City", namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", type = JAXBElement.class)
+ protected JAXBElement<String> city;
+ @XmlElementRef(name = "PostCode", namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", type = JAXBElement.class)
+ protected JAXBElement<String> postCode;
+ @XmlElementRef(name = "Province", namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", type = JAXBElement.class)
+ protected JAXBElement<String> province;
+ @XmlElementRef(name = "State", namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", type = JAXBElement.class)
+ protected JAXBElement<String> state;
+ @XmlElementRef(name = "Street", namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", type = JAXBElement.class)
+ protected JAXBElement<String> street;
+
+ /**
+ * Gets the value of the city property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public JAXBElement<String> getCity() {
+ return city;
+ }
+
+ /**
+ * Sets the value of the city property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public void setCity(JAXBElement<String> value) {
+ this.city = ((JAXBElement<String> ) value);
+ }
+
+ /**
+ * Gets the value of the postCode property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public JAXBElement<String> getPostCode() {
+ return postCode;
+ }
+
+ /**
+ * Sets the value of the postCode property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public void setPostCode(JAXBElement<String> value) {
+ this.postCode = ((JAXBElement<String> ) value);
+ }
+
+ /**
+ * Gets the value of the province property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public JAXBElement<String> getProvince() {
+ return province;
+ }
+
+ /**
+ * Sets the value of the province property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public void setProvince(JAXBElement<String> value) {
+ this.province = ((JAXBElement<String> ) value);
+ }
+
+ /**
+ * Gets the value of the state property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public JAXBElement<String> getState() {
+ return state;
+ }
+
+ /**
+ * Sets the value of the state property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public void setState(JAXBElement<String> value) {
+ this.state = ((JAXBElement<String> ) value);
+ }
+
+ /**
+ * Gets the value of the street property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public JAXBElement<String> getStreet() {
+ return street;
+ }
+
+ /**
+ * Sets the value of the street property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public void setStreet(JAXBElement<String> value) {
+ this.street = ((JAXBElement<String> ) value);
+ }
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/Address.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/ArrayOfDataStruct.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/ArrayOfDataStruct.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/ArrayOfDataStruct.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,69 @@
+
+package org.datacontract.schemas._2004._07.noemax;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ArrayOfDataStruct complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ArrayOfDataStruct">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="DataStruct" type="{http://schemas.datacontract.org/2004/07/Noemax.Benchmarking}DataStruct" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ArrayOfDataStruct", propOrder = {
+ "dataStruct"
+})
+public class ArrayOfDataStruct {
+
+ @XmlElement(name = "DataStruct")
+ protected List<DataStruct> dataStruct;
+
+ /**
+ * Gets the value of the dataStruct property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the dataStruct property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDataStruct().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DataStruct }
+ *
+ *
+ */
+ public List<DataStruct> getDataStruct() {
+ if (dataStruct == null) {
+ dataStruct = new ArrayList<DataStruct>();
+ }
+ return this.dataStruct;
+ }
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/ArrayOfDataStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/ArrayOfLineItem.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/ArrayOfLineItem.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/ArrayOfLineItem.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,69 @@
+
+package org.datacontract.schemas._2004._07.noemax;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ArrayOfLineItem complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ArrayOfLineItem">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="LineItem" type="{http://schemas.datacontract.org/2004/07/Noemax.Benchmarking}LineItem" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ArrayOfLineItem", propOrder = {
+ "lineItem"
+})
+public class ArrayOfLineItem {
+
+ @XmlElement(name = "LineItem")
+ protected List<LineItem> lineItem;
+
+ /**
+ * Gets the value of the lineItem property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the lineItem property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getLineItem().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link LineItem }
+ *
+ *
+ */
+ public List<LineItem> getLineItem() {
+ if (lineItem == null) {
+ lineItem = new ArrayList<LineItem>();
+ }
+ return this.lineItem;
+ }
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/ArrayOfLineItem.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/CustomerRef.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/CustomerRef.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/CustomerRef.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,32 @@
+
+package org.datacontract.schemas._2004._07.noemax;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for CustomerRef complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="CustomerRef">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CustomerRef")
+public class CustomerRef {
+
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/CustomerRef.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/DataStruct.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/DataStruct.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/DataStruct.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,151 @@
+
+package org.datacontract.schemas._2004._07.noemax;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+
+/**
+ * <p>Java class for DataStruct complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="DataStruct">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="DateTimeField" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
+ * <element name="FloatField" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
+ * <element name="IntField" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
+ * <element name="StringField" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DataStruct", propOrder = {
+ "dateTimeField",
+ "floatField",
+ "intField",
+ "stringField"
+})
+public class DataStruct {
+
+ @XmlElement(name = "DateTimeField")
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar dateTimeField;
+ @XmlElement(name = "FloatField")
+ protected Double floatField;
+ @XmlElement(name = "IntField")
+ protected Integer intField;
+ @XmlElementRef(name = "StringField", namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", type = JAXBElement.class)
+ protected JAXBElement<String> stringField;
+
+ /**
+ * Gets the value of the dateTimeField property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public XMLGregorianCalendar getDateTimeField() {
+ return dateTimeField;
+ }
+
+ /**
+ * Sets the value of the dateTimeField property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setDateTimeField(XMLGregorianCalendar value) {
+ this.dateTimeField = value;
+ }
+
+ /**
+ * Gets the value of the floatField property.
+ *
+ * @return
+ * possible object is
+ * {@link Double }
+ *
+ */
+ public Double getFloatField() {
+ return floatField;
+ }
+
+ /**
+ * Sets the value of the floatField property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Double }
+ *
+ */
+ public void setFloatField(Double value) {
+ this.floatField = value;
+ }
+
+ /**
+ * Gets the value of the intField property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getIntField() {
+ return intField;
+ }
+
+ /**
+ * Sets the value of the intField property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setIntField(Integer value) {
+ this.intField = value;
+ }
+
+ /**
+ * Gets the value of the stringField property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public JAXBElement<String> getStringField() {
+ return stringField;
+ }
+
+ /**
+ * Sets the value of the stringField property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public void setStringField(JAXBElement<String> value) {
+ this.stringField = ((JAXBElement<String> ) value);
+ }
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/DataStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/LineItem.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/LineItem.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/LineItem.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,148 @@
+
+package org.datacontract.schemas._2004._07.noemax;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for LineItem complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="LineItem">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="Amount" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
+ * <element name="DiscountCertificate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="ItemID" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
+ * <element name="PurchasePricePerItem" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "LineItem", propOrder = {
+ "amount",
+ "discountCertificate",
+ "itemID",
+ "purchasePricePerItem"
+})
+public class LineItem {
+
+ @XmlElement(name = "Amount")
+ protected Integer amount;
+ @XmlElementRef(name = "DiscountCertificate", namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", type = JAXBElement.class)
+ protected JAXBElement<String> discountCertificate;
+ @XmlElement(name = "ItemID")
+ protected Integer itemID;
+ @XmlElement(name = "PurchasePricePerItem")
+ protected Double purchasePricePerItem;
+
+ /**
+ * Gets the value of the amount property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getAmount() {
+ return amount;
+ }
+
+ /**
+ * Sets the value of the amount property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setAmount(Integer value) {
+ this.amount = value;
+ }
+
+ /**
+ * Gets the value of the discountCertificate property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public JAXBElement<String> getDiscountCertificate() {
+ return discountCertificate;
+ }
+
+ /**
+ * Sets the value of the discountCertificate property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public void setDiscountCertificate(JAXBElement<String> value) {
+ this.discountCertificate = ((JAXBElement<String> ) value);
+ }
+
+ /**
+ * Gets the value of the itemID property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getItemID() {
+ return itemID;
+ }
+
+ /**
+ * Sets the value of the itemID property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setItemID(Integer value) {
+ this.itemID = value;
+ }
+
+ /**
+ * Gets the value of the purchasePricePerItem property.
+ *
+ * @return
+ * possible object is
+ * {@link Double }
+ *
+ */
+ public Double getPurchasePricePerItem() {
+ return purchasePricePerItem;
+ }
+
+ /**
+ * Sets the value of the purchasePricePerItem property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Double }
+ *
+ */
+ public void setPurchasePricePerItem(Double value) {
+ this.purchasePricePerItem = value;
+ }
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/LineItem.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/ObjectFactory.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/ObjectFactory.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/ObjectFactory.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,251 @@
+
+package org.datacontract.schemas._2004._07.noemax;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.datacontract.schemas._2004._07.noemax package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _DataStruct_QNAME = new QName("http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", "DataStruct");
+ private final static QName _LineItem_QNAME = new QName("http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", "LineItem");
+ private final static QName _CustomerRef_QNAME = new QName("http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", "CustomerRef");
+ private final static QName _ArrayOfDataStruct_QNAME = new QName("http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", "ArrayOfDataStruct");
+ private final static QName _Order_QNAME = new QName("http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", "Order");
+ private final static QName _ArrayOfLineItem_QNAME = new QName("http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", "ArrayOfLineItem");
+ private final static QName _Address_QNAME = new QName("http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", "Address");
+ private final static QName _DataStructStringField_QNAME = new QName("http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", "StringField");
+ private final static QName _OrderItems_QNAME = new QName("http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", "Items");
+ private final static QName _OrderID_QNAME = new QName("http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", "ID");
+ private final static QName _LineItemDiscountCertificate_QNAME = new QName("http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", "DiscountCertificate");
+ private final static QName _AddressStreet_QNAME = new QName("http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", "Street");
+ private final static QName _AddressPostCode_QNAME = new QName("http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", "PostCode");
+ private final static QName _AddressState_QNAME = new QName("http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", "State");
+ private final static QName _AddressCity_QNAME = new QName("http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", "City");
+ private final static QName _AddressProvince_QNAME = new QName("http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", "Province");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.datacontract.schemas._2004._07.noemax
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link CustomerRef }
+ *
+ */
+ public CustomerRef createCustomerRef() {
+ return new CustomerRef();
+ }
+
+ /**
+ * Create an instance of {@link ArrayOfDataStruct }
+ *
+ */
+ public ArrayOfDataStruct createArrayOfDataStruct() {
+ return new ArrayOfDataStruct();
+ }
+
+ /**
+ * Create an instance of {@link ArrayOfLineItem }
+ *
+ */
+ public ArrayOfLineItem createArrayOfLineItem() {
+ return new ArrayOfLineItem();
+ }
+
+ /**
+ * Create an instance of {@link DataStruct }
+ *
+ */
+ public DataStruct createDataStruct() {
+ return new DataStruct();
+ }
+
+ /**
+ * Create an instance of {@link Order }
+ *
+ */
+ public Order createOrder() {
+ return new Order();
+ }
+
+ /**
+ * Create an instance of {@link LineItem }
+ *
+ */
+ public LineItem createLineItem() {
+ return new LineItem();
+ }
+
+ /**
+ * Create an instance of {@link Address }
+ *
+ */
+ public Address createAddress() {
+ return new Address();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link DataStruct }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", name = "DataStruct")
+ public JAXBElement<DataStruct> createDataStruct(DataStruct value) {
+ return new JAXBElement<DataStruct>(_DataStruct_QNAME, DataStruct.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link LineItem }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", name = "LineItem")
+ public JAXBElement<LineItem> createLineItem(LineItem value) {
+ return new JAXBElement<LineItem>(_LineItem_QNAME, LineItem.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link CustomerRef }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", name = "CustomerRef")
+ public JAXBElement<CustomerRef> createCustomerRef(CustomerRef value) {
+ return new JAXBElement<CustomerRef>(_CustomerRef_QNAME, CustomerRef.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ArrayOfDataStruct }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", name = "ArrayOfDataStruct")
+ public JAXBElement<ArrayOfDataStruct> createArrayOfDataStruct(ArrayOfDataStruct value) {
+ return new JAXBElement<ArrayOfDataStruct>(_ArrayOfDataStruct_QNAME, ArrayOfDataStruct.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Order }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", name = "Order")
+ public JAXBElement<Order> createOrder(Order value) {
+ return new JAXBElement<Order>(_Order_QNAME, Order.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ArrayOfLineItem }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", name = "ArrayOfLineItem")
+ public JAXBElement<ArrayOfLineItem> createArrayOfLineItem(ArrayOfLineItem value) {
+ return new JAXBElement<ArrayOfLineItem>(_ArrayOfLineItem_QNAME, ArrayOfLineItem.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Address }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", name = "Address")
+ public JAXBElement<Address> createAddress(Address value) {
+ return new JAXBElement<Address>(_Address_QNAME, Address.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", name = "StringField", scope = DataStruct.class)
+ public JAXBElement<String> createDataStructStringField(String value) {
+ return new JAXBElement<String>(_DataStructStringField_QNAME, String.class, DataStruct.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ArrayOfLineItem }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", name = "Items", scope = Order.class)
+ public JAXBElement<ArrayOfLineItem> createOrderItems(ArrayOfLineItem value) {
+ return new JAXBElement<ArrayOfLineItem>(_OrderItems_QNAME, ArrayOfLineItem.class, Order.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", name = "ID", scope = Order.class)
+ public JAXBElement<String> createOrderID(String value) {
+ return new JAXBElement<String>(_OrderID_QNAME, String.class, Order.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", name = "DiscountCertificate", scope = LineItem.class)
+ public JAXBElement<String> createLineItemDiscountCertificate(String value) {
+ return new JAXBElement<String>(_LineItemDiscountCertificate_QNAME, String.class, LineItem.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", name = "Street", scope = Address.class)
+ public JAXBElement<String> createAddressStreet(String value) {
+ return new JAXBElement<String>(_AddressStreet_QNAME, String.class, Address.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", name = "PostCode", scope = Address.class)
+ public JAXBElement<String> createAddressPostCode(String value) {
+ return new JAXBElement<String>(_AddressPostCode_QNAME, String.class, Address.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", name = "State", scope = Address.class)
+ public JAXBElement<String> createAddressState(String value) {
+ return new JAXBElement<String>(_AddressState_QNAME, String.class, Address.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", name = "City", scope = Address.class)
+ public JAXBElement<String> createAddressCity(String value) {
+ return new JAXBElement<String>(_AddressCity_QNAME, String.class, Address.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", name = "Province", scope = Address.class)
+ public JAXBElement<String> createAddressProvince(String value) {
+ return new JAXBElement<String>(_AddressProvince_QNAME, String.class, Address.class, value);
+ }
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/ObjectFactory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/Order.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/Order.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/Order.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,207 @@
+
+package org.datacontract.schemas._2004._07.noemax;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+
+/**
+ * <p>Java class for Order complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Order">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="BillingAddress" type="{http://schemas.datacontract.org/2004/07/Noemax.Benchmarking}Address" minOccurs="0"/>
+ * <element name="Customer" type="{http://schemas.datacontract.org/2004/07/Noemax.Benchmarking}CustomerRef" minOccurs="0"/>
+ * <element name="ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="Items" type="{http://schemas.datacontract.org/2004/07/Noemax.Benchmarking}ArrayOfLineItem" minOccurs="0"/>
+ * <element name="ShipmentAddress" type="{http://schemas.datacontract.org/2004/07/Noemax.Benchmarking}Address" minOccurs="0"/>
+ * <element name="Timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Order", propOrder = {
+ "billingAddress",
+ "customer",
+ "id",
+ "items",
+ "shipmentAddress",
+ "timestamp"
+})
+public class Order {
+
+ @XmlElement(name = "BillingAddress")
+ protected Address billingAddress;
+ @XmlElement(name = "Customer")
+ protected CustomerRef customer;
+ @XmlElementRef(name = "ID", namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", type = JAXBElement.class)
+ protected JAXBElement<String> id;
+ @XmlElementRef(name = "Items", namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", type = JAXBElement.class)
+ protected JAXBElement<ArrayOfLineItem> items;
+ @XmlElement(name = "ShipmentAddress")
+ protected Address shipmentAddress;
+ @XmlElement(name = "Timestamp")
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar timestamp;
+
+ /**
+ * Gets the value of the billingAddress property.
+ *
+ * @return
+ * possible object is
+ * {@link Address }
+ *
+ */
+ public Address getBillingAddress() {
+ return billingAddress;
+ }
+
+ /**
+ * Sets the value of the billingAddress property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Address }
+ *
+ */
+ public void setBillingAddress(Address value) {
+ this.billingAddress = value;
+ }
+
+ /**
+ * Gets the value of the customer property.
+ *
+ * @return
+ * possible object is
+ * {@link CustomerRef }
+ *
+ */
+ public CustomerRef getCustomer() {
+ return customer;
+ }
+
+ /**
+ * Sets the value of the customer property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CustomerRef }
+ *
+ */
+ public void setCustomer(CustomerRef value) {
+ this.customer = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public JAXBElement<String> getID() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public void setID(JAXBElement<String> value) {
+ this.id = ((JAXBElement<String> ) value);
+ }
+
+ /**
+ * Gets the value of the items property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link ArrayOfLineItem }{@code >}
+ *
+ */
+ public JAXBElement<ArrayOfLineItem> getItems() {
+ return items;
+ }
+
+ /**
+ * Sets the value of the items property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link ArrayOfLineItem }{@code >}
+ *
+ */
+ public void setItems(JAXBElement<ArrayOfLineItem> value) {
+ this.items = ((JAXBElement<ArrayOfLineItem> ) value);
+ }
+
+ /**
+ * Gets the value of the shipmentAddress property.
+ *
+ * @return
+ * possible object is
+ * {@link Address }
+ *
+ */
+ public Address getShipmentAddress() {
+ return shipmentAddress;
+ }
+
+ /**
+ * Sets the value of the shipmentAddress property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Address }
+ *
+ */
+ public void setShipmentAddress(Address value) {
+ this.shipmentAddress = value;
+ }
+
+ /**
+ * Gets the value of the timestamp property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public XMLGregorianCalendar getTimestamp() {
+ return timestamp;
+ }
+
+ /**
+ * Sets the value of the timestamp property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setTimestamp(XMLGregorianCalendar value) {
+ this.timestamp = value;
+ }
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/Order.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/package-info.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/package-info.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/package-info.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,2 @@
+(a)javax.xml.bind.annotation.XmlSchema(namespace = "http://schemas.datacontract.org/2004/07/Noemax.Benchmarking", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.datacontract.schemas._2004._07.noemax;
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/datacontract/schemas/_2004/_07/noemax/package-info.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/jboss/test/ws/fastinfoset/NoemaxClient.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/jboss/test/ws/fastinfoset/NoemaxClient.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/jboss/test/ws/fastinfoset/NoemaxClient.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,201 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.fastinfoset;
+
+import java.net.URISyntaxException;
+import java.net.URL;
+import java.util.List;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.BindingProvider;
+import javax.xml.ws.soap.AddressingFeature;
+
+import org.apache.cxf.Bus;
+import org.apache.cxf.BusFactory;
+import org.apache.cxf.bus.spring.SpringBusFactory;
+import org.apache.cxf.ws.addressing.AddressingProperties;
+import org.apache.cxf.ws.addressing.AddressingPropertiesImpl;
+import org.apache.cxf.ws.addressing.AttributedURIType;
+import org.apache.cxf.ws.addressing.JAXWSAConstants;
+import org.apache.cxf.wsdl.EndpointReferenceUtils;
+import org.datacontract.schemas._2004._07.noemax.Address;
+import org.datacontract.schemas._2004._07.noemax.ArrayOfDataStruct;
+import org.datacontract.schemas._2004._07.noemax.DataStruct;
+import org.datacontract.schemas._2004._07.noemax.Order;
+import org.tempuri.BenchmarkServiceImpl;
+
+import com.microsoft.schemas._2003._10.serialization.ObjectFactory;
+import com.noemax.wcf.benchmark.IBenchmarkService;
+import com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl;
+
+/**
+ * This is a basic client for the Noemax FastInfoset test endpoint
+ * at http://www.noemax.com:8080/BenchmarkService.
+ * This is meant to be used with JBossWS-Native starting from
+ * release 3.1.0 (the fastinfoset configuration is implementation
+ * specific).
+ *
+ * @author alessio.soldano(a)jboss.com
+ * @since 03-Apr-2009
+ */
+public class NoemaxClient
+{
+
+ protected IBenchmarkService endpoint;
+ private static final String ENDPOINT_ADDRESS = "http://www.noemax.com:8080/BenchmarkService";
+
+ public NoemaxClient(URL url, String endpointAddress)
+ {
+
+ BenchmarkServiceImpl service = new BenchmarkServiceImpl(url, new QName("http://tempuri.org/", "BenchmarkServiceImpl"));
+ endpoint = service.getBasicHttp(new AddressingFeature());
+ ((BindingProvider)endpoint).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, endpointAddress);
+ }
+
+ private static void configureAddressingProperties(BindingProvider bp, String wsaAction, String wsaTo) throws URISyntaxException
+ {
+ AddressingProperties requestProps = new AddressingPropertiesImpl();
+ AttributedURIType messageId = new AttributedURIType();
+ messageId.setValue("myMessageId");
+ requestProps.setMessageID(messageId);
+ AttributedURIType action = new AttributedURIType();
+ action.setValue(wsaAction);
+ requestProps.setAction(action);
+ requestProps.setTo(EndpointReferenceUtils.getEndpointReference(wsaTo));
+ requestProps.setReplyTo(EndpointReferenceUtils.getAnonymousEndpointReference());
+ bp.getRequestContext().put(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES, requestProps);
+ bp.getRequestContext().put("org.apache.cxf.fastinfoset.enabled", Boolean.TRUE);
+ }
+
+ public void run() throws Exception
+ {
+ System.out.println("Echo");
+ echo();
+ System.out.println("Echo");
+ echo();
+// System.out.println("EchoStruct");
+// echoStruct();
+ System.out.println("SendStruct");
+ sendStruct();
+ System.out.println("GetStruct");
+ getStruct();
+ System.out.println("SendOrder");
+ sendOrder();
+// System.out.println("GetOrder");
+// getOrder();
+ }
+
+ private void echo() throws Exception
+ {
+ configureAddressingProperties((BindingProvider)endpoint, "Echo", ENDPOINT_ADDRESS);
+ endpoint.echo();
+ }
+
+ private void echoStruct() throws Exception
+ {
+ configureAddressingProperties((BindingProvider)endpoint, "EchoStruct", ENDPOINT_ADDRESS);
+ ArrayOfDataStruct arrayDataStruct = new ArrayOfDataStruct();
+ List<DataStruct> dataStructs = arrayDataStruct.getDataStruct();
+ DataStruct dataStruct = new DataStruct();
+ dataStruct.setIntField(55);
+ dataStruct.setDateTimeField(XMLGregorianCalendarImpl.createDateTime(2009, 12, 25, 11, 14, 32));
+ dataStruct.setFloatField(55.5);
+ dataStruct.setStringField(new ObjectFactory().createString("testString"));
+ dataStructs.add(dataStruct);
+ ArrayOfDataStruct result = endpoint.echoStruct(arrayDataStruct);
+ System.out.println(result.getDataStruct());
+ System.out.println(result.getDataStruct().iterator().next().getIntField());
+ }
+
+ private void sendStruct() throws Exception
+ {
+ configureAddressingProperties((BindingProvider)endpoint, "SendStruct", ENDPOINT_ADDRESS);
+ ArrayOfDataStruct arrayDataStruct = new ArrayOfDataStruct();
+ List<DataStruct> dataStructs = arrayDataStruct.getDataStruct();
+ DataStruct dataStruct = new DataStruct();
+ dataStruct.setIntField(55);
+ dataStruct.setDateTimeField(XMLGregorianCalendarImpl.createDateTime(2009, 12, 25, 11, 14, 32));
+ dataStruct.setFloatField(55.5);
+ dataStruct.setStringField(new ObjectFactory().createString("testString"));
+ dataStructs.add(dataStruct);
+ endpoint.sendStruct(arrayDataStruct);
+ }
+
+ private void getStruct() throws Exception
+ {
+ configureAddressingProperties((BindingProvider)endpoint, "GetStruct", ENDPOINT_ADDRESS);
+ ArrayOfDataStruct result = endpoint.getStruct(1);
+ System.out.println(result.getDataStruct());
+ }
+
+ private void sendOrder() throws Exception
+ {
+ org.datacontract.schemas._2004._07.noemax.ObjectFactory factory = new org.datacontract.schemas._2004._07.noemax.ObjectFactory();
+ configureAddressingProperties((BindingProvider)endpoint, "SendOrder", ENDPOINT_ADDRESS);
+ Order order = new Order();
+ Address address = new Address();
+ address.setCity(factory.createAddressCity("Milan"));
+ order.setBillingAddress(address);
+ order.setTimestamp(XMLGregorianCalendarImpl.createDateTime(2009, 12, 25, 11, 14, 32));
+ endpoint.sendOrder(order);
+ }
+
+ private void getOrder() throws Exception
+ {
+ configureAddressingProperties((BindingProvider)endpoint, "GetOrder", ENDPOINT_ADDRESS);
+ Order result = endpoint.getOrder(1);
+ System.out.println(result.getBillingAddress());
+ }
+
+ public static void main(String[] args)
+ {
+ try
+ {
+ if (args.length == 1)
+ {
+ SpringBusFactory bf = new SpringBusFactory();
+ URL cxfConfig = NoemaxClient.class.getResource("/META-INF/client-config.xml");
+ Bus bus = bf.createBus(cxfConfig);
+ try
+ {
+ BusFactory.setDefaultBus(bus);
+ NoemaxClient client = new NoemaxClient(new URL(ENDPOINT_ADDRESS + "?wsdl"), ENDPOINT_ADDRESS);
+ client.run();
+ }
+ finally
+ {
+ bus.shutdown(true);
+ }
+ }
+ else
+ {
+ System.out.println("NoemaxClient usage:");
+ System.out.println("wsrunclient.sh -classpath FastInfosetTest.jar org.jboss.test.ws.fastinfoset.NoemaxClient");
+ }
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ }
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/jboss/test/ws/fastinfoset/NoemaxClient.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/tempuri/BenchmarkServiceImpl.java
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/tempuri/BenchmarkServiceImpl.java (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/tempuri/BenchmarkServiceImpl.java 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,78 @@
+
+/*
+ *
+ */
+
+package org.tempuri;
+
+import java.net.MalformedURLException;
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.xml.ws.WebEndpoint;
+import javax.xml.ws.WebServiceClient;
+import javax.xml.ws.WebServiceFeature;
+import com.noemax.wcf.benchmark.IBenchmarkService;
+import javax.xml.ws.Service;
+
+/**
+ * This class was generated by Apache CXF 2.2
+ * Fri Apr 03 14:30:39 CEST 2009
+ * Generated source version: 2.2
+ *
+ */
+
+
+@WebServiceClient(name = "BenchmarkServiceImpl",
+ wsdlLocation = "http://www.noemax.com:8080/BenchmarkService?wsdl",
+ targetNamespace = "http://tempuri.org/")
+public class BenchmarkServiceImpl extends Service {
+
+ public final static URL WSDL_LOCATION;
+ public final static QName SERVICE = new QName("http://tempuri.org/", "BenchmarkServiceImpl");
+ public final static QName BasicHttp = new QName("http://tempuri.org/", "BasicHttp");
+ static {
+ URL url = null;
+ try {
+ url = new URL("http://www.noemax.com:8080/BenchmarkService?wsdl");
+ } catch (MalformedURLException e) {
+ System.err.println("Can not initialize the default wsdl from http://www.noemax.com:8080/BenchmarkService?wsdl");
+ // e.printStackTrace();
+ }
+ WSDL_LOCATION = url;
+ }
+
+ public BenchmarkServiceImpl(URL wsdlLocation) {
+ super(wsdlLocation, SERVICE);
+ }
+
+ public BenchmarkServiceImpl(URL wsdlLocation, QName serviceName) {
+ super(wsdlLocation, serviceName);
+ }
+
+ public BenchmarkServiceImpl() {
+ super(WSDL_LOCATION, SERVICE);
+ }
+
+ /**
+ *
+ * @return
+ * returns IBenchmarkService
+ */
+ @WebEndpoint(name = "BasicHttp")
+ public IBenchmarkService getBasicHttp() {
+ return super.getPort(BasicHttp, IBenchmarkService.class);
+ }
+
+ /**
+ *
+ * @param features
+ * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
+ * @return
+ * returns IBenchmarkService
+ */
+ @WebEndpoint(name = "BasicHttp")
+ public IBenchmarkService getBasicHttp(WebServiceFeature... features) {
+ return super.getPort(BasicHttp, IBenchmarkService.class, features);
+ }
+
+}
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/java/org/tempuri/BenchmarkServiceImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: projects/interop/cxf/noemax/FastInfosetTest/src/main/resources/META-INF/client-config.xml
===================================================================
--- projects/interop/cxf/noemax/FastInfosetTest/src/main/resources/META-INF/client-config.xml (rev 0)
+++ projects/interop/cxf/noemax/FastInfosetTest/src/main/resources/META-INF/client-config.xml 2009-04-03 15:09:06 UTC (rev 9725)
@@ -0,0 +1,19 @@
+<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws"
+ xmlns:p="http://cxf.apache.org/policy" xmlns:cxf="http://cxf.apache.org/core"
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+ http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
+ http://cxf.apache.org/policy http://cxf.apache.org/schemas/policy.xsd
+ http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
+
+ <bean id="fastinfoset" class="org.apache.cxf.feature.FastInfosetFeature">
+ <property name="force" value="true"/>
+ </bean>
+
+ <cxf:bus name="cxf">
+ <cxf:features>
+ <ref bean="fastinfoset"/>
+ </cxf:features>
+ </cxf:bus>
+
+</beans>
\ No newline at end of file
Property changes on: projects/interop/cxf/noemax/FastInfosetTest/src/main/resources/META-INF/client-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
15 years, 5 months
JBossWS SVN: r9724 - stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-04-03 10:20:01 -0400 (Fri, 03 Apr 2009)
New Revision: 9724
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler/HandlerResolverImpl.java
Log:
[JBWS-2074] final optimization
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler/HandlerResolverImpl.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler/HandlerResolverImpl.java 2009-04-03 14:18:23 UTC (rev 9723)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler/HandlerResolverImpl.java 2009-04-03 14:20:01 UTC (rev 9724)
@@ -46,7 +46,6 @@
import org.jboss.wsf.common.handler.GenericHandler;
import org.jboss.wsf.common.handler.GenericSOAPHandler;
import org.jboss.wsf.common.javax.JavaxAnnotationHelper;
-import org.jboss.wsf.spi.metadata.injection.InjectionMetaData;
import org.jboss.wsf.spi.metadata.injection.InjectionsMetaData;
import org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedHandlerMetaData.HandlerType;
@@ -169,13 +168,7 @@
if (handler instanceof GenericSOAPHandler)
((GenericSOAPHandler)handler).setHeaders(soapHeaders);
- // Inject resources
- if (injections != null)
- {
- JavaxAnnotationHelper.injectResources(handler, injections);
- }
-
- // Call @PostConstruct
+ JavaxAnnotationHelper.injectResources(handler, injections);
JavaxAnnotationHelper.callPostConstructMethod(handler);
addHandler(jaxwsMetaData, handler, type);
15 years, 5 months
JBossWS SVN: r9723 - in container/jboss50/branches: jboss501/src/main/resources/jbossws-jboss50.deployer/META-INF and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-04-03 10:18:23 -0400 (Fri, 03 Apr 2009)
New Revision: 9723
Modified:
container/jboss50/branches/jboss500/src/main/resources/jbossws-jboss50.deployer/META-INF/jbossws-deployer-jboss-beans.xml
container/jboss50/branches/jboss501/src/main/resources/jbossws-jboss50.deployer/META-INF/jbossws-deployer-jboss-beans.xml
Log:
[JBWS-2074] rollback
Modified: container/jboss50/branches/jboss500/src/main/resources/jbossws-jboss50.deployer/META-INF/jbossws-deployer-jboss-beans.xml
===================================================================
--- container/jboss50/branches/jboss500/src/main/resources/jbossws-jboss50.deployer/META-INF/jbossws-deployer-jboss-beans.xml 2009-04-03 14:17:17 UTC (rev 9722)
+++ container/jboss50/branches/jboss500/src/main/resources/jbossws-jboss50.deployer/META-INF/jbossws-deployer-jboss-beans.xml 2009-04-03 14:18:23 UTC (rev 9723)
@@ -345,7 +345,6 @@
<property name="aspects">
<set class="java.util.HashSet" elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
<inject bean="WSDynamicEndpointDeploymentAspect"/>
- <inject bean="WSInjectionMetaDataDeploymentAspect"/>
<inject bean="WSEndpointAPIDeploymentAspect"/>
<inject bean="WSVirtualHostDeploymentAspect"/>
<inject bean="WSEndpointAddressDeploymentAspect"/>
Modified: container/jboss50/branches/jboss501/src/main/resources/jbossws-jboss50.deployer/META-INF/jbossws-deployer-jboss-beans.xml
===================================================================
--- container/jboss50/branches/jboss501/src/main/resources/jbossws-jboss50.deployer/META-INF/jbossws-deployer-jboss-beans.xml 2009-04-03 14:17:17 UTC (rev 9722)
+++ container/jboss50/branches/jboss501/src/main/resources/jbossws-jboss50.deployer/META-INF/jbossws-deployer-jboss-beans.xml 2009-04-03 14:18:23 UTC (rev 9723)
@@ -345,7 +345,6 @@
<property name="aspects">
<set class="java.util.HashSet" elementClass="org.jboss.wsf.spi.deployment.DeploymentAspect">
<inject bean="WSDynamicEndpointDeploymentAspect"/>
- <inject bean="WSInjectionMetaDataDeploymentAspect"/>
<inject bean="WSEndpointAPIDeploymentAspect"/>
<inject bean="WSVirtualHostDeploymentAspect"/>
<inject bean="WSEndpointAddressDeploymentAspect"/>
15 years, 5 months
JBossWS SVN: r9722 - common/trunk/src/main/java/org/jboss/wsf/common/javax.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-04-03 10:17:17 -0400 (Fri, 03 Apr 2009)
New Revision: 9722
Modified:
common/trunk/src/main/java/org/jboss/wsf/common/javax/JavaxAnnotationHelper.java
Log:
[JBWS-2074] rollback
Modified: common/trunk/src/main/java/org/jboss/wsf/common/javax/JavaxAnnotationHelper.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/common/javax/JavaxAnnotationHelper.java 2009-04-03 13:55:07 UTC (rev 9721)
+++ common/trunk/src/main/java/org/jboss/wsf/common/javax/JavaxAnnotationHelper.java 2009-04-03 14:17:17 UTC (rev 9722)
@@ -80,46 +80,47 @@
{
if (instance == null)
throw new IllegalArgumentException("Object instance cannot be null");
- if (injections == null)
- throw new IllegalArgumentException("Injections metadata cannot be null");
Class<?> instanceClass = instance.getClass();
InitialContext ctx = new InitialContext();
// inject descriptor driven annotations
- Collection<InjectionMetaData> injectionMDs = injections.getInjectionsMetaData(instanceClass);
- for (InjectionMetaData injectionMD : injectionMDs)
+ if (injections != null)
{
- Method method = getMethod(injectionMD, instanceClass);
- if (method != null)
+ Collection<InjectionMetaData> injectionMDs = injections.getInjectionsMetaData(instanceClass);
+ for (InjectionMetaData injectionMD : injectionMDs)
{
- try
+ Method method = getMethod(injectionMD, instanceClass);
+ if (method != null)
{
- inject(instance, method, injectionMD.getEnvEntryName(), ctx);
- }
- catch (Exception e)
- {
- LOG.warn("Cannot inject method (descriptor driven injection): " + injectionMD, e);
- }
- }
- else
- {
- Field field = getField(injectionMD, instanceClass);
- if (field != null)
- {
try
{
- inject(instance, field, injectionMD.getEnvEntryName(), ctx);
+ inject(instance, method, injectionMD.getEnvEntryName(), ctx);
}
catch (Exception e)
{
- LOG.warn("Cannot inject field (descriptor driven injection): " + injectionMD, e);
+ LOG.warn("Cannot inject method (descriptor driven injection): " + injectionMD, e);
}
}
else
{
- LOG.warn("Cannot find injection target for: " + injectionMD);
+ Field field = getField(injectionMD, instanceClass);
+ if (field != null)
+ {
+ try
+ {
+ inject(instance, field, injectionMD.getEnvEntryName(), ctx);
+ }
+ catch (Exception e)
+ {
+ LOG.warn("Cannot inject field (descriptor driven injection): " + injectionMD, e);
+ }
+ }
+ else
+ {
+ LOG.warn("Cannot find injection target for: " + injectionMD);
+ }
}
}
}
15 years, 5 months
JBossWS SVN: r9721 - in stack/native/trunk/modules/testsuite/native-tests/src/test: resources/jaxws/enventry/WEB-INF and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2009-04-03 09:55:07 -0400 (Fri, 03 Apr 2009)
New Revision: 9721
Modified:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/enventry/EnvEntryBeanJSE.java
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/enventry/WEB-INF/jse-web.xml
Log:
[JBWS-2074] fixing enventry test case
Modified: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/enventry/EnvEntryBeanJSE.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/enventry/EnvEntryBeanJSE.java 2009-04-03 13:51:03 UTC (rev 9720)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/enventry/EnvEntryBeanJSE.java 2009-04-03 13:55:07 UTC (rev 9721)
@@ -35,10 +35,10 @@
// Provide logging
private static Logger log = Logger.getLogger(EnvEntryBeanJSE.class);
- @Resource
+ // XML driven injection
public String strValue;
- @Resource
+ @Resource( name="jaxws/entry2" )
public Integer intValue;
@WebMethod
Modified: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/enventry/WEB-INF/jse-web.xml
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/enventry/WEB-INF/jse-web.xml 2009-04-03 13:51:03 UTC (rev 9720)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/enventry/WEB-INF/jse-web.xml 2009-04-03 13:55:07 UTC (rev 9721)
@@ -24,16 +24,11 @@
<injection-target-name>strValue</injection-target-name>
</injection-target>
</env-entry>
-
+
<env-entry>
- <env-entry-name>jaxws/entry2</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>8</env-entry-value>
- <injection-target>
- <injection-target-class>org.jboss.test.ws.jaxws.enventry.EnvEntryBeanJSE</injection-target-class>
- <injection-target-name>intValue</injection-target-name>
- </injection-target>
+ <env-entry-name>jaxws/entry2</env-entry-name>
+ <env-entry-type>java.lang.Integer</env-entry-type>
+ <env-entry-value>8</env-entry-value>
</env-entry>
</web-app>
-
15 years, 5 months