You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2005/06/14 21:36:41 UTC
svn commit: r190652 [1/7] - in /incubator/beehive/trunk/wsm:
drt/negative/WEB-INF/ drt/negative/WEB-INF/src/
drt/negative/WEB-INF/src/web/negative/
drt/tests/org/apache/beehive/wsm/jsr181/model/
drt/tests/org/apache/beehive/wsm/jsr181/model/fakeAnnotations/
drt/tests/org/apache/beehive/wsm/jsr181/processor/apt/
drt/tests/org/apache/beehive/wsm/jsr181/wsdl/ drt/webapp/WEB-INF/
drt/webapp/WEB-INF/src/ drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/
drt/webapp/WEB-INF/src/web/ schemas/ src/api/javax/jws/
src/api/javax/jws/soap/ src/runtime/META-INF/services/
src/runtime/org/apache/beehive/wsm/axis/
src/runtime/org/apache/beehive/wsm/axis/ant/
src/runtime/org/apache/beehive/wsm/axis/databinding/
src/runtime/org/apache/beehive/wsm/axis/handlers/
src/runtime/org/apache/beehive/wsm/axis/registration/
src/runtime/org/apache/beehive/wsm/axis/tools/
src/runtime/org/apache/beehive/wsm/axis/util/
src/runtime/org/apache/beehive/wsm/databinding/
src/runtime/org/apache/beehive/wsm/databinding/xmlbeans/
src/runtime/org/apache/beehive/wsm/model/
src/runtime/org/apache/beehive/wsm/model/java/
src/runtime/org/apache/beehive/wsm/model/jsr181/
src/runtime/org/apache/beehive/wsm/processor/apt/
src/runtime/org/apache/beehive/wsm/registration/
src/runtime/org/apache/beehive/wsm/util/
src/runtime/org/apache/beehive/wsm/wsdl/
Author: ekoneil
Date: Tue Jun 14 12:36:38 2005
New Revision: 190652
URL: http://svn.apache.org/viewcvs?rev=190652&view=rev
Log:
Fix the svn:eol-style property on all of the WSM code.
This property was generally unset.
BB: self
DRT: WSM pass
Modified:
incubator/beehive/trunk/wsm/drt/negative/WEB-INF/server-config.wsdd (contents, props changed)
incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/build.xml (contents, props changed)
incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/HandlerChainWithInvalidFile.jws (contents, props changed)
incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/HandlerChainWithSOAPMessageHandlers.jws (contents, props changed)
incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/OnewayWithCheckedException.jws (contents, props changed)
incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/OnewayWithOutParameter.jws (contents, props changed)
incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/OnewayWithReturn.jws (contents, props changed)
incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebMethodNonPublic.jws (contents, props changed)
incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceAbstract.jws (contents, props changed)
incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceEndpointInterfaceWithEndpointInterface.jws (contents, props changed)
incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceEndpointInterfaceWithServiceName.jws (contents, props changed)
incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceFinal.jws (contents, props changed)
incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceNonPublic.jws (contents, props changed)
incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceWithFinalize.jws (contents, props changed)
incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceWithInvalidWsdlLocation.jws (contents, props changed)
incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceWithoutDefaultConstructor.jws (contents, props changed)
incubator/beehive/trunk/wsm/drt/negative/WEB-INF/web.xml (contents, props changed)
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/Bar2TestCase.java (contents, props changed)
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/Bar3TestCase.java (contents, props changed)
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/BarTestCase.java (contents, props changed)
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/FooTestCase.java (contents, props changed)
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/Jsr181ModelTest.javax (contents, props changed)
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/fakeAnnotations/FakeHandlerChainAnnotation.java (contents, props changed)
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/fakeAnnotations/FakeInitParamAnnotation.java (contents, props changed)
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/fakeAnnotations/FakeOneWayAnnotation.java (contents, props changed)
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/fakeAnnotations/FakeSOAPBindingAnnotation.java (contents, props changed)
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/fakeAnnotations/FakeSOAPMessageHandlerAnnotation.java (contents, props changed)
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/fakeAnnotations/FakeSOAPMessageHandlersAnnotation.java (contents, props changed)
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/fakeAnnotations/FakeWebMethodAnnotation.java (contents, props changed)
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/fakeAnnotations/FakeWebParamAnnotation.java (contents, props changed)
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/fakeAnnotations/FakeWebResultAnnotation.java (contents, props changed)
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/fakeAnnotations/FakeWebServiceAnnotation.java (contents, props changed)
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/processor/apt/WsmAnnotationProcessorEndpointInterfaceTest.java (contents, props changed)
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/processor/apt/WsmAnnotationProcessorTest.java (contents, props changed)
incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/wsdl/WSDL2AnnotatedJavaTest.java (props changed)
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/server-config.wsdd (contents, props changed)
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/Cheetorama.java (contents, props changed)
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/org/apache/beehive/wsm/axis/FakeDocWebService.jws (props changed)
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/web/Bar.jws (contents, props changed)
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/src/web/Bar3.jws (contents, props changed)
incubator/beehive/trunk/wsm/drt/webapp/WEB-INF/web.xml (contents, props changed)
incubator/beehive/trunk/wsm/schemas/soap.xsd (contents, props changed)
incubator/beehive/trunk/wsm/schemas/wsdl.xsd (contents, props changed)
incubator/beehive/trunk/wsm/src/api/javax/jws/HandlerChain.java (contents, props changed)
incubator/beehive/trunk/wsm/src/api/javax/jws/Oneway.java (contents, props changed)
incubator/beehive/trunk/wsm/src/api/javax/jws/WebMethod.java (contents, props changed)
incubator/beehive/trunk/wsm/src/api/javax/jws/WebParam.java (contents, props changed)
incubator/beehive/trunk/wsm/src/api/javax/jws/WebResult.java (contents, props changed)
incubator/beehive/trunk/wsm/src/api/javax/jws/WebService.java (contents, props changed)
incubator/beehive/trunk/wsm/src/api/javax/jws/soap/InitParam.java (contents, props changed)
incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPBinding.java (contents, props changed)
incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPMessageHandler.java (contents, props changed)
incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPMessageHandlers.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/META-INF/services/com.sun.mirror.apt.AnnotationProcessorFactory (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java (props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/ControlProvider.java (props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/ant/AxisTypeGenerator.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/ant/AxisTypeGeneratorTask.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/ant/WSDL2AJavaTask.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/databinding/AxisTypeLookup.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/databinding/SystemTypeLookupService.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/handlers/AnnotatedWebServiceDeploymentHandler.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/registration/AxisTypeMappingMetaData.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/registration/AxisTypeRegistrar.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/tools/Wsdl2AJava.java (props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/DebugPrintMessageHandler.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/databinding/BindingLookupService.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/databinding/GenericHolder.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/databinding/xmlbeans/XmlBeanTypeLookup.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/model/BeehiveWsMethodMetadata.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/model/BeehiveWsParameterMetadata.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/model/BeehiveWsSOAPBindingInfo.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/model/BeehiveWsSOAPMessageHandlerInfo.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/model/BeehiveWsSecurityRolesInfo.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/model/BeehiveWsTypeMetadata.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/model/ValidationException.java (props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/model/java/JavaMethodInfo.java (props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/model/java/JavaParameterInfo.java (props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/model/java/JavaTypeInfo.java (props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/model/jsr181/Jsr181ObjectModelStore.java (props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/model/jsr181/SOAPMessageHandlerInfo.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/processor/apt/MirrorMethodInfo.java (props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/processor/apt/MirrorParameterInfo.java (props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/processor/apt/MirrorTypeInfo.java (props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/processor/apt/TypeMirrorUtil.java (props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/processor/apt/WebServiceMetadataViewer.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/registration/TypeRegistrar.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/util/InvalidTypeMappingException.java (contents, props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/wsdl/Model2AJava.java (props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/wsdl/Schema.java (props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/wsdl/Utilities.java (props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/wsdl/WSDLParser.java (props changed)
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/wsdl/wsdl2ajava.vm (contents, props changed)
Modified: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/server-config.wsdd
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/negative/WEB-INF/server-config.wsdd?rev=190652&r1=190651&r2=190652&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/negative/WEB-INF/server-config.wsdd (original)
+++ incubator/beehive/trunk/wsm/drt/negative/WEB-INF/server-config.wsdd Tue Jun 14 12:36:38 2005
@@ -1,46 +1,46 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
- <globalConfiguration>
- <parameter name="adminPassword" value="admin"/>
- <parameter name="disablePrettyXML" value="true"/>
- <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/>
- <parameter name="sendXsiTypes" value="true"/>
- <parameter name="sendXMLDeclaration" value="true"/>
- <requestFlow>
- <handler type="java:org.apache.beehive.wsm.axis.AnnotatedWebServiceDeploymentHandler">
- <parameter name="scope" value="session"/>
- </handler>
- <handler type="java:org.apache.axis.handlers.JWSHandler">
- <parameter name="scope" value="session"/>
- </handler>
- </requestFlow>
- </globalConfiguration>
- <handler name="LocalResponder" type="java:org.apache.axis.transport.local.LocalResponder"/>
- <handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper"/>
- <handler name="Authenticate" type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
- <service name="AdminService" provider="java:MSG">
- <parameter name="allowedMethods" value="AdminService"/>
- <parameter name="enableRemoteAdmin" value="false"/>
- <parameter name="className" value="org.apache.axis.utils.Admin"/>
- <namespace>http://xml.apache.org/axis/wsdd/</namespace>
- </service>
- <service name="Version" provider="java:RPC">
- <parameter name="allowedMethods" value="getVersion"/>
- <parameter name="className" value="org.apache.axis.Version"/>
- </service>
- <transport name="http">
- <requestFlow>
- <handler type="URLMapper"/>
- <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
- </requestFlow>
- <parameter name="qs:list" value="org.apache.axis.transport.http.QSListHandler"/>
- <parameter name="qs:wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
- <parameter name="qs:method" value="org.apache.axis.transport.http.QSMethodHandler"/>
- </transport>
- <transport name="local">
- <responseFlow>
- <handler type="LocalResponder"/>
- </responseFlow>
- </transport>
-</deployment>
-
+<?xml version="1.0" encoding="UTF-8"?>
+<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
+ <globalConfiguration>
+ <parameter name="adminPassword" value="admin"/>
+ <parameter name="disablePrettyXML" value="true"/>
+ <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/>
+ <parameter name="sendXsiTypes" value="true"/>
+ <parameter name="sendXMLDeclaration" value="true"/>
+ <requestFlow>
+ <handler type="java:org.apache.beehive.wsm.axis.AnnotatedWebServiceDeploymentHandler">
+ <parameter name="scope" value="session"/>
+ </handler>
+ <handler type="java:org.apache.axis.handlers.JWSHandler">
+ <parameter name="scope" value="session"/>
+ </handler>
+ </requestFlow>
+ </globalConfiguration>
+ <handler name="LocalResponder" type="java:org.apache.axis.transport.local.LocalResponder"/>
+ <handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper"/>
+ <handler name="Authenticate" type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
+ <service name="AdminService" provider="java:MSG">
+ <parameter name="allowedMethods" value="AdminService"/>
+ <parameter name="enableRemoteAdmin" value="false"/>
+ <parameter name="className" value="org.apache.axis.utils.Admin"/>
+ <namespace>http://xml.apache.org/axis/wsdd/</namespace>
+ </service>
+ <service name="Version" provider="java:RPC">
+ <parameter name="allowedMethods" value="getVersion"/>
+ <parameter name="className" value="org.apache.axis.Version"/>
+ </service>
+ <transport name="http">
+ <requestFlow>
+ <handler type="URLMapper"/>
+ <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
+ </requestFlow>
+ <parameter name="qs:list" value="org.apache.axis.transport.http.QSListHandler"/>
+ <parameter name="qs:wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
+ <parameter name="qs:method" value="org.apache.axis.transport.http.QSMethodHandler"/>
+ </transport>
+ <transport name="local">
+ <responseFlow>
+ <handler type="LocalResponder"/>
+ </responseFlow>
+ </transport>
+</deployment>
+
Propchange: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/server-config.wsdd
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/build.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/build.xml?rev=190652&r1=190651&r2=190652&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/build.xml (original)
+++ incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/build.xml Tue Jun 14 12:36:38 2005
@@ -1,140 +1,140 @@
-<?xml version="1.0" ?>
-
-<!--
- Copyright 2004 The Apache Software Foundation
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
- $Header:$
- -->
-
-<project name="wsm-negative-drts" default="build" basedir=".">
-
- <import file="../../../../beehive-imports.xml" />
-
- <property name="service.name" value="wsm-negative-drts" />
-
- <property name="webapp.dir" location=".." />
- <property name="web.inf.dir" value="${webapp.dir}/WEB-INF" />
- <property name="lib.dir" value="${web.inf.dir}/lib" />
- <property name="src.dir" value="${web.inf.dir}/src" />
- <property name="attachments.dir" value="${web.inf.dir}/attachments" />
- <property name="classes.dir" value="${web.inf.dir}/classes" />
- <property name="gen.dir" value="${web.inf.dir}/.tmpbeansrc" />
- <property name="webservice.jar" value="${lib.dir}/${service.name}WS.jar" />
- <property name="webservice.war" value="${service.name}WS.war" />
-
- <condition property="isJDK15">
- <equals arg1="${ant.java.version}" arg2="1.5" />
- </condition>
-
- <path id="lib.path">
- <fileset dir="${lib.dir}">
- <include name="**/*.jar" />
- </fileset>
- </path>
-
- <path id="build.classpath">
- <path refid="lib.path"/>
- <pathelement location="${classes.dir}"/>
- </path>
-
-
- <!-- ========================================= -->
- <!-- deploy - build deployable artifact -->
- <!-- ========================================= -->
-
- <target name="deploy">
- <antcall target="deploy.war" />
- </target>
-
-
- <!-- ========================================= -->
- <!-- deploy.war - build deployable artifact -->
- <!-- ========================================= -->
-
- <target name="deploy.war">
- <jar destfile="${to.dir}/${webservice.war}">
- <fileset dir="${webapp.dir}">
- <exclude name="WEB-INF/classes/**" />
- <exclude name="WEB-INF/.tmpbeansrc/**" />
- <exclude name="WEB-INF/src/**" />
- <exclude name="**/*build*.xml" />
- </fileset>
- </jar>
- </target>
-
-
- <!-- ========================================= -->
- <!-- build - create jar in ${lib.dir} -->
- <!-- ========================================= -->
-
- <target name="build" depends="dirs">
- <antcall target="deploy.beehive.webservice.runtime" />
- <antcall target="build.beehive.webservice" />
- <jar jarfile="${webservice.jar}">
- <fileset dir="${classes.dir}" />
- </jar>
- </target>
-
-
- <!-- ========================================= -->
- <!-- clean - remove binary files -->
- <!-- ========================================= -->
-
- <target name="clean">
- <delete dir="${attachments.dir}" />
- <delete file="velocity.log" />
- <clean-webapp webappDir="${webapp.dir}" />
- </target>
-
-
- <!-- ========================================= -->
- <!-- dirs - create dirs required for compile -->
- <!-- ========================================= -->
-
- <target name="dirs">
- <mkdir dir="${lib.dir}" />
- <mkdir dir="${attachments.dir}" />
- <mkdir dir="${classes.dir}" />
- <mkdir dir="${gen.dir}" />
- </target>
-
-
- <!-- ========================================= -->
- <!-- deploy.beehive.webservice.runtime - -->
- <!-- ========================================= -->
-
- <target name="deploy.beehive.webservice.runtime">
- <deploy-wsm webappDir="${webapp.dir}" />
- </target>
-
-
- <!-- build all beehive webservice binaries -->
- <target name="build.beehive.webservice">
- <taskdef name="apt"
- classname="org.apache.beehive.controls.runtime.generator.AptTask"
- classpathref="lib.path"
- onerror="report" />
- <apt
- srcdir="${src.dir}"
- destdir="${classes.dir}"
- gendir="${gen.dir}"
- classpathref="build.classpath"
- compileByExtension="true"
- srcExtensions="*.java,*.jws"
- failonerror="false"
- debug="true" />
- </target>
-
-</project>
+<?xml version="1.0" ?>
+
+<!--
+ Copyright 2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ $Header:$
+ -->
+
+<project name="wsm-negative-drts" default="build" basedir=".">
+
+ <import file="../../../../beehive-imports.xml" />
+
+ <property name="service.name" value="wsm-negative-drts" />
+
+ <property name="webapp.dir" location=".." />
+ <property name="web.inf.dir" value="${webapp.dir}/WEB-INF" />
+ <property name="lib.dir" value="${web.inf.dir}/lib" />
+ <property name="src.dir" value="${web.inf.dir}/src" />
+ <property name="attachments.dir" value="${web.inf.dir}/attachments" />
+ <property name="classes.dir" value="${web.inf.dir}/classes" />
+ <property name="gen.dir" value="${web.inf.dir}/.tmpbeansrc" />
+ <property name="webservice.jar" value="${lib.dir}/${service.name}WS.jar" />
+ <property name="webservice.war" value="${service.name}WS.war" />
+
+ <condition property="isJDK15">
+ <equals arg1="${ant.java.version}" arg2="1.5" />
+ </condition>
+
+ <path id="lib.path">
+ <fileset dir="${lib.dir}">
+ <include name="**/*.jar" />
+ </fileset>
+ </path>
+
+ <path id="build.classpath">
+ <path refid="lib.path"/>
+ <pathelement location="${classes.dir}"/>
+ </path>
+
+
+ <!-- ========================================= -->
+ <!-- deploy - build deployable artifact -->
+ <!-- ========================================= -->
+
+ <target name="deploy">
+ <antcall target="deploy.war" />
+ </target>
+
+
+ <!-- ========================================= -->
+ <!-- deploy.war - build deployable artifact -->
+ <!-- ========================================= -->
+
+ <target name="deploy.war">
+ <jar destfile="${to.dir}/${webservice.war}">
+ <fileset dir="${webapp.dir}">
+ <exclude name="WEB-INF/classes/**" />
+ <exclude name="WEB-INF/.tmpbeansrc/**" />
+ <exclude name="WEB-INF/src/**" />
+ <exclude name="**/*build*.xml" />
+ </fileset>
+ </jar>
+ </target>
+
+
+ <!-- ========================================= -->
+ <!-- build - create jar in ${lib.dir} -->
+ <!-- ========================================= -->
+
+ <target name="build" depends="dirs">
+ <antcall target="deploy.beehive.webservice.runtime" />
+ <antcall target="build.beehive.webservice" />
+ <jar jarfile="${webservice.jar}">
+ <fileset dir="${classes.dir}" />
+ </jar>
+ </target>
+
+
+ <!-- ========================================= -->
+ <!-- clean - remove binary files -->
+ <!-- ========================================= -->
+
+ <target name="clean">
+ <delete dir="${attachments.dir}" />
+ <delete file="velocity.log" />
+ <clean-webapp webappDir="${webapp.dir}" />
+ </target>
+
+
+ <!-- ========================================= -->
+ <!-- dirs - create dirs required for compile -->
+ <!-- ========================================= -->
+
+ <target name="dirs">
+ <mkdir dir="${lib.dir}" />
+ <mkdir dir="${attachments.dir}" />
+ <mkdir dir="${classes.dir}" />
+ <mkdir dir="${gen.dir}" />
+ </target>
+
+
+ <!-- ========================================= -->
+ <!-- deploy.beehive.webservice.runtime - -->
+ <!-- ========================================= -->
+
+ <target name="deploy.beehive.webservice.runtime">
+ <deploy-wsm webappDir="${webapp.dir}" />
+ </target>
+
+
+ <!-- build all beehive webservice binaries -->
+ <target name="build.beehive.webservice">
+ <taskdef name="apt"
+ classname="org.apache.beehive.controls.runtime.generator.AptTask"
+ classpathref="lib.path"
+ onerror="report" />
+ <apt
+ srcdir="${src.dir}"
+ destdir="${classes.dir}"
+ gendir="${gen.dir}"
+ classpathref="build.classpath"
+ compileByExtension="true"
+ srcExtensions="*.java,*.jws"
+ failonerror="false"
+ debug="true" />
+ </target>
+
+</project>
Propchange: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/HandlerChainWithInvalidFile.jws
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/HandlerChainWithInvalidFile.jws?rev=190652&r1=190651&r2=190652&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/HandlerChainWithInvalidFile.jws (original)
+++ incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/HandlerChainWithInvalidFile.jws Tue Jun 14 12:36:38 2005
@@ -1,35 +1,35 @@
-package web.negative;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import javax.jws.HandlerChain;
-import javax.jws.WebMethod;
-import javax.jws.WebService;
-
-/**
- * This web service has a HandlerChain annotations that refers to a
- * non-existing file.
- */
-@WebService
-@HandlerChain(file="InvalidFile.xml", name="InvalidFile")
-public class HandlerChainWithInvalidFile {
-
- @WebMethod
- public String sayHello(String name) {
- return "Hello, " + name + "!";
- }
+package web.negative;
+
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import javax.jws.HandlerChain;
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+/**
+ * This web service has a HandlerChain annotations that refers to a
+ * non-existing file.
+ */
+@WebService
+@HandlerChain(file="InvalidFile.xml", name="InvalidFile")
+public class HandlerChainWithInvalidFile {
+
+ @WebMethod
+ public String sayHello(String name) {
+ return "Hello, " + name + "!";
+ }
}
Propchange: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/HandlerChainWithInvalidFile.jws
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/HandlerChainWithSOAPMessageHandlers.jws
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/HandlerChainWithSOAPMessageHandlers.jws?rev=190652&r1=190651&r2=190652&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/HandlerChainWithSOAPMessageHandlers.jws (original)
+++ incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/HandlerChainWithSOAPMessageHandlers.jws Tue Jun 14 12:36:38 2005
@@ -1,42 +1,42 @@
-package web.negative;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import javax.jws.HandlerChain;
-import javax.jws.WebMethod;
-import javax.jws.WebService;
-import javax.jws.soap.InitParam;
-import javax.jws.soap.SOAPMessageHandler;
-import javax.jws.soap.SOAPMessageHandlers;
-
-/**
- * This web service illegally defines SOAPMessageHandlers and a HandlerChain.
- */
-@WebService
-@HandlerChain(file="HandlerConfig.xml", name="HandlerChain")
-@SOAPMessageHandlers({
- @SOAPMessageHandler(className="web.soapmessagehandlers.EncryptionHandler", initParams={@InitParam( name="offset", value="1")}),
- @SOAPMessageHandler(className="web.soapmessagehandlers.EncryptionHandler", initParams={@InitParam( name="offset", value="2")}),
- @SOAPMessageHandler(className="web.soapmessagehandlers.EncryptionHandler", initParams={@InitParam( name="offset", value="4")})
-})
-public class HandlerChainWithSOAPMessageHandlers {
-
- @WebMethod
- public String sayHello(String name) {
- return "Hello, " + name + "!";
- }
+package web.negative;
+
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import javax.jws.HandlerChain;
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.InitParam;
+import javax.jws.soap.SOAPMessageHandler;
+import javax.jws.soap.SOAPMessageHandlers;
+
+/**
+ * This web service illegally defines SOAPMessageHandlers and a HandlerChain.
+ */
+@WebService
+@HandlerChain(file="HandlerConfig.xml", name="HandlerChain")
+@SOAPMessageHandlers({
+ @SOAPMessageHandler(className="web.soapmessagehandlers.EncryptionHandler", initParams={@InitParam( name="offset", value="1")}),
+ @SOAPMessageHandler(className="web.soapmessagehandlers.EncryptionHandler", initParams={@InitParam( name="offset", value="2")}),
+ @SOAPMessageHandler(className="web.soapmessagehandlers.EncryptionHandler", initParams={@InitParam( name="offset", value="4")})
+})
+public class HandlerChainWithSOAPMessageHandlers {
+
+ @WebMethod
+ public String sayHello(String name) {
+ return "Hello, " + name + "!";
+ }
}
Propchange: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/HandlerChainWithSOAPMessageHandlers.jws
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/OnewayWithCheckedException.jws
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/OnewayWithCheckedException.jws?rev=190652&r1=190651&r2=190652&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/OnewayWithCheckedException.jws (original)
+++ incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/OnewayWithCheckedException.jws Tue Jun 14 12:36:38 2005
@@ -1,34 +1,34 @@
-package web.negative;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import javax.jws.Oneway;
-import javax.jws.WebMethod;
-import javax.jws.WebService;
-
-@WebService
-public class OnewayWithCheckedException {
-
- /**
- * This oneway method illegally throws a checked exception.
- */
- @WebMethod
- @Oneway
- public void sayHello() throws Exception {
- throw new Exception("Hello!");
- }
-}
+package web.negative;
+
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import javax.jws.Oneway;
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+@WebService
+public class OnewayWithCheckedException {
+
+ /**
+ * This oneway method illegally throws a checked exception.
+ */
+ @WebMethod
+ @Oneway
+ public void sayHello() throws Exception {
+ throw new Exception("Hello!");
+ }
+}
Propchange: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/OnewayWithCheckedException.jws
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/OnewayWithOutParameter.jws
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/OnewayWithOutParameter.jws?rev=190652&r1=190651&r2=190652&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/OnewayWithOutParameter.jws (original)
+++ incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/OnewayWithOutParameter.jws Tue Jun 14 12:36:38 2005
@@ -1,37 +1,37 @@
-package web.negative;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import javax.jws.Oneway;
-import javax.jws.WebMethod;
-import javax.jws.WebParam;
-import javax.jws.WebService;
-
-import javax.xml.rpc.holders.StringHolder;
-
-@WebService
-public class OnewayWithOutParameter {
-
- /**
- * This oneway method illegally defines an OUT parameter.
- */
- @WebMethod
- @Oneway
- public void sayHello(@WebParam(mode=WebParam.Mode.OUT) StringHolder stringHolder) {
- stringHolder.value = "Hello!";
- }
+package web.negative;
+
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import javax.jws.Oneway;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebService;
+
+import javax.xml.rpc.holders.StringHolder;
+
+@WebService
+public class OnewayWithOutParameter {
+
+ /**
+ * This oneway method illegally defines an OUT parameter.
+ */
+ @WebMethod
+ @Oneway
+ public void sayHello(@WebParam(mode=WebParam.Mode.OUT) StringHolder stringHolder) {
+ stringHolder.value = "Hello!";
+ }
}
Propchange: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/OnewayWithOutParameter.jws
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/OnewayWithReturn.jws
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/OnewayWithReturn.jws?rev=190652&r1=190651&r2=190652&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/OnewayWithReturn.jws (original)
+++ incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/OnewayWithReturn.jws Tue Jun 14 12:36:38 2005
@@ -1,34 +1,34 @@
-package web.negative;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import javax.jws.Oneway;
-import javax.jws.WebMethod;
-import javax.jws.WebService;
-
-@WebService
-public class OnewayWithReturn {
-
- /**
- * This @Oneway method illegally defines a return value.
- */
- @WebMethod
- @Oneway
- public String sayHello(String name) {
- return "Hello, " + name + "!";
- }
-}
+package web.negative;
+
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import javax.jws.Oneway;
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+@WebService
+public class OnewayWithReturn {
+
+ /**
+ * This @Oneway method illegally defines a return value.
+ */
+ @WebMethod
+ @Oneway
+ public String sayHello(String name) {
+ return "Hello, " + name + "!";
+ }
+}
Propchange: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/OnewayWithReturn.jws
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebMethodNonPublic.jws
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebMethodNonPublic.jws?rev=190652&r1=190651&r2=190652&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebMethodNonPublic.jws (original)
+++ incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebMethodNonPublic.jws Tue Jun 14 12:36:38 2005
@@ -1,32 +1,32 @@
-package web.negative;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import javax.jws.WebMethod;
-import javax.jws.WebService;
-
-@WebService
-public class WebMethodNonPublic {
-
- /**
- * This web method is not public.
- */
- @WebMethod
- String sayHello(String name) {
- return "Hello, " + name + "!";
- }
+package web.negative;
+
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+@WebService
+public class WebMethodNonPublic {
+
+ /**
+ * This web method is not public.
+ */
+ @WebMethod
+ String sayHello(String name) {
+ return "Hello, " + name + "!";
+ }
}
Propchange: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebMethodNonPublic.jws
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceAbstract.jws
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceAbstract.jws?rev=190652&r1=190651&r2=190652&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceAbstract.jws (original)
+++ incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceAbstract.jws Tue Jun 14 12:36:38 2005
@@ -1,32 +1,32 @@
-package web.negative;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import javax.jws.WebMethod;
-import javax.jws.WebService;
-
-/**
- * This web service class is abstract, which is illegal according to JSR-181.
- */
-@WebService
-public abstract class WebServiceAbstract {
-
- @WebMethod
- public String sayHello(String name) {
- return "Hello, " + name + "!";
- }
+package web.negative;
+
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+/**
+ * This web service class is abstract, which is illegal according to JSR-181.
+ */
+@WebService
+public abstract class WebServiceAbstract {
+
+ @WebMethod
+ public String sayHello(String name) {
+ return "Hello, " + name + "!";
+ }
}
Propchange: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceAbstract.jws
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceEndpointInterfaceWithEndpointInterface.jws
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceEndpointInterfaceWithEndpointInterface.jws?rev=190652&r1=190651&r2=190652&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceEndpointInterfaceWithEndpointInterface.jws (original)
+++ incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceEndpointInterfaceWithEndpointInterface.jws Tue Jun 14 12:36:38 2005
@@ -1,31 +1,31 @@
-package web.negative;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import javax.jws.WebMethod;
-import javax.jws.WebService;
-
-/**
- * This web service endpoint interface illegally refers to another endpoint
- * interface.
- */
-@WebService(endpointInterface="web.negative.WebServiceEndpointInterfaceWithServiceName")
-public interface WebServiceEndpointInterfaceWithEndpointInterface {
-
- @WebMethod
- public String sayHello(String name);
-}
+package web.negative;
+
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+/**
+ * This web service endpoint interface illegally refers to another endpoint
+ * interface.
+ */
+@WebService(endpointInterface="web.negative.WebServiceEndpointInterfaceWithServiceName")
+public interface WebServiceEndpointInterfaceWithEndpointInterface {
+
+ @WebMethod
+ public String sayHello(String name);
+}
Propchange: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceEndpointInterfaceWithEndpointInterface.jws
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceEndpointInterfaceWithServiceName.jws
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceEndpointInterfaceWithServiceName.jws?rev=190652&r1=190651&r2=190652&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceEndpointInterfaceWithServiceName.jws (original)
+++ incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceEndpointInterfaceWithServiceName.jws Tue Jun 14 12:36:38 2005
@@ -1,31 +1,31 @@
-package web.negative;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import javax.jws.WebMethod;
-import javax.jws.WebService;
-
-/**
- * This web service is an endpoint interface that illegally defines
- * @WebService.serviceName.
- */
-@WebService(name="Name", serviceName="ServiceName")
-public interface WebServiceEndpointInterfaceWithServiceName {
-
- @WebMethod
- public String sayHello(String name);
+package web.negative;
+
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+/**
+ * This web service is an endpoint interface that illegally defines
+ * @WebService.serviceName.
+ */
+@WebService(name="Name", serviceName="ServiceName")
+public interface WebServiceEndpointInterfaceWithServiceName {
+
+ @WebMethod
+ public String sayHello(String name);
}
Propchange: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceEndpointInterfaceWithServiceName.jws
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceFinal.jws
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceFinal.jws?rev=190652&r1=190651&r2=190652&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceFinal.jws (original)
+++ incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceFinal.jws Tue Jun 14 12:36:38 2005
@@ -1,32 +1,32 @@
-package web.negative;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import javax.jws.WebMethod;
-import javax.jws.WebService;
-
-/**
- * This web service class is "final", which is illegal according to JSR-181.
- */
-@WebService
-public final class WebServiceFinal {
-
- @WebMethod
- public String sayHello(String name) {
- return "Hello, " + name + "!";
- }
+package web.negative;
+
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+/**
+ * This web service class is "final", which is illegal according to JSR-181.
+ */
+@WebService
+public final class WebServiceFinal {
+
+ @WebMethod
+ public String sayHello(String name) {
+ return "Hello, " + name + "!";
+ }
}
Propchange: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceFinal.jws
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceNonPublic.jws
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceNonPublic.jws?rev=190652&r1=190651&r2=190652&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceNonPublic.jws (original)
+++ incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceNonPublic.jws Tue Jun 14 12:36:38 2005
@@ -1,32 +1,32 @@
-package web.negative;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import javax.jws.WebMethod;
-import javax.jws.WebService;
-
-/**
- * This web service class is not public as required by JSR-181.
- */
-@WebService
-class WebServiceNonPublic {
-
- @WebMethod
- public String hello(String name) {
- return "Hello, " + name + "!";
- }
+package web.negative;
+
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+/**
+ * This web service class is not public as required by JSR-181.
+ */
+@WebService
+class WebServiceNonPublic {
+
+ @WebMethod
+ public String hello(String name) {
+ return "Hello, " + name + "!";
+ }
}
Propchange: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceNonPublic.jws
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceWithFinalize.jws
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceWithFinalize.jws?rev=190652&r1=190651&r2=190652&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceWithFinalize.jws (original)
+++ incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceWithFinalize.jws Tue Jun 14 12:36:38 2005
@@ -1,34 +1,34 @@
-package web.negative;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import javax.jws.WebMethod;
-import javax.jws.WebService;
-
-/**
- * This web service class illegally defines "finalize()".
- */
-@WebService
-public class WebServiceWithFinalize {
-
- public void finalize() { }
-
- @WebMethod
- public String sayHello(String name) {
- return "Hello, " + name + "!";
- }
+package web.negative;
+
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+/**
+ * This web service class illegally defines "finalize()".
+ */
+@WebService
+public class WebServiceWithFinalize {
+
+ public void finalize() { }
+
+ @WebMethod
+ public String sayHello(String name) {
+ return "Hello, " + name + "!";
+ }
}
Propchange: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceWithFinalize.jws
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceWithInvalidWsdlLocation.jws
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceWithInvalidWsdlLocation.jws?rev=190652&r1=190651&r2=190652&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceWithInvalidWsdlLocation.jws (original)
+++ incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceWithInvalidWsdlLocation.jws Tue Jun 14 12:36:38 2005
@@ -1,32 +1,32 @@
-package web.negative;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import javax.jws.WebMethod;
-import javax.jws.WebService;
-
-/**
- * This web service class refers to a non-existing WSDL file.
- */
-@WebService(wsdlLocation="InvalidWsdlLocation.wsdl")
-public class WebServiceWithInvalidWsdlLocation {
-
- @WebMethod
- public String sayHello(String name) {
- return "Hello, " + name + "!";
- }
+package web.negative;
+
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+/**
+ * This web service class refers to a non-existing WSDL file.
+ */
+@WebService(wsdlLocation="InvalidWsdlLocation.wsdl")
+public class WebServiceWithInvalidWsdlLocation {
+
+ @WebMethod
+ public String sayHello(String name) {
+ return "Hello, " + name + "!";
+ }
}
Propchange: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceWithInvalidWsdlLocation.jws
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceWithoutDefaultConstructor.jws
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceWithoutDefaultConstructor.jws?rev=190652&r1=190651&r2=190652&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceWithoutDefaultConstructor.jws (original)
+++ incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceWithoutDefaultConstructor.jws Tue Jun 14 12:36:38 2005
@@ -1,34 +1,34 @@
-package web.negative;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import javax.jws.WebMethod;
-import javax.jws.WebService;
-
-/**
- * This web service class does not define the required default constructor.
- */
-@WebService
-public class WebServiceWithoutDefaultConstructor {
-
- public WebServiceWithoutDefaultConstructor(int i) { }
-
- @WebMethod
- public String sayHello(String name) {
- return "Hello, " + name + "!";
- }
+package web.negative;
+
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+/**
+ * This web service class does not define the required default constructor.
+ */
+@WebService
+public class WebServiceWithoutDefaultConstructor {
+
+ public WebServiceWithoutDefaultConstructor(int i) { }
+
+ @WebMethod
+ public String sayHello(String name) {
+ return "Hello, " + name + "!";
+ }
}
Propchange: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/src/web/negative/WebServiceWithoutDefaultConstructor.jws
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/negative/WEB-INF/web.xml?rev=190652&r1=190651&r2=190652&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/negative/WEB-INF/web.xml (original)
+++ incubator/beehive/trunk/wsm/drt/negative/WEB-INF/web.xml Tue Jun 14 12:36:38 2005
@@ -1,82 +1,82 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-
-<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
-Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
-
-<web-app>
-
- <display-name>beehive-wsm negative drt tests</display-name>
-
- <!-- configure beehive controls context -->
- <filter>
- <filter-name>ControlFilter</filter-name>
- <filter-class>org.apache.beehive.controls.runtime.servlet.ControlFilter</filter-class>
- </filter>
- <filter-mapping>
- <filter-name>ControlFilter</filter-name>
- <url-pattern>*.jws</url-pattern>
- </filter-mapping>
-
- <!-- configure SOAP stack -->
- <listener>
- <listener-class>org.apache.axis.transport.http.AxisHTTPSessionListener</listener-class>
- </listener>
- <servlet>
- <servlet-name>AxisServlet</servlet-name>
- <display-name>Apache-Axis Servlet</display-name>
- <servlet-class>
- org.apache.axis.transport.http.AxisServlet
- </servlet-class>
- </servlet>
-
- <!-- uncomment this if you want the admin servlet -->
- <!--
- <servlet>
- <servlet-name>AdminServlet</servlet-name>
- <display-name>Axis Admin Servlet</display-name>
- <servlet-class>
- org.apache.axis.transport.http.AdminServlet
- </servlet-class>
- <load-on-startup>100</load-on-startup>
- </servlet>
- -->
-
- <servlet-mapping>
- <servlet-name>AxisServlet</servlet-name>
- <url-pattern>*.jws</url-pattern>
- </servlet-mapping>
-
- <!-- uncomment this if you want the admin servlet -->
- <!--
- <servlet-mapping>
- <servlet-name>AdminServlet</servlet-name>
- <url-pattern>/servlet/AdminServlet</url-pattern>
- </servlet-mapping>
- -->
-
- <session-config>
- <!-- Default to 5 minute session timeouts -->
- <session-timeout>5</session-timeout>
- </session-config>
-
- <!-- currently the W3C havent settled on a media type for WSDL;
- http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft
- for now we go with the basic 'it's XML' response -->
- <mime-mapping>
- <extension>wsdl</extension>
- <mime-type>text/xml</mime-type>
- </mime-mapping>
-
-
- <mime-mapping>
- <extension>xsd</extension>
- <mime-type>text/xml</mime-type>
- </mime-mapping>
-
- <welcome-file-list id="WelcomeFileList">
- <welcome-file>index.html</welcome-file>
- <welcome-file>index.jsp</welcome-file>
- <welcome-file>index.jws</welcome-file>
- </welcome-file-list>
-
-</web-app>
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
+Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<web-app>
+
+ <display-name>beehive-wsm negative drt tests</display-name>
+
+ <!-- configure beehive controls context -->
+ <filter>
+ <filter-name>ControlFilter</filter-name>
+ <filter-class>org.apache.beehive.controls.runtime.servlet.ControlFilter</filter-class>
+ </filter>
+ <filter-mapping>
+ <filter-name>ControlFilter</filter-name>
+ <url-pattern>*.jws</url-pattern>
+ </filter-mapping>
+
+ <!-- configure SOAP stack -->
+ <listener>
+ <listener-class>org.apache.axis.transport.http.AxisHTTPSessionListener</listener-class>
+ </listener>
+ <servlet>
+ <servlet-name>AxisServlet</servlet-name>
+ <display-name>Apache-Axis Servlet</display-name>
+ <servlet-class>
+ org.apache.axis.transport.http.AxisServlet
+ </servlet-class>
+ </servlet>
+
+ <!-- uncomment this if you want the admin servlet -->
+ <!--
+ <servlet>
+ <servlet-name>AdminServlet</servlet-name>
+ <display-name>Axis Admin Servlet</display-name>
+ <servlet-class>
+ org.apache.axis.transport.http.AdminServlet
+ </servlet-class>
+ <load-on-startup>100</load-on-startup>
+ </servlet>
+ -->
+
+ <servlet-mapping>
+ <servlet-name>AxisServlet</servlet-name>
+ <url-pattern>*.jws</url-pattern>
+ </servlet-mapping>
+
+ <!-- uncomment this if you want the admin servlet -->
+ <!--
+ <servlet-mapping>
+ <servlet-name>AdminServlet</servlet-name>
+ <url-pattern>/servlet/AdminServlet</url-pattern>
+ </servlet-mapping>
+ -->
+
+ <session-config>
+ <!-- Default to 5 minute session timeouts -->
+ <session-timeout>5</session-timeout>
+ </session-config>
+
+ <!-- currently the W3C havent settled on a media type for WSDL;
+ http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft
+ for now we go with the basic 'it's XML' response -->
+ <mime-mapping>
+ <extension>wsdl</extension>
+ <mime-type>text/xml</mime-type>
+ </mime-mapping>
+
+
+ <mime-mapping>
+ <extension>xsd</extension>
+ <mime-type>text/xml</mime-type>
+ </mime-mapping>
+
+ <welcome-file-list id="WelcomeFileList">
+ <welcome-file>index.html</welcome-file>
+ <welcome-file>index.jsp</welcome-file>
+ <welcome-file>index.jws</welcome-file>
+ </welcome-file-list>
+
+</web-app>
Propchange: incubator/beehive/trunk/wsm/drt/negative/WEB-INF/web.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/Bar2TestCase.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/Bar2TestCase.java?rev=190652&r1=190651&r2=190652&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/Bar2TestCase.java (original)
+++ incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/Bar2TestCase.java Tue Jun 14 12:36:38 2005
@@ -1,74 +1,74 @@
-/*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
-package org.apache.beehive.wsm.jsr181.model;
-
-import java.util.Collection;
-
-import junit.framework.TestCase;
-import org.apache.beehive.wsm.model.BeehiveWsTypeMetadata;
-import org.apache.beehive.wsm.model.BeehiveWsMethodMetadata;
-import org.apache.beehive.wsm.model.BeehiveWsParameterMetadata;
-
-/**
- * This class serves as the base class for all TestCases based on Bar.java. It
- * verifies the values of all parameters in the object model defined in Cheetorama.java
- * specified as the @WebService.endpointInterface annotation in Bar.java.
- * Default values are expected to be filled in. If a subclass can't fully comply
- * with JSR-181 (e.g. if it can't fill in all default values) it needs to
- * override the respective tests.
- */
-public class Bar2TestCase extends TestCase {
- protected static final String CLASSNAME = "web.Bar2";
- protected static final String SRCFILENAME = "web/Bar2.jws";
-
- protected BeehiveWsTypeMetadata objectModel;
-
- protected BeehiveWsMethodMetadata getMethod(String methodName) {
- if ((null == methodName) || (null == objectModel)) {
- return null;
- }
- for (BeehiveWsMethodMetadata method : ((BeehiveWsTypeMetadata) objectModel).getMethods()) {
- if (methodName.equals(method.getWmOperationName())) {
- return method;
- }
- }
- return null;
- }
-
- protected BeehiveWsParameterMetadata getParam(String methodName, int pos) {
- if ((null == methodName) || (null == objectModel)) {
- return null;
- }
- Collection<? extends BeehiveWsMethodMetadata> webMethods =
- ((BeehiveWsTypeMetadata) objectModel).getMethods();
- for (BeehiveWsMethodMetadata method : webMethods) {
- if (methodName.equals(method.getWmOperationName())) {
- int i = 0;
- for (BeehiveWsParameterMetadata param : method.getParams()) {
- if (i == pos) {
- return param;
- }
- i++;
- }
- }
- }
- return null;
- }
-}
-
-
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+package org.apache.beehive.wsm.jsr181.model;
+
+import java.util.Collection;
+
+import junit.framework.TestCase;
+import org.apache.beehive.wsm.model.BeehiveWsTypeMetadata;
+import org.apache.beehive.wsm.model.BeehiveWsMethodMetadata;
+import org.apache.beehive.wsm.model.BeehiveWsParameterMetadata;
+
+/**
+ * This class serves as the base class for all TestCases based on Bar.java. It
+ * verifies the values of all parameters in the object model defined in Cheetorama.java
+ * specified as the @WebService.endpointInterface annotation in Bar.java.
+ * Default values are expected to be filled in. If a subclass can't fully comply
+ * with JSR-181 (e.g. if it can't fill in all default values) it needs to
+ * override the respective tests.
+ */
+public class Bar2TestCase extends TestCase {
+ protected static final String CLASSNAME = "web.Bar2";
+ protected static final String SRCFILENAME = "web/Bar2.jws";
+
+ protected BeehiveWsTypeMetadata objectModel;
+
+ protected BeehiveWsMethodMetadata getMethod(String methodName) {
+ if ((null == methodName) || (null == objectModel)) {
+ return null;
+ }
+ for (BeehiveWsMethodMetadata method : ((BeehiveWsTypeMetadata) objectModel).getMethods()) {
+ if (methodName.equals(method.getWmOperationName())) {
+ return method;
+ }
+ }
+ return null;
+ }
+
+ protected BeehiveWsParameterMetadata getParam(String methodName, int pos) {
+ if ((null == methodName) || (null == objectModel)) {
+ return null;
+ }
+ Collection<? extends BeehiveWsMethodMetadata> webMethods =
+ ((BeehiveWsTypeMetadata) objectModel).getMethods();
+ for (BeehiveWsMethodMetadata method : webMethods) {
+ if (methodName.equals(method.getWmOperationName())) {
+ int i = 0;
+ for (BeehiveWsParameterMetadata param : method.getParams()) {
+ if (i == pos) {
+ return param;
+ }
+ i++;
+ }
+ }
+ }
+ return null;
+ }
+}
+
+
Propchange: incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/Bar2TestCase.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/Bar3TestCase.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/Bar3TestCase.java?rev=190652&r1=190651&r2=190652&view=diff
==============================================================================
--- incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/Bar3TestCase.java (original)
+++ incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/Bar3TestCase.java Tue Jun 14 12:36:38 2005
@@ -1,74 +1,74 @@
-package org.apache.beehive.wsm.jsr181.model;
-
-/*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
-
-import java.util.Collection;
-
-import junit.framework.TestCase;
-import org.apache.beehive.wsm.model.BeehiveWsTypeMetadata;
-import org.apache.beehive.wsm.model.BeehiveWsMethodMetadata;
-import org.apache.beehive.wsm.model.BeehiveWsParameterMetadata;
-
-/**
- * This class serves as the base class for all TestCases based on Bar.java. It
- * verifies the values of all parameters in the object model defined in Cheetorama.java
- * specified as the @WebService.endpointInterface annotation in Bar.java.
- * Default values are expected to be filled in. If a subclass can't fully comply
- * with JSR-181 (e.g. if it can't fill in all default values) it needs to
- * override the respective tests.
- */
-public class Bar3TestCase extends TestCase {
- protected static final String CLASSNAME = "web.Bar3";
- protected static final String SRCFILENAME = "web/Bar3.jws";
-
- protected BeehiveWsTypeMetadata objectModel;
-
- protected BeehiveWsMethodMetadata getMethod(String methodName) {
- if ((null == methodName) || (null == objectModel)) {
- return null;
- }
- for (BeehiveWsMethodMetadata method : ((BeehiveWsTypeMetadata) objectModel).getMethods()) {
- if (methodName.equals(method.getWmOperationName())) {
- return method;
- }
- }
- return null;
- }
-
- protected BeehiveWsParameterMetadata getParam(String methodName, int pos) {
- if ((null == methodName) || (null == objectModel)) {
- return null;
- }
- Collection<? extends BeehiveWsMethodMetadata> webMethods =
- ((BeehiveWsTypeMetadata) objectModel).getMethods();
- for (BeehiveWsMethodMetadata method : webMethods) {
- if (methodName.equals(method.getWmOperationName())) {
- int i = 0;
- for (BeehiveWsParameterMetadata param : method.getParams()) {
- if (i == pos) {
- return param;
- }
- i++;
- }
- }
- }
- return null;
- }
-}
-
+package org.apache.beehive.wsm.jsr181.model;
+
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+
+import java.util.Collection;
+
+import junit.framework.TestCase;
+import org.apache.beehive.wsm.model.BeehiveWsTypeMetadata;
+import org.apache.beehive.wsm.model.BeehiveWsMethodMetadata;
+import org.apache.beehive.wsm.model.BeehiveWsParameterMetadata;
+
+/**
+ * This class serves as the base class for all TestCases based on Bar.java. It
+ * verifies the values of all parameters in the object model defined in Cheetorama.java
+ * specified as the @WebService.endpointInterface annotation in Bar.java.
+ * Default values are expected to be filled in. If a subclass can't fully comply
+ * with JSR-181 (e.g. if it can't fill in all default values) it needs to
+ * override the respective tests.
+ */
+public class Bar3TestCase extends TestCase {
+ protected static final String CLASSNAME = "web.Bar3";
+ protected static final String SRCFILENAME = "web/Bar3.jws";
+
+ protected BeehiveWsTypeMetadata objectModel;
+
+ protected BeehiveWsMethodMetadata getMethod(String methodName) {
+ if ((null == methodName) || (null == objectModel)) {
+ return null;
+ }
+ for (BeehiveWsMethodMetadata method : ((BeehiveWsTypeMetadata) objectModel).getMethods()) {
+ if (methodName.equals(method.getWmOperationName())) {
+ return method;
+ }
+ }
+ return null;
+ }
+
+ protected BeehiveWsParameterMetadata getParam(String methodName, int pos) {
+ if ((null == methodName) || (null == objectModel)) {
+ return null;
+ }
+ Collection<? extends BeehiveWsMethodMetadata> webMethods =
+ ((BeehiveWsTypeMetadata) objectModel).getMethods();
+ for (BeehiveWsMethodMetadata method : webMethods) {
+ if (methodName.equals(method.getWmOperationName())) {
+ int i = 0;
+ for (BeehiveWsParameterMetadata param : method.getParams()) {
+ if (i == pos) {
+ return param;
+ }
+ i++;
+ }
+ }
+ }
+ return null;
+ }
+}
+
Propchange: incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/Bar3TestCase.java
------------------------------------------------------------------------------
svn:eol-style = native