Updating underlying libraries to current, major versions. Also updating source level to Java 8 and runtime to Tomcat 8.5. See ivy.xml for details.

git-svn-id: https://brutex.net/svn/xservices/trunk@185 e7e49efb-446e-492e-b9ec-fcafc1997a86
master
Brian Rosenberger 2018-05-03 05:24:04 +00:00
parent bba63ca750
commit a4446afac0
27 changed files with 547 additions and 466 deletions

View File

@ -1,14 +1,14 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<project default="create-doc" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant"> <project default="create-doc" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
<property name="toolsdir" location="C:/Users/brosenberger/JAVA-DEV/" /> <property name="toolsdir" location="C:/JAVA-DEV/" />
<!-- C:\JAVA-DEV\apache-fop-1.1 --> <!-- C:\JAVA-DEV\apache-fop-1.1 -->
<taskdef name="fop" classname="org.apache.fop.tools.anttasks.Fop"> <taskdef name="fop" classname="org.apache.fop.tools.anttasks.Fop">
<classpath> <classpath>
<fileset dir="${toolsdir}/fop-2.1"> <fileset dir="${toolsdir}/fop-2.2/fop">
<include name="build/*.jar" /> <include name="build/*.jar" />
<include name="lib/*.jar" /> <include name="lib/*.jar" />
</fileset> </fileset>
@ -17,7 +17,7 @@
<!-- External Syntax Higlighter for docbook xsl --> <!-- External Syntax Higlighter for docbook xsl -->
<path id="xslthl.path"> <path id="xslthl.path">
<pathelement location="${toolsdir}/xslthl-2.1.0/xslthl-2.1.0.jar" /> <pathelement location="${toolsdir}/xslthl-2.1.3/xslthl-2.1.3.jar" />
</path> </path>
@ -29,8 +29,8 @@
<property name="fo.stylesheet" value="${docbookdir}/fo/docbook.xsl" /> <property name="fo.stylesheet" value="${docbookdir}/fo/docbook.xsl" />
<property name="fo.stylesheet.hl" value="${docbookdir}/fo/docbook.xsl" /> <property name="fo.stylesheet.hl" value="${docbookdir}/fo/docbook.xsl" />
<property name="html.stylesheet.hl" value="${docbookdir}/html/docbook-with-highlighting.xsl" /> <property name="html.stylesheet.hl" value="${docbookdir}/html/docbook.xsl" />
<property name="html.chunked.stylesheet.hl" value="${docbookdir}/html/docbook-chunked-with-highlighting.xsl" /> <property name="html.chunked.stylesheet.hl" value="${docbookdir}/html/docbook.xsl" />
<property name="eclipse.stylesheet" value="${docbookdir}/eclipse/eclipse.xsl" /> <property name="eclipse.stylesheet" value="${docbookdir}/eclipse/eclipse.xsl" />
<property name="html.stylesheet" value="${docbookdir}/html/docbook.xsl" /> <property name="html.stylesheet" value="${docbookdir}/html/docbook.xsl" />
<property name="javahelp.stylesheet" value="${docbookdir}/javahelp/javahelp.xsl" /> <property name="javahelp.stylesheet" value="${docbookdir}/javahelp/javahelp.xsl" />
@ -39,7 +39,8 @@
<property name="docbooksource" value="${current-loc}/doc" /> <property name="docbooksource" value="${current-loc}/doc" />
<property name="xalan" value="org.apache.xalan.processor.TransformerFactoryImpl" /> <property name="xalan" value="org.apache.xalan.processor.TransformerFactoryImpl" />
<property name="web.dir" value="${current-loc}/web" /> <property name="web.dir" value="${current-loc}/web" />
<property name="build.dir" value="${current-loc}/bin" /> <property name="build.dir" value="${current-loc}/build/classes" />
<property name="bin.dir" value="${current-loc}/bin" />
<property name="delivery.dir" value="c:/TEMP/_DELIVERY_AREA" /> <property name="delivery.dir" value="c:/TEMP/_DELIVERY_AREA" />
<property name="name" value="XServices" /> <property name="name" value="XServices" />
@ -162,7 +163,12 @@
</target> </target>
<target name="build-war"> <target name="build-war">
<ivy:retrieve pattern="c://TEMP/lib/default/[artifact]-[revision].[ext]" conf="default" /> <ivy:retrieve pattern="c://TEMP/lib/default/[artifact]-[revision].[ext]" conf="master" />
<jar destfile="${bin.dir}/XServices.jar"
basedir="${build.dir}"
includes="net/**/*"/>
<war destfile="${delivery.dir}\\${name}.war" webxml="${web.dir}/WEB-INF/web.xml"> <war destfile="${delivery.dir}\\${name}.war" webxml="${web.dir}/WEB-INF/web.xml">
<fileset dir="${web.dir}/"> <fileset dir="${web.dir}/">
<include name="**/*.*" /> <include name="**/*.*" />
@ -170,7 +176,14 @@
<lib dir="c://TEMP/lib/default"> <lib dir="c://TEMP/lib/default">
<!--<exclude name="portlet.jar"/>--> <!--<exclude name="portlet.jar"/>-->
</lib> </lib>
<classes dir="${build.dir}" /> <lib dir="${bin.dir}" />
<classes dir="${build.dir}">
<!--We already packed all classes into a jar,
so put only remaining config files into
classes
-->
<exclude name="net/**/*"/>
</classes>
</war> </war>
<tstamp> <tstamp>
<format property="build.version" pattern="yyyyMMddhhmmss" /> <format property="build.version" pattern="yyyyMMddhhmmss" />
@ -184,4 +197,7 @@
<echo>Distribution: ${delivery.dir}\\${name}\\${name}-${build.version} </echo> <echo>Distribution: ${delivery.dir}\\${name}\\${name}-${build.version} </echo>
</target> </target>
<target name="hot-deploy" depends="build-war">
<copy file="${delivery.dir}\\${name}\\${name}-${build.version}\\${name}.war" toFile="C://JAVA-DEV//Tomcat//apache-tomcat-8.5.30 -localtest//webapps//XServices.war" />
</target>
</project> </project>

View File

@ -6,7 +6,8 @@
<title>Installation</title> <title>Installation</title>
<para>As of February 2013, XServices require Java 7. Older builds run against Java 5.</para> <para>As of February 2013, XServices require Java 7. Older builds run against Java 5.</para>
<para>Apache Tomcat 7</para> <para>As of April 2018, XServices require Java 8 and Tomcat 8.5.</para>
<para>tbd.</para> <para>tbd.</para>
<para>In short: Deploy .WAR file to Apache Tomcat</para> <para>In short: Deploy .WAR file to Apache Tomcat</para>
<section> <section>

119
ivy.xml
View File

@ -15,7 +15,8 @@
<info organisation="Brutex Network" module="XServices" status="integration"> <info organisation="Brutex Network" module="XServices" status="integration">
</info> </info>
<configurations> <configurations >
<conf name="default" visibility="public" description="runtime dependencies and master artifact can be used with this conf" extends="runtime,master"/> <conf name="default" visibility="public" description="runtime dependencies and master artifact can be used with this conf" extends="runtime,master"/>
<conf name="master" visibility="public" description="contains only the artifact published by this module itself, with no transitive dependencies"/> <conf name="master" visibility="public" description="contains only the artifact published by this module itself, with no transitive dependencies"/>
<conf name="compile" visibility="public" description="this is the default scope, used if none is specified. Compile dependencies are available in all classpaths." extends="master"/> <conf name="compile" visibility="public" description="this is the default scope, used if none is specified. Compile dependencies are available in all classpaths." extends="master"/>
@ -29,12 +30,12 @@
</configurations> </configurations>
<dependencies defaultconf="*->#(master),master(*)">
<dependency org="com.sun.xml.bind" name="jaxb-impl" rev="2.2.7"/> <dependencies defaultconf="master">
<dependency org="org.apache.commons" name="commons-lang3" rev="3.7"/>
<dependency org="org.apache.commons" name="commons-configuration2" rev="2.2" />
<dependency org="org.apache.commons" name="commons-lang3" rev="3.1"/>
<dependency org="commons-configuration" name="commons-configuration" rev="1.10"/>
<dependency org="commons-net" name="commons-net" rev="3.2"/> <dependency org="commons-net" name="commons-net" rev="3.2"/>
<dependency org="org.apache.ant" name="ant" rev="1.8.4"/> <dependency org="org.apache.ant" name="ant" rev="1.8.4"/>
@ -45,79 +46,95 @@
<dependency org="javax.mail" name="mail" rev="1.4.7"/> <dependency org="javax.mail" name="mail" rev="1.4.7"/>
<dependency org="org.apache.ant" name="ant-javamail" rev="1.8.1"/> <dependency org="org.apache.ant" name="ant-javamail" rev="1.8.1"/>
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-jcs-core -->
<dependency org="org.apache.commons" name="commons-jcs-core" rev="2.2"/>
<!-- JCS does not define scopes in its pom.xml, thus map any configuration to default --> <dependency org="org.quartz-scheduler" name="quartz" rev="2.3.0"/>
<dependency org="org.apache.jcs" name="jcs" rev="1.3"/>
<!--<dependency org="concurrent" name="concurrent" rev="1.3.4"/> --><!-- needed for JCS --> <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
<dependency org="org.apache.logging.log4j" name="log4j-api" rev="2.11.0"/>
<dependency org="org.apache.logging.log4j" name="log4j-core" rev="2.11.0"/>
<dependency org="org.apache.logging.log4j" name="log4j-web" rev="2.11.0"/>
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-1.2-api -->
<dependency org="org.apache.logging.log4j" name="log4j-1.2-api" rev="2.11.0"/>
<dependency org="org.quartz-scheduler" name="quartz" rev="2.2.0"/> <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-slf4j-impl -->
<dependency org="org.apache.logging.log4j" name="log4j-slf4j-impl" rev="2.11.0" />
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
<!-- <dependency org="org.slf4j" name="slf4j-api" rev="1.7.25" />-->
<dependency org="log4j" name="log4j" rev="1.2.17"/>
<dependency org="org.apache.ws.commons.axiom" name="axiom-api" rev="1.2.14"/>
<dependency org="org.apache.ws.commons.axiom" name="axiom-impl" rev="1.2.14"/>
<dependency org="jaxen" name="jaxen" rev="1.1.4"/> <dependency org="org.springframework" name="spring-core" rev="5.0.5.RELEASE" conf="master,compile,runtime"/>
<dependency org="org.springframework" name="spring-context" rev="5.0.5.RELEASE" conf="master,compile,runtime"/>
<dependency org="org.springframework" name="spring-web" rev="5.0.5.RELEASE" conf="master,compile,runtime"/>
<dependency org="commons-beanutils" name="commons-beanutils" rev="1.9.3"/>
<dependency org="org.apache.ws.commons.axiom" name="axiom-api" rev="1.2.20" conf="compile,master">
<!-- <artifact name="axiom-api" ext="jar"/>-->
<exclude name="axiom-api-1.2.20-tests" ext="jar"/>
</dependency>
<dependency org="org.apache.ws.commons.axiom" name="axiom-impl" rev="1.2.20" conf="master" />
<!--
<dependency org="org.codehaus.woodstox" name="woodstox-core-asl" rev="4.4.1"/>
<dependency org="org.codehaus.woodstox" name="stax2-api" rev="4.1"/>
-->
<dependency org="org.apache.shiro" name="shiro-core" rev="1.4.0" />
<dependency org="org.apache.shiro" name="shiro-root" rev="1.4.0" />
<dependency org="org.apache.shiro" name="shiro-web" rev="1.4.0" />
<dependency org="org.apache.cxf" name="cxf-core" rev="3.2.4" conf="master,compile"/>
<dependency org="org.apache.cxf" name="cxf-rt-transports-http" rev="3.2.4" conf="master,compile" />
<dependency org="org.apache.cxf" name="cxf-rt-databinding-aegis" rev="3.2.4" conf="master,compile"/>
<dependency org="org.apache.cxf" name="cxf-rt-frontend-jaxrs" rev="3.2.4" conf="master,compile"/>
<dependency org="org.apache.cxf" name="cxf-rt-frontend-jaxws" rev="3.2.4" conf="master,compile"/>
<dependency org="org.apache.cxf" name="cxf-rt-security" rev="3.2.4" conf="master,compile"/>
<dependency org="org.apache.cxf" name="cxf-rt-ws-security" rev="3.2.4" conf="master,compile"/>
<!--
<dependency org="org.apache.wss4j" name="wss4j" rev="2.2.1" conf="*->compile"/>
<dependency org="org.apache.wss4j" name="wss4j-ws-security-common" rev="2.2.1" conf="*->compile"/>
-->
<dependency org="org.apache.ws.security" name="wss4j" rev="1.6.19"/>
<dependency org="org.apache.shiro" name="shiro-core" rev="1.2.2"/>
<dependency org="org.apache.shiro" name="shiro-web" rev="1.2.2"/>
<dependency org="org.slf4j" name="slf4j-log4j12" rev="1.6.6"/> <!-- Binding to Log4J -->
<dependency org="org.apache.cxf" name="cxf-rt-core" rev="2.7.0"/>
<dependency org="org.apache.cxf" name="cxf-rt-transports-http" rev="2.7.0"/>
<dependency org="org.apache.cxf" name="cxf-rt-databinding-aegis" rev="2.7.0"/>
<dependency org="org.apache.cxf" name="cxf-rt-frontend-jaxrs" rev="2.7.0"/>
<dependency org="org.apache.cxf" name="cxf-rt-frontend-jaxws" rev="2.7.0"/>
<dependency org="org.apache.cxf" name="cxf-rt-rs-security-sso-saml" rev="2.7.0"/>
<dependency org="rhino" name="js" rev="1.7R2"/> <dependency org="rhino" name="js" rev="1.7R2"/>
<!-- <!-- https://mvnrepository.com/artifact/javax.ws.rs/javax.ws.rs-api -->
<dependency org="org.apache.cxf" name="cxf-rt-bindings-soap" rev="2.7.0"/> <dependency org="javax.ws.rs" name="javax.ws.rs-api" rev="2.1"/>
<dependency org="org.apache.cxf" name="cxf-rt-databinding-jaxb" rev="2.7.0"/>
-->
<dependency org="org.springframework" name="spring-web" rev="3.0.7.RELEASE"/>
<!--
<dependency org="javax.transaction" name="jta" rev="1.0.1B" />
<dependency org="javax.sql" name="jdbc-stdext" rev="2.0" />
-->
<!-- <!--
Locally managed libraries Locally managed libraries
--> -->
<dependency org="lib" name="java-unrar" rev="0.3" conf="*->*"> <dependency org="lib" name="java-unrar" rev="0.3" conf="*->default">
<artifact name="java-unrar" type="jar" /> <artifact name="java-unrar" type="jar" />
</dependency> </dependency>
<dependency org="lib" name="lib.cvsclient" rev="20131001" conf="*->*"> <dependency org="lib" name="lib.cvsclient" rev="20131001" conf="*->default">
<artifact name="lib.cvsclient" type="jar" /> <artifact name="lib.cvsclient" type="jar" />
</dependency> </dependency>
<dependency org="lib" name="lib.xservices-scmtypes" rev="20131001" conf="*"> <dependency org="lib" name="lib.xservices-scmtypes" rev="20131001" conf="*->default">
<artifact name="lib.xservices-scmtypes" type="jar" /> <artifact name="lib.xservices-scmtypes" type="jar" />
</dependency> </dependency>
<!-- Serena Dimensions CM 14.1 -->
<dependency org="serena" name="serena.darius" rev="14.1" conf="*">
<artifact name="serena.darius" type="jar" />
</dependency>
<dependency org="serena" name="serena.dmclient" rev="14.1" conf="*">
<artifact name="serena.dmclient" type="jar" />
</dependency>
<dependency org="serena" name="serena.dmfile" rev="14.1" conf="*">
<artifact name="serena.dmfile" type="jar" />
</dependency>
<dependency org="serena" name="serena.dmnet" rev="14.1" conf="*">
<artifact name="serena.dmnet" type="jar" />
</dependency>
<dependency org="serena" name="serena.dmtpi" rev="14.1" conf="*">
<artifact name="serena.dmtpi" type="jar" />
</dependency>
<conflict manager="latest-revision"/>
</dependencies> </dependencies>
</ivy-module> </ivy-module>

