Author: djencks Date: Sat Jan 22 19:55:23 2005 New Revision: 126189 URL: http://svn.apache.org/viewcvs?view=rev&rev=126189 Log: basic integration test for web service client in ejb and web app Added: geronimo/trunk/itests/naming/common/ geronimo/trunk/itests/naming/common/project.properties geronimo/trunk/itests/naming/common/project.xml geronimo/trunk/itests/naming/common/src/ geronimo/trunk/itests/naming/common/src/java/ geronimo/trunk/itests/naming/common/src/java/org/ geronimo/trunk/itests/naming/common/src/java/org/apache/ geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/ geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/ geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/ geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/ geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/Test.java geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/ geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/ geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/InteropLab.java geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/InteropTest2PortType.java geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/InteropTestPortType.java geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/types/ geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/types/SOAPArrayStruct.java geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/types/SOAPStruct.java geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/types/SOAPStructStruct.java geronimo/trunk/itests/naming/ejb/ geronimo/trunk/itests/naming/ejb/maven.xml geronimo/trunk/itests/naming/ejb/project.properties geronimo/trunk/itests/naming/ejb/project.xml geronimo/trunk/itests/naming/ejb/src/ geronimo/trunk/itests/naming/ejb/src/ejb/ geronimo/trunk/itests/naming/ejb/src/ejb/META-INF/ geronimo/trunk/itests/naming/ejb/src/ejb/META-INF/ejb-jar.xml geronimo/trunk/itests/naming/ejb/src/ejb/META-INF/wsdl/ geronimo/trunk/itests/naming/ejb/src/ejb/META-INF/wsdl/interop-jaxrpcmapping.xml geronimo/trunk/itests/naming/ejb/src/ejb/META-INF/wsdl/interop.wsdl geronimo/trunk/itests/naming/ejb/src/itest/ geronimo/trunk/itests/naming/ejb/src/itest/org/ geronimo/trunk/itests/naming/ejb/src/itest/org/apache/ geronimo/trunk/itests/naming/ejb/src/itest/org/apache/geronimo/ geronimo/trunk/itests/naming/ejb/src/itest/org/apache/geronimo/itests/ geronimo/trunk/itests/naming/ejb/src/itest/org/apache/geronimo/itests/naming/ geronimo/trunk/itests/naming/ejb/src/itest/org/apache/geronimo/itests/naming/ejb/ geronimo/trunk/itests/naming/ejb/src/itest/org/apache/geronimo/itests/naming/ejb/stateless/ geronimo/trunk/itests/naming/ejb/src/itest/org/apache/geronimo/itests/naming/ejb/stateless/StatelessTest.java geronimo/trunk/itests/naming/ejb/src/java/ geronimo/trunk/itests/naming/ejb/src/java/org/ geronimo/trunk/itests/naming/ejb/src/java/org/apache/ geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/ geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/ geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/ geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/bmp/ geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/bmp/BMPBean.java geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/cmp/ geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/mdb/ geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/stateful/ geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/stateless/ geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/stateless/StatelessBean.java geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/stateless/StatelessHome.java geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/stateless/StatelessObject.java geronimo/trunk/itests/naming/ejb/src/plans/ geronimo/trunk/itests/naming/ejb/src/plans/plan1.xml geronimo/trunk/itests/naming/war/ geronimo/trunk/itests/naming/war/maven.xml geronimo/trunk/itests/naming/war/project.properties geronimo/trunk/itests/naming/war/project.xml geronimo/trunk/itests/naming/war/src/ geronimo/trunk/itests/naming/war/src/itest/ geronimo/trunk/itests/naming/war/src/itest/org/ geronimo/trunk/itests/naming/war/src/itest/org/apache/ geronimo/trunk/itests/naming/war/src/itest/org/apache/geronimo/ geronimo/trunk/itests/naming/war/src/itest/org/apache/geronimo/itests/ geronimo/trunk/itests/naming/war/src/itest/org/apache/geronimo/itests/naming/ geronimo/trunk/itests/naming/war/src/itest/org/apache/geronimo/itests/naming/war/ geronimo/trunk/itests/naming/war/src/itest/org/apache/geronimo/itests/naming/war/ServletTest.java geronimo/trunk/itests/naming/war/src/java/ geronimo/trunk/itests/naming/war/src/java/org/ geronimo/trunk/itests/naming/war/src/java/org/apache/ geronimo/trunk/itests/naming/war/src/java/org/apache/geronimo/ geronimo/trunk/itests/naming/war/src/java/org/apache/geronimo/itests/ geronimo/trunk/itests/naming/war/src/java/org/apache/geronimo/itests/naming/ geronimo/trunk/itests/naming/war/src/java/org/apache/geronimo/itests/naming/war/ geronimo/trunk/itests/naming/war/src/java/org/apache/geronimo/itests/naming/war/NamingTestServlet.java geronimo/trunk/itests/naming/war/src/plans/ geronimo/trunk/itests/naming/war/src/plans/plan1.xml geronimo/trunk/itests/naming/war/src/webapp/ geronimo/trunk/itests/naming/war/src/webapp/WEB-INF/ geronimo/trunk/itests/naming/war/src/webapp/WEB-INF/web.xml geronimo/trunk/itests/naming/war/src/webapp/WEB-INF/wsdl/ geronimo/trunk/itests/naming/war/src/webapp/WEB-INF/wsdl/interop-jaxrpcmapping.xml geronimo/trunk/itests/naming/war/src/webapp/WEB-INF/wsdl/interop.wsdl
Added: geronimo/trunk/itests/naming/common/project.properties Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/common/project.properties?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/common/project.properties Sat Jan 22 19:55:23 2005 @@ -0,0 +1,18 @@ +# ------------------------------------------------------------------- +# 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. +# ------------------------------------------------------------------- + +maven.xdoc.date=left +## maven.xdoc.version=${pom.currentVersion} \ No newline at end of file Added: geronimo/trunk/itests/naming/common/project.xml Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/common/project.xml?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/common/project.xml Sat Jan 22 19:55:23 2005 @@ -0,0 +1,129 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +/* + * Copyright 2001-2005 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. + */ + --> + + +<project> + <!-- the version of maven's project object model --> + + + <pomVersion>3</pomVersion> + <extend>${basedir}/../../../etc/project.xml</extend> + + <artifactId>geronimo-itests-naming-common</artifactId> + <groupId>geronimo-itests</groupId> + <!-- a short but descriptive name for the project --> + + <name>geronimo-itests-naming-common</name> + <!-- The version of the project under development, e.g. + 1.1, 1.2, 2.0-SNAPSHOT --> + +<!-- <currentVersion>1.0</currentVersion>--> + <!-- details about the organization that 'owns' the project --> + + <organization> + <name>Apache Software Foundation</name> + <url>http://www.apache.org/</url> + <logo>http://maven.apache.org/images/jakarta-logo-blue.gif</logo> + </organization> + <!-- the year the project started --> + + <inceptionYear>2002</inceptionYear> + <package>org.apache.geronimo.itests.naming.common</package> + <logo>http://maven.apache.org/images/maven.jpg</logo> + <description>A collection of example projects showing how to use maven in different situations</description> + <!-- a short description of what the project does --> + + <shortDescription>How to use maven in different situations</shortDescription> + <!-- the project home page --> + + <url>http://maven.apache.org/reference/plugins/examples/</url> + <issueTrackingUrl>http://nagoya.apache.org/scarab/servlet/scarab/</issueTrackingUrl> + <siteAddress>jakarta.apache.org</siteAddress> + <siteDirectory>/www/maven.apache.org/reference/plugins/examples/</siteDirectory> + <distributionDirectory>/www/maven.apache.org/builds/</distributionDirectory> + <!-- the version control repository and http url for online access + the connection element has the form: + scm:<system>:<system specific connection string> --> + + <repository> + <connection>scm:cvs:pserver:[EMAIL PROTECTED]:/home/cvspublic:maven-plugins/examples</connection> + <url>http://cvs.apache.org/viewcvs/maven-plugins/examples/</url> + </repository> + <!-- any mailing lists for the project --> + + <mailingLists/> + <!-- who the developers are for the project --> + + <developers/> + <!-- jar files the project is dependent on --> + + <dependencies> + <dependency> + <groupId>axis</groupId> + <artifactId>axis-jaxrpc</artifactId> + <version>${axis_jaxrpc_version}</version> + </dependency> + + <dependency> + <groupId>axis</groupId> + <artifactId>axis</artifactId> + <version>${axis_version}</version> + </dependency> + + <dependency> + <groupId>axis</groupId> + <artifactId>commons-discovery</artifactId> + <version>${axis_commons_discovery_version}</version> + </dependency> + <dependency> + <groupId>axis</groupId> + <artifactId>axis-saaj</artifactId> + <version>${axis_saaj_version}</version> + </dependency> + <dependency> + <groupId>axis</groupId> + <artifactId>axis-wsdl4j</artifactId> + <version>${axis_wsdl4j_version}</version> + </dependency> + + </dependencies> + <!-- build information for the project --> + + <build> + <nagEmailAddress>turbine-maven-dev@jakarta.apache.org</nagEmailAddress> + <sourceDirectory>src/java</sourceDirectory> + <unitTestSourceDirectory>src/test</unitTestSourceDirectory> + <unitTest> + <includes> + <include>**/*Test.java</include> + </includes> + <excludes> + <exclude>**/NaughtyTest.java</exclude> + </excludes> + </unitTest> + <resources> + <resource> + <directory>src/conf</directory> + <includes> + <include>*.properties</include> + </includes> + </resource> + </resources> + </build> +</project> Added: geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/Test.java Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/Test.java?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/Test.java Sat Jan 22 19:55:23 2005 @@ -0,0 +1,37 @@ +/** + * + * Copyright 2003-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. + */ +package org.apache.notgeronimo.itests.naming.common; + +import javax.naming.InitialContext; + +import org.apache.notgeronimo.itests.naming.common.webservice.interop.InteropLab; +import org.apache.notgeronimo.itests.naming.common.webservice.interop.InteropTestPortType; + +/** + * @version $Rev: $ $Date: $ + */ +public class Test { + + public void testWebServiceLookup() throws Exception { + InteropLab interopLab = (InteropLab) new InitialContext().lookup("java:comp/env/service/InteropLab"); + InteropTestPortType interopTestPortType = interopLab.getinteropTestPort(); + int result = interopTestPortType.echoInteger(1); + if (result != 1) { + throw new Exception("Result was not 1 but " + result); + } + } +} Added: geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/InteropLab.java Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/InteropLab.java?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/InteropLab.java Sat Jan 22 19:55:23 2005 @@ -0,0 +1,21 @@ +/** + * InteropLab.java + * + * This file was auto-generated from WSDL + * by the Apache Axis WSDL2Java emitter. + */ + +package org.apache.notgeronimo.itests.naming.common.webservice.interop; + +public interface InteropLab extends javax.xml.rpc.Service { +// public java.lang.String getinteropTestPortAddress(); + + public org.apache.notgeronimo.itests.naming.common.webservice.interop.InteropTestPortType getinteropTestPort() throws javax.xml.rpc.ServiceException; + +// public org.apache.geronimo.axis.builder.interop.InteropTestPortType getinteropTestPort(java.net.URL portAddress) throws javax.xml.rpc.ServiceException; +// public java.lang.String getinteropTest2PortAddress(); + + public org.apache.notgeronimo.itests.naming.common.webservice.interop.InteropTest2PortType getinteropTest2Port() throws javax.xml.rpc.ServiceException; + +// public org.apache.geronimo.axis.builder.interop.InteropTest2PortType getinteropTest2Port(java.net.URL portAddress) throws javax.xml.rpc.ServiceException; +} Added: geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/InteropTest2PortType.java Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/InteropTest2PortType.java?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/InteropTest2PortType.java Sat Jan 22 19:55:23 2005 @@ -0,0 +1,35 @@ +/** + * InteropTest2PortType.java + * + * This file was auto-generated from WSDL + * by the Apache Axis WSDL2Java emitter. + */ + +package org.apache.notgeronimo.itests.naming.common.webservice.interop; + +import org.apache.notgeronimo.itests.naming.common.webservice.interop.types.SOAPStruct; +import org.apache.notgeronimo.itests.naming.common.webservice.interop.types.SOAPStructStruct; +import org.apache.notgeronimo.itests.naming.common.webservice.interop.types.SOAPArrayStruct; +import org.apache.notgeronimo.itests.naming.common.webservice.interop.types.SOAPStructStruct; + +public interface InteropTest2PortType extends java.rmi.Remote { + public void echoVoid() throws java.rmi.RemoteException; + public java.lang.String echoString(java.lang.String inputString) throws java.rmi.RemoteException; + public java.lang.String[] echoStringArray(java.lang.String[] inputStringArray) throws java.rmi.RemoteException; + public int echoInteger(int inputInteger) throws java.rmi.RemoteException; + public int[] echoIntegerArray(int[] inputIntegerArray) throws java.rmi.RemoteException; + public float echoFloat(float inputFloat) throws java.rmi.RemoteException; + public float[] echoFloatArray(float[] inputFloatArray) throws java.rmi.RemoteException; + public SOAPStruct echoStruct(SOAPStruct inputStruct) throws java.rmi.RemoteException; + public SOAPStruct[] echoStructArray(SOAPStruct[] inputStructArray) throws java.rmi.RemoteException; + public java.util.Calendar echoDate(java.util.Calendar inputDate) throws java.rmi.RemoteException; + public byte[] echoBase64(byte[] inputBase64) throws java.rmi.RemoteException; + public boolean echoBoolean(boolean inputBoolean) throws java.rmi.RemoteException; + public java.math.BigDecimal echoDecimal(java.math.BigDecimal inputDecimal) throws java.rmi.RemoteException; + public byte[] echoHexBinary(byte[] inputHexBinary) throws java.rmi.RemoteException; + public void echoStructAsSimpleTypes(SOAPStruct inputStruct, javax.xml.rpc.holders.StringHolder outputString, javax.xml.rpc.holders.IntHolder outputInteger, javax.xml.rpc.holders.FloatHolder outputFloat) throws java.rmi.RemoteException; + public SOAPStruct echoSimpleTypesAsStruct(java.lang.String inputString, int inputInteger, float inputFloat) throws java.rmi.RemoteException; + public java.lang.String[] echo2DStringArray(java.lang.String[] input2DStringArray) throws java.rmi.RemoteException; + public SOAPStructStruct echoNestedStruct(SOAPStructStruct inputStruct) throws java.rmi.RemoteException; + public SOAPArrayStruct echoNestedArray(SOAPArrayStruct inputStruct) throws java.rmi.RemoteException; +} Added: geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/InteropTestPortType.java Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/InteropTestPortType.java?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/InteropTestPortType.java Sat Jan 22 19:55:23 2005 @@ -0,0 +1,37 @@ +/** + * InteropTestPortType.java + * + * This file was auto-generated from WSDL + * by the Apache Axis WSDL2Java emitter. + */ + +package org.apache.notgeronimo.itests.naming.common.webservice.interop; + +import org.apache.notgeronimo.itests.naming.common.webservice.interop.types.SOAPArrayStruct; +import org.apache.notgeronimo.itests.naming.common.webservice.interop.types.SOAPStructStruct; +import org.apache.notgeronimo.itests.naming.common.webservice.interop.types.SOAPStruct; +import org.apache.notgeronimo.itests.naming.common.webservice.interop.types.SOAPArrayStruct; +import org.apache.notgeronimo.itests.naming.common.webservice.interop.types.SOAPStruct; +import org.apache.notgeronimo.itests.naming.common.webservice.interop.types.SOAPStructStruct; + +public interface InteropTestPortType extends java.rmi.Remote { + public void echoVoid() throws java.rmi.RemoteException; + public java.lang.String echoString(java.lang.String inputString) throws java.rmi.RemoteException; + public java.lang.String[] echoStringArray(java.lang.String[] inputStringArray) throws java.rmi.RemoteException; + public int echoInteger(int inputInteger) throws java.rmi.RemoteException; + public int[] echoIntegerArray(int[] inputIntegerArray) throws java.rmi.RemoteException; + public float echoFloat(float inputFloat) throws java.rmi.RemoteException; + public float[] echoFloatArray(float[] inputFloatArray) throws java.rmi.RemoteException; + public SOAPStruct echoStruct(SOAPStruct inputStruct) throws java.rmi.RemoteException; + public SOAPStruct[] echoStructArray(SOAPStruct[] inputStructArray) throws java.rmi.RemoteException; + public java.util.Calendar echoDate(java.util.Calendar inputDate) throws java.rmi.RemoteException; + public byte[] echoBase64(byte[] inputBase64) throws java.rmi.RemoteException; + public boolean echoBoolean(boolean inputBoolean) throws java.rmi.RemoteException; + public java.math.BigDecimal echoDecimal(java.math.BigDecimal inputDecimal) throws java.rmi.RemoteException; + public byte[] echoHexBinary(byte[] inputHexBinary) throws java.rmi.RemoteException; + public void echoStructAsSimpleTypes(SOAPStruct inputStruct, javax.xml.rpc.holders.StringHolder outputString, javax.xml.rpc.holders.IntHolder outputInteger, javax.xml.rpc.holders.FloatHolder outputFloat) throws java.rmi.RemoteException; + public SOAPStruct echoSimpleTypesAsStruct(java.lang.String inputString, int inputInteger, float inputFloat) throws java.rmi.RemoteException; + public java.lang.String[] echo2DStringArray(java.lang.String[] input2DStringArray) throws java.rmi.RemoteException; + public SOAPStructStruct echoNestedStruct(SOAPStructStruct inputStruct) throws java.rmi.RemoteException; + public SOAPArrayStruct echoNestedArray(SOAPArrayStruct inputStruct) throws java.rmi.RemoteException; +} Added: geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/types/SOAPArrayStruct.java Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/types/SOAPArrayStruct.java?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/types/SOAPArrayStruct.java Sat Jan 22 19:55:23 2005 @@ -0,0 +1,161 @@ +/** + * SOAPArrayStruct.java + * + * This file was auto-generated from WSDL + * by the Apache Axis WSDL2Java emitter. + */ + +package org.apache.notgeronimo.itests.naming.common.webservice.interop.types; + +public class SOAPArrayStruct implements java.io.Serializable { + private java.lang.String varString; + private int varInt; + private float varFloat; + private java.lang.String[] varArray; + + public SOAPArrayStruct() { + } + + public java.lang.String getVarString() { + return varString; + } + + public void setVarString(java.lang.String varString) { + this.varString = varString; + } + + public int getVarInt() { + return varInt; + } + + public void setVarInt(int varInt) { + this.varInt = varInt; + } + + public float getVarFloat() { + return varFloat; + } + + public void setVarFloat(float varFloat) { + this.varFloat = varFloat; + } + + public java.lang.String[] getVarArray() { + return varArray; + } + + public void setVarArray(java.lang.String[] varArray) { + this.varArray = varArray; + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof SOAPArrayStruct)) return false; + SOAPArrayStruct other = (SOAPArrayStruct) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true && + ((this.varString==null && other.getVarString()==null) || + (this.varString!=null && + this.varString.equals(other.getVarString()))) && + this.varInt == other.getVarInt() && + this.varFloat == other.getVarFloat() && + ((this.varArray==null && other.getVarArray()==null) || + (this.varArray!=null && + java.util.Arrays.equals(this.varArray, other.getVarArray()))); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getVarString() != null) { + _hashCode += getVarString().hashCode(); + } + _hashCode += getVarInt(); + _hashCode += new Float(getVarFloat()).hashCode(); + if (getVarArray() != null) { + for (int i=0; + i<java.lang.reflect.Array.getLength(getVarArray()); + i++) { + java.lang.Object obj = java.lang.reflect.Array.get(getVarArray(), i); + if (obj != null && + !obj.getClass().isArray()) { + _hashCode += obj.hashCode(); + } + } + } + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(SOAPArrayStruct.class); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("http://tempuri.org/4s4c/1/3/wsdl/types/", "SOAPArrayStruct")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("varString"); + elemField.setXmlName(new javax.xml.namespace.QName("", "varString")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("varInt"); + elemField.setXmlName(new javax.xml.namespace.QName("", "varInt")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("varFloat"); + elemField.setXmlName(new javax.xml.namespace.QName("", "varFloat")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float")); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("varArray"); + elemField.setXmlName(new javax.xml.namespace.QName("", "varArray")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + typeDesc.addFieldDesc(elemField); + } + + /** + * Return type metadata object + */ + public static org.apache.axis.description.TypeDesc getTypeDesc() { + return typeDesc; + } + + /** + * Get Custom Serializer + */ + public static org.apache.axis.encoding.Serializer getSerializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanSerializer( + _javaType, _xmlType, typeDesc); + } + + /** + * Get Custom Deserializer + */ + public static org.apache.axis.encoding.Deserializer getDeserializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanDeserializer( + _javaType, _xmlType, typeDesc); + } + +} Added: geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/types/SOAPStruct.java Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/types/SOAPStruct.java?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/types/SOAPStruct.java Sat Jan 22 19:55:23 2005 @@ -0,0 +1,133 @@ +/** + * SOAPStruct.java + * + * This file was auto-generated from WSDL + * by the Apache Axis WSDL2Java emitter. + */ + +package org.apache.notgeronimo.itests.naming.common.webservice.interop.types; + +public class SOAPStruct implements java.io.Serializable { + private java.lang.String varString; + private int varInt; + private float varFloat; + + public SOAPStruct() { + } + + public java.lang.String getVarString() { + return varString; + } + + public void setVarString(java.lang.String varString) { + this.varString = varString; + } + + public int getVarInt() { + return varInt; + } + + public void setVarInt(int varInt) { + this.varInt = varInt; + } + + public float getVarFloat() { + return varFloat; + } + + public void setVarFloat(float varFloat) { + this.varFloat = varFloat; + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof SOAPStruct)) return false; + SOAPStruct other = (SOAPStruct) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true && + ((this.varString==null && other.getVarString()==null) || + (this.varString!=null && + this.varString.equals(other.getVarString()))) && + this.varInt == other.getVarInt() && + this.varFloat == other.getVarFloat(); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getVarString() != null) { + _hashCode += getVarString().hashCode(); + } + _hashCode += getVarInt(); + _hashCode += new Float(getVarFloat()).hashCode(); + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(SOAPStruct.class); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("http://tempuri.org/4s4c/1/3/wsdl/types/", "SOAPStruct")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("varString"); + elemField.setXmlName(new javax.xml.namespace.QName("", "varString")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("varInt"); + elemField.setXmlName(new javax.xml.namespace.QName("", "varInt")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("varFloat"); + elemField.setXmlName(new javax.xml.namespace.QName("", "varFloat")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float")); + typeDesc.addFieldDesc(elemField); + } + + /** + * Return type metadata object + */ + public static org.apache.axis.description.TypeDesc getTypeDesc() { + return typeDesc; + } + + /** + * Get Custom Serializer + */ + public static org.apache.axis.encoding.Serializer getSerializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanSerializer( + _javaType, _xmlType, typeDesc); + } + + /** + * Get Custom Deserializer + */ + public static org.apache.axis.encoding.Deserializer getDeserializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanDeserializer( + _javaType, _xmlType, typeDesc); + } + +} Added: geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/types/SOAPStructStruct.java Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/types/SOAPStructStruct.java?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/common/src/java/org/apache/notgeronimo/itests/naming/common/webservice/interop/types/SOAPStructStruct.java Sat Jan 22 19:55:23 2005 @@ -0,0 +1,155 @@ +/** + * SOAPStructStruct.java + * + * This file was auto-generated from WSDL + * by the Apache Axis WSDL2Java emitter. + */ + +package org.apache.notgeronimo.itests.naming.common.webservice.interop.types; + +import org.apache.notgeronimo.itests.naming.common.webservice.interop.types.SOAPStruct; + +public class SOAPStructStruct implements java.io.Serializable { + private java.lang.String varString; + private int varInt; + private float varFloat; + private SOAPStruct varStruct; + + public SOAPStructStruct() { + } + + public java.lang.String getVarString() { + return varString; + } + + public void setVarString(java.lang.String varString) { + this.varString = varString; + } + + public int getVarInt() { + return varInt; + } + + public void setVarInt(int varInt) { + this.varInt = varInt; + } + + public float getVarFloat() { + return varFloat; + } + + public void setVarFloat(float varFloat) { + this.varFloat = varFloat; + } + + public SOAPStruct getVarStruct() { + return varStruct; + } + + public void setVarStruct(SOAPStruct varStruct) { + this.varStruct = varStruct; + } + + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof SOAPStructStruct)) return false; + SOAPStructStruct other = (SOAPStructStruct) obj; + if (obj == null) return false; + if (this == obj) return true; + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + __equalsCalc = obj; + boolean _equals; + _equals = true && + ((this.varString==null && other.getVarString()==null) || + (this.varString!=null && + this.varString.equals(other.getVarString()))) && + this.varInt == other.getVarInt() && + this.varFloat == other.getVarFloat() && + ((this.varStruct==null && other.getVarStruct()==null) || + (this.varStruct!=null && + this.varStruct.equals(other.getVarStruct()))); + __equalsCalc = null; + return _equals; + } + + private boolean __hashCodeCalc = false; + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getVarString() != null) { + _hashCode += getVarString().hashCode(); + } + _hashCode += getVarInt(); + _hashCode += new Float(getVarFloat()).hashCode(); + if (getVarStruct() != null) { + _hashCode += getVarStruct().hashCode(); + } + __hashCodeCalc = false; + return _hashCode; + } + + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = + new org.apache.axis.description.TypeDesc(SOAPStructStruct.class); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName("http://tempuri.org/4s4c/1/3/wsdl/types/", "SOAPStructStruct")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("varString"); + elemField.setXmlName(new javax.xml.namespace.QName("", "varString")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("varInt"); + elemField.setXmlName(new javax.xml.namespace.QName("", "varInt")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("varFloat"); + elemField.setXmlName(new javax.xml.namespace.QName("", "varFloat")); + elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float")); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("varStruct"); + elemField.setXmlName(new javax.xml.namespace.QName("", "varStruct")); + elemField.setXmlType(new javax.xml.namespace.QName("http://tempuri.org/4s4c/1/3/wsdl/types/", "SOAPStruct")); + typeDesc.addFieldDesc(elemField); + } + + /** + * Return type metadata object + */ + public static org.apache.axis.description.TypeDesc getTypeDesc() { + return typeDesc; + } + + /** + * Get Custom Serializer + */ + public static org.apache.axis.encoding.Serializer getSerializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanSerializer( + _javaType, _xmlType, typeDesc); + } + + /** + * Get Custom Deserializer + */ + public static org.apache.axis.encoding.Deserializer getDeserializer( + java.lang.String mechType, + java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return + new org.apache.axis.encoding.ser.BeanDeserializer( + _javaType, _xmlType, typeDesc); + } + +} Added: geronimo/trunk/itests/naming/ejb/maven.xml Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/ejb/maven.xml?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/ejb/maven.xml Sat Jan 22 19:55:23 2005 @@ -0,0 +1,87 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +/* + * Copyright 2001-2005 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. + */ + --> + +<project default="default" + xmlns:j="jelly:core" + xmlns:ant="jelly:ant" + xmlns:deploy="geronimo:deploy" + > + + <goal name="default" prereqs="ejb:install"/> + + <postGoal name="ejb:install"> + <attainGoal name="itest"/> + </postGoal> + + <preGoal name="itest:setup"> + <ant:delete dir="${maven.build.dir}/geronimo"/> + <deploy:unpackServer + geronimoVersion="${geronimo_version}" + geronimoName="geronimo" + targetDir="${maven.build.dir}/geronimo"/> + <deploy:startRemoteServer + geronimoTarget="${maven.build.dir}/geronimo" + vmArgs="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -Xmx512m -XX:MaxPermSize=128m -Djava.rmi.server.RMIClassLoaderSpi=org.apache.geronimo.system.rmi.RMIClassLoaderSpiImpl" + configs="org/apache/geronimo/RuntimeDeployer"/> + <ant:echo message="Waiting for server at: ${geronimoTarget}"/> + <deploy:waitForStarted + uri="deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector" + username="system" + password="manager" + id="org/apache/geronimo/RuntimeDeployer"/> + <echo message="server has started"/> + <!-- just because the config started doesn't mean any of its gbeans started --> + <sleep seconds="5"/> + <deploy:distribute + uri="deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector" + username="system" + password="manager" + plan="${basedir}/src/plans/plan1.xml" + module="${basedir}/target/geronimo-itests-naming-ejb-${pom.currentVersion}.jar" + /> + <echo message="distributed jar"/> + <deploy:start + uri="deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector" + username="system" + password="manager" + id="org/apache/geronimo/itests/naming/Ejb"/> + </preGoal> + + <preGoal name="itest:teardown"> + <deploy:stop + uri="deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector" + username="system" + password="manager" + id="org/apache/geronimo/itests/naming/Ejb"/> + <!-- <deploy:undeploy + uri="deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector" + username="system" + password="manager" + id="org/apache/geronimo/itests/naming/Ejb"/> +--> <echo message="undeployed war"/> + <deploy:stopRemoteServer + uri="deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector" + username="system" + password="manager"/> + <echo message="server has stopped"/> + </preGoal> + +</project> + + Added: geronimo/trunk/itests/naming/ejb/project.properties Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/ejb/project.properties?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/ejb/project.properties Sat Jan 22 19:55:23 2005 @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------- +# 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. +# ------------------------------------------------------------------- + +maven.multiproject.type=ejb + +maven.xdoc.date=left Added: geronimo/trunk/itests/naming/ejb/project.xml Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/ejb/project.xml?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/ejb/project.xml Sat Jan 22 19:55:23 2005 @@ -0,0 +1,107 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +/* + * Copyright 2001-2005 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. + */ + --> + + +<project> + <!-- the version of maven's project object model --> + + <pomVersion>3</pomVersion> + <extend>${basedir}/../../../etc/project.xml</extend> + <!-- a unique name for this project --> + + <artifactId>geronimo-itests-naming-ejb</artifactId> + <groupId>geronimo-itests</groupId> + <!-- a short but descriptive name for the project --> + + <name>geronimo-itests-naming-ejb</name> + + <dependencies> + <dependency> + <groupId>geronimo-spec</groupId> + <artifactId>geronimo-spec-ejb</artifactId> + <version>${geronimo_spec_ejb_version}</version> + </dependency> + + <dependency> + <groupId>geronimo-itests</groupId> + <artifactId>geronimo-itests-naming-common</artifactId> + <version>${geronimo_version}</version> + <properties> +<!-- <ejb.bundle>true</ejb.bundle>--> + <repository>true</repository> + </properties> + </dependency> + + <!-- for client jndi --> + <dependency> + <groupId>openejb</groupId> + <artifactId>openejb-core</artifactId> + <version>${openejb_version}</version> + </dependency> + + <dependency> + <groupId>cglib</groupId> + <artifactId>cglib-full</artifactId> + <version>${cglib_version}</version> + <url>http://cglib.sf.net</url> + </dependency> + + <dependency> + <groupId>geronimo</groupId> + <artifactId>geronimo-security</artifactId> + <version>${geronimo_version}</version> + </dependency> + + <dependency> + <groupId>geronimo-spec</groupId> + <artifactId>geronimo-spec-j2ee-jacc</artifactId> + <version>${geronimo_spec_j2ee_jacc_version}</version> + <properties> + <runtime>true</runtime> + </properties> + </dependency> + + <dependency> + <groupId>activeio</groupId> + <artifactId>activeio</artifactId> + <version>${activeio_version}</version> + </dependency> + + </dependencies> + + <!-- build information for the project --> + + <build> + <sourceDirectory>src/java</sourceDirectory> + <unitTestSourceDirectory>src/test</unitTestSourceDirectory> + <unitTest> + <includes> + <include>**/*Test.java</include> + </includes> + </unitTest> + <resources> + <resource> + <directory>src/conf</directory> + <includes> + <include>*.properties</include> + </includes> + </resource> + </resources> + </build> +</project> Added: geronimo/trunk/itests/naming/ejb/src/ejb/META-INF/ejb-jar.xml Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/ejb/src/ejb/META-INF/ejb-jar.xml?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/ejb/src/ejb/META-INF/ejb-jar.xml Sat Jan 22 19:55:23 2005 @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee + http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd" + version="2.1"> + <enterprise-beans> + <session> + <ejb-name>StatelessBean</ejb-name> + <home>org.apache.geronimo.itests.naming.ejb.stateless.StatelessHome</home> + <remote>org.apache.geronimo.itests.naming.ejb.stateless.StatelessObject</remote> + <ejb-class>org.apache.geronimo.itests.naming.ejb.stateless.StatelessBean</ejb-class> + <session-type>Stateless</session-type> + <transaction-type>Container</transaction-type> + <service-ref> + <service-ref-name>service/InteropLab</service-ref-name> + <service-interface>org.apache.notgeronimo.itests.naming.common.webservice.interop.InteropLab</service-interface> + <wsdl-file>META-INF/wsdl/interop.wsdl</wsdl-file> + <jaxrpc-mapping-file>META-INF/wsdl/interop-jaxrpcmapping.xml</jaxrpc-mapping-file> + <service-qname xmlns:interop="http://tempuri.org/4s4c/1/3/wsdl/def/interopLab">interop:interopLab</service-qname> + </service-ref> + </session> + </enterprise-beans> +</ejb-jar> \ No newline at end of file Added: geronimo/trunk/itests/naming/ejb/src/ejb/META-INF/wsdl/interop-jaxrpcmapping.xml Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/ejb/src/ejb/META-INF/wsdl/interop-jaxrpcmapping.xml?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/ejb/src/ejb/META-INF/wsdl/interop-jaxrpcmapping.xml Sat Jan 22 19:55:23 2005 @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<java-wsdl-mapping + xmlns="http://java.sun.com/xml/ns/j2ee" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee + http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd" + version="1.1"> + <package-mapping> + <package-type>org.apache.notgeronimo.axis.builder.interop</package-type> + <namespaceURI>http://tempuri.org/4s4c/1/3/wsdl/def/interopLab</namespaceURI> + </package-mapping> + <package-mapping> + <package-type>org.apache.notgeronimo.axis.builder.interop.types</package-type> + <namespaceURI>http://tempuri.org/4s4c/1/3/wsdl/types/</namespaceURI> + </package-mapping> +</java-wsdl-mapping> \ No newline at end of file Added: geronimo/trunk/itests/naming/ejb/src/ejb/META-INF/wsdl/interop.wsdl Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/ejb/src/ejb/META-INF/wsdl/interop.wsdl?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/ejb/src/ejb/META-INF/wsdl/interop.wsdl Sat Jan 22 19:55:23 2005 @@ -0,0 +1,825 @@ +<?xml version='1.0'?> +<definitions name='interopLab' + targetNamespace='http://tempuri.org/4s4c/1/3/wsdl/def/interopLab' + xmlns='http://schemas.xmlsoap.org/wsdl/' + xmlns:xsd='http://www.w3.org/2001/XMLSchema' + xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' + xmlns:soap-enc='http://schemas.xmlsoap.org/soap/encoding/' + xmlns:tns='http://tempuri.org/4s4c/1/3/wsdl/def/interopLab' + xmlns:mstk2='http://schemas.microsoft.com/soap-toolkit/wsdl-extension' + xmlns:w='http://schemas.xmlsoap.org/wsdl/' + xmlns:ns1='http://tempuri.org/4s4c/1/3/wsdl/types/' + > + <types> + <schema targetNamespace="http://tempuri.org/4s4c/1/3/wsdl/types/" xmlns="http://www.w3.org/2001/XMLSchema"> +<!-- <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>--> + <complexType name="ArrayOfstring"> + <complexContent> + <restriction base="soap-enc:Array"> + <attribute ref="soap-enc:arrayType" w:arrayType="xsd:string[]"/> + </restriction> + </complexContent> + </complexType> + <complexType name="ArrayOfint"> + <complexContent> + <restriction base="soap-enc:Array"> + <attribute ref="soap-enc:arrayType" w:arrayType="xsd:int[]"/> + </restriction> + </complexContent> + </complexType> + <complexType name="ArrayOffloat"> + <complexContent> + <restriction base="soap-enc:Array"> + <attribute ref="soap-enc:arrayType" w:arrayType="xsd:float[]"/> + </restriction> + </complexContent> + </complexType> + <complexType name="SOAPStruct"> + <all> + <element name="varString" type="xsd:string"/> + <element name="varInt" type="xsd:int"/> + <element name="varFloat" type="xsd:float"/> + </all> + </complexType> + <complexType name="ArrayOfSOAPStruct"> + <complexContent> + <restriction base="soap-enc:Array"> + <attribute ref="soap-enc:arrayType" w:arrayType="ns1:SOAPStruct[]"/> + </restriction> + </complexContent> + </complexType> + <complexType name="SOAPStructStruct"> + <all> + <element name="varString" type="xsd:string"/> + <element name="varInt" type="xsd:int"/> + <element name="varFloat" type="xsd:float"/> + <element name="varStruct" type="ns1:SOAPStruct"/> + </all> + </complexType> + <complexType name="SOAPArrayStruct"> + <all> + <element name="varString" type="xsd:string"/> + <element name="varInt" type="xsd:int"/> + <element name="varFloat" type="xsd:float"/> + <element name="varArray" type="ns1:ArrayOfstring"/> + </all> + </complexType> + </schema> + </types> + <message name="echoVoidRequest"/> + <message name="echoVoidResponse"/> + <message name="echoStringRequest"> + <part name="inputString" type="xsd:string"/> + </message> + <message name="echoStringResponse"> + <part name="outputString" type="xsd:string"/> + </message> + <message name="echoStringArrayRequest"> + <part name="inputStringArray" type="ns1:ArrayOfstring"/> + </message> + <message name="echoStringArrayResponse"> + <part name="outputStringArray" type="ns1:ArrayOfstring"/> + </message> + <message name="echoIntegerRequest"> + <part name="inputInteger" type="xsd:int"/> + </message> + <message name="echoIntegerResponse"> + <part name="outputInteger" type="xsd:int"/> + </message> + <message name="echoIntegerArrayRequest"> + <part name="inputIntegerArray" type="ns1:ArrayOfint"/> + </message> + <message name="echoIntegerArrayResponse"> + <part name="outputIntegerArray" type="ns1:ArrayOfint"/> + </message> + <message name="echoFloatRequest"> + <part name="inputFloat" type="xsd:float"/> + </message> + <message name="echoFloatResponse"> + <part name="outputFloat" type="xsd:float"/> + </message> + <message name="echoFloatArrayRequest"> + <part name="inputFloatArray" type="ns1:ArrayOffloat"/> + </message> + <message name="echoFloatArrayResponse"> + <part name="outputFloatArray" type="ns1:ArrayOffloat"/> + </message> + <message name="echoStructRequest"> + <part name="inputStruct" type="ns1:SOAPStruct"/> + </message> + <message name="echoStructResponse"> + <part name="outputStruct" type="ns1:SOAPStruct"/> + </message> + <message name="echoStructArrayRequest"> + <part name="inputStructArray" type="ns1:ArrayOfSOAPStruct"/> + </message> + <message name="echoStructArrayResponse"> + <part name="outputStructArray" type="ns1:ArrayOfSOAPStruct"/> + </message> + <message name="echoDateRequest"> + <part name="inputDate" type="xsd:dateTime"/> + </message> + <message name="echoDateResponse"> + <part name="outputDate" type="xsd:dateTime"/> + </message> + <message name="echoBase64Request"> + <part name="inputBase64" type="xsd:base64Binary"/> + </message> + <message name="echoBase64Response"> + <part name="outputBase64" type="xsd:base64Binary"/> + </message> + <message name="echoBooleanRequest"> + <part name="inputBoolean" type="xsd:boolean"/> + </message> + <message name="echoBooleanResponse"> + <part name="return" type="xsd:boolean"/> + </message> + <message name="echoDecimalRequest"> + <part name="inputDecimal" type="xsd:decimal"/> + </message> + <message name="echoDecimalResponse"> + <part name="return" type="xsd:decimal"/> + </message> + <message name="echoHexBinaryRequest"> + <part name="inputHexBinary" type="xsd:base64Binary"/> + </message> + <message name="echoHexBinaryResponse"> + <part name="return" type="xsd:base64Binary"/> + </message> + <message name="echoStructAsSimpleTypesRequest"> + <part name="inputStruct" type="ns1:SOAPStruct"/> + <part name="outputString" type="xsd:string"/> + <part name="outputInteger" type="xsd:int"/> + <part name="outputFloat" type="xsd:float"/> + </message> + <message name="echoStructAsSimpleTypesResponse"> + <part name="outputString" type="xsd:string"/> + <part name="outputInteger" type="xsd:int"/> + <part name="outputFloat" type="xsd:float"/> + </message> + <message name="echoSimpleTypesAsStructRequest"> + <part name="inputString" type="xsd:string"/> + <part name="inputInteger" type="xsd:int"/> + <part name="inputFloat" type="xsd:float"/> + </message> + <message name="echoSimpleTypesAsStructResponse"> + <part name="return" type="ns1:SOAPStruct"/> + </message> + <message name="echo2DStringArrayRequest"> + <part name="input2DStringArray" type="ns1:ArrayOfstring"/> + </message> + <message name="echo2DStringArrayResponse"> + <part name="return" type="ns1:ArrayOfstring"/> + </message> + <message name="echoNestedStructRequest"> + <part name="inputStruct" type="ns1:SOAPStructStruct"/> + </message> + <message name="echoNestedStructResponse"> + <part name="return" type="ns1:SOAPStructStruct"/> + </message> + <message name="echoNestedArrayRequest"> + <part name="inputStruct" type="ns1:SOAPArrayStruct"/> + </message> + <message name="echoNestedArrayResponse"> + <part name="return" type="ns1:SOAPArrayStruct"/> + </message> + <message name="echoVoidRequestA"/> + <message name="echoVoidResponseA"/> + <message name="echoStringRequestA"> + <part name="inputString" type="xsd:string"/> + </message> + <message name="echoStringResponseA"> + <part name="outputString" type="xsd:string"/> + </message> + <message name="echoStringArrayRequestA"> + <part name="inputStringArray" type="ns1:ArrayOfstring"/> + </message> + <message name="echoStringArrayResponseA"> + <part name="outputStringArray" type="ns1:ArrayOfstring"/> + </message> + <message name="echoIntegerRequestA"> + <part name="inputInteger" type="xsd:int"/> + </message> + <message name="echoIntegerResponseA"> + <part name="outputInteger" type="xsd:int"/> + </message> + <message name="echoIntegerArrayRequestA"> + <part name="inputIntegerArray" type="ns1:ArrayOfint"/> + </message> + <message name="echoIntegerArrayResponseA"> + <part name="outputIntegerArray" type="ns1:ArrayOfint"/> + </message> + <message name="echoFloatRequestA"> + <part name="inputFloat" type="xsd:float"/> + </message> + <message name="echoFloatResponseA"> + <part name="outputFloat" type="xsd:float"/> + </message> + <message name="echoFloatArrayRequestA"> + <part name="inputFloatArray" type="ns1:ArrayOffloat"/> + </message> + <message name="echoFloatArrayResponseA"> + <part name="outputFloatArray" type="ns1:ArrayOffloat"/> + </message> + <message name="echoStructRequestA"> + <part name="inputStruct" type="ns1:SOAPStruct"/> + </message> + <message name="echoStructResponseA"> + <part name="outputStruct" type="ns1:SOAPStruct"/> + </message> + <message name="echoStructArrayRequestA"> + <part name="inputStructArray" type="ns1:ArrayOfSOAPStruct"/> + </message> + <message name="echoStructArrayResponseA"> + <part name="outputStructArray" type="ns1:ArrayOfSOAPStruct"/> + </message> + <message name="echoDateRequestA"> + <part name="inputDate" type="xsd:dateTime"/> + </message> + <message name="echoDateResponseA"> + <part name="outputDate" type="xsd:dateTime"/> + </message> + <message name="echoBase64RequestA"> + <part name="inputBase64" type="xsd:base64Binary"/> + </message> + <message name="echoBase64ResponseA"> + <part name="outputBase64" type="xsd:base64Binary"/> + </message> + <message name="echoBooleanRequestA"> + <part name="inputBoolean" type="xsd:boolean"/> + </message> + <message name="echoBooleanResponseA"> + <part name="return" type="xsd:boolean"/> + </message> + <message name="echoDecimalRequestA"> + <part name="inputDecimal" type="xsd:decimal"/> + </message> + <message name="echoDecimalResponseA"> + <part name="return" type="xsd:decimal"/> + </message> + <message name="echoHexBinaryRequestA"> + <part name="inputHexBinary" type="xsd:base64Binary"/> + </message> + <message name="echoHexBinaryResponseA"> + <part name="return" type="xsd:base64Binary"/> + </message> + <message name="echoStructAsSimpleTypesRequestA"> + <part name="inputStruct" type="ns1:SOAPStruct"/> + <part name="outputString" type="xsd:string"/> + <part name="outputInteger" type="xsd:int"/> + <part name="outputFloat" type="xsd:float"/> + </message> + <message name="echoStructAsSimpleTypesResponseA"> + <part name="outputString" type="xsd:string"/> + <part name="outputInteger" type="xsd:int"/> + <part name="outputFloat" type="xsd:float"/> + </message> + <message name="echoSimpleTypesAsStructRequestA"> + <part name="inputString" type="xsd:string"/> + <part name="inputInteger" type="xsd:int"/> + <part name="inputFloat" type="xsd:float"/> + </message> + <message name="echoSimpleTypesAsStructResponseA"> + <part name="return" type="ns1:SOAPStruct"/> + </message> + <message name="echo2DStringArrayRequestA"> + <part name="input2DStringArray" type="ns1:ArrayOfstring"/> + </message> + <message name="echo2DStringArrayResponseA"> + <part name="return" type="ns1:ArrayOfstring"/> + </message> + <message name="echoNestedStructRequestA"> + <part name="inputStruct" type="ns1:SOAPStructStruct"/> + </message> + <message name="echoNestedStructResponseA"> + <part name="return" type="ns1:SOAPStructStruct"/> + </message> + <message name="echoNestedArrayRequestA"> + <part name="inputStruct" type="ns1:SOAPArrayStruct"/> + </message> + <message name="echoNestedArrayResponseA"> + <part name="return" type="ns1:SOAPArrayStruct"/> + </message> + <portType name="interopTest2PortType"> + <operation name="echoVoid"> + <input message="tns:echoVoidRequest"/> + <output message="tns:echoVoidResponse"/> + </operation> + <operation name="echoString"> + <input message="tns:echoStringRequest"/> + <output message="tns:echoStringResponse"/> + </operation> + <operation name="echoStringArray"> + <input message="tns:echoStringArrayRequest"/> + <output message="tns:echoStringArrayResponse"/> + </operation> + <operation name="echoInteger"> + <input message="tns:echoIntegerRequest"/> + <output message="tns:echoIntegerResponse"/> + </operation> + <operation name="echoIntegerArray"> + <input message="tns:echoIntegerArrayRequest"/> + <output message="tns:echoIntegerArrayResponse"/> + </operation> + <operation name="echoFloat"> + <input message="tns:echoFloatRequest"/> + <output message="tns:echoFloatResponse"/> + </operation> + <operation name="echoFloatArray"> + <input message="tns:echoFloatArrayRequest"/> + <output message="tns:echoFloatArrayResponse"/> + </operation> + <operation name="echoStruct"> + <input message="tns:echoStructRequest"/> + <output message="tns:echoStructResponse"/> + </operation> + <operation name="echoStructArray"> + <input message="tns:echoStructArrayRequest"/> + <output message="tns:echoStructArrayResponse"/> + </operation> + <operation name="echoDate"> + <input message="tns:echoDateRequest"/> + <output message="tns:echoDateResponse"/> + </operation> + <operation name="echoBase64"> + <input message="tns:echoBase64Request"/> + <output message="tns:echoBase64Response"/> + </operation> + <operation name="echoBoolean"> + <input message="tns:echoBooleanRequest"/> + <output message="tns:echoBooleanResponse"/> + </operation> + <operation name="echoDecimal"> + <input message="tns:echoDecimalRequest"/> + <output message="tns:echoDecimalResponse"/> + </operation> + <operation name="echoHexBinary"> + <input message="tns:echoHexBinaryRequest"/> + <output message="tns:echoHexBinaryResponse"/> + </operation> + <operation name="echoStructAsSimpleTypes"> + <input message="tns:echoStructAsSimpleTypesRequest"/> + <output message="tns:echoStructAsSimpleTypesResponse"/> + </operation> + <operation name="echoSimpleTypesAsStruct"> + <input message="tns:echoSimpleTypesAsStructRequest"/> + <output message="tns:echoSimpleTypesAsStructResponse"/> + </operation> + <operation name="echo2DStringArray"> + <input message="tns:echo2DStringArrayRequest"/> + <output message="tns:echo2DStringArrayResponse"/> + </operation> + <operation name="echoNestedStruct"> + <input message="tns:echoNestedStructRequest"/> + <output message="tns:echoNestedStructResponse"/> + </operation> + <operation name="echoNestedArray"> + <input message="tns:echoNestedArrayRequest"/> + <output message="tns:echoNestedArrayResponse"/> + </operation> + </portType> + <portType name="interopTestPortType"> + <operation name="echoVoid"> + <input message="tns:echoVoidRequestA"/> + <output message="tns:echoVoidResponseA"/> + </operation> + <operation name="echoString"> + <input message="tns:echoStringRequestA"/> + <output message="tns:echoStringResponseA"/> + </operation> + <operation name="echoStringArray"> + <input message="tns:echoStringArrayRequestA"/> + <output message="tns:echoStringArrayResponseA"/> + </operation> + <operation name="echoInteger"> + <input message="tns:echoIntegerRequestA"/> + <output message="tns:echoIntegerResponseA"/> + </operation> + <operation name="echoIntegerArray"> + <input message="tns:echoIntegerArrayRequestA"/> + <output message="tns:echoIntegerArrayResponseA"/> + </operation> + <operation name="echoFloat"> + <input message="tns:echoFloatRequestA"/> + <output message="tns:echoFloatResponseA"/> + </operation> + <operation name="echoFloatArray"> + <input message="tns:echoFloatArrayRequestA"/> + <output message="tns:echoFloatArrayResponseA"/> + </operation> + <operation name="echoStruct"> + <input message="tns:echoStructRequestA"/> + <output message="tns:echoStructResponseA"/> + </operation> + <operation name="echoStructArray"> + <input message="tns:echoStructArrayRequestA"/> + <output message="tns:echoStructArrayResponseA"/> + </operation> + <operation name="echoDate"> + <input message="tns:echoDateRequestA"/> + <output message="tns:echoDateResponseA"/> + </operation> + <operation name="echoBase64"> + <input message="tns:echoBase64RequestA"/> + <output message="tns:echoBase64ResponseA"/> + </operation> + <operation name="echoBoolean"> + <input message="tns:echoBooleanRequestA"/> + <output message="tns:echoBooleanResponseA"/> + </operation> + <operation name="echoDecimal"> + <input message="tns:echoDecimalRequestA"/> + <output message="tns:echoDecimalResponseA"/> + </operation> + <operation name="echoHexBinary"> + <input message="tns:echoHexBinaryRequestA"/> + <output message="tns:echoHexBinaryResponseA"/> + </operation> + <operation name="echoStructAsSimpleTypes"> + <input message="tns:echoStructAsSimpleTypesRequestA"/> + <output message="tns:echoStructAsSimpleTypesResponseA"/> + </operation> + <operation name="echoSimpleTypesAsStruct"> + <input message="tns:echoSimpleTypesAsStructRequestA"/> + <output message="tns:echoSimpleTypesAsStructResponseA"/> + </operation> + <operation name="echo2DStringArray"> + <input message="tns:echo2DStringArrayRequestA"/> + <output message="tns:echo2DStringArrayResponseA"/> + </operation> + <operation name="echoNestedStruct"> + <input message="tns:echoNestedStructRequestA"/> + <output message="tns:echoNestedStructResponseA"/> + </operation> + <operation name="echoNestedArray"> + <input message="tns:echoNestedArrayRequestA"/> + <output message="tns:echoNestedArrayResponseA"/> + </operation> + </portType> + <binding name="interopTest2Binding" type="tns:interopTest2PortType"> + <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> + <mstk2:binding preferredEncoding='UTF-8'/> + <operation name="echoVoid"> + <soap:operation soapAction="http://soapinterop.org/#echoVoid"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoString"> + <soap:operation soapAction="http://soapinterop.org/#echoString"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoStringArray"> + <soap:operation soapAction="http://soapinterop.org/#echoStringArray"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoInteger"> + <soap:operation soapAction="http://soapinterop.org/#echoInteger"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoIntegerArray"> + <soap:operation soapAction="http://soapinterop.org/#echoIntegerArray"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoFloat"> + <soap:operation soapAction="http://soapinterop.org/#echoFloat"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoFloatArray"> + <soap:operation soapAction="http://soapinterop.org/#echoFloatArray"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoStruct"> + <soap:operation soapAction="http://soapinterop.org/#echoStruct"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoStructArray"> + <soap:operation soapAction="http://soapinterop.org/#echoStructArray"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoDate"> + <soap:operation soapAction="http://soapinterop.org/#echoDate"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoBase64"> + <soap:operation soapAction="http://soapinterop.org/#echoBase64"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoBoolean"> + <soap:operation soapAction="http://soapinterop.org/#echoBoolean"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoDecimal"> + <soap:operation soapAction="http://soapinterop.org/#echoDecimal"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoHexBinary"> + <soap:operation soapAction="http://soapinterop.org/#echoHexBinary"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoStructAsSimpleTypes"> + <soap:operation soapAction="http://soapinterop.org/#echoStructAsSimpleTypes"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoSimpleTypesAsStruct"> + <soap:operation soapAction="http://soapinterop.org/#echoSimpleTypesAsStruct"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echo2DStringArray"> + <soap:operation soapAction="http://soapinterop.org/#echo2DStringArray"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoNestedStruct"> + <soap:operation soapAction="http://soapinterop.org/#echoNestedStruct"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoNestedArray"> + <soap:operation soapAction="http://soapinterop.org/#echoNestedArray"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + </binding> + <binding name="interopTestBinding" type="tns:interopTestPortType"> + <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> + <mstk2:binding preferredEncoding='UTF-8'/> + <operation name="echoVoid"> + <soap:operation soapAction="urn:xmethodsInterop#echoVoid"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoString"> + <soap:operation soapAction="urn:xmethodsInterop#echoString"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoStringArray"> + <soap:operation soapAction="urn:xmethodsInterop#echoStringArray"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoInteger"> + <soap:operation soapAction="urn:xmethodsInterop#echoInteger"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoIntegerArray"> + <soap:operation soapAction="urn:xmethodsInterop#echoIntegerArray"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoFloat"> + <soap:operation soapAction="urn:xmethodsInterop#echoFloat"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoFloatArray"> + <soap:operation soapAction="urn:xmethodsInterop#echoFloatArray"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoStruct"> + <soap:operation soapAction="urn:xmethodsInterop#echoStruct"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoStructArray"> + <soap:operation soapAction="urn:xmethodsInterop#echoStructArray"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoDate"> + <soap:operation soapAction="urn:xmethodsInterop#echoDate"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoBase64"> + <soap:operation soapAction="urn:xmethodsInterop#echoBase64"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoBoolean"> + <soap:operation soapAction="urn:xmethodsInterop#echoBoolean"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoDecimal"> + <soap:operation soapAction="urn:xmethodsInterop#echoDecimal"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoHexBinary"> + <soap:operation soapAction="urn:xmethodsInterop#echoHexBinary"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoStructAsSimpleTypes"> + <soap:operation soapAction="urn:xmethodsInterop#echoStructAsSimpleTypes"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoSimpleTypesAsStruct"> + <soap:operation soapAction="urn:xmethodsInterop#echoSimpleTypesAsStruct"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echo2DStringArray"> + <soap:operation soapAction="urn:xmethodsInterop#echo2DStringArray"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoNestedStruct"> + <soap:operation soapAction="urn:xmethodsInterop#echoNestedStruct"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoNestedArray"> + <soap:operation soapAction="urn:xmethodsInterop#echoNestedArray"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + </binding> + <service name="interopLab"> + <port name="interopTest2Port" binding="tns:interopTest2Binding"> + <!-- use with tcpmon to see what's happening --> +<!-- <soap:address location="http://127.0.0.1:8080/base/SoapInteropBaseService"/>--> + <soap:address location="http://webservice.bea.com:7001/base/SoapInteropBaseService"/> + <!-- this one wasn't up when I tried --> + <!-- <soap:address location="http://soap.4s4c.com/ilab/soap.asp"/>--> + </port> + <port name="interopTestPort" binding="tns:interopTestBinding"> + <!-- use with tcpmon to see what's happening --> +<!-- <soap:address location="http://127.0.0.1:8080/base/SoapInteropBaseService"/>--> + <soap:address location="http://webservice.bea.com:7001/base/SoapInteropBaseService"/> + <!-- this one wasn't up when I tried --> + <!-- <soap:address location="http://soap.4s4c.com/ilab/soap.asp"/>--> + </port> + </service> +</definitions> \ No newline at end of file Added: geronimo/trunk/itests/naming/ejb/src/itest/org/apache/geronimo/itests/naming/ejb/stateless/StatelessTest.java Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/ejb/src/itest/org/apache/geronimo/itests/naming/ejb/stateless/StatelessTest.java?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/ejb/src/itest/org/apache/geronimo/itests/naming/ejb/stateless/StatelessTest.java Sat Jan 22 19:55:23 2005 @@ -0,0 +1,42 @@ +/** + * + * Copyright 2003-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. + */ +package org.apache.geronimo.itests.naming.ejb.stateless; + +import java.util.Properties; +import javax.naming.InitialContext; + +import junit.framework.TestCase; + +/** + * @version $Rev: $ $Date: $ + */ +public class StatelessTest extends TestCase { + + public void testWebService() throws Exception { + Properties props = new Properties(); + + props.put("java.naming.factory.initial", "org.openejb.client.RemoteInitialContextFactory"); + props.put("java.naming.provider.url", "127.0.0.1:4201"); + props.put("java.naming.security.principal", "testuser"); + props.put("java.naming.security.credentials", "testpassword"); + + StatelessHome home = (StatelessHome) new InitialContext(props).lookup("ejb/StatelessHome"); + StatelessObject stateless = home.create(); + stateless.testWebService(); + } + +} Added: geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/bmp/BMPBean.java Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/bmp/BMPBean.java?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/bmp/BMPBean.java Sat Jan 22 19:55:23 2005 @@ -0,0 +1,41 @@ +package org.apache.geronimo.itests.naming.ejb.bmp; + +import java.rmi.RemoteException; +import javax.ejb.EntityBean; +import javax.ejb.EJBException; +import javax.ejb.RemoveException; +import javax.ejb.EntityContext; + +/** + */ +public class BMPBean implements EntityBean { + + + public void ejbActivate() throws EJBException, RemoteException { + + } + + public void ejbLoad() throws EJBException, RemoteException { + + } + + public void ejbPassivate() throws EJBException, RemoteException { + + } + + public void ejbRemove() throws RemoveException, EJBException, RemoteException { + + } + + public void ejbStore() throws EJBException, RemoteException { + + } + + public void setEntityContext(EntityContext ctx) throws EJBException, RemoteException { + + } + + public void unsetEntityContext() throws EJBException, RemoteException { + + } +} Added: geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/stateless/StatelessBean.java Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/stateless/StatelessBean.java?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/stateless/StatelessBean.java Sat Jan 22 19:55:23 2005 @@ -0,0 +1,59 @@ +/** + * + * Copyright 2003-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. + */ +package org.apache.geronimo.itests.naming.ejb.stateless; + +import javax.ejb.EJBException; +import javax.ejb.SessionBean; +import javax.ejb.SessionContext; + +import org.apache.notgeronimo.itests.naming.common.Test; + +/** + * @version $Rev: $ $Date: $ + */ +public class StatelessBean implements SessionBean { + + public void testWebService() { + Test test = new Test(); + try { + test.testWebServiceLookup(); + } catch (Exception e) { + throw new EJBException(e); + } + + } + + public void ejbCreate() { + + } + + public void ejbActivate() { + + } + + public void ejbPassivate() { + + } + + public void ejbRemove() { + + } + + public void setSessionContext(SessionContext ctx) { + + } +} Added: geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/stateless/StatelessHome.java Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/stateless/StatelessHome.java?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/stateless/StatelessHome.java Sat Jan 22 19:55:23 2005 @@ -0,0 +1,30 @@ +/** + * + * Copyright 2003-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. + */ +package org.apache.geronimo.itests.naming.ejb.stateless; + +import java.rmi.RemoteException; +import javax.ejb.EJBHome; +import javax.ejb.CreateException; + +/** + * @version $Rev: $ $Date: $ + */ +public interface StatelessHome extends EJBHome { + + public StatelessObject create() throws CreateException, RemoteException; + +} Added: geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/stateless/StatelessObject.java Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/stateless/StatelessObject.java?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/ejb/src/java/org/apache/geronimo/itests/naming/ejb/stateless/StatelessObject.java Sat Jan 22 19:55:23 2005 @@ -0,0 +1,27 @@ +/** + * + * Copyright 2003-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. + */ +package org.apache.geronimo.itests.naming.ejb.stateless; + +import javax.ejb.EJBObject; + +/** + * @version $Rev: $ $Date: $ + */ +public interface StatelessObject extends EJBObject { + + void testWebService(); +} Added: geronimo/trunk/itests/naming/ejb/src/plans/plan1.xml Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/ejb/src/plans/plan1.xml?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/ejb/src/plans/plan1.xml Sat Jan 22 19:55:23 2005 @@ -0,0 +1,20 @@ +<?xml version="1.0"?> + +<openejb-jar + xmlns="http://www.openejb.org/xml/ns/openejb-jar" + configId="org/apache/geronimo/itests/naming/Ejb" + parentId="org/apache/geronimo/Server"> + + <dependency> + <uri>geronimo-itests/jars/geronimo-itests-naming-common-1.0-SNAPSHOT.jar</uri> + </dependency> + + <enterprise-beans> + <session> + <ejb-name>StatelessBean</ejb-name> + <jndi-name>ejb/StatelessHome</jndi-name> + </session> + </enterprise-beans> + + +</openejb-jar> Added: geronimo/trunk/itests/naming/war/maven.xml Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/war/maven.xml?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/war/maven.xml Sat Jan 22 19:55:23 2005 @@ -0,0 +1,86 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +/* + * 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. + */ + --> + +<project default="default" + xmlns:j="jelly:core" + xmlns:ant="jelly:ant" + xmlns:deploy="geronimo:deploy" + > + + <goal name="default" prereqs="war:install"/> + + <postGoal name="war:install"> + <attainGoal name="itest"/> + </postGoal> + + <preGoal name="itest:setup"> + <ant:delete dir="${maven.build.dir}/geronimo"/> + <deploy:unpackServer + geronimoVersion="${geronimo_version}" + geronimoName="geronimo" + targetDir="${maven.build.dir}/geronimo"/> + <deploy:startRemoteServer + geronimoTarget="${maven.build.dir}/geronimo" + vmArgs="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -Xmx512m -XX:MaxPermSize=128m -Djava.rmi.server.RMIClassLoaderSpi=org.apache.geronimo.system.rmi.RMIClassLoaderSpiImpl" + configs="org/apache/geronimo/RuntimeDeployer"/> + <ant:echo message="Waiting for server at: ${geronimoTarget}"/> + <deploy:waitForStarted + uri="deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector" + username="system" + password="manager" + id="org/apache/geronimo/RuntimeDeployer"/> + <echo message="server has started"/> + <!-- just because the config started doesn't mean any of its gbeans started --> + <sleep seconds="5"/> + <deploy:distribute + uri="deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector" + username="system" + password="manager" + plan="${basedir}/src/plans/plan1.xml" + module="${basedir}/target/geronimo-itests-naming-war-${pom.currentVersion}.war" + /> + <echo message="distributed war"/> + <deploy:start + uri="deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector" + username="system" + password="manager" + id="org/apache/geronimo/itests/naming/War"/> + </preGoal> + + <preGoal name="itest:teardown"> + <deploy:stop + uri="deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector" + username="system" + password="manager" + id="org/apache/geronimo/itests/naming/War"/> + <!-- <deploy:undeploy + uri="deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector" + username="system" + password="manager" + id="org/apache/geronimo/itests/naming/War"/> +--> <echo message="undeployed war"/> + <deploy:stopRemoteServer + uri="deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector" + username="system" + password="manager"/> + <echo message="server has stopped"/> + </preGoal> + +</project> + Added: geronimo/trunk/itests/naming/war/project.properties Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/war/project.properties?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/war/project.properties Sat Jan 22 19:55:23 2005 @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------- +# 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. +# ------------------------------------------------------------------- +maven.multiproject.type=war + +maven.xdoc.date=left +maven.war.webapp.dir=${maven.build.dir}/xdoclet/webdoclet Added: geronimo/trunk/itests/naming/war/project.xml Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/war/project.xml?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/war/project.xml Sat Jan 22 19:55:23 2005 @@ -0,0 +1,73 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +/* + * 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. + */ + --> + + +<project> + + <pomVersion>3</pomVersion> + <extend>${basedir}/../../../etc/project.xml</extend> + + <artifactId>geronimo-itests-naming-war</artifactId> + <groupId>geronimo-itests</groupId> + + <name>geronimo-itests-naming-war</name> + + <dependencies> + <dependency> + <groupId>geronimo-spec</groupId> + <artifactId>geronimo-spec-servlet</artifactId> + <version>${geronimo_spec_servlet_version}</version> + </dependency> + + <dependency> + <groupId>geronimo-itests</groupId> + <artifactId>geronimo-itests-naming-common</artifactId> + <version>${geronimo_version}</version> + <properties> +<!-- <war.bundle>true</war.bundle>--> + <repository>true</repository> + </properties> + </dependency> + + <dependency> + <groupId>commons-httpclient</groupId> + <artifactId>commons-httpclient</artifactId> + <version>${commons_httpclient_version}</version> + </dependency> + + </dependencies> + + <build> + <sourceDirectory>src/java</sourceDirectory> + <unitTestSourceDirectory>src/test</unitTestSourceDirectory> + <unitTest> + <includes> + <include>**/*Test.java</include> + </includes> + </unitTest> + <resources> + <resource> + <directory>src/conf</directory> + <includes> + <include>*.properties</include> + </includes> + </resource> + </resources> + </build> +</project> Added: geronimo/trunk/itests/naming/war/src/itest/org/apache/geronimo/itests/naming/war/ServletTest.java Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/war/src/itest/org/apache/geronimo/itests/naming/war/ServletTest.java?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/war/src/itest/org/apache/geronimo/itests/naming/war/ServletTest.java Sat Jan 22 19:55:23 2005 @@ -0,0 +1,39 @@ +/** + * + * Copyright 2003-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. + */ +package org.apache.geronimo.itests.naming.war; + +import junit.framework.TestCase; +import org.apache.commons.httpclient.HttpClient; +import org.apache.commons.httpclient.methods.GetMethod; + +/** + * @version $Rev: $ $Date: $ + */ +public class ServletTest extends TestCase { + + public void testWebService() throws Exception { + HttpClient httpClient = new HttpClient(); + GetMethod getMethod = new GetMethod("http://localhost:8080/geronimo/itests/naming/NamingTestServlet"); + httpClient.executeMethod(getMethod); + String response = getMethod.getResponseBodyAsString(); +// System.out.println(response); + if (response != null && !response.equals("")) { + fail("Received output " + response); + } + } + +} Added: geronimo/trunk/itests/naming/war/src/java/org/apache/geronimo/itests/naming/war/NamingTestServlet.java Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/war/src/java/org/apache/geronimo/itests/naming/war/NamingTestServlet.java?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/war/src/java/org/apache/geronimo/itests/naming/war/NamingTestServlet.java Sat Jan 22 19:55:23 2005 @@ -0,0 +1,35 @@ +package org.apache.geronimo.itests.naming.war; + +import java.io.IOException; +import javax.servlet.ServletException; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +import org.apache.notgeronimo.itests.naming.common.Test; + +/** + * + */ +public class NamingTestServlet extends HttpServlet { + /** + * + * @param request + * the HTTP request object + * @param response + * the HTTP response object + * @throws IOException + * thrown when there is a problem getting the writer + */ + protected void doGet(HttpServletRequest request, + HttpServletResponse response) throws IOException, ServletException { + + Test test = new Test(); + try { + test.testWebServiceLookup(); + } catch (Exception e) { + throw new ServletException(e); + } + + } +} Added: geronimo/trunk/itests/naming/war/src/plans/plan1.xml Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/war/src/plans/plan1.xml?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/war/src/plans/plan1.xml Sat Jan 22 19:55:23 2005 @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<web-app xmlns="http://geronimo.apache.org/xml/ns/web/jetty" + configId="org/apache/geronimo/itests/naming/War" + parentId="org/apache/geronimo/Server"> + + <dependency> + <uri>geronimo-itests/jars/geronimo-itests-naming-common-1.0-SNAPSHOT.jar</uri> + </dependency> + + <context-root>/geronimo/itests/naming</context-root> + <context-priority-classloader>false</context-priority-classloader> +</web-app> Added: geronimo/trunk/itests/naming/war/src/webapp/WEB-INF/web.xml Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/war/src/webapp/WEB-INF/web.xml?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/war/src/webapp/WEB-INF/web.xml Sat Jan 22 19:55:23 2005 @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> + <display-name>naming itest</display-name> + <servlet> + <servlet-name>NamingTestServlet</servlet-name> + <servlet-class>org.apache.geronimo.itests.naming.war.NamingTestServlet</servlet-class> + </servlet> + <servlet-mapping> + <servlet-name>NamingTestServlet</servlet-name> + <url-pattern>/</url-pattern> + </servlet-mapping> + + <service-ref> + <service-ref-name>service/InteropLab</service-ref-name> + <service-interface>org.apache.notgeronimo.itests.naming.common.webservice.interop.InteropLab</service-interface> + <wsdl-file>WEB-INF/wsdl/interop.wsdl</wsdl-file> + <jaxrpc-mapping-file>WEB-INF/wsdl/interop-jaxrpcmapping.xml</jaxrpc-mapping-file> + <service-qname xmlns:interop="http://tempuri.org/4s4c/1/3/wsdl/def/interopLab">interop:interopLab</service-qname> + </service-ref> +</web-app> \ No newline at end of file Added: geronimo/trunk/itests/naming/war/src/webapp/WEB-INF/wsdl/interop-jaxrpcmapping.xml Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/war/src/webapp/WEB-INF/wsdl/interop-jaxrpcmapping.xml?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/war/src/webapp/WEB-INF/wsdl/interop-jaxrpcmapping.xml Sat Jan 22 19:55:23 2005 @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<java-wsdl-mapping + xmlns="http://java.sun.com/xml/ns/j2ee" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee + http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd" + version="1.1"> + <package-mapping> + <package-type>org.apache.notgeronimo.axis.builder.interop</package-type> + <namespaceURI>http://tempuri.org/4s4c/1/3/wsdl/def/interopLab</namespaceURI> + </package-mapping> + <package-mapping> + <package-type>org.apache.notgeronimo.axis.builder.interop.types</package-type> + <namespaceURI>http://tempuri.org/4s4c/1/3/wsdl/types/</namespaceURI> + </package-mapping> +</java-wsdl-mapping> \ No newline at end of file Added: geronimo/trunk/itests/naming/war/src/webapp/WEB-INF/wsdl/interop.wsdl Url: http://svn.apache.org/viewcvs/geronimo/trunk/itests/naming/war/src/webapp/WEB-INF/wsdl/interop.wsdl?view=auto&rev=126189 ============================================================================== --- (empty file) +++ geronimo/trunk/itests/naming/war/src/webapp/WEB-INF/wsdl/interop.wsdl Sat Jan 22 19:55:23 2005 @@ -0,0 +1,825 @@ +<?xml version='1.0'?> +<definitions name='interopLab' + targetNamespace='http://tempuri.org/4s4c/1/3/wsdl/def/interopLab' + xmlns='http://schemas.xmlsoap.org/wsdl/' + xmlns:xsd='http://www.w3.org/2001/XMLSchema' + xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' + xmlns:soap-enc='http://schemas.xmlsoap.org/soap/encoding/' + xmlns:tns='http://tempuri.org/4s4c/1/3/wsdl/def/interopLab' + xmlns:mstk2='http://schemas.microsoft.com/soap-toolkit/wsdl-extension' + xmlns:w='http://schemas.xmlsoap.org/wsdl/' + xmlns:ns1='http://tempuri.org/4s4c/1/3/wsdl/types/' + > + <types> + <schema targetNamespace="http://tempuri.org/4s4c/1/3/wsdl/types/" xmlns="http://www.w3.org/2001/XMLSchema"> +<!-- <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>--> + <complexType name="ArrayOfstring"> + <complexContent> + <restriction base="soap-enc:Array"> + <attribute ref="soap-enc:arrayType" w:arrayType="xsd:string[]"/> + </restriction> + </complexContent> + </complexType> + <complexType name="ArrayOfint"> + <complexContent> + <restriction base="soap-enc:Array"> + <attribute ref="soap-enc:arrayType" w:arrayType="xsd:int[]"/> + </restriction> + </complexContent> + </complexType> + <complexType name="ArrayOffloat"> + <complexContent> + <restriction base="soap-enc:Array"> + <attribute ref="soap-enc:arrayType" w:arrayType="xsd:float[]"/> + </restriction> + </complexContent> + </complexType> + <complexType name="SOAPStruct"> + <all> + <element name="varString" type="xsd:string"/> + <element name="varInt" type="xsd:int"/> + <element name="varFloat" type="xsd:float"/> + </all> + </complexType> + <complexType name="ArrayOfSOAPStruct"> + <complexContent> + <restriction base="soap-enc:Array"> + <attribute ref="soap-enc:arrayType" w:arrayType="ns1:SOAPStruct[]"/> + </restriction> + </complexContent> + </complexType> + <complexType name="SOAPStructStruct"> + <all> + <element name="varString" type="xsd:string"/> + <element name="varInt" type="xsd:int"/> + <element name="varFloat" type="xsd:float"/> + <element name="varStruct" type="ns1:SOAPStruct"/> + </all> + </complexType> + <complexType name="SOAPArrayStruct"> + <all> + <element name="varString" type="xsd:string"/> + <element name="varInt" type="xsd:int"/> + <element name="varFloat" type="xsd:float"/> + <element name="varArray" type="ns1:ArrayOfstring"/> + </all> + </complexType> + </schema> + </types> + <message name="echoVoidRequest"/> + <message name="echoVoidResponse"/> + <message name="echoStringRequest"> + <part name="inputString" type="xsd:string"/> + </message> + <message name="echoStringResponse"> + <part name="outputString" type="xsd:string"/> + </message> + <message name="echoStringArrayRequest"> + <part name="inputStringArray" type="ns1:ArrayOfstring"/> + </message> + <message name="echoStringArrayResponse"> + <part name="outputStringArray" type="ns1:ArrayOfstring"/> + </message> + <message name="echoIntegerRequest"> + <part name="inputInteger" type="xsd:int"/> + </message> + <message name="echoIntegerResponse"> + <part name="outputInteger" type="xsd:int"/> + </message> + <message name="echoIntegerArrayRequest"> + <part name="inputIntegerArray" type="ns1:ArrayOfint"/> + </message> + <message name="echoIntegerArrayResponse"> + <part name="outputIntegerArray" type="ns1:ArrayOfint"/> + </message> + <message name="echoFloatRequest"> + <part name="inputFloat" type="xsd:float"/> + </message> + <message name="echoFloatResponse"> + <part name="outputFloat" type="xsd:float"/> + </message> + <message name="echoFloatArrayRequest"> + <part name="inputFloatArray" type="ns1:ArrayOffloat"/> + </message> + <message name="echoFloatArrayResponse"> + <part name="outputFloatArray" type="ns1:ArrayOffloat"/> + </message> + <message name="echoStructRequest"> + <part name="inputStruct" type="ns1:SOAPStruct"/> + </message> + <message name="echoStructResponse"> + <part name="outputStruct" type="ns1:SOAPStruct"/> + </message> + <message name="echoStructArrayRequest"> + <part name="inputStructArray" type="ns1:ArrayOfSOAPStruct"/> + </message> + <message name="echoStructArrayResponse"> + <part name="outputStructArray" type="ns1:ArrayOfSOAPStruct"/> + </message> + <message name="echoDateRequest"> + <part name="inputDate" type="xsd:dateTime"/> + </message> + <message name="echoDateResponse"> + <part name="outputDate" type="xsd:dateTime"/> + </message> + <message name="echoBase64Request"> + <part name="inputBase64" type="xsd:base64Binary"/> + </message> + <message name="echoBase64Response"> + <part name="outputBase64" type="xsd:base64Binary"/> + </message> + <message name="echoBooleanRequest"> + <part name="inputBoolean" type="xsd:boolean"/> + </message> + <message name="echoBooleanResponse"> + <part name="return" type="xsd:boolean"/> + </message> + <message name="echoDecimalRequest"> + <part name="inputDecimal" type="xsd:decimal"/> + </message> + <message name="echoDecimalResponse"> + <part name="return" type="xsd:decimal"/> + </message> + <message name="echoHexBinaryRequest"> + <part name="inputHexBinary" type="xsd:base64Binary"/> + </message> + <message name="echoHexBinaryResponse"> + <part name="return" type="xsd:base64Binary"/> + </message> + <message name="echoStructAsSimpleTypesRequest"> + <part name="inputStruct" type="ns1:SOAPStruct"/> + <part name="outputString" type="xsd:string"/> + <part name="outputInteger" type="xsd:int"/> + <part name="outputFloat" type="xsd:float"/> + </message> + <message name="echoStructAsSimpleTypesResponse"> + <part name="outputString" type="xsd:string"/> + <part name="outputInteger" type="xsd:int"/> + <part name="outputFloat" type="xsd:float"/> + </message> + <message name="echoSimpleTypesAsStructRequest"> + <part name="inputString" type="xsd:string"/> + <part name="inputInteger" type="xsd:int"/> + <part name="inputFloat" type="xsd:float"/> + </message> + <message name="echoSimpleTypesAsStructResponse"> + <part name="return" type="ns1:SOAPStruct"/> + </message> + <message name="echo2DStringArrayRequest"> + <part name="input2DStringArray" type="ns1:ArrayOfstring"/> + </message> + <message name="echo2DStringArrayResponse"> + <part name="return" type="ns1:ArrayOfstring"/> + </message> + <message name="echoNestedStructRequest"> + <part name="inputStruct" type="ns1:SOAPStructStruct"/> + </message> + <message name="echoNestedStructResponse"> + <part name="return" type="ns1:SOAPStructStruct"/> + </message> + <message name="echoNestedArrayRequest"> + <part name="inputStruct" type="ns1:SOAPArrayStruct"/> + </message> + <message name="echoNestedArrayResponse"> + <part name="return" type="ns1:SOAPArrayStruct"/> + </message> + <message name="echoVoidRequestA"/> + <message name="echoVoidResponseA"/> + <message name="echoStringRequestA"> + <part name="inputString" type="xsd:string"/> + </message> + <message name="echoStringResponseA"> + <part name="outputString" type="xsd:string"/> + </message> + <message name="echoStringArrayRequestA"> + <part name="inputStringArray" type="ns1:ArrayOfstring"/> + </message> + <message name="echoStringArrayResponseA"> + <part name="outputStringArray" type="ns1:ArrayOfstring"/> + </message> + <message name="echoIntegerRequestA"> + <part name="inputInteger" type="xsd:int"/> + </message> + <message name="echoIntegerResponseA"> + <part name="outputInteger" type="xsd:int"/> + </message> + <message name="echoIntegerArrayRequestA"> + <part name="inputIntegerArray" type="ns1:ArrayOfint"/> + </message> + <message name="echoIntegerArrayResponseA"> + <part name="outputIntegerArray" type="ns1:ArrayOfint"/> + </message> + <message name="echoFloatRequestA"> + <part name="inputFloat" type="xsd:float"/> + </message> + <message name="echoFloatResponseA"> + <part name="outputFloat" type="xsd:float"/> + </message> + <message name="echoFloatArrayRequestA"> + <part name="inputFloatArray" type="ns1:ArrayOffloat"/> + </message> + <message name="echoFloatArrayResponseA"> + <part name="outputFloatArray" type="ns1:ArrayOffloat"/> + </message> + <message name="echoStructRequestA"> + <part name="inputStruct" type="ns1:SOAPStruct"/> + </message> + <message name="echoStructResponseA"> + <part name="outputStruct" type="ns1:SOAPStruct"/> + </message> + <message name="echoStructArrayRequestA"> + <part name="inputStructArray" type="ns1:ArrayOfSOAPStruct"/> + </message> + <message name="echoStructArrayResponseA"> + <part name="outputStructArray" type="ns1:ArrayOfSOAPStruct"/> + </message> + <message name="echoDateRequestA"> + <part name="inputDate" type="xsd:dateTime"/> + </message> + <message name="echoDateResponseA"> + <part name="outputDate" type="xsd:dateTime"/> + </message> + <message name="echoBase64RequestA"> + <part name="inputBase64" type="xsd:base64Binary"/> + </message> + <message name="echoBase64ResponseA"> + <part name="outputBase64" type="xsd:base64Binary"/> + </message> + <message name="echoBooleanRequestA"> + <part name="inputBoolean" type="xsd:boolean"/> + </message> + <message name="echoBooleanResponseA"> + <part name="return" type="xsd:boolean"/> + </message> + <message name="echoDecimalRequestA"> + <part name="inputDecimal" type="xsd:decimal"/> + </message> + <message name="echoDecimalResponseA"> + <part name="return" type="xsd:decimal"/> + </message> + <message name="echoHexBinaryRequestA"> + <part name="inputHexBinary" type="xsd:base64Binary"/> + </message> + <message name="echoHexBinaryResponseA"> + <part name="return" type="xsd:base64Binary"/> + </message> + <message name="echoStructAsSimpleTypesRequestA"> + <part name="inputStruct" type="ns1:SOAPStruct"/> + <part name="outputString" type="xsd:string"/> + <part name="outputInteger" type="xsd:int"/> + <part name="outputFloat" type="xsd:float"/> + </message> + <message name="echoStructAsSimpleTypesResponseA"> + <part name="outputString" type="xsd:string"/> + <part name="outputInteger" type="xsd:int"/> + <part name="outputFloat" type="xsd:float"/> + </message> + <message name="echoSimpleTypesAsStructRequestA"> + <part name="inputString" type="xsd:string"/> + <part name="inputInteger" type="xsd:int"/> + <part name="inputFloat" type="xsd:float"/> + </message> + <message name="echoSimpleTypesAsStructResponseA"> + <part name="return" type="ns1:SOAPStruct"/> + </message> + <message name="echo2DStringArrayRequestA"> + <part name="input2DStringArray" type="ns1:ArrayOfstring"/> + </message> + <message name="echo2DStringArrayResponseA"> + <part name="return" type="ns1:ArrayOfstring"/> + </message> + <message name="echoNestedStructRequestA"> + <part name="inputStruct" type="ns1:SOAPStructStruct"/> + </message> + <message name="echoNestedStructResponseA"> + <part name="return" type="ns1:SOAPStructStruct"/> + </message> + <message name="echoNestedArrayRequestA"> + <part name="inputStruct" type="ns1:SOAPArrayStruct"/> + </message> + <message name="echoNestedArrayResponseA"> + <part name="return" type="ns1:SOAPArrayStruct"/> + </message> + <portType name="interopTest2PortType"> + <operation name="echoVoid"> + <input message="tns:echoVoidRequest"/> + <output message="tns:echoVoidResponse"/> + </operation> + <operation name="echoString"> + <input message="tns:echoStringRequest"/> + <output message="tns:echoStringResponse"/> + </operation> + <operation name="echoStringArray"> + <input message="tns:echoStringArrayRequest"/> + <output message="tns:echoStringArrayResponse"/> + </operation> + <operation name="echoInteger"> + <input message="tns:echoIntegerRequest"/> + <output message="tns:echoIntegerResponse"/> + </operation> + <operation name="echoIntegerArray"> + <input message="tns:echoIntegerArrayRequest"/> + <output message="tns:echoIntegerArrayResponse"/> + </operation> + <operation name="echoFloat"> + <input message="tns:echoFloatRequest"/> + <output message="tns:echoFloatResponse"/> + </operation> + <operation name="echoFloatArray"> + <input message="tns:echoFloatArrayRequest"/> + <output message="tns:echoFloatArrayResponse"/> + </operation> + <operation name="echoStruct"> + <input message="tns:echoStructRequest"/> + <output message="tns:echoStructResponse"/> + </operation> + <operation name="echoStructArray"> + <input message="tns:echoStructArrayRequest"/> + <output message="tns:echoStructArrayResponse"/> + </operation> + <operation name="echoDate"> + <input message="tns:echoDateRequest"/> + <output message="tns:echoDateResponse"/> + </operation> + <operation name="echoBase64"> + <input message="tns:echoBase64Request"/> + <output message="tns:echoBase64Response"/> + </operation> + <operation name="echoBoolean"> + <input message="tns:echoBooleanRequest"/> + <output message="tns:echoBooleanResponse"/> + </operation> + <operation name="echoDecimal"> + <input message="tns:echoDecimalRequest"/> + <output message="tns:echoDecimalResponse"/> + </operation> + <operation name="echoHexBinary"> + <input message="tns:echoHexBinaryRequest"/> + <output message="tns:echoHexBinaryResponse"/> + </operation> + <operation name="echoStructAsSimpleTypes"> + <input message="tns:echoStructAsSimpleTypesRequest"/> + <output message="tns:echoStructAsSimpleTypesResponse"/> + </operation> + <operation name="echoSimpleTypesAsStruct"> + <input message="tns:echoSimpleTypesAsStructRequest"/> + <output message="tns:echoSimpleTypesAsStructResponse"/> + </operation> + <operation name="echo2DStringArray"> + <input message="tns:echo2DStringArrayRequest"/> + <output message="tns:echo2DStringArrayResponse"/> + </operation> + <operation name="echoNestedStruct"> + <input message="tns:echoNestedStructRequest"/> + <output message="tns:echoNestedStructResponse"/> + </operation> + <operation name="echoNestedArray"> + <input message="tns:echoNestedArrayRequest"/> + <output message="tns:echoNestedArrayResponse"/> + </operation> + </portType> + <portType name="interopTestPortType"> + <operation name="echoVoid"> + <input message="tns:echoVoidRequestA"/> + <output message="tns:echoVoidResponseA"/> + </operation> + <operation name="echoString"> + <input message="tns:echoStringRequestA"/> + <output message="tns:echoStringResponseA"/> + </operation> + <operation name="echoStringArray"> + <input message="tns:echoStringArrayRequestA"/> + <output message="tns:echoStringArrayResponseA"/> + </operation> + <operation name="echoInteger"> + <input message="tns:echoIntegerRequestA"/> + <output message="tns:echoIntegerResponseA"/> + </operation> + <operation name="echoIntegerArray"> + <input message="tns:echoIntegerArrayRequestA"/> + <output message="tns:echoIntegerArrayResponseA"/> + </operation> + <operation name="echoFloat"> + <input message="tns:echoFloatRequestA"/> + <output message="tns:echoFloatResponseA"/> + </operation> + <operation name="echoFloatArray"> + <input message="tns:echoFloatArrayRequestA"/> + <output message="tns:echoFloatArrayResponseA"/> + </operation> + <operation name="echoStruct"> + <input message="tns:echoStructRequestA"/> + <output message="tns:echoStructResponseA"/> + </operation> + <operation name="echoStructArray"> + <input message="tns:echoStructArrayRequestA"/> + <output message="tns:echoStructArrayResponseA"/> + </operation> + <operation name="echoDate"> + <input message="tns:echoDateRequestA"/> + <output message="tns:echoDateResponseA"/> + </operation> + <operation name="echoBase64"> + <input message="tns:echoBase64RequestA"/> + <output message="tns:echoBase64ResponseA"/> + </operation> + <operation name="echoBoolean"> + <input message="tns:echoBooleanRequestA"/> + <output message="tns:echoBooleanResponseA"/> + </operation> + <operation name="echoDecimal"> + <input message="tns:echoDecimalRequestA"/> + <output message="tns:echoDecimalResponseA"/> + </operation> + <operation name="echoHexBinary"> + <input message="tns:echoHexBinaryRequestA"/> + <output message="tns:echoHexBinaryResponseA"/> + </operation> + <operation name="echoStructAsSimpleTypes"> + <input message="tns:echoStructAsSimpleTypesRequestA"/> + <output message="tns:echoStructAsSimpleTypesResponseA"/> + </operation> + <operation name="echoSimpleTypesAsStruct"> + <input message="tns:echoSimpleTypesAsStructRequestA"/> + <output message="tns:echoSimpleTypesAsStructResponseA"/> + </operation> + <operation name="echo2DStringArray"> + <input message="tns:echo2DStringArrayRequestA"/> + <output message="tns:echo2DStringArrayResponseA"/> + </operation> + <operation name="echoNestedStruct"> + <input message="tns:echoNestedStructRequestA"/> + <output message="tns:echoNestedStructResponseA"/> + </operation> + <operation name="echoNestedArray"> + <input message="tns:echoNestedArrayRequestA"/> + <output message="tns:echoNestedArrayResponseA"/> + </operation> + </portType> + <binding name="interopTest2Binding" type="tns:interopTest2PortType"> + <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> + <mstk2:binding preferredEncoding='UTF-8'/> + <operation name="echoVoid"> + <soap:operation soapAction="http://soapinterop.org/#echoVoid"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoString"> + <soap:operation soapAction="http://soapinterop.org/#echoString"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoStringArray"> + <soap:operation soapAction="http://soapinterop.org/#echoStringArray"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoInteger"> + <soap:operation soapAction="http://soapinterop.org/#echoInteger"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoIntegerArray"> + <soap:operation soapAction="http://soapinterop.org/#echoIntegerArray"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoFloat"> + <soap:operation soapAction="http://soapinterop.org/#echoFloat"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoFloatArray"> + <soap:operation soapAction="http://soapinterop.org/#echoFloatArray"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoStruct"> + <soap:operation soapAction="http://soapinterop.org/#echoStruct"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoStructArray"> + <soap:operation soapAction="http://soapinterop.org/#echoStructArray"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoDate"> + <soap:operation soapAction="http://soapinterop.org/#echoDate"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoBase64"> + <soap:operation soapAction="http://soapinterop.org/#echoBase64"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoBoolean"> + <soap:operation soapAction="http://soapinterop.org/#echoBoolean"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoDecimal"> + <soap:operation soapAction="http://soapinterop.org/#echoDecimal"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoHexBinary"> + <soap:operation soapAction="http://soapinterop.org/#echoHexBinary"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoStructAsSimpleTypes"> + <soap:operation soapAction="http://soapinterop.org/#echoStructAsSimpleTypes"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoSimpleTypesAsStruct"> + <soap:operation soapAction="http://soapinterop.org/#echoSimpleTypesAsStruct"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echo2DStringArray"> + <soap:operation soapAction="http://soapinterop.org/#echo2DStringArray"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoNestedStruct"> + <soap:operation soapAction="http://soapinterop.org/#echoNestedStruct"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoNestedArray"> + <soap:operation soapAction="http://soapinterop.org/#echoNestedArray"/> + <input> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + </binding> + <binding name="interopTestBinding" type="tns:interopTestPortType"> + <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> + <mstk2:binding preferredEncoding='UTF-8'/> + <operation name="echoVoid"> + <soap:operation soapAction="urn:xmethodsInterop#echoVoid"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoString"> + <soap:operation soapAction="urn:xmethodsInterop#echoString"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoStringArray"> + <soap:operation soapAction="urn:xmethodsInterop#echoStringArray"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoInteger"> + <soap:operation soapAction="urn:xmethodsInterop#echoInteger"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoIntegerArray"> + <soap:operation soapAction="urn:xmethodsInterop#echoIntegerArray"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoFloat"> + <soap:operation soapAction="urn:xmethodsInterop#echoFloat"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoFloatArray"> + <soap:operation soapAction="urn:xmethodsInterop#echoFloatArray"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoStruct"> + <soap:operation soapAction="urn:xmethodsInterop#echoStruct"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoStructArray"> + <soap:operation soapAction="urn:xmethodsInterop#echoStructArray"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoDate"> + <soap:operation soapAction="urn:xmethodsInterop#echoDate"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoBase64"> + <soap:operation soapAction="urn:xmethodsInterop#echoBase64"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoBoolean"> + <soap:operation soapAction="urn:xmethodsInterop#echoBoolean"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoDecimal"> + <soap:operation soapAction="urn:xmethodsInterop#echoDecimal"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoHexBinary"> + <soap:operation soapAction="urn:xmethodsInterop#echoHexBinary"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoStructAsSimpleTypes"> + <soap:operation soapAction="urn:xmethodsInterop#echoStructAsSimpleTypes"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoSimpleTypesAsStruct"> + <soap:operation soapAction="urn:xmethodsInterop#echoSimpleTypesAsStruct"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echo2DStringArray"> + <soap:operation soapAction="urn:xmethodsInterop#echo2DStringArray"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoNestedStruct"> + <soap:operation soapAction="urn:xmethodsInterop#echoNestedStruct"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + <operation name="echoNestedArray"> + <soap:operation soapAction="urn:xmethodsInterop#echoNestedArray"/> + <input> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </input> + <output> + <soap:body use="encoded" namespace="urn:xmethodsInterop" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> + </output> + </operation> + </binding> + <service name="interopLab"> + <port name="interopTest2Port" binding="tns:interopTest2Binding"> + <!-- use with tcpmon to see what's happening --> +<!-- <soap:address location="http://127.0.0.1:8080/base/SoapInteropBaseService"/>--> + <soap:address location="http://webservice.bea.com:7001/base/SoapInteropBaseService"/> + <!-- this one wasn't up when I tried --> + <!-- <soap:address location="http://soap.4s4c.com/ilab/soap.asp"/>--> + </port> + <port name="interopTestPort" binding="tns:interopTestBinding"> + <!-- use with tcpmon to see what's happening --> +<!-- <soap:address location="http://127.0.0.1:8080/base/SoapInteropBaseService"/>--> + <soap:address location="http://webservice.bea.com:7001/base/SoapInteropBaseService"/> + <!-- this one wasn't up when I tried --> + <!-- <soap:address location="http://soap.4s4c.com/ilab/soap.asp"/>--> + </port> + </service> +</definitions> \ No newline at end of file