16
src/java/log4j2.xml Normal file
View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
</Console>
</Appenders>
<Loggers>
<!-- Log anything else with error level -->
<Root level="error">
<AppenderRef ref="Console"/>
</Root>
</Loggers>
</Configuration>

View File

@ -16,7 +16,9 @@
package net.brutex.xservices.security; package net.brutex.xservices.security;
import org.apache.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.shiro.authz.Permission; import org.apache.shiro.authz.Permission;
import org.apache.shiro.util.AntPathMatcher; import org.apache.shiro.util.AntPathMatcher;
@ -26,7 +28,8 @@ import org.apache.shiro.util.AntPathMatcher;
*/ */
public class DirectoryPermission implements Permission { public class DirectoryPermission implements Permission {
private final Logger logger = Logger.getLogger(DirectoryPermission.class); private final Logger logger = LogManager.getLogger();
private final String path; private final String path;
public DirectoryPermission(String antlikepath) { public DirectoryPermission(String antlikepath) {

View File

@ -19,7 +19,8 @@ package net.brutex.xservices.security;
import net.brutex.xservices.ws.XmlService; import net.brutex.xservices.ws.XmlService;
import net.brutex.xservices.ws.rs.FileInfo; import net.brutex.xservices.ws.rs.FileInfo;
import org.apache.log4j.Logger; import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import org.apache.shiro.authz.Permission; import org.apache.shiro.authz.Permission;
import org.apache.shiro.authz.permission.InvalidPermissionStringException; import org.apache.shiro.authz.permission.InvalidPermissionStringException;
@ -29,7 +30,7 @@ import org.apache.shiro.authz.permission.InvalidPermissionStringException;
*/ */
public class PermissionResolver implements org.apache.shiro.authz.permission.PermissionResolver { public class PermissionResolver implements org.apache.shiro.authz.permission.PermissionResolver {
final Logger logger = Logger.getLogger(PermissionResolver.class); private final Logger logger = LogManager.getLogger();
private final String DELIMITER = "||"; private final String DELIMITER = "||";
@Override @Override

View File

@ -17,24 +17,30 @@
package net.brutex.xservices.security; package net.brutex.xservices.security;
import java.text.ParseException; import org.apache.logging.log4j.Logger;
import java.util.Collection;
import java.util.Map;
import org.apache.log4j.Logger; import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import javax.servlet.ServletContext;
import org.apache.catalina.core.ApplicationContext;
import org.apache.logging.log4j.LogManager;
import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.AuthenticationInfo; import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken; import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authz.AuthorizationInfo; import org.apache.shiro.authz.AuthorizationInfo;
import org.apache.shiro.authz.Permission; import org.apache.shiro.authz.SimpleAuthorizationInfo;
import org.apache.shiro.authz.permission.PermissionResolver;
import org.apache.shiro.config.Ini; import org.apache.shiro.config.Ini;
import org.apache.shiro.io.ResourceUtils; import org.apache.shiro.io.ResourceUtils;
import org.apache.shiro.realm.AuthorizingRealm; import org.apache.shiro.realm.AuthorizingRealm;
import org.apache.shiro.realm.text.IniRealm; import org.apache.shiro.realm.text.IniRealm;
import org.apache.shiro.realm.text.TextConfigurationRealm;
import org.apache.shiro.subject.PrincipalCollection; import org.apache.shiro.subject.PrincipalCollection;
import org.apache.shiro.util.Nameable; import org.apache.shiro.util.Nameable;
import org.apache.shiro.util.PermissionUtils; import org.apache.shiro.web.env.IniWebEnvironment;
import org.apache.shiro.web.util.WebUtils;
// TODO: Auto-generated Javadoc // TODO: Auto-generated Javadoc
/* /*
@ -51,7 +57,7 @@ import org.apache.shiro.util.PermissionUtils;
public class XServicesRealm extends IniRealm implements Nameable { public class XServicesRealm extends IniRealm implements Nameable {
/** The logger. */ /** The logger. */
private static Logger logger = Logger.getLogger(XServicesRealm.class); private final Logger logger = LogManager.getLogger();
/** The name. */ /** The name. */
private String name; private String name;
@ -70,11 +76,25 @@ public class XServicesRealm extends IniRealm implements Nameable {
* 'shiro.ini' in classpath and {@link net.brutex.xservices.security.PermissionResolver PermissionResolver}. * 'shiro.ini' in classpath and {@link net.brutex.xservices.security.PermissionResolver PermissionResolver}.
* *
*/ */
public XServicesRealm() { public XServicesRealm() {
super(); super();
this.setIni(Ini.fromResourcePath(ResourceUtils.CLASSPATH_PREFIX+"shiro.ini")); /* needs review */
this.setPermissionResolver(new net.brutex.xservices.security.PermissionResolver()); URI classesRootDir;
//this.setRolePermissionResolver(new RolePermissionResolver()); try {
init(); classesRootDir = getClass().getProtectionDomain().getCodeSource().getLocation().toURI();
String dir = classesRootDir.toString().replaceAll("%20", " ");
dir = dir.substring(0, dir.lastIndexOf("WEB-INF"));
this.setIni(Ini.fromResourcePath(dir+"/WEB-INF/shiro.ini"));
} catch (URISyntaxException e) {
logger.error(e.getMessage(), e);
e.printStackTrace();
} }
this.setPermissionResolver(new net.brutex.xservices.security.PermissionResolver());
}
} }

View File

@ -16,9 +16,9 @@
package net.brutex.xservices.security; package net.brutex.xservices.security;
import org.apache.log4j.Logger; import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import org.apache.shiro.authz.Permission; import org.apache.shiro.authz.Permission;
import org.apache.shiro.util.AntPathMatcher;
/** /**
* @author Brian Rosenberger, bru(at)brutex.de * @author Brian Rosenberger, bru(at)brutex.de
@ -26,7 +26,7 @@ import org.apache.shiro.util.AntPathMatcher;
*/ */
public class XmlServicePermission implements Permission { public class XmlServicePermission implements Permission {
private final Logger logger = Logger.getLogger(XmlServicePermission.class); private final Logger logger = LogManager.getLogger();
private final String permissionString; private final String permissionString;
public XmlServicePermission(String permissionString) { public XmlServicePermission(String permissionString) {

View File

@ -30,9 +30,9 @@ import java.sql.Statement;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.apache.logging.log4j.Level;
import org.apache.log4j.Level; import org.apache.logging.log4j.LogManager;
import org.apache.log4j.Logger; import org.apache.logging.log4j.Logger;
import org.quartz.utils.ConnectionProvider; import org.quartz.utils.ConnectionProvider;
/** /**
@ -42,7 +42,7 @@ import org.quartz.utils.ConnectionProvider;
public class BrutexHSQLQuartzConnectionProvider implements ConnectionProvider { public class BrutexHSQLQuartzConnectionProvider implements ConnectionProvider {
private Connection conn = null; private Connection conn = null;
private final Logger logger = Logger.getLogger(this.getClass().getCanonicalName()); private static final Logger logger = LogManager.getLogger();
public Connection getConnection() throws SQLException { public Connection getConnection() throws SQLException {

View File

@ -30,9 +30,9 @@ import java.sql.Statement;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.apache.logging.log4j.Level;
import org.apache.log4j.Level; import org.apache.logging.log4j.LogManager;
import org.apache.log4j.Logger; import org.apache.logging.log4j.Logger;
import org.quartz.utils.ConnectionProvider; import org.quartz.utils.ConnectionProvider;
/** /**
@ -42,7 +42,7 @@ import org.quartz.utils.ConnectionProvider;
public class BrutexQuartzConnectionProvider implements ConnectionProvider { public class BrutexQuartzConnectionProvider implements ConnectionProvider {
private Connection conn = null; private Connection conn = null;
private final Logger logger = Logger.getLogger(this.getClass().getCanonicalName()); private final Logger logger = LogManager.getLogger();
public Connection getConnection() throws SQLException { public Connection getConnection() throws SQLException {

View File

@ -2,11 +2,13 @@
/* */ /* */
/* */ import java.io.File; /* */ import java.io.File;
/* */ import net.brutex.xservices.types.scm.ItemType; /* */ import net.brutex.xservices.types.scm.ItemType;
/* */ import net.brutex.xservices.ws.rs.CVSInfoImpl; import net.brutex.xservices.util.CVSRoot;
/* */ import org.apache.commons.configuration.Configuration;
/* */ import org.apache.commons.configuration.ConfigurationException; import org.apache.commons.configuration2.PropertiesConfiguration;
/* */ import org.apache.commons.configuration.PropertiesConfiguration; import org.apache.commons.configuration2.builder.fluent.Configurations;
/* */ import org.apache.log4j.Logger; import org.apache.commons.configuration2.ex.ConfigurationException;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
/* */ import org.netbeans.lib.cvsclient.Client; /* */ import org.netbeans.lib.cvsclient.Client;
/* */ import org.netbeans.lib.cvsclient.admin.StandardAdminHandler; /* */ import org.netbeans.lib.cvsclient.admin.StandardAdminHandler;
/* */ import org.netbeans.lib.cvsclient.command.CommandAbortedException; /* */ import org.netbeans.lib.cvsclient.command.CommandAbortedException;
@ -20,7 +22,7 @@
/* */ private final PServerConnection connection; /* */ private final PServerConnection connection;
/* */ private final CVSRoot root; /* */ private final CVSRoot root;
/* */ private final GlobalOptions globalOptions; /* */ private final GlobalOptions globalOptions;
/* 41 */ final Logger logger = Logger.getLogger(CVSInfoImpl.class); /* 41 */ final Logger logger = LogManager.getLogger();
/* */ public final Client client; /* */ public final Client client;
/* */ /* */
/* */ public Client getClient() /* */ public Client getClient()
@ -34,7 +36,9 @@
/* 55 */ throw new ConfigurationException("Config file not found"); /* 55 */ throw new ConfigurationException("Config file not found");
/* */ } /* */ }
/* 57 */ this.configfile = config; /* 57 */ this.configfile = config;
/* 58 */ Configuration configuration = new PropertiesConfiguration(this.configfile); Configurations configs = new Configurations();
/* 58 */ PropertiesConfiguration configuration = configs.properties(this.configfile);
/* */ /* */
/* 60 */ String cvsroot = configuration.getString("CVSROOT"); /* 60 */ String cvsroot = configuration.getString("CVSROOT");
/* 61 */ String workdir = configuration.getString("WORKDIR"); /* 61 */ String workdir = configuration.getString("WORKDIR");

View File

@ -25,7 +25,9 @@ import java.nio.file.attribute.BasicFileAttributes;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.apache.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import net.brutex.xservices.types.FileInfoType; import net.brutex.xservices.types.FileInfoType;
@ -50,7 +52,7 @@ public class FileWalker extends SimpleFileVisitor<Path> {
private final String pattern; private final String pattern;
/** The logger. */ /** The logger. */
final Logger logger = Logger.getLogger(FileWalker.class); private static final Logger logger = LogManager.getLogger();
List<Path> list; List<Path> list;

View File

@ -28,16 +28,11 @@ import javax.servlet.ServletContextListener;
* *
*/ */
public class CacheExecutorService implements ServletContextListener {
public class CacheExecutorService
implements ServletContextListener
{
static final String EXECUTOR_NAME = "CACHE_EXECUTOR"; static final String EXECUTOR_NAME = "CACHE_EXECUTOR";
private ExecutorService executor; private ExecutorService executor;
public void contextInitialized(ServletContextEvent arg0) public void contextInitialized(ServletContextEvent arg0) {
{
ServletContext context = arg0.getServletContext(); ServletContext context = arg0.getServletContext();
int nr_executors = 5; int nr_executors = 5;
ThreadFactory daemonFactory = new DaemonThreadFactory(); ThreadFactory daemonFactory = new DaemonThreadFactory();

View File

@ -21,11 +21,11 @@ import java.util.ArrayList;
import java.util.Enumeration; import java.util.Enumeration;
import java.util.List; import java.util.List;
import java.util.concurrent.ExecutorService; import java.util.concurrent.ExecutorService;
import javax.servlet.ServletContext;
import javax.servlet.ServletException; import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServlet;
import net.brutex.xservices.types.scm.ObjectFactory; import net.brutex.xservices.types.scm.ObjectFactory;
import org.apache.log4j.Logger; import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
/** /**
* @author Brian Rosenberger, bru(at)brutex.de * @author Brian Rosenberger, bru(at)brutex.de
@ -35,8 +35,8 @@ import org.apache.log4j.Logger;
public class CacheServlet extends HttpServlet public class CacheServlet extends HttpServlet
{ {
private final Logger logger = Logger.getLogger(CacheServlet.class); private static final Logger logger = LogManager.getLogger();
List<File> configfiles = new ArrayList(); List<File> configfiles = new ArrayList<File>();
int cacheinterval; int cacheinterval;
private final ObjectFactory FACTORY = new ObjectFactory(); private final ObjectFactory FACTORY = new ObjectFactory();

View File

@ -38,11 +38,13 @@ import net.brutex.xservices.types.scmfindings.FindingsListType;
import net.brutex.xservices.types.scmfindings.GroupMatchListType; import net.brutex.xservices.types.scmfindings.GroupMatchListType;
import net.brutex.xservices.types.scmfindings.ObjectFactory; import net.brutex.xservices.types.scmfindings.ObjectFactory;
import net.brutex.xservices.ws.rs.CVSInfoImpl; import net.brutex.xservices.ws.rs.CVSInfoImpl;
import org.apache.commons.configuration.ConfigurationException;
import org.apache.commons.configuration.PropertiesConfiguration; import org.apache.commons.configuration2.PropertiesConfiguration;
import org.apache.jcs.JCS; import org.apache.commons.configuration2.builder.fluent.Configurations;
import org.apache.jcs.access.exception.CacheException; import org.apache.commons.configuration2.ex.ConfigurationException;
import org.apache.log4j.Logger; import org.apache.commons.jcs.access.exception.CacheException;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
/** /**
* @author Brian Rosenberger, bru(at)brutex.de * @author Brian Rosenberger, bru(at)brutex.de
@ -52,8 +54,7 @@ import org.apache.log4j.Logger;
public class FindingsCacheServlet extends HttpServlet { public class FindingsCacheServlet extends HttpServlet {
private static final long serialVersionUID = 4041338473949999960L; private static final long serialVersionUID = 4041338473949999960L;
private final static Logger logger = Logger private static final Logger logger = LogManager.getLogger();
.getLogger(FindingsCacheServlet.class);
private final List<File> configfiles = new ArrayList<File>(); private final List<File> configfiles = new ArrayList<File>();
private final ObjectFactory FACTORY = new ObjectFactory(); private final ObjectFactory FACTORY = new ObjectFactory();
private ExecutorService executor; private ExecutorService executor;
@ -70,7 +71,7 @@ public class FindingsCacheServlet extends HttpServlet {
int i = 1; int i = 1;
for(File f: configfiles) { for(File f: configfiles) {
//Initialise configuration bean using default values //Initialise configuration bean using default values
FindingsConfigBean cbean = new FindingsConfigBean(i, Logger.getLogger("worker-"+i+ "." + this.getClass().getName())); FindingsConfigBean cbean = new FindingsConfigBean(i, LogManager.getLogger("worker-"+i+ "." + this.getClass().getName()));
i++; i++;
@ -86,9 +87,10 @@ public class FindingsCacheServlet extends HttpServlet {
+ cbean.getCacheinterval()+ "' minutes"); + cbean.getCacheinterval()+ "' minutes");
} }
Configurations configs = new Configurations();
PropertiesConfiguration config = null; PropertiesConfiguration config = null;
try { try {
config = new PropertiesConfiguration(f); config = configs.properties(f);
} catch (ConfigurationException e) { } catch (ConfigurationException e) {
logger.error("Could not read parameter file at '"+f.getAbsolutePath()+"'"); logger.error("Could not read parameter file at '"+f.getAbsolutePath()+"'");
return; return;

View File

@ -19,8 +19,7 @@ package net.brutex.xservices.util.cache;
import java.io.File; import java.io.File;
import java.util.List; import java.util.List;
import org.apache.commons.configuration.PropertiesConfiguration; import org.apache.logging.log4j.Logger;
import org.apache.log4j.Logger;
/** /**
* @author Brian Rosenberger, bru(at)brutex.de * @author Brian Rosenberger, bru(at)brutex.de
@ -28,8 +27,7 @@ import org.apache.log4j.Logger;
*/ */
public class FindingsConfigBean { public class FindingsConfigBean {
private final Logger logger; private Logger logger;
private final int instanceid; private final int instanceid;
private File cvsconfig; private File cvsconfig;
@ -40,7 +38,7 @@ public class FindingsConfigBean {
public FindingsConfigBean(int instanceid, Logger logger) { public FindingsConfigBean(int instanceid, Logger logger) {
this.instanceid = instanceid; this.instanceid = instanceid;
this.logger = logger; this.logger = logger;
logger.debug("Initialise FindingsConfigBean instance '"+instanceid+"'"); logger.debug("Initialise FindingsConfigBean instance '" + instanceid + "'");
} }
@ -52,7 +50,8 @@ public class FindingsConfigBean {
} }
/** /**
* @param cacheinterval the cache interval to set * @param cacheinterval
* the cache interval to set
*/ */
public void setCacheinterval(int cacheinterval) { public void setCacheinterval(int cacheinterval) {
this.cacheinterval = cacheinterval; this.cacheinterval = cacheinterval;
@ -66,7 +65,8 @@ public class FindingsConfigBean {
} }
/** /**
* @param cvsconfig the cvsconfig to set * @param cvsconfig
* the cvsconfig to set
*/ */
public void setCvsconfig(File cvsconfig) { public void setCvsconfig(File cvsconfig) {
this.cvsconfig = cvsconfig; this.cvsconfig = cvsconfig;
@ -80,7 +80,8 @@ public class FindingsConfigBean {
} }
/** /**
* @param filepatterns the filepatterns to set * @param filepatterns
* the filepatterns to set
*/ */
public void setFilepatterns(List<Object> filepatterns) { public void setFilepatterns(List<Object> filepatterns) {
this.filepatterns = filepatterns; this.filepatterns = filepatterns;
@ -94,7 +95,8 @@ public class FindingsConfigBean {
} }
/** /**
* @param contentpatterns the contentpatterns to set * @param contentpatterns
* the contentpatterns to set
*/ */
public void setContentpatterns(List<Object> contentpatterns) { public void setContentpatterns(List<Object> contentpatterns) {
this.contentpatterns = contentpatterns; this.contentpatterns = contentpatterns;

View File

@ -26,17 +26,12 @@ import java.nio.charset.Charset;
import java.nio.charset.IllegalCharsetNameException; import java.nio.charset.IllegalCharsetNameException;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import java.util.StringTokenizer;
import javax.jws.WebService; import javax.jws.WebService;
import javax.ws.rs.NotAuthorizedException;
import javax.xml.namespace.QName; import javax.xml.namespace.QName;
import javax.xml.stream.XMLOutputFactory; import javax.xml.stream.XMLOutputFactory;
import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamReader;
import javax.xml.stream.XMLStreamWriter; import javax.xml.stream.XMLStreamWriter;
import net.brutex.xservices.security.DirectoryPermission;
import net.brutex.xservices.types.AttributeType; import net.brutex.xservices.types.AttributeType;
import net.brutex.xservices.types.NamespaceListType; import net.brutex.xservices.types.NamespaceListType;
import net.brutex.xservices.types.NamespaceType; import net.brutex.xservices.types.NamespaceType;
@ -58,9 +53,9 @@ import org.apache.axiom.om.OMProcessingInstruction;
import org.apache.axiom.om.OMText; import org.apache.axiom.om.OMText;
import org.apache.axiom.om.OMXMLBuilderFactory; import org.apache.axiom.om.OMXMLBuilderFactory;
import org.apache.axiom.om.xpath.AXIOMXPath; import org.apache.axiom.om.xpath.AXIOMXPath;
import org.apache.log4j.Logger;
import org.apache.shiro.SecurityUtils; import org.apache.logging.log4j.LogManager;
import org.apache.shiro.authz.UnauthorizedException; import org.apache.logging.log4j.Logger;
import org.apache.shiro.authz.annotation.RequiresPermissions; import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.jaxen.JaxenException; import org.jaxen.JaxenException;
import org.jaxen.SimpleNamespaceContext; import org.jaxen.SimpleNamespaceContext;
@ -71,18 +66,17 @@ import org.jaxen.SimpleNamespaceContext;
*/ */
@WebService(targetNamespace = "http://ws.xservices.brutex.net", endpointInterface = "net.brutex.xservices.ws.XmlService", serviceName = "XmlService") @WebService(targetNamespace = "http://ws.xservices.brutex.net", endpointInterface = "net.brutex.xservices.ws.XmlService", serviceName = "XmlService")
public class XmlServiceImpl implements XmlService { public class XmlServiceImpl implements XmlService {
final Logger logger = Logger.getLogger(XmlServiceImpl.class); private static final Logger logger = LogManager.getLogger();
public String insertNodesFromFile(FileResource res, NamespaceListType nsList, String xpath, String xmlFragment) throws XServicesFault { public String insertNodesFromFile(FileResource res, NamespaceListType nsList, String xpath, String xmlFragment)
throws XServicesFault {
try { try {
AXIOMXPath axp = new AXIOMXPath(xpath); AXIOMXPath axp = new AXIOMXPath(xpath);
InputStream is = res.getAntResource(null).getInputStream(); InputStream is = res.getAntResource(null).getInputStream();
OMDocument sourcedoc = OMXMLBuilderFactory.createOMBuilder(is) OMDocument sourcedoc = OMXMLBuilderFactory.createOMBuilder(is).getDocument();
.getDocument();
OMDocument fragdoc = null; OMDocument fragdoc = null;
if ((xmlFragment != null) && (new String(xmlFragment).length() > 0)) { if ((xmlFragment != null) && (new String(xmlFragment).length() > 0)) {
fragdoc = OMXMLBuilderFactory.createOMBuilder( fragdoc = OMXMLBuilderFactory.createOMBuilder(new StringReader("<XS>" + xmlFragment + "</XS>"))
new StringReader("<XS>" + xmlFragment + "</XS>"))
.getDocument(); .getDocument();
} else { } else {
throw new XServicesFault("No xmldata to insert."); throw new XServicesFault("No xmldata to insert.");
@ -114,15 +108,15 @@ public class XmlServiceImpl implements XmlService {
} }
} }
public String replaceNodesFromFile(FileResource res, NamespaceListType nsList, String xpath, String xmlFragment) throws XServicesFault { public String replaceNodesFromFile(FileResource res, NamespaceListType nsList, String xpath, String xmlFragment)
throws XServicesFault {
try { try {
AXIOMXPath axp = new AXIOMXPath(xpath); AXIOMXPath axp = new AXIOMXPath(xpath);
InputStream is = res.getAntResource(null).getInputStream(); InputStream is = res.getAntResource(null).getInputStream();
OMDocument sourcedoc = OMXMLBuilderFactory.createOMBuilder(is).getDocument(); OMDocument sourcedoc = OMXMLBuilderFactory.createOMBuilder(is).getDocument();
OMDocument fragdoc = null; OMDocument fragdoc = null;
if ((xmlFragment != null) && (new String(xmlFragment).length() > 0)) { if ((xmlFragment != null) && (new String(xmlFragment).length() > 0)) {
fragdoc = OMXMLBuilderFactory.createOMBuilder( fragdoc = OMXMLBuilderFactory.createOMBuilder(new StringReader("<XS>" + xmlFragment + "</XS>"))
new StringReader("<XS>" + xmlFragment + "</XS>"))
.getDocument(); .getDocument();
} else { } else {
throw new XServicesFault("No xmldata to insert."); throw new XServicesFault("No xmldata to insert.");
@ -154,17 +148,16 @@ public class XmlServiceImpl implements XmlService {
} }
} }
public String replaceNodes(String source, String encoding, NamespaceListType nsList, String xpath, String xmlFragment) throws XServicesFault { public String replaceNodes(String source, String encoding, NamespaceListType nsList, String xpath,
String xmlFragment) throws XServicesFault {
encoding = validateEncoding(encoding); encoding = validateEncoding(encoding);
try { try {
AXIOMXPath axp = new AXIOMXPath(xpath); AXIOMXPath axp = new AXIOMXPath(xpath);
InputStream is = new ByteArrayInputStream(source.getBytes(encoding)); InputStream is = new ByteArrayInputStream(source.getBytes(encoding));
OMDocument sourcedoc = OMXMLBuilderFactory.createOMBuilder(is) OMDocument sourcedoc = OMXMLBuilderFactory.createOMBuilder(is).getDocument();
.getDocument();
OMDocument fragdoc = null; OMDocument fragdoc = null;
if ((xmlFragment != null) && (new String(xmlFragment).length() > 0)) { if ((xmlFragment != null) && (new String(xmlFragment).length() > 0)) {
fragdoc = OMXMLBuilderFactory.createOMBuilder( fragdoc = OMXMLBuilderFactory.createOMBuilder(new StringReader("<XS>" + xmlFragment + "</XS>"))
new StringReader("<XS>" + xmlFragment + "</XS>"))
.getDocument(); .getDocument();
} else { } else {
throw new XServicesFault("No xmldata to insert."); throw new XServicesFault("No xmldata to insert.");
@ -196,17 +189,16 @@ public class XmlServiceImpl implements XmlService {
} }
@RequiresPermissions("insertNodes") @RequiresPermissions("insertNodes")
public String insertNodes(String source, String encoding, NamespaceListType nsList, String xpath, String xmlFragment) throws XServicesFault { public String insertNodes(String source, String encoding, NamespaceListType nsList, String xpath,
String xmlFragment) throws XServicesFault {
encoding = validateEncoding(encoding); encoding = validateEncoding(encoding);
try { try {
AXIOMXPath axp = new AXIOMXPath(xpath); AXIOMXPath axp = new AXIOMXPath(xpath);
InputStream is = new ByteArrayInputStream(source.getBytes(encoding)); InputStream is = new ByteArrayInputStream(source.getBytes(encoding));
OMDocument sourcedoc = OMXMLBuilderFactory.createOMBuilder(is) OMDocument sourcedoc = OMXMLBuilderFactory.createOMBuilder(is).getDocument();
.getDocument();
OMDocument fragdoc = null; OMDocument fragdoc = null;
if ((xmlFragment != null) && (new String(xmlFragment).length() > 0)) { if ((xmlFragment != null) && (new String(xmlFragment).length() > 0)) {
fragdoc = OMXMLBuilderFactory.createOMBuilder( fragdoc = OMXMLBuilderFactory.createOMBuilder(new StringReader("<XS>" + xmlFragment + "</XS>"))
new StringReader("<XS>" + xmlFragment + "</XS>"))
.getDocument(); .getDocument();
} else { } else {
throw new XServicesFault("No xmldata to insert."); throw new XServicesFault("No xmldata to insert.");
@ -238,19 +230,21 @@ public class XmlServiceImpl implements XmlService {
} }
public String wrapInCDATA(String data) throws XServicesFault { public String wrapInCDATA(String data) throws XServicesFault {
String result =""; String result = "";
String[] tokens = data.split("\\]\\]>", -1); String[] tokens = data.split("\\]\\]>", -1);
for(int i=0; i<tokens.length; i++) { for (int i = 0; i < tokens.length; i++) {
result += tokens[i]; result += tokens[i];
if (i+1 < tokens.length ) result += "]]]]><![CDATA[>"; if (i + 1 < tokens.length)
result += "]]]]><![CDATA[>";
} }
result = "<![CDATA[" + result + "]]>"; result = "<![CDATA[" + result + "]]>";
return result; return result;
} }
public StringSplitType selectXPath(String source, String encoding, NamespaceListType nsList, String xpath) throws XServicesFault { public StringSplitType selectXPath(String source, String encoding, NamespaceListType nsList, String xpath)
throws XServicesFault {
encoding = validateEncoding(encoding); encoding = validateEncoding(encoding);
try { try {
StringSplitType rarray = new StringSplitType(); StringSplitType rarray = new StringSplitType();
@ -263,37 +257,36 @@ public class XmlServiceImpl implements XmlService {
axp.setNamespaceContext(context); axp.setNamespaceContext(context);
List results = axp.selectNodes(sourcedoc); List results = axp.selectNodes(sourcedoc);
for(Object o : results) { for (Object o : results) {
String text = null; String text = null;
if(o instanceof OMNode) { if (o instanceof OMNode) {
switch (((OMNode)o).getType()) { switch (((OMNode) o).getType()) {
case OMNode.TEXT_NODE: case OMNode.TEXT_NODE:
text = ((OMText)o).getText(); text = ((OMText) o).getText();
break; break;
case OMNode.COMMENT_NODE: case OMNode.COMMENT_NODE:
text = ((OMComment)o).getValue(); text = ((OMComment) o).getValue();
break; break;
case OMNode.PI_NODE: case OMNode.PI_NODE:
text = ((OMProcessingInstruction)o).getValue(); text = ((OMProcessingInstruction) o).getValue();
break; break;
default: default:
StringWriter sw = new StringWriter(); StringWriter sw = new StringWriter();
XMLOutputFactory xof = XMLOutputFactory.newInstance(); XMLOutputFactory xof = XMLOutputFactory.newInstance();
XMLStreamWriter writer = xof.createXMLStreamWriter(sw); XMLStreamWriter writer = xof.createXMLStreamWriter(sw);
((OMNode)o).serialize(writer); ((OMNode) o).serialize(writer);
writer.flush(); writer.flush();
text = sw.toString(); text = sw.toString();
} }
} else if(o instanceof OMAttribute) { } else if (o instanceof OMAttribute) {
text = ((OMAttribute)o).getAttributeValue(); text = ((OMAttribute) o).getAttributeValue();
} else { } else {
text = String.valueOf(o); text = String.valueOf(o);
} }
rarray.addStringMatch(text); rarray.addStringMatch(text);
} }
return rarray; return rarray;
} catch (JaxenException e) { } catch (JaxenException e) {
e.printStackTrace(); e.printStackTrace();
@ -306,7 +299,8 @@ public class XmlServiceImpl implements XmlService {
} }
} }
public String setAttribute(String source, String encoding, NamespaceListType nsList, String xpath, AttributeType attr) throws XServicesFault { public String setAttribute(String source, String encoding, NamespaceListType nsList, String xpath,
AttributeType attr) throws XServicesFault {
encoding = validateEncoding(encoding); encoding = validateEncoding(encoding);
try { try {
StringSplitType rarray = new StringSplitType(); StringSplitType rarray = new StringSplitType();
@ -320,15 +314,15 @@ public class XmlServiceImpl implements XmlService {
axp.setNamespaceContext(context); axp.setNamespaceContext(context);
List results = axp.selectNodes(sourcedoc); List results = axp.selectNodes(sourcedoc);
for(Object o : results) { for (Object o : results) {
String text = null; String text = null;
if(o instanceof OMNode) { if (o instanceof OMNode) {
switch (((OMNode)o).getType()) { switch (((OMNode) o).getType()) {
case OMNode.ELEMENT_NODE: case OMNode.ELEMENT_NODE:
OMElement node = ((OMElement)o); OMElement node = ((OMElement) o);
if(attr.value == null) { if (attr.value == null) {
node.removeAttribute( node.getAttribute(new QName(attr.name))); node.removeAttribute(node.getAttribute(new QName(attr.name)));
} else { } else {
node.addAttribute(attr.name, attr.value, node.getNamespace()); node.addAttribute(attr.name, attr.value, node.getNamespace());
} }
@ -358,20 +352,18 @@ public class XmlServiceImpl implements XmlService {
} }
} }
private OMDocument insertNodes(OMDocument xmldocument, AXIOMXPath axp,OMDocument xmlfragment) throws XServicesFault { private OMDocument insertNodes(OMDocument xmldocument, AXIOMXPath axp, OMDocument xmlfragment)
throws XServicesFault {
List<?> olist = null; List<?> olist = null;
try { try {
olist = axp.selectNodes(xmldocument.getOMDocumentElement()); olist = axp.selectNodes(xmldocument.getOMDocumentElement());
this.logger.debug("XPath '" + axp.toString() + "' has " this.logger.debug("XPath '" + axp.toString() + "' has " + olist.size() + " matches.");
+ olist.size() + " matches."); this.logger.trace("XPath root expression is: '" + axp.debug() + "'.");
this.logger.trace("XPath root expression is: '" + axp.debug()
+ "'.");
} catch (JaxenException e) { } catch (JaxenException e) {
throw new XServicesFault(e.getMessage(), e); throw new XServicesFault(e.getMessage(), e);
} }
if (olist.size() == 0) if (olist.size() == 0)
throw new XServicesFault(Messages.getString("XmlService.no_match", throw new XServicesFault(Messages.getString("XmlService.no_match", new Object[] { axp.toString() }));
new Object[] { axp.toString() }));
// Prepare children to insert // Prepare children to insert
xmlfragment.build(); xmlfragment.build();
@ -379,8 +371,7 @@ public class XmlServiceImpl implements XmlService {
// Determine what has been matched // Determine what has been matched
OMContainer match = null; OMContainer match = null;
for (Object o : olist) { for (Object o : olist) {
Iterator<?> children = xmlfragment.getOMDocumentElement() Iterator<?> children = xmlfragment.getOMDocumentElement().getChildren();
.getChildren();
if ((o instanceof OMNode)) { if ((o instanceof OMNode)) {
OMNode node = (OMNode) o; OMNode node = (OMNode) o;
switch (node.getType()) { switch (node.getType()) {
@ -401,16 +392,13 @@ public class XmlServiceImpl implements XmlService {
this.logger.debug(Messages.getString("XmlService.10")); this.logger.debug(Messages.getString("XmlService.10"));
break; break;
default: default:
this.logger.error("XPath matched " this.logger
+ o.getClass().getCanonicalName() + " Node Type:" .error("XPath matched " + o.getClass().getCanonicalName() + " Node Type:" + node.getType());
+ node.getType());
this.logger.error(Messages.getString("XmlService.11")); this.logger.error(Messages.getString("XmlService.11"));
throw new XServicesFault( throw new XServicesFault(Messages.getString("XmlService.12"));
Messages.getString("XmlService.12"));
} }
} else { } else {
this.logger.error("XPath matched " this.logger.error("XPath matched " + o.getClass().getCanonicalName());
+ o.getClass().getCanonicalName());
this.logger.error(Messages.getString("XmlService.11")); this.logger.error(Messages.getString("XmlService.11"));
throw new XServicesFault(Messages.getString("XmlService.12")); throw new XServicesFault(Messages.getString("XmlService.12"));
} }
@ -425,22 +413,19 @@ public class XmlServiceImpl implements XmlService {
return xmldocument; return xmldocument;
} }
private OMDocument replaceNodes(OMDocument xmldocument, AXIOMXPath axp, OMDocument xmlfragment)
private OMDocument replaceNodes(OMDocument xmldocument, AXIOMXPath axp, OMDocument xmlfragment) throws XServicesFault { throws XServicesFault {
List<?> olist = null; List<?> olist = null;
try { try {
olist = axp.selectNodes(xmldocument.getOMDocumentElement()); olist = axp.selectNodes(xmldocument.getOMDocumentElement());
this.logger.debug("XPath '" + axp.toString() + "' has " this.logger.debug("XPath '" + axp.toString() + "' has " + olist.size() + " matches.");
+ olist.size() + " matches."); this.logger.trace("XPath root expression is: '" + axp.debug() + "'.");
this.logger.trace("XPath root expression is: '" + axp.debug()
+ "'.");
} catch (JaxenException e) { } catch (JaxenException e) {
throw new XServicesFault(e.getMessage(), e); throw new XServicesFault(e.getMessage(), e);
} }
if (olist.size() == 0) if (olist.size() == 0)
throw new XServicesFault(Messages.getString("XmlService.no_match", throw new XServicesFault(Messages.getString("XmlService.no_match", new Object[] { axp.toString() }));
new Object[] { axp.toString() }));
// Prepare children to insert // Prepare children to insert
xmlfragment.build(); xmlfragment.build();
@ -448,8 +433,7 @@ public class XmlServiceImpl implements XmlService {
// Determine what has been matched // Determine what has been matched
OMNode match = null; OMNode match = null;
for (Object o : olist) { for (Object o : olist) {
Iterator<?> children = xmlfragment.getOMDocumentElement() Iterator<?> children = xmlfragment.getOMDocumentElement().getChildren();
.getChildren();
if ((o instanceof OMNode)) { if ((o instanceof OMNode)) {
OMNode node = (OMNode) o; OMNode node = (OMNode) o;
switch (node.getType()) { switch (node.getType()) {
@ -461,16 +445,13 @@ public class XmlServiceImpl implements XmlService {
this.logger.debug(Messages.getString("XmlService.8")); this.logger.debug(Messages.getString("XmlService.8"));
break; break;
default: default:
this.logger.error("XPath matched " this.logger
+ o.getClass().getCanonicalName() + " Node Type:" .error("XPath matched " + o.getClass().getCanonicalName() + " Node Type:" + node.getType());
+ node.getType());
this.logger.error(Messages.getString("XmlService.11")); this.logger.error(Messages.getString("XmlService.11"));
throw new XServicesFault( throw new XServicesFault(Messages.getString("XmlService.12"));
Messages.getString("XmlService.12"));
} }
} else { } else {
this.logger.error("XPath matched " this.logger.error("XPath matched " + o.getClass().getCanonicalName());
+ o.getClass().getCanonicalName());
this.logger.error(Messages.getString("XmlService.11")); this.logger.error(Messages.getString("XmlService.11"));
throw new XServicesFault(Messages.getString("XmlService.12")); throw new XServicesFault(Messages.getString("XmlService.12"));
} }
@ -488,12 +469,11 @@ public class XmlServiceImpl implements XmlService {
private SimpleNamespaceContext createContext(NamespaceListType nsList) { private SimpleNamespaceContext createContext(NamespaceListType nsList) {
// Initialize XPath context // Initialize XPath context
SimpleNamespaceContext context = new SimpleNamespaceContext(); SimpleNamespaceContext context = new SimpleNamespaceContext();
if(nsList != null) { if (nsList != null) {
for (NamespaceType ns : nsList.getNamespaces()) { for (NamespaceType ns : nsList.getNamespaces()) {
context.addNamespace(ns.getPrefix(), ns.getUri().toString()); context.addNamespace(ns.getPrefix(), ns.getUri().toString());
this.logger.debug(Messages.getString("XmlService.0") this.logger.debug(
+ ns.getPrefix() + "=\"" + ns.getUri().toString() Messages.getString("XmlService.0") + ns.getPrefix() + "=\"" + ns.getUri().toString() + "\"'");
+ "\"'");
} }
} else { } else {
logger.debug("No namespaces defined."); logger.debug("No namespaces defined.");
@ -502,15 +482,16 @@ public class XmlServiceImpl implements XmlService {
} }
private String validateEncoding(String encoding) throws XServicesFault { private String validateEncoding(String encoding) throws XServicesFault {
if(encoding == null || encoding.equals("")) { encoding=Charset.defaultCharset().displayName(); } if (encoding == null || encoding.equals("")) {
encoding = Charset.defaultCharset().displayName();
}
try { try {
Charset.isSupported(encoding); Charset.isSupported(encoding);
} catch (IllegalCharsetNameException e) { } catch (IllegalCharsetNameException e) {
throw new XServicesFault("Endcoding '"+encoding+"' is not supported by this JRE."); throw new XServicesFault("Endcoding '" + encoding + "' is not supported by this JRE.");
} }
logger.debug("Setting source xml string encoding to '"+encoding+"'"); logger.debug("Setting source xml string encoding to '" + encoding + "'");
return encoding; return encoding;
} }
} }

View File

@ -8,9 +8,10 @@ import java.io.PrintStream;
import java.net.URI; import java.net.URI;
import java.util.List; import java.util.List;
import java.util.StringTokenizer; import java.util.StringTokenizer;
import javax.ws.rs.core.HttpHeaders; import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.Response; import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.ResponseBuilder;
import net.brutex.xservices.types.scm.AttributeType; import net.brutex.xservices.types.scm.AttributeType;
import net.brutex.xservices.types.scm.ItemListType; import net.brutex.xservices.types.scm.ItemListType;
import net.brutex.xservices.types.scm.ItemType; import net.brutex.xservices.types.scm.ItemType;
@ -23,10 +24,13 @@ import net.brutex.xservices.types.scmfindings.FindingsListType;
import net.brutex.xservices.util.BasicCVSListener; import net.brutex.xservices.util.BasicCVSListener;
import net.brutex.xservices.util.CVSClient; import net.brutex.xservices.util.CVSClient;
import net.brutex.xservices.util.CVSRoot; import net.brutex.xservices.util.CVSRoot;
import org.apache.commons.configuration.ConfigurationException;
import org.apache.jcs.JCS; import org.apache.commons.configuration2.ex.ConfigurationException;
import org.apache.jcs.access.exception.CacheException; import org.apache.commons.jcs.JCS;
import org.apache.log4j.Logger; import org.apache.commons.jcs.access.CacheAccess;
import org.apache.commons.jcs.access.exception.CacheException;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.netbeans.lib.cvsclient.Client; import org.netbeans.lib.cvsclient.Client;
import org.netbeans.lib.cvsclient.command.CommandAbortedException; import org.netbeans.lib.cvsclient.command.CommandAbortedException;
import org.netbeans.lib.cvsclient.command.CommandException; import org.netbeans.lib.cvsclient.command.CommandException;
@ -42,14 +46,14 @@ import org.netbeans.lib.cvsclient.event.EventManager;
import org.netbeans.lib.cvsclient.event.FileInfoEvent; import org.netbeans.lib.cvsclient.event.FileInfoEvent;
public class CVSInfoImpl implements CVSInfo { public class CVSInfoImpl implements CVSInfo {
final Logger logger = Logger.getLogger(CVSInfoImpl.class); private static final Logger logger = LogManager.getLogger();
final ObjectFactory FACTORY = new ObjectFactory(); final ObjectFactory FACTORY = new ObjectFactory();
final ItemListType list = this.FACTORY.createItemListType(); final ItemListType list = this.FACTORY.createItemListType();
public Response getRepositoryFiles(HttpHeaders h, File f, String modules, public Response getRepositoryFiles(HttpHeaders h, File f, String modules,
boolean isRecursive, boolean showRevisions, boolean forceNoCache) { boolean isRecursive, boolean showRevisions, boolean forceNoCache) {
String cachekey = "getFiles" + f.toURI().toString(); String cachekey = "getFiles" + f.toURI().toString();
this.logger.debug("forceNoCache=" + forceNoCache); CVSInfoImpl.logger.debug("forceNoCache=" + forceNoCache);
ItemListType cacheresult = (ItemListType) getCacheInstance().get( ItemListType cacheresult = (ItemListType) getCacheInstance().get(
cachekey); cachekey);
@ -117,7 +121,7 @@ public class CVSInfoImpl implements CVSInfo {
try { try {
CVSInfoImpl.this.getCacheInstance().put(key, cvsfile); CVSInfoImpl.this.getCacheInstance().put(key, cvsfile);
} catch (CacheException e) { } catch (CacheException e) {
CVSInfoImpl.this.logger.error("Could not cache item '" CVSInfoImpl.logger.error("Could not cache item '"
+ key + "'", e); + key + "'", e);
} }
} }
@ -138,14 +142,14 @@ public class CVSInfoImpl implements CVSInfo {
rlog.setRecursive(isRecursive); rlog.setRecursive(isRecursive);
this.logger.info("Executing CVS command '" + rlog.getCVSCommand() CVSInfoImpl.logger.info("Executing CVS command '" + rlog.getCVSCommand()
+ "' against '" + cvsclient.getRoot().host + "@" + "' against '" + cvsclient.getRoot().host + "@"
+ cvsclient.getRoot().repository + "'"); + cvsclient.getRoot().repository + "'");
client.executeCommand(rlog, cvsclient.getGlobalOptions()); client.executeCommand(rlog, cvsclient.getGlobalOptions());
getCacheInstance().put(cachekey, this.list); getCacheInstance().put(cachekey, this.list);
} catch (ConfigurationException e) { } catch (ConfigurationException e) {
this.logger.error("CVS Configuration File '" + f.getAbsolutePath() CVSInfoImpl.logger.error("CVS Configuration File '" + f.getAbsolutePath()
+ f.getName() + "'not found.", e); + f.getName() + "'not found.", e);
} catch (CommandAbortedException e) { } catch (CommandAbortedException e) {
e.printStackTrace(); e.printStackTrace();
@ -168,7 +172,7 @@ public class CVSInfoImpl implements CVSInfo {
public Response getModules(HttpHeaders h, File f, boolean forceNoCache) { public Response getModules(HttpHeaders h, File f, boolean forceNoCache) {
String cachekey = "Modules" + f.toURI().toString(); String cachekey = "Modules" + f.toURI().toString();
this.logger.debug("forceNoCache=" + forceNoCache); CVSInfoImpl.logger.debug("forceNoCache=" + forceNoCache);
ModuleListType response = (ModuleListType) getCacheInstance().get( ModuleListType response = (ModuleListType) getCacheInstance().get(
cachekey); cachekey);
@ -196,12 +200,12 @@ public class CVSInfoImpl implements CVSInfo {
CheckoutCommand co = new CheckoutCommand(); CheckoutCommand co = new CheckoutCommand();
co.setShowModulesWithStatus(true); co.setShowModulesWithStatus(true);
this.logger.info("Executing CVS command '" + co.getCVSCommand() CVSInfoImpl.logger.info("Executing CVS command '" + co.getCVSCommand()
+ "' against '" + cvsclient.getRoot().host + "@" + "' against '" + cvsclient.getRoot().host + "@"
+ cvsclient.getRoot().repository + "'"); + cvsclient.getRoot().repository + "'");
client.executeCommand(co, cvsclient.getGlobalOptions()); client.executeCommand(co, cvsclient.getGlobalOptions());
if (list.getModules().size() == 0) { if (list.getModules().size() == 0) {
this.logger.warn("Repository '" CVSInfoImpl.logger.warn("Repository '"
+ cvsclient.getRoot().repository + cvsclient.getRoot().repository
+ "' does not have modules"); + "' does not have modules");
} }
@ -216,14 +220,14 @@ public class CVSInfoImpl implements CVSInfo {
public Response getTags(HttpHeaders h, File f, boolean withFiles) { public Response getTags(HttpHeaders h, File f, boolean withFiles) {
String cachekey = f.toURI().toString() + ":taglist"; String cachekey = f.toURI().toString() + ":taglist";
this.logger.debug("Retrieving Tags from cache using key '" + cachekey CVSInfoImpl.logger.debug("Retrieving Tags from cache using key '" + cachekey
+ "'"); + "'");
TagListType tags = (TagListType) getCacheInstance().get(cachekey); TagListType tags = (TagListType) getCacheInstance().get(cachekey);
if (tags != null) { if (tags != null) {
this.logger.debug("Delivering Tags from cache."); CVSInfoImpl.logger.debug("Delivering Tags from cache.");
return Response.ok(tags).build(); return Response.ok(tags).build();
} }
this.logger.warn("Taglist not found in cache."); CVSInfoImpl.logger.warn("Taglist not found in cache.");
return Response.noContent().build(); return Response.noContent().build();
} }
@ -235,17 +239,17 @@ public class CVSInfoImpl implements CVSInfo {
ItemListType list = null; ItemListType list = null;
if (!forceNoCache) { if (!forceNoCache) {
this.logger.debug("Retrieving file content from cache using key '" CVSInfoImpl.logger.debug("Retrieving file content from cache using key '"
+ cachekey + "'"); + cachekey + "'");
list = (ItemListType) getCacheInstance().get(cachekey); list = (ItemListType) getCacheInstance().get(cachekey);
} }
if (list != null) { if (list != null) {
this.logger.debug("Delivering file content from cache."); CVSInfoImpl.logger.debug("Delivering file content from cache.");
return Response.ok(list).build(); return Response.ok(list).build();
} }
this.logger.warn("File content not found in cache."); CVSInfoImpl.logger.warn("File content not found in cache.");
list = this.FACTORY.createItemListType(); list = this.FACTORY.createItemListType();
try { try {
CVSClient cvsclient = new CVSClient(f); CVSClient cvsclient = new CVSClient(f);
@ -302,7 +306,7 @@ public class CVSInfoImpl implements CVSInfo {
checkout.setModule(filestring); checkout.setModule(filestring);
checkout.setPipeToOutput(true); checkout.setPipeToOutput(true);
this.logger.info("Execute CVS command '" + checkout.getCVSCommand() CVSInfoImpl.logger.info("Execute CVS command '" + checkout.getCVSCommand()
+ "' against '" + cvsclient.getRoot().host + "@" + "' against '" + cvsclient.getRoot().host + "@"
+ cvsclient.getRoot().repository + "'"); + cvsclient.getRoot().repository + "'");
client.executeCommand(checkout, cvsclient.getGlobalOptions()); client.executeCommand(checkout, cvsclient.getGlobalOptions());
@ -322,14 +326,14 @@ public class CVSInfoImpl implements CVSInfo {
return Response.noContent().build(); return Response.noContent().build();
} }
public JCS getCacheInstance() { public CacheAccess<Object, Object> getCacheInstance() {
JCS jcs = null; CacheAccess<Object, Object> jcs = null;
String cacheinstance = "CVSCache"; String cacheinstance = "CVSCache";
try { try {
this.logger.trace("Getting cache instance named 'CVSCache'"); CVSInfoImpl.logger.trace("Getting cache instance named 'CVSCache'");
jcs = JCS.getInstance("CVSCache"); jcs = JCS.getInstance("CVSCache");
} catch (CacheException e) { } catch (CacheException e) {
this.logger.error("Failed to get cache instance", e); CVSInfoImpl.logger.error("Failed to get cache instance", e);
e.printStackTrace(); e.printStackTrace();
} }
return jcs; return jcs;
@ -343,16 +347,16 @@ public class CVSInfoImpl implements CVSInfo {
+ client.getRoot().repository; + client.getRoot().repository;
String cachestring = "FINDINGS-" + cvsroot; String cachestring = "FINDINGS-" + cvsroot;
this.logger CVSInfoImpl.logger
.debug("Fetch searchFileContent response from cache using cachekey '" .debug("Fetch searchFileContent response from cache using cachekey '"
+ cachestring + "'"); + cachestring + "'");
FindingsListType result = (FindingsListType) getCacheInstance() FindingsListType result = (FindingsListType) getCacheInstance()
.get(cachestring); .get(cachestring);
if (result != null) if (result != null)
this.logger.debug("Found object for key '" + cachestring CVSInfoImpl.logger.debug("Found object for key '" + cachestring
+ "' in cache."); + "' in cache.");
else { else {
this.logger.debug("Found no object for key '" + cachestring CVSInfoImpl.logger.debug("Found no object for key '" + cachestring
+ "' in cache."); + "' in cache.");
} }

View File

@ -28,7 +28,7 @@ import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.Response; import javax.ws.rs.core.Response;
import javax.ws.rs.core.UriInfo; import javax.ws.rs.core.UriInfo;
import org.apache.jcs.access.exception.CacheException; import org.apache.commons.jcs.access.exception.CacheException;
import net.brutex.xservices.ws.XServicesFault; import net.brutex.xservices.ws.XServicesFault;

View File

@ -33,16 +33,20 @@ import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.Response; import javax.ws.rs.core.Response;
import javax.ws.rs.core.UriInfo; import javax.ws.rs.core.UriInfo;
import org.apache.commons.configuration2.PropertiesConfiguration;
import org.apache.commons.configuration2.builder.fluent.Configurations;
import org.apache.commons.configuration2.ex.ConfigurationException;
import org.apache.commons.jcs.JCS;
import org.apache.commons.jcs.access.CacheAccess;
import org.apache.commons.jcs.access.exception.CacheException;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import net.brutex.xservices.cmtypes.ItemType; import net.brutex.xservices.cmtypes.ItemType;
import net.brutex.xservices.cmtypes.ItemTypeList; import net.brutex.xservices.cmtypes.ItemTypeList;
import net.brutex.xservices.types.FileInfoType; import net.brutex.xservices.types.FileInfoType;
import net.brutex.xservices.util.FileWalker; import net.brutex.xservices.util.FileWalker;
import org.apache.commons.configuration.ConfigurationException;
import org.apache.commons.configuration.PropertiesConfiguration;
import org.apache.jcs.JCS;
import org.apache.jcs.access.exception.CacheException;
import org.apache.log4j.Logger;
/* /*
@ -76,7 +80,7 @@ import com.serena.dmclient.api.SystemAttributes;
*/ */
public class DIMCMInfoImpl implements DIMCMInfo { public class DIMCMInfoImpl implements DIMCMInfo {
Logger logger = Logger.getLogger(DIMCMInfoImpl.class); Logger logger = LogManager.getLogger();
/* /*
* (non-Javadoc) * (non-Javadoc)
@ -93,7 +97,7 @@ public class DIMCMInfoImpl implements DIMCMInfo {
/* /*
* try to hit cache first * try to hit cache first
*/ */
JCS cache = JCS.getInstance("DIMCM"); CacheAccess<Object, Object> cache = JCS.getInstance("DIMCM");
String cachekey = projSpec + directory + String.valueOf(recursive); String cachekey = projSpec + directory + String.valueOf(recursive);
if(useCache) { if(useCache) {
ItemTypeList cacheresult = (ItemTypeList) cache.get(cachekey); ItemTypeList cacheresult = (ItemTypeList) cache.get(cachekey);
@ -328,7 +332,8 @@ public class DIMCMInfoImpl implements DIMCMInfo {
*/ */
PropertiesConfiguration props; PropertiesConfiguration props;
try { try {
props = new PropertiesConfiguration(this.getClass()
props = new Configurations().properties(this.getClass()
.getClassLoader().getResource("/../dimcm.properties")); .getClassLoader().getResource("/../dimcm.properties"));
} catch (ConfigurationException e) { } catch (ConfigurationException e) {
e.printStackTrace(); e.printStackTrace();
@ -349,11 +354,13 @@ public class DIMCMInfoImpl implements DIMCMInfo {
private String getBaseURL() { private String getBaseURL() {
final String CACHE_BASEURL = "DIMCM.conf.baseurl"; final String CACHE_BASEURL = "DIMCM.conf.baseurl";
try { try {
JCS cache = JCS.getInstance("DIMCM"); CacheAccess<Object, Object> cache = JCS.getInstance("DIMCM");
String baseurl = (String) cache.get(CACHE_BASEURL); String baseurl = (String) cache.get(CACHE_BASEURL);
if(baseurl != null) return baseurl; if(baseurl != null) return baseurl;
PropertiesConfiguration props = new PropertiesConfiguration(this.getClass().getClassLoader().getResource("/../dimcm.properties")); Configurations configs = new Configurations();
PropertiesConfiguration props = configs.properties((this.getClass().getClassLoader().getResource("/../dimcm.properties")));
baseurl = props.getString("baseurl"); baseurl = props.getString("baseurl");
cache.put(CACHE_BASEURL, baseurl); cache.put(CACHE_BASEURL, baseurl);
return baseurl; return baseurl;

View File

@ -51,9 +51,11 @@ import net.brutex.xservices.security.DirectoryPermission;
import net.brutex.xservices.types.FileInfoType; import net.brutex.xservices.types.FileInfoType;
import net.brutex.xservices.util.FileWalker; import net.brutex.xservices.util.FileWalker;
import org.apache.jcs.JCS; import org.apache.commons.jcs.JCS;
import org.apache.jcs.access.exception.CacheException; import org.apache.commons.jcs.access.CacheAccess;
import org.apache.log4j.Logger; import org.apache.commons.jcs.access.exception.CacheException;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.shiro.SecurityUtils; import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authz.UnauthorizedException; import org.apache.shiro.authz.UnauthorizedException;
@ -65,7 +67,7 @@ import org.apache.shiro.authz.UnauthorizedException;
public class FileInfoImpl implements FileInfo { public class FileInfoImpl implements FileInfo {
Logger logger = Logger.getLogger(FileInfoImpl.class); Logger logger = LogManager.getLogger();
/* (non-Javadoc) /* (non-Javadoc)
@ -88,7 +90,7 @@ public class FileInfoImpl implements FileInfo {
String cachekey = level + "||" + withFiles + "||" + withDir + "||" + search + "||" + dir; String cachekey = level + "||" + withFiles + "||" + withDir + "||" + search + "||" + dir;
try { try {
logger.debug(String.format("Hitting cache with cachekey '%s'", cachekey)); logger.debug(String.format("Hitting cache with cachekey '%s'", cachekey));
JCS jcs = JCS.getInstance("FileCache"); CacheAccess<Object, Object> jcs = JCS.getInstance("FileCache");
/*Try to retrieve the file list from the cache*/ /*Try to retrieve the file list from the cache*/
List<FileInfoType> list = (List<FileInfoType>)jcs.get(cachekey); List<FileInfoType> list = (List<FileInfoType>)jcs.get(cachekey);

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project name="DateService" resourceRoot="" soapui-version="5.0.0" abortOnError="false" runType="SEQUENTIAL" activeEnvironment="Default" xmlns:con="http://eviware.com/soapui/config"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.TestRunnerAction@values-local"><![CDATA[<xml-fragment xmlns:con="http://eviware.com/soapui/config"> <con:soapui-project name="DateService" resourceRoot="" soapui-version="5.4.0" abortOnError="false" runType="SEQUENTIAL" activeEnvironment="Default" id="85873bdb-55cc-4e35-a08b-47ca8e389beb" xmlns:con="http://eviware.com/soapui/config"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.TestRunnerAction@values-local"><![CDATA[<xml-fragment xmlns:con="http://eviware.com/soapui/config">
<con:entry key="Global Properties" value=""/> <con:entry key="Global Properties" value=""/>
<con:entry key="TestSuite" value="Basic Call Tests"/> <con:entry key="TestSuite" value="Basic Call Tests"/>
<con:entry key="Report to Generate" value=""/> <con:entry key="Report to Generate" value=""/>
@ -28,7 +28,7 @@
<con:entry key="Save After" value="false"/> <con:entry key="Save After" value="false"/>
<con:entry key="Add Settings" value="false"/> <con:entry key="Add Settings" value="false"/>
<con:entry key="Endpoint" value=""/> <con:entry key="Endpoint" value=""/>
</xml-fragment>]]></con:setting></con:settings><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="DateServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}DateServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/DateService?wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/DateService?wsdl"><con:part><con:url>http://localhost:8080/XServices/DateService?wsdl</con:url><con:content><![CDATA[<wsdl:definitions name="DateService" targetNamespace="http://ws.xservices.brutex.net" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.xservices.brutex.net" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> </xml-fragment>]]></con:setting></con:settings><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="DateServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}DateServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/DateService?wsdl" id="b326abd8-b413-47ca-8fed-e397e365f9f5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/DateService?wsdl"><con:part><con:url>http://localhost:8080/XServices/DateService?wsdl</con:url><con:content><![CDATA[<wsdl:definitions name="DateService" targetNamespace="http://ws.xservices.brutex.net" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.xservices.brutex.net" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:documentation>/* <wsdl:documentation>/*
* Copyright 2010 Brian Rosenberger (Brutex Network) * Copyright 2010 Brian Rosenberger (Brutex Network)
* *
@ -571,17 +571,17 @@
<soap:address location="http://localhost:8080/XServices/DateService"/> <soap:address location="http://localhost:8080/XServices/DateService"/>
</wsdl:port> </wsdl:port>
</wsdl:service> </wsdl:service>
</wsdl:definitions>]]></con:content><con:type>http://schemas.xmlsoap.org/wsdl/</con:type></con:part></con:definitionCache><con:endpoints><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint></con:endpoints><con:operation isOneWay="false" action="" name="getDate" bindingOperationName="getDate" type="Request-Response" outputName="getDateResponse" inputName="getDate" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </wsdl:definitions>]]></con:content><con:type>http://schemas.xmlsoap.org/wsdl/</con:type></con:part></con:definitionCache><con:endpoints><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint></con:endpoints><con:operation isOneWay="false" action="" name="getDate" bindingOperationName="getDate" type="Request-Response" outputName="getDateResponse" inputName="getDate" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="c264f038-68e1-4641-a213-0a5644466740"><con:settings/><con:call name="Request 1" id="2bc079fb-146f-4eb0-99f6-50e51dbdb310"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:getDate/> <ws:getDate/>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/getDate"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getTimestamp" bindingOperationName="getTimestamp" type="Request-Response" outputName="getTimestampResponse" inputName="getTimestamp" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/getDate"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getTimestamp" bindingOperationName="getTimestamp" type="Request-Response" outputName="getTimestampResponse" inputName="getTimestamp" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="8eedd571-45ea-4332-bb9d-ff9778ad1c00"><con:settings/><con:call name="Request 1" id="5f4e722a-ae4f-4538-ad25-e7642c20427f"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:getTimestamp/> <ws:getTimestamp/>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/getTimestamp"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getInTimezone" bindingOperationName="getInTimezone" type="Request-Response" outputName="getInTimezoneResponse" inputName="getInTimezone" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/getTimestamp"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getInTimezone" bindingOperationName="getInTimezone" type="Request-Response" outputName="getInTimezoneResponse" inputName="getInTimezone" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="52e0a54d-ad23-424e-81f9-9b24cb8f00ea"><con:settings/><con:call name="Request 1" id="2687277b-5519-48f7-a68d-69b575afcb72"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:getInTimezone> <ws:getInTimezone>
@ -589,7 +589,7 @@
<timezone>Pacific/Honolulu</timezone> <timezone>Pacific/Honolulu</timezone>
</ws:getInTimezone> </ws:getInTimezone>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/getInTimezone"/><con:wsrmConfig version="1.2"/></con:call><con:call name="Copy of Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/getInTimezone"/><con:wsrmConfig version="1.2"/></con:call><con:call name="Copy of Request 1" id="ae6eeeaf-6e80-4de8-bc94-b65227f52309"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:getInTimezone> <ws:getInTimezone>
@ -597,7 +597,7 @@
<timezone>UTC</timezone> <timezone>UTC</timezone>
</ws:getInTimezone> </ws:getInTimezone>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/getInTimezone"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="formatDate" bindingOperationName="formatDate" type="Request-Response" outputName="formatDateResponse" inputName="formatDate" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/getInTimezone"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="formatDate" bindingOperationName="formatDate" type="Request-Response" outputName="formatDateResponse" inputName="formatDate" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="d163ad6c-43ed-46ea-99ff-8d38f34fa498"><con:settings/><con:call name="Request 1" id="fdcec540-336c-4cc9-a84c-c1e58ff3f3c4"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:formatDate> <ws:formatDate>
@ -605,7 +605,7 @@
<format>ISO8601</format> <format>ISO8601</format>
</ws:formatDate> </ws:formatDate>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/formatDate"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="formatDateAdvanced" bindingOperationName="formatDateAdvanced" type="Request-Response" outputName="formatDateAdvancedResponse" inputName="formatDateAdvanced" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/formatDate"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="formatDateAdvanced" bindingOperationName="formatDateAdvanced" type="Request-Response" outputName="formatDateAdvancedResponse" inputName="formatDateAdvanced" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="518d70c2-86e8-43ee-80d6-46e4324f043e"><con:settings/><con:call name="Request 1" id="b42c6c61-197e-4f5b-bbab-8e6aa61dd77a"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:formatDateAdvanced> <ws:formatDateAdvanced>
@ -613,7 +613,7 @@
<format>mmddyyyy-WW</format> <format>mmddyyyy-WW</format>
</ws:formatDateAdvanced> </ws:formatDateAdvanced>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/formatDateAdvanced"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="parseDate" bindingOperationName="parseDate" type="Request-Response" outputName="parseDateResponse" inputName="parseDate" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/formatDateAdvanced"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="parseDate" bindingOperationName="parseDate" type="Request-Response" outputName="parseDateResponse" inputName="parseDate" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="7a38a526-e798-4139-9b92-02c7cd00d283"><con:settings/><con:call name="Request 1" id="917c984a-7950-48e6-b035-ef42def96a0f"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:parseDate> <ws:parseDate>
@ -623,7 +623,7 @@
<timezone></timezone> <timezone></timezone>
</ws:parseDate> </ws:parseDate>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/parseDate"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="parseDateAdvanced" bindingOperationName="parseDateAdvanced" type="Request-Response" outputName="parseDateAdvancedResponse" inputName="parseDateAdvanced" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/parseDate"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="parseDateAdvanced" bindingOperationName="parseDateAdvanced" type="Request-Response" outputName="parseDateAdvancedResponse" inputName="parseDateAdvanced" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="14499d1e-7924-4a29-b5ef-cb7cdb5ec2c0"><con:settings/><con:call name="Request 1" id="34a94594-1425-47c7-bbb1-460d982b1639"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:parseDateAdvanced> <ws:parseDateAdvanced>
@ -633,7 +633,7 @@
<timezone>Europe/Berlin</timezone> <timezone>Europe/Berlin</timezone>
</ws:parseDateAdvanced> </ws:parseDateAdvanced>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/parseDateAdvanced"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="dateTimeDiff" bindingOperationName="dateTimeDiff" type="Request-Response" outputName="dateTimeDiffResponse" inputName="dateTimeDiff" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/parseDateAdvanced"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="dateTimeDiff" bindingOperationName="dateTimeDiff" type="Request-Response" outputName="dateTimeDiffResponse" inputName="dateTimeDiff" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="82598587-8de0-46bf-abf5-7ab1c1adefa9"><con:settings/><con:call name="Request 1" id="14214e33-995c-46db-92bd-4cdcf2f6d56b"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:dateTimeDiff> <ws:dateTimeDiff>
@ -641,7 +641,7 @@
<toDateTime>2012-06-06T08:23:00+01:00</toDateTime> <toDateTime>2012-06-06T08:23:00+01:00</toDateTime>
</ws:dateTimeDiff> </ws:dateTimeDiff>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/dateTimeDiff"/><con:wsrmConfig version="1.2"/></con:call><con:call name="Request 2"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/dateTimeDiff"/><con:wsrmConfig version="1.2"/></con:call><con:call name="Request 2" id="08eb997d-96ee-4cc0-8c00-af7a0734757a"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:dateTimeDiff> <ws:dateTimeDiff>
@ -649,7 +649,7 @@
<toDateTime>2012-06-06T08:45:00+01:00</toDateTime> <toDateTime>2012-06-06T08:45:00+01:00</toDateTime>
</ws:dateTimeDiff> </ws:dateTimeDiff>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/dateTimeDiff"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="dateTimeDiff2" bindingOperationName="dateTimeDiff2" type="Request-Response" outputName="dateTimeDiff2Response" inputName="dateTimeDiff2" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/dateTimeDiff"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="dateTimeDiff2" bindingOperationName="dateTimeDiff2" type="Request-Response" outputName="dateTimeDiff2Response" inputName="dateTimeDiff2" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="e5bc0d4c-5f5c-497a-b116-f26fdc907391"><con:settings/><con:call name="Request 1" id="68f88286-8eeb-44ad-a2a6-ad70d6054f08"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:dateTimeDiff2> <ws:dateTimeDiff2>
@ -659,7 +659,7 @@
<unit>years</unit> <unit>years</unit>
</ws:dateTimeDiff2> </ws:dateTimeDiff2>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/dateTimeDiff2"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="dateAdd" bindingOperationName="dateAdd" type="Request-Response" outputName="dateAddResponse" inputName="dateAdd" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/dateTimeDiff2"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="dateAdd" bindingOperationName="dateAdd" type="Request-Response" outputName="dateAddResponse" inputName="dateAdd" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="f8cac27d-de6b-4c36-b3d6-0a3f9241c02f"><con:settings/><con:call name="Request 1" id="c7816de9-7828-46f9-8a63-a96f830dd40b"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:dateAdd> <ws:dateAdd>
@ -668,54 +668,54 @@
<unit>hours</unit> <unit>hours</unit>
</ws:dateAdd> </ws:dateAdd>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/dateAdd"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getTimestamp2" bindingOperationName="getTimestamp2" type="Request-Response" outputName="getTimestamp2Response" inputName="getTimestamp2" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/dateAdd"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getTimestamp2" bindingOperationName="getTimestamp2" type="Request-Response" outputName="getTimestamp2Response" inputName="getTimestamp2" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="b7d38c99-219f-41f1-b375-c1f21979be36"><con:settings/><con:call name="Request 1" id="f942ef86-a691-4f33-878e-6b017b4d9f62"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:getTimestamp2/> <ws:getTimestamp2/>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/getTimestamp2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getTimezones" bindingOperationName="getTimezones" type="Request-Response" outputName="getTimezonesResponse" inputName="getTimezones" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/getTimestamp2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getTimezones" bindingOperationName="getTimezones" type="Request-Response" outputName="getTimezonesResponse" inputName="getTimezones" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="36c26520-d437-48d2-bea3-b760ae391434"><con:settings/><con:call name="Request 1" id="d70b1a70-5116-4ade-843b-ec0c06f95f07"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:getTimezones/> <ws:getTimezones/>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/getTimezones"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getDateExtended" bindingOperationName="getDateExtended" type="Request-Response" outputName="getDateExtendedResponse" inputName="getDateExtended" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/getTimezones"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getDateExtended" bindingOperationName="getDateExtended" type="Request-Response" outputName="getDateExtendedResponse" inputName="getDateExtended" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="d7dc467e-a352-4526-acc8-1aeb546b70d6"><con:settings/><con:call name="Request 1" id="386b2b6b-6854-4d67-ac11-dc413a5c400f"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:getDateExtended/> <ws:getDateExtended/>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/getDateExtended"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:testSuite name="Basic Call Tests"><con:settings/><con:runType>PARALLELL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="true" maxResults="0" name="Pull WSDL" searchProperties="true" id="0244ade4-dcf3-4012-bc98-b7fd0ebb1774"><con:settings/><con:testStep type="httprequest" name="http://localhost:8080/XServices/DateServices?wsdl"><con:settings/><con:config method="GET" xsi:type="con:HttpRequest" name="http://localhost:8080/XServices/DateServices?wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:endpoint>http://localhost:8080/XServices/DateServices?wsdl</con:endpoint><con:request/><con:assertion type="HTTP Download all resources" name="HTTP Download all resources"/><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/></con:config></con:testStep><con:testStep type="httprequest" name="Http Test Step 2 [/XServices/DateServices]"><con:settings/><con:config method="GET" xsi:type="con:HttpRequest" name="Http Test Step 2 [/XServices/DateServices]" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><![CDATA[<xml-fragment xmlns:con="http://eviware.com/soapui/config"> </soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/getDateExtended"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:testSuite name="Basic Call Tests" id="74fd1486-b7f4-4dec-a962-4c303eecc84c"><con:settings/><con:runType>PARALLELL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="true" maxResults="0" name="Pull WSDL" searchProperties="true" id="0244ade4-dcf3-4012-bc98-b7fd0ebb1774"><con:settings/><con:testStep type="httprequest" name="http://localhost:8080/XServices/DateServices?wsdl" id="e8761509-4e50-45eb-9592-f55e6065c379"><con:settings/><con:config method="GET" xsi:type="con:HttpRequest" name="http://localhost:8080/XServices/DateServices?wsdl" id="e2fa6975-7a10-4d62-a065-7d834358f788" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:endpoint>http://localhost:8080/XServices/DateServices?wsdl</con:endpoint><con:request/><con:assertion type="HTTP Download all resources" name="HTTP Download all resources" id="cec21e82-2187-47c2-9ab5-b68211373196"/><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/></con:config></con:testStep><con:testStep type="httprequest" name="Http Test Step 2 [/XServices/DateServices]" id="eb957a45-d309-495d-b5a2-429a946accbe"><con:settings/><con:config method="GET" xsi:type="con:HttpRequest" name="Http Test Step 2 [/XServices/DateServices]" id="782fff5b-ad59-461d-876f-d1b211f2bc72" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><![CDATA[<xml-fragment xmlns:con="http://eviware.com/soapui/config">
<con:entry key="Accept-Language" value="en-us,en;q=0.5"/> <con:entry key="Accept-Language" value="en-us,en;q=0.5"/>
<con:entry key="Host" value="localhost:8080"/> <con:entry key="Host" value="localhost:8080"/>
<con:entry key="Accept-Charset" value="ISO-8859-1,utf-8;q=0.7,*;q=0.7"/> <con:entry key="Accept-Charset" value="ISO-8859-1,utf-8;q=0.7,*;q=0.7"/>
<con:entry key="Accept-Encoding" value="gzip,deflate"/> <con:entry key="Accept-Encoding" value="gzip,deflate"/>
<con:entry key="User-Agent" value="Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko"/> <con:entry key="User-Agent" value="Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko"/>
<con:entry key="Accept" value="text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"/> <con:entry key="Accept" value="text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"/>
</xml-fragment>]]></con:setting></con:settings><con:endpoint>http://localhost:8080/XServices/DateServices</con:endpoint><con:request/><con:parameters><con:parameter><con:name>wsdl</con:name><con:value/><con:style>QUERY</con:style><con:type xmlns:xs="http://www.w3.org/2001/XMLSchema">xs:string</con:type><con:default/><con:description xsi:nil="true"/></con:parameter></con:parameters></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="getDate" searchProperties="true" id="824f4cc3-c144-45d5-86e0-d38538bc453c"><con:settings/><con:testStep type="request" name="Date Request"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>getDate</con:operation><con:request name="Date Request"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </xml-fragment>]]></con:setting></con:settings><con:endpoint>http://localhost:8080/XServices/DateServices</con:endpoint><con:request/><con:parameters><con:parameter><con:name>wsdl</con:name><con:value/><con:style>QUERY</con:style><con:type xmlns:xs="http://www.w3.org/2001/XMLSchema">xs:string</con:type><con:default/><con:description xsi:nil="true"/></con:parameter></con:parameters></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="getDate" searchProperties="true" id="824f4cc3-c144-45d5-86e0-d38538bc453c"><con:settings/><con:testStep type="request" name="Date Request" id="9080987e-ad70-47b5-ba31-a5255920f195"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>getDate</con:operation><con:request name="Date Request" id="49d65ee0-9515-4ecf-81bc-2e2557dcd282"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:getDate/> <ws:getDate/>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Date Extended Request"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>getDateExtended</con:operation><con:request name="Date Extended Request"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="6359438d-e6b1-4f69-8a3f-7817846cfdaa"/><con:assertion type="Schema Compliance" id="25af09c4-07fc-4dad-8643-4c7bae801c1c"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="562b8188-1e47-44e2-8cb1-e6811c2e92b3"/><con:credentials><con:username>admin</con:username><con:selectedAuthProfile>Basic</con:selectedAuthProfile><con:addedBasicAuthenticationTypes>Basic</con:addedBasicAuthenticationTypes><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Date Extended Request" id="faf22ed5-8606-42fe-8f85-b34a92f49e18"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>getDateExtended</con:operation><con:request name="Date Extended Request" id="acf74317-205c-447b-b418-037d04ecb58a"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:getDateExtended/> <ws:getDateExtended/>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Timestamp"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>getTimestamp</con:operation><con:request name="Timestamp"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="bec04ea4-75e3-4fcb-852d-44261e63ab80"/><con:assertion type="Schema Compliance" id="54ffeaf1-42f9-4906-90a2-6aa128e54bb8"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="0160d54e-ebc6-4465-8ac6-7cbf18acc6b2"/><con:credentials><con:selectedAuthProfile>Basic</con:selectedAuthProfile><con:addedBasicAuthenticationTypes>Basic</con:addedBasicAuthenticationTypes><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Timestamp" id="2a7c271d-1073-4db3-ae1d-b20cd2866834"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>getTimestamp</con:operation><con:request name="Timestamp" id="6cf3b751-6fe8-480e-8534-55c9534b4032"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:getTimestamp/> <ws:getTimestamp/>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="TimeZones"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>getTimezones</con:operation><con:request name="TimeZones"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="ded4e05a-1f13-47ec-b193-3fe48869501b"/><con:assertion type="Schema Compliance" id="921826e8-eb34-458b-abbd-5175f66e9ec0"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="0806002f-3b87-4ab9-add3-d0f6a04b3720"/><con:credentials><con:selectedAuthProfile>Basic</con:selectedAuthProfile><con:addedBasicAuthenticationTypes>Basic</con:addedBasicAuthenticationTypes><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="TimeZones" id="611d528d-99de-4a07-bac8-c101fc115c39"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>getTimezones</con:operation><con:request name="TimeZones" id="2937b9c8-812d-4128-b1a7-9298892717af"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:getTimezones/> <ws:getTimezones/>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:assertion type="Response SLA Assertion" name="Response SLA"><con:configuration><SLA>50</SLA></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Timestamp2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>getTimestamp2</con:operation><con:request name="Timestamp2"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="c1cbd611-d7bb-487d-b9d0-b3a094059f30"/><con:assertion type="Schema Compliance" id="14f64b8b-52c6-416d-bd53-81105617f1e6"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="ab71935f-b715-4dda-8df0-24e60bf11a41"/><con:assertion type="Response SLA Assertion" name="Response SLA" id="29e3cf0e-ea63-4898-a3ac-76c9c3606e73"><con:configuration><SLA>50</SLA></con:configuration></con:assertion><con:credentials><con:selectedAuthProfile>Basic</con:selectedAuthProfile><con:addedBasicAuthenticationTypes>Basic</con:addedBasicAuthenticationTypes><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Timestamp2" id="ca633e41-b41f-4734-a4f5-a1056e905dcc"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>getTimestamp2</con:operation><con:request name="Timestamp2" id="f0d7a9ba-8026-46a8-801b-20b1c5892bc5"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:getTimestamp2/> <ws:getTimestamp2/>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="Basic Load"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>60</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties><con:property><con:name>Loops</con:name><con:value>0</con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="Parse and Format" searchProperties="true" id="5731f78f-5f0b-4a86-9ec1-fe7c7825e91c"><con:settings/><con:testStep type="request" name="formatDate ISO8601"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>formatDate</con:operation><con:request name="formatDate ISO8601"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="8f6d12fc-fcea-4efa-991a-b65594a7c22e"/><con:assertion type="Schema Compliance" id="c0dc58aa-b928-4156-85d6-29c83c88c698"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="bab51bfe-df71-45f4-be27-42fd3e52cece"/><con:credentials><con:selectedAuthProfile>Basic</con:selectedAuthProfile><con:addedBasicAuthenticationTypes>Basic</con:addedBasicAuthenticationTypes><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="Basic Load" id="c08da35d-540c-470c-a56b-653e99d218ef"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>60</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties><con:property><con:name>Loops</con:name><con:value>0</con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="Parse and Format" searchProperties="true" id="5731f78f-5f0b-4a86-9ec1-fe7c7825e91c"><con:settings/><con:testStep type="request" name="formatDate ISO8601" id="380e386e-f7f9-4e7e-8063-8d29973329c4"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>formatDate</con:operation><con:request name="formatDate ISO8601" id="6cce1a23-6b6f-4239-aa78-79dfb9ae550d"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:formatDate> <ws:formatDate>
@ -723,7 +723,7 @@
<format>ISO 8601</format> <format>ISO 8601</format>
</ws:formatDate> </ws:formatDate>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="formatDate RFC622"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>formatDate</con:operation><con:request name="formatDate RFC622"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="fff59922-11b5-46b7-9e55-32e86d1e0a23"/><con:assertion type="Schema Compliance" id="0354e8e1-5e48-40db-8634-992e7c6ce9a6"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="f8d49295-f3d0-4de6-b9e3-c4d86e7c4d94"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="formatDate RFC622" id="abaa4297-97ad-4fb3-8e66-84aa0ee7f5f5"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>formatDate</con:operation><con:request name="formatDate RFC622" id="6cbbdddc-082d-4ae1-91e5-084fd112e1d8"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:formatDate> <ws:formatDate>
@ -731,7 +731,7 @@
<format>RFC 822</format> <format>RFC 822</format>
</ws:formatDate> </ws:formatDate>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="formatDate DateOnly-dashed"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>formatDate</con:operation><con:request name="formatDate DateOnly-dashed"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="5841be54-3e32-459f-a902-a9620c9de144"/><con:assertion type="Schema Compliance" id="98f9e459-a56e-4723-ab02-4dfd5e8e2f2d"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="ba6f206e-67cf-4726-9cb9-fa5034143dae"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="formatDate DateOnly-dashed" id="25183942-fb09-4807-b1b1-5dc5f501c7b7"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>formatDate</con:operation><con:request name="formatDate DateOnly-dashed" id="7fda4afc-2f36-4bfa-9476-7874d702d0e6"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:formatDate> <ws:formatDate>
@ -739,7 +739,7 @@
<format>DateOnly-dashed</format> <format>DateOnly-dashed</format>
</ws:formatDate> </ws:formatDate>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="formatDate DateOnly-dotted"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>formatDate</con:operation><con:request name="formatDate DateOnly-dotted"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="10998e3e-6eb6-4e3e-99e4-7c8ee90c8524"/><con:assertion type="Schema Compliance" id="8a113d1e-439d-427b-a7fa-7a6029bfad3e"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="d01cbc23-25fe-4a18-8091-4e3c42128808"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="formatDate DateOnly-dotted" id="9271fae6-e5d5-4063-8c4c-40dc912b4a4b"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>formatDate</con:operation><con:request name="formatDate DateOnly-dotted" id="db428125-97ac-48c9-9491-040bbb027e06"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:formatDate> <ws:formatDate>
@ -747,7 +747,7 @@
<format>DateOnly-dotted</format> <format>DateOnly-dotted</format>
</ws:formatDate> </ws:formatDate>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="formatDate advanced"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>formatDateAdvanced</con:operation><con:request name="formatDate advanced"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="2043809e-4836-4e5f-b09a-8b6e0edc1745"/><con:assertion type="Schema Compliance" id="5a0e5469-cc3a-49a3-8114-4eb444c9c63f"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="63d26ec5-a7e0-447d-9a3a-d36c3040a6a1"/><con:credentials><con:selectedAuthProfile>Basic</con:selectedAuthProfile><con:addedBasicAuthenticationTypes>Basic</con:addedBasicAuthenticationTypes><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="formatDate advanced" id="a278b666-0c60-4427-a2b8-b8d0077cae42"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>formatDateAdvanced</con:operation><con:request name="formatDate advanced" id="cc3d0814-16cf-4897-9d28-5eab481ab1fe"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:formatDateAdvanced> <ws:formatDateAdvanced>
@ -756,7 +756,7 @@
<format>'Year:' yyyy 'Week:' WW 'in Month:' MMMM</format> <format>'Year:' yyyy 'Week:' WW 'in Month:' MMMM</format>
</ws:formatDateAdvanced> </ws:formatDateAdvanced>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="formatDate DateOnly-slashed"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>formatDate</con:operation><con:request name="formatDate DateOnly-slashed"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="abe88e8e-f66d-4943-996c-e1265261147a"/><con:assertion type="Schema Compliance" id="55fbe30d-07af-414f-8d54-d64f20eda8c6"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="13016894-5e2d-43f7-8f49-4a70af3389aa"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="formatDate DateOnly-slashed" id="c77ab5b7-1c26-45d3-a0f2-ee122366b9cc"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>formatDate</con:operation><con:request name="formatDate DateOnly-slashed" id="e388fdd2-5aab-4a34-925b-43e0d1205226"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:formatDate> <ws:formatDate>
@ -764,7 +764,7 @@
<format>DateOnly-slashed</format> <format>DateOnly-slashed</format>
</ws:formatDate> </ws:formatDate>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="parse DateOnly dotted"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>parseDate</con:operation><con:request name="parse DateOnly dotted"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="e810914a-0308-4a54-8462-88094fd6775f"/><con:assertion type="Schema Compliance" id="a158ea4c-1390-4bb0-8599-e4bb782cd1bc"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="d989acfe-e066-486b-9279-6ef03d3f4593"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="parse DateOnly dotted" id="edcd6808-629a-4cd7-b7f8-b5d0524cddf6"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>parseDate</con:operation><con:request name="parse DateOnly dotted" id="69cd858a-6151-4218-badd-0b6f8a0bebf2"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:parseDate> <ws:parseDate>
@ -774,7 +774,7 @@
<timezone>Europe/Helsinki</timezone> <timezone>Europe/Helsinki</timezone>
</ws:parseDate> </ws:parseDate>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="parse Advanced"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>parseDateAdvanced</con:operation><con:request name="parse Advanced"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="39a64edb-563c-4679-8031-d8a26ebf8a33"/><con:assertion type="Schema Compliance" id="27cab8e6-45cf-48e0-bde1-ef9d569072eb"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="352b8d29-ae9c-4a82-bce4-317eedc86734"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="parse Advanced" id="3752788a-63d2-4fd2-9969-41c85cb01ee6"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>parseDateAdvanced</con:operation><con:request name="parse Advanced" id="8d793a66-0be2-4d99-acb6-3f462e89906c"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:parseDateAdvanced> <ws:parseDateAdvanced>
@ -784,17 +784,17 @@
<timezone>Europe/Berlin</timezone> <timezone>Europe/Berlin</timezone>
</ws:parseDateAdvanced> </ws:parseDateAdvanced>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="parse Advanced with Locale"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>parseDateAdvanced</con:operation><con:request name="parse Advanced with Locale"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="efeaeaef-c9a4-44ba-94e5-121752a9a88a"/><con:assertion type="Schema Compliance" id="90fa4e39-84d8-4885-a8fb-3c2b579c7d5a"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="a5f96abe-09d3-46bf-8d6e-fee73ef46ba1"/><con:credentials><con:selectedAuthProfile>Basic</con:selectedAuthProfile><con:addedBasicAuthenticationTypes>Basic</con:addedBasicAuthenticationTypes><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="parse Advanced with Locale" id="fb8c8621-2f21-4c86-8bf3-29df973f177b"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>parseDateAdvanced</con:operation><con:request name="parse Advanced with Locale" id="b611bc4c-cb35-4f6b-b9ab-642ac19557f5"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:parseDateAdvanced> <ws:parseDateAdvanced>
<datetime>Im Juni am 4. Tag im Jahr 2014 ist ein Fest</datetime> <datetime>Im June am 4. Tag im Jahr 2014 ist ein Fest</datetime>
<format>'Im' MMMM 'am' d. 'Tag im Jahr' yyyy 'ist ein Fest'</format> <format>'Im 'MMMM' am 'd.' Tag im Jahr 'yyyy' ist ein Fest'</format>
<!--Optional:--> <!--Optional:-->
<timezone>Europe/Berlin</timezone> <timezone>Europe/Berlin</timezone>
</ws:parseDateAdvanced> </ws:parseDateAdvanced>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="Basic Load"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>20</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>180</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Variance</con:type><con:config><interval>60000</interval><variance>0.5</variance></con:config></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="Date Math" searchProperties="true" id="dfebf092-9cc3-45ea-b903-d212fc5515da"><con:settings/><con:testStep type="request" name="DateDiff forward"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>dateTimeDiff</con:operation><con:request name="DateDiff forward"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="a789ad33-8e4e-4464-b8f8-8590aa061640"/><con:assertion type="Schema Compliance" id="ebeb9f92-3be9-4c6b-9542-63723c5a5b4c"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="dc311c5e-5a04-496e-a581-2a340c4da4cf"/><con:credentials><con:selectedAuthProfile>Basic</con:selectedAuthProfile><con:addedBasicAuthenticationTypes>Basic</con:addedBasicAuthenticationTypes><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="Basic Load" id="81dafd78-df39-42f7-ac5d-d1c0f979aac6"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>20</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>180</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Variance</con:type><con:config><interval>60000</interval><variance>0.5</variance></con:config></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="Date Math" searchProperties="true" id="dfebf092-9cc3-45ea-b903-d212fc5515da"><con:settings/><con:testStep type="request" name="DateDiff forward" id="1f6ccadc-8440-4641-a14f-36f022f065a8"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>dateTimeDiff</con:operation><con:request name="DateDiff forward" id="6e77cf7d-3539-4d8e-be1a-a00894923965"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:dateTimeDiff> <ws:dateTimeDiff>
@ -802,7 +802,7 @@
<toDateTime>2012-06-06T08:45:00+01:00</toDateTime> <toDateTime>2012-06-06T08:45:00+01:00</toDateTime>
</ws:dateTimeDiff> </ws:dateTimeDiff>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DateDiff backwards"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>dateTimeDiff</con:operation><con:request name="DateDiff backwards"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="5bfb2302-eb68-4359-8536-006d99d461f2"/><con:assertion type="Schema Compliance" id="1a62628b-26e8-4c03-9436-6507d523d76c"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="d3772f50-3c1e-45cc-9b5f-2076f53aedca"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DateDiff backwards" id="7d8900e6-2be2-4f6b-a0d8-6a2f05c50ef0"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>dateTimeDiff</con:operation><con:request name="DateDiff backwards" id="44badd1a-2b6e-44d0-ad04-87962067dd25"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:dateTimeDiff> <ws:dateTimeDiff>
@ -810,7 +810,7 @@
<toDateTime>2012-01-23</toDateTime> <toDateTime>2012-01-23</toDateTime>
</ws:dateTimeDiff> </ws:dateTimeDiff>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DateDiff days"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>dateTimeDiff2</con:operation><con:request name="DateDiff days"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="44c21798-fb74-45a5-afa8-48fe683f9c16"/><con:assertion type="Schema Compliance" id="ed1dc98e-a64a-4e6e-9dc7-685c1d4cf055"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="2ccb49e4-ad24-4418-9d77-59985ff46f0d"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DateDiff days" id="2c8a0d6a-2601-4e94-b76d-40f6bcfd607e"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>dateTimeDiff2</con:operation><con:request name="DateDiff days" id="d2941df9-c853-4c27-af85-5435cc384533"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:dateTimeDiff2> <ws:dateTimeDiff2>
@ -820,7 +820,7 @@
<unit>days</unit> <unit>days</unit>
</ws:dateTimeDiff2> </ws:dateTimeDiff2>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DateDiff years"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>dateTimeDiff2</con:operation><con:request name="DateDiff years"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="4c5d7f77-6b8f-4432-8cd5-142956a86ff6"/><con:assertion type="Schema Compliance" id="3a7d097a-db6e-4e78-b687-d0752158a7c0"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="62a428b2-4572-4140-83b5-1e9cb44a09ac"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DateDiff years" id="7bc3e457-5b0f-4dc5-b0d3-ebbe5f89641b"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>dateTimeDiff2</con:operation><con:request name="DateDiff years" id="15065682-fe9b-40c9-9e26-babb2ed5a310"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:dateTimeDiff2> <ws:dateTimeDiff2>
@ -830,7 +830,7 @@
<unit>years</unit> <unit>years</unit>
</ws:dateTimeDiff2> </ws:dateTimeDiff2>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DateDiff minutes"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>dateTimeDiff2</con:operation><con:request name="DateDiff minutes"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="acae066f-cd7e-42bf-bac7-2f034e5ad8dd"/><con:assertion type="Schema Compliance" id="14d857f6-e8c7-4132-a9c0-ad811a95f265"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="d9f99a8e-e9e8-4ea4-a632-f0f804ac4aac"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DateDiff minutes" id="7be2195d-7e2b-4e51-acfb-ee4cf8e4acca"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>dateTimeDiff2</con:operation><con:request name="DateDiff minutes" id="cd1c28c3-c78e-4bb3-b330-e297ad5c168e"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:dateTimeDiff2> <ws:dateTimeDiff2>
@ -840,7 +840,7 @@
<unit>minutes</unit> <unit>minutes</unit>
</ws:dateTimeDiff2> </ws:dateTimeDiff2>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DateDiff milliseconds"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>dateTimeDiff2</con:operation><con:request name="DateDiff milliseconds"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="c2060782-68dd-4ece-b463-aafcd4a3cc1c"/><con:assertion type="Schema Compliance" id="cedc7b84-0be9-4e8f-9310-8e9ebd42e877"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="f2090d47-f203-456a-a00c-2249aa2c6a9d"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DateDiff milliseconds" id="091d3218-1308-40d6-bde1-332802532305"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>dateTimeDiff2</con:operation><con:request name="DateDiff milliseconds" id="c9f13009-90e0-4b52-b83f-15e864275d65"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:dateTimeDiff2> <ws:dateTimeDiff2>
@ -850,7 +850,7 @@
<unit>milliseconds</unit> <unit>milliseconds</unit>
</ws:dateTimeDiff2> </ws:dateTimeDiff2>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DateDiff seconds"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>dateTimeDiff2</con:operation><con:request name="DateDiff seconds"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="07018fcc-ae27-42d8-85e0-06b7e35e562f"/><con:assertion type="Schema Compliance" id="4d98cb4d-b700-4a5a-a1cf-974c26ae7c3e"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="514f111e-0926-4dd5-832e-a38a536aee05"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DateDiff seconds" id="cf2ffb47-cc31-4bf1-943f-21a96d0c5c62"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>dateTimeDiff2</con:operation><con:request name="DateDiff seconds" id="388a289c-1eb1-49de-979e-005ca21fad51"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:dateTimeDiff2> <ws:dateTimeDiff2>
@ -860,7 +860,7 @@
<unit>seconds</unit> <unit>seconds</unit>
</ws:dateTimeDiff2> </ws:dateTimeDiff2>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DateDiff milliseconds wide range"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>dateTimeDiff2</con:operation><con:request name="DateDiff milliseconds wide range"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="d5985b7e-8215-4766-9d67-52eed9d42da2"/><con:assertion type="Schema Compliance" id="270bb24e-67ef-45e6-bc76-cf60a3135dc3"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="4db7f7dd-1b5f-4dcc-8f86-54aff90f4544"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DateDiff milliseconds wide range" id="89d5f632-51c4-4e54-a302-1e691cb21a6c"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>dateTimeDiff2</con:operation><con:request name="DateDiff milliseconds wide range" id="5f03f2f5-48cd-4364-bbfd-935960209e5a"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:dateTimeDiff2> <ws:dateTimeDiff2>
@ -870,7 +870,7 @@
<unit>milliseconds</unit> <unit>milliseconds</unit>
</ws:dateTimeDiff2> </ws:dateTimeDiff2>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DateAdd"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>dateAdd</con:operation><con:request name="DateAdd"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="6ac719da-1f42-4689-a322-d8fefa69b489"/><con:assertion type="Schema Compliance" id="494aa97a-f7d4-47d2-9716-106a0433864d"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="52d7f397-ea56-417d-ba1d-d9d4d9da3647"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DateAdd" id="856dace0-ee5b-48e9-8481-37bc3d445bf9"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>DateServiceSoapBinding</con:interface><con:operation>dateAdd</con:operation><con:request name="DateAdd" id="aefa1795-3512-41a3-929b-80dc369bf662"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:dateAdd> <ws:dateAdd>
@ -879,4 +879,4 @@
<unit>seconds</unit> <unit>seconds</unit>
</ws:dateAdd> </ws:dateAdd>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="Basic Load"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>30</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>180</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Burst</con:type><con:config><burstDelay>60000</burstDelay><burstDuration>10000</burstDuration></con:config></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:properties/></con:testSuite><con:properties/><con:wssContainer/><con:oAuth2ProfileContainer/></con:soapui-project> </soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="652b3cd4-533e-465c-a319-3c48ff8327d2"/><con:assertion type="Schema Compliance" id="b23ae790-75a0-4b95-b5ab-294ca7a9f863"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="41ad8701-ec19-4ad1-8d3d-52a81693131b"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="Basic Load" id="4199b682-84fd-47af-9110-77461e427a76"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>30</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>180</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Burst</con:type><con:config><burstDelay>60000</burstDelay><burstDuration>10000</burstDuration></con:config></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:properties/></con:testSuite><con:properties/><con:wssContainer/><con:oAuth2ProfileContainer/><con:oAuth1ProfileContainer/></con:soapui-project>

View File

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/XServices"/>

View File

@ -1,17 +1,14 @@
<beans xmlns="http://www.springframework.org/schema/beans" <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:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxrs="http://cxf.apache.org/jaxrs" xmlns:simple="http://cxf.apache.org/simple" xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:jaxrs="http://cxf.apache.org/jaxrs"
xsi:schemaLocation=" xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.2.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd"> http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd">
<import resource="classpath:META-INF/cxf/cxf.xml" /> <import resource="classpath:META-INF/cxf/cxf.xml"/>
<!-- deprecated since CXF 2.4.0 --> <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
<!-- <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-jaxrs-binding.xml"
/> -->
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
<jaxws:endpoint id="archiveservice" <jaxws:endpoint id="archiveservice"
implementor="net.brutex.xservices.ws.impl.ArchiveServiceImpl" address="/ArchiveService"> implementor="net.brutex.xservices.ws.impl.ArchiveServiceImpl" address="/ArchiveService">
@ -85,28 +82,6 @@
<bean id="FileInfoBean" class="net.brutex.xservices.ws.rs.FileInfoImpl" /> <bean id="FileInfoBean" class="net.brutex.xservices.ws.rs.FileInfoImpl" />
<jaxrs:server address="/app1">
<jaxrs:serviceBeans>
<ref bean="FileInfoBean"/>
</jaxrs:serviceBeans>
<jaxrs:providers>
<ref bean="redirectGetFilter"/>
</jaxrs:providers>
</jaxrs:server>
<bean id="redirectGetFilter" class="org.apache.cxf.rs.security.saml.sso.SamlRedirectBindingFilter">
<property name="idpServiceAddress" value="https://localhost:9443/idp"/>
<!-- both relative and absolute URIs are supported -->
<property name="assertionConsumerServiceAddress" value="/racs/sso"/>
<property name="stateProvider" ref="stateManager"/>
</bean>
<bean id="stateManager" class="org.apache.cxf.rs.security.saml.sso.state.EHCacheSPStateManager">
<constructor-arg ref="cxf"/>
</bean>
@ -117,12 +92,13 @@
</jaxrs:server> </jaxrs:server>
<bean id="CVSInfoBean" class="net.brutex.xservices.ws.rs.CVSInfoImpl" /> <bean id="CVSInfoBean" class="net.brutex.xservices.ws.rs.CVSInfoImpl" />
<!--
<jaxrs:server id="DIMCMInfo" address="/dimcminfo"> <jaxrs:server id="DIMCMInfo" address="/dimcminfo">
<jaxrs:serviceBeans> <jaxrs:serviceBeans>
<ref bean="DIMCMInfoBean" /> <ref bean="DIMCMInfoBean" />
</jaxrs:serviceBeans> </jaxrs:serviceBeans>
</jaxrs:server> </jaxrs:server>
<bean id="DIMCMInfoBean" class="net.brutex.xservices.ws.rs.DIMCMInfoImpl" /> <bean id="DIMCMInfoBean" class="net.brutex.xservices.ws.rs.DIMCMInfoImpl" />
-->
</beans> </beans>

26
web/WEB-INF/log4j2.xml Normal file
View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
<Appenders>
<RollingFile name="XSERVICES" fileName="c:/temp/xservices.log"
filePattern="logs/$${date:yyyy-MM}/app-%d{MM-dd-yyyy}-%i.log.gz">
<PatternLayout>
<Pattern>%d %p %c{1.} [%t] %m%n</Pattern>
</PatternLayout>
<Policies>
<TimeBasedTriggeringPolicy />
<SizeBasedTriggeringPolicy size="10 MB"/>
</Policies>
</RollingFile>
</Appenders>
<Loggers>
<Logger name="net.brutex.xservices" level="debug" additivity="false">
<AppenderRef ref="XSERVICES"/>
</Logger>
<Logger name="org.springframework.web" level="debug">
<AppenderRef ref="XSERVICES"/>
</Logger>
</Loggers>
</Configuration>

View File

@ -3,9 +3,15 @@
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5"> version="2.5">
<context-param> <context-param>
<param-name>contextConfigLocation</param-name> <param-name>log4jConfiguration</param-name>
<param-value>/WEB-INF/cxf-beans.xml</param-value> <param-value>/WEB-INF/log4j2.xml</param-value>
</context-param>
<context-param>
<param-name>shiroConfigLocations</param-name>
<param-value>/WEB-INF/shiro.ini</param-value>
</context-param> </context-param>
<context-param> <context-param>
<param-name>quartz:config-file</param-name> <param-name>quartz:config-file</param-name>
@ -57,8 +63,18 @@
<servlet> <servlet>
<servlet-name>XServices</servlet-name> <servlet-name>XServices</servlet-name>
<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class> <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
<!-- <init-param>
<param-name>config-location</param-name>
<param-value>/WEB-INF/cxf-servlet.xml</param-value>
</init-param>
-->
<init-param>
<param-name>hide-service-list-page</param-name>
<param-value>false</param-value>
</init-param>
<load-on-startup>1</load-on-startup> <load-on-startup>1</load-on-startup>
</servlet> </servlet>
<servlet> <servlet>
<servlet-name>QuartzInitializer</servlet-name> <servlet-name>QuartzInitializer</servlet-name>
<servlet-class>org.quartz.ee.servlet.QuartzInitializerServlet</servlet-class> <servlet-class>org.quartz.ee.servlet.QuartzInitializerServlet</servlet-class>
@ -83,6 +99,7 @@
<servlet-name>XServices</servlet-name> <servlet-name>XServices</servlet-name>
<url-pattern>/*</url-pattern> <url-pattern>/*</url-pattern>
</servlet-mapping> </servlet-mapping>
<session-config> <session-config>
<session-timeout>30</session-timeout> <session-timeout>30</session-timeout>
</session-config> </session-config>
@ -91,22 +108,13 @@
</welcome-file-list> </welcome-file-list>
<!-- Shiro --> <!-- Shiro -->
<listener> <listener>
<listener-class>org.apache.shiro.web.env.EnvironmentLoaderListener</listener-class> <listener-class>org.apache.shiro.web.env.EnvironmentLoaderListener</listener-class>
</listener> </listener>
<filter> <filter>
<filter-name>ShiroFilter</filter-name> <filter-name>ShiroFilter</filter-name>
<filter-class>org.apache.shiro.web.servlet.ShiroFilter</filter-class> <filter-class>org.apache.shiro.web.servlet.ShiroFilter</filter-class>
<init-param>
<param-name>configPath</param-name>
<param-value>/WEB-INF/shiro.ini</param-value>
</init-param>
</filter> </filter>
<filter-mapping> <filter-mapping>