Author: jim.ma
Date: 2012-08-23 05:41:14 -0400 (Thu, 23 Aug 2012)
New Revision: 16638
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/pom.xml
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/scripts/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/scripts/cxf-jars-jaxws.xml
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/appclient.jndi.properties
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/jboss-ejb-client.properties
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/jbossws-roles.properties
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/jbossws-users.properties
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/log4j.xml
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/server.jndi.properties
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/test.keystore
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/test.truststore
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/tst.policy
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/baserpc/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/baserpc/BaseTypesRPCTestCase.java
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/baserpc/IBaseDataTypesRpcLit.java
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/baserpc/IBaseDataTypesRpcLitImpl.java
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/wsf/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/wsf/test/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/wsf/test/ClientHelper.java
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/wsf/test/JBossWSCXFTestSetup.java
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/wsf/test/TestServlet.java
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/baserpc/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/baserpc/WEB-INF/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/baserpc/WEB-INF/web.xml
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/baserpc/WEB-INF/wsdl/
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/baserpc/WEB-INF/wsdl/BaseDataTypesRpcLit.wsdl
Log:
Add wsi BaseTypesRPCTest
Added: stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/pom.xml
===================================================================
--- stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/pom.xml
(rev 0)
+++ stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/pom.xml 2012-08-23
09:41:14 UTC (rev 16638)
@@ -0,0 +1,148 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <name>JBoss Web Services - WSI-BP Test</name>
+ <artifactId>jbossws-bp-tests</artifactId>
+ <packaging>jar</packaging>
+
+ <!-- Parent -->
+ <parent>
+ <groupId>org.jboss.ws.cxf</groupId>
+ <artifactId>jbossws-cxf-testsuite</artifactId>
+ <version>4.1.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <properties>
+ <!-- This is used for test archives embedding Spring and is intentionally
different from the
+ version specified in the jbossws-cxf main pom.xml to test there're no
classloading clashes -->
+ <test.spring.version>3.0.3.RELEASE</test.spring.version>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.ws.cxf</groupId>
+ <artifactId>jbossws-cxf-server</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.picketlink</groupId>
+ <artifactId>picketlink-core</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <!-- Profiles -->
+ <profiles>
+
+ <!--
+ Name: noprepare
+ Descr: Skip test preparation with -Dnoprepare
+ -->
+ <profile>
+ <id>noprepare</id>
+ <activation>
+ <property>
+ <name>!noprepare</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>build-jars</id>
+ <phase>test-compile</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <target>
+ <property name="tests.output.dir"
value="${project.build.directory}"/>
+ <property name="tests.resources.dir"
value="${basedir}/src/test/resources"/>
+ <ant antfile="scripts/cxf-jars-jaxws.xml"
target="build-jars-jaxws"/>
+ </target>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin> <!-- This copies jbossws-cxf-factories jar to endorsed dir
before the integration-tests are run -->
+ <artifactId>maven-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-factories-jar</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+
<outputDirectory>${project.build.directory}/endorsed</outputDirectory>
+ <resources>
+ <resource>
+
<directory>${basedir}/../../endorsed/target/</directory>
+ <includes>
+
<include>jbossws-cxf-factories-${project.version}.jar</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin> <!-- This downloads and copies some Spring libs into
target/spring to be later picked up and included in some test jars -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-spring</id>
+ <phase>process-test-resources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-asm</artifactId>
+ <version>${test.spring.version}</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-beans</artifactId>
+ <version>${test.spring.version}</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ <version>${test.spring.version}</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ <version>${test.spring.version}</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-expression</artifactId>
+ <version>${test.spring.version}</version>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>target/spring</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ </profiles>
+
+</project>
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/scripts/cxf-jars-jaxws.xml
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/scripts/cxf-jars-jaxws.xml
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/scripts/cxf-jars-jaxws.xml 2012-08-23
09:41:14 UTC (rev 16638)
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2011, Red Hat, Inc., and individual contributors
+ ~ as indicated by the @author tags. See the copyright.txt file in the
+ ~ distribution for a full listing of individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ -->
+
+<project>
+
+ <description>JBossWS test archive builder</description>
+
+ <!-- ==============================================================================
-->
+ <!-- Building
-->
+ <!--
-->
+ <!-- Where to create your tests
-->
+ <!--
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144172#...
-->
+ <!--
-->
+ <!-- ==============================================================================
-->
+
+ <target name="build-jars-jaxws" description="Build the
deployments.">
+
+ <mkdir dir="${tests.output.dir}/test-libs"/>
+
+ <!-- jaxws-bp12baserpc -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-bp12baserpc.war"
webxml="${tests.output.dir}/test-resources/jaxws/bp12/baserpc/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/bp12/baserpc/IBaseData*.class"/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/bp12/baserpc/WEB-INF">
+ <include name="wsdl/*.wsdl" />
+ </webinf>
+ </war>
+ <!-- Please add alphabetically -->
+
+ </target>
+
+</project>
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/appclient.jndi.properties
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/appclient.jndi.properties
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/appclient.jndi.properties 2012-08-23
09:41:14 UTC (rev 16638)
@@ -0,0 +1,7 @@
+java.naming.factory.initial=org.jboss.naming.remote.client.InitialContextFactory
+java.naming.factory.url.pkgs=org.jboss.ejb.client.naming:org.jboss.naming.remote.client
+java.naming.provider.url=remote://@jboss.bind.address@:4448
+jboss.naming.client.connect.options.org.xnio.Options.SASL_POLICY_NOPLAINTEXT=false
+jboss.naming.client.security.callback.handler.class=org.jboss.wsf.test.CallbackHandler
+jboss.naming.client.endpoint.create.options.org.xnio.Options.WORKER_TASK_CORE_THREADS=1
+jboss.naming.client.endpoint.create.options.org.xnio.Options.WORKER_TASK_MAX_THREADS=4
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/jboss-ejb-client.properties
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/jboss-ejb-client.properties
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/jboss-ejb-client.properties 2012-08-23
09:41:14 UTC (rev 16638)
@@ -0,0 +1,7 @@
+remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false
+remote.connections=default
+remote.connection.default.host=(a)jboss.bind.address@
+remote.connection.default.port=4447
+remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false
+remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOPLAINTEXT=false
+callback.handler.class=org.jboss.wsf.test.CallbackHandler
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/jbossws-roles.properties
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/jbossws-roles.properties
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/jbossws-roles.properties 2012-08-23
09:41:14 UTC (rev 16638)
@@ -0,0 +1,2 @@
+# A sample roles.properties file for use with the UsersRolesLoginModule
+kermit=friend
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/jbossws-users.properties
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/jbossws-users.properties
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/jbossws-users.properties 2012-08-23
09:41:14 UTC (rev 16638)
@@ -0,0 +1,2 @@
+# A sample users.properties file for use with the UsersRolesLoginModule
+kermit=thefrog
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/log4j.xml
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/log4j.xml
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/log4j.xml 2012-08-23
09:41:14 UTC (rev 16638)
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!-- -->
+<!-- Log4j Configuration -->
+<!-- -->
+<!-- ===================================================================== -->
+
+<!--
+| For more configuration infromation and examples see the Jakarta Log4j
+| owebsite:
http://jakarta.apache.org/log4j
+-->
+<log4j:configuration
xmlns:log4j="http://jakarta.apache.org/log4j/"
debug="false">
+
+ <!-- ================================= -->
+ <!-- Preserve messages in a local file -->
+ <!-- ================================= -->
+
+ <!-- A time/date based rolling appender -->
+ <appender name="FILE"
class="org.apache.log4j.RollingFileAppender">
+ <param name="File" value="${log4j.output.dir}/test.log"/>
+ <param name="MaxFileSize" value="10MB"/>
+ <param name="Append" value="true"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d %-5p [%c:%L]
%m%n"/>
+ </layout>
+ </appender>
+
+ <!-- ============================== -->
+ <!-- Append messages to the console -->
+ <!-- ============================== -->
+
+ <appender name="CONSOLE"
class="org.apache.log4j.ConsoleAppender">
+ <param name="Threshold" value="WARN"/>
+ <param name="Target" value="System.out"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}]
%m%n"/>
+ </layout>
+ </appender>
+
+ <!-- ================ -->
+ <!-- Limit categories -->
+ <!-- ================ -->
+
+ <category name="org.jboss.ws">
+ <priority value="DEBUG"/>
+ </category>
+
+ <category name="org.jboss.wsf">
+ <priority value="DEBUG"/>
+ </category>
+
+ <category name="org.jboss.test.ws">
+ <priority value="TRACE"/>
+ </category>
+
+ <category name="org.apache.cxf">
+ <priority value="INFO"/>
+ </category>
+
+ <category name="org.springframework">
+ <priority value="INFO"/>
+ </category>
+
+ <category name="sun.rmi">
+ <priority value="INFO"/>
+ </category>
+
+ <category name="com.sun.xml.bind">
+ <priority value="INFO"/>
+ </category>
+
+ <category name="javax.activation">
+ <priority value="INFO"/>
+ </category>
+
+ <category name="org.apache.commons">
+ <priority value="INFO"/>
+ </category>
+
+ <!-- Apache security is verbose -->
+ <category name="org.apache.ws.security">
+ <priority value="INFO"/>
+ </category>
+
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <!--appender-ref ref="CONSOLE"/-->
+ <appender-ref ref="FILE"/>
+ </root>
+
+</log4j:configuration>
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/server.jndi.properties
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/server.jndi.properties
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/server.jndi.properties 2012-08-23
09:41:14 UTC (rev 16638)
@@ -0,0 +1,5 @@
+java.naming.factory.initial=org.jboss.naming.remote.client.InitialContextFactory
+java.naming.factory.url.pkgs=org.jboss.ejb.client.naming:org.jboss.naming.remote.client
+java.naming.provider.url=remote://@jboss.bind.address@:4447
+jboss.naming.client.connect.options.org.xnio.Options.SASL_POLICY_NOPLAINTEXT=false
+jboss.naming.client.security.callback.handler.class=org.jboss.wsf.test.CallbackHandler
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/test.keystore
===================================================================
(Binary files differ)
Property changes on:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/test.keystore
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/test.truststore
===================================================================
(Binary files differ)
Property changes on:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/test.truststore
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/tst.policy
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/tst.policy
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/etc/tst.policy 2012-08-23
09:41:14 UTC (rev 16638)
@@ -0,0 +1,4 @@
+grant {
+ permission java.security.AllPermission;
+};
+
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/baserpc/BaseTypesRPCTestCase.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/baserpc/BaseTypesRPCTestCase.java
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/baserpc/BaseTypesRPCTestCase.java 2012-08-23
09:41:14 UTC (rev 16638)
@@ -0,0 +1,135 @@
+package org.jboss.test.ws.jaxws.bp12.baserpc;
+
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.net.URL;
+import java.util.GregorianCalendar;
+
+import javax.xml.datatype.DatatypeFactory;
+import javax.xml.datatype.Duration;
+import javax.xml.namespace.QName;
+import javax.xml.ws.BindingProvider;
+import javax.xml.ws.Service;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSCXFTestSetup;
+import org.jboss.wsf.test.JBossWSTest;
+
+public class BaseTypesRPCTestCase extends JBossWSTest
+{
+ private final String serviceURL = "http://" + getServerHost() +
":8080/jaxws-bp12baserpc/BPBaseRPC";
+
+ public static Test suite()
+ {
+ return new JBossWSCXFTestSetup(BaseTypesRPCTestCase.class,
"jaxws-bp12baserpc.war");
+ }
+
+ public void testAllTypes() throws Exception
+ {
+ // construct proxy
+ QName serviceName = new
QName("http://tempuri.org/",
"BaseDataTypesRpcLitService");
+ URL wsdlURL = new URL(serviceURL + "?wsdl");
+ Service service = Service.create(wsdlURL, serviceName);
+ IBaseDataTypesRpcLit port = (IBaseDataTypesRpcLit)
service.getPort(IBaseDataTypesRpcLit.class);
+ // invoke method
+
((BindingProvider)port).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
"http://localhost/jaxws-bp12baserpc/BPBaseRPC");
+ System.out.println("Invoking retInt...");
+ int _retInt_inInt = 10;
+ int _retInt__return = port.retInt(_retInt_inInt);
+ System.out.println("retInt.result=" + _retInt__return);
+
+ System.out.println("Invoking retDateTime...");
+ GregorianCalendar calendar = new GregorianCalendar();
+ calendar.setTimeInMillis(System.currentTimeMillis());
+ javax.xml.datatype.XMLGregorianCalendar _retDateTime_inDateTime =
DatatypeFactory.newInstance().newXMLGregorianCalendar(calendar);
+ javax.xml.datatype.XMLGregorianCalendar _retDateTime__return =
port.retDateTime(_retDateTime_inDateTime);
+ System.out.println("retDateTime.result=" + _retDateTime__return);
+
+ System.out.println("Invoking retUnsignedInt...");
+ long _retUnsignedInt_inUInt = 10;
+ long _retUnsignedInt__return = port.retUnsignedInt(_retUnsignedInt_inUInt);
+ System.out.println("retUnsignedInt.result=" + _retUnsignedInt__return);
+
+ System.out.println("Invoking retDuration...");
+ Duration _retDuration_inTimeSpan =
DatatypeFactory.newInstance().newDuration(10000);
+ Duration _retDuration__return = port.retDuration(_retDuration_inTimeSpan);
+ System.out.println("retDuration.result=" + _retDuration__return);
+
+ System.out.println("Invoking retDecimal...");
+ BigDecimal _retDecimal_inDecimal = new java.math.BigDecimal("100");
+ BigDecimal _retDecimal__return = port.retDecimal(_retDecimal_inDecimal);
+ System.out.println("retDecimal.result=" + _retDecimal__return);
+
+ System.out.println("Invoking retDouble...");
+ double _retDouble_inDouble = 0.1;
+ double _retDouble__return = port.retDouble(_retDouble_inDouble);
+ System.out.println("retDouble.result=" + _retDouble__return);
+
+ System.out.println("Invoking retFloat...");
+ float _retFloat_inFloat = 0.01f;
+ float _retFloat__return = port.retFloat(_retFloat_inFloat);
+ System.out.println("retFloat.result=" + _retFloat__return);
+
+ System.out.println("Invoking retLong...");
+ long _retLong_inLong = 1000;
+ long _retLong__return = port.retLong(_retLong_inLong);
+ System.out.println("retLong.result=" + _retLong__return);
+
+ System.out.println("Invoking retBase64Binary...");
+ byte[] _retBase64Binary_inByteArray = "ByteArray".getBytes();
+ byte[] _retBase64Binary__return =
port.retBase64Binary(_retBase64Binary_inByteArray);
+ System.out.println("retBase64Binary.result=" +
_retBase64Binary__return);
+
+ System.out.println("Invoking retString...");
+ java.lang.String _retString_inString = "return";
+ java.lang.String _retString__return = port.retString(_retString_inString);
+ System.out.println("retString.result=" + _retString__return);
+
+ System.out.println("Invoking retShort...");
+ short _retShort_inShort = Short.parseShort("10");
+ short _retShort__return = port.retShort(_retShort_inShort);
+ System.out.println("retShort.result=" + _retShort__return);
+
+ System.out.println("Invoking retByte...");
+ byte _retByte_inSByte = Byte.parseByte("1");
+ byte _retByte__return = port.retByte(_retByte_inSByte);
+ System.out.println("retByte.result=" + _retByte__return);
+
+ System.out.println("Invoking retAnyType...");
+ Object _retAnyType_inObject = new QName("http://foo","bar");
+ Object _retAnyType__return = port.retAnyType(_retAnyType_inObject);
+ System.out.println("retAnyType.result=" + _retAnyType__return);
+
+ System.out.println("Invoking retUnsignedByte...");
+ short _retUnsignedByte_inByte = Short.parseShort("0");
+ short _retUnsignedByte__return = port.retUnsignedByte(_retUnsignedByte_inByte);
+ System.out.println("retUnsignedByte.result=" +
_retUnsignedByte__return);
+
+ System.out.println("Invoking retUnsignedLong...");
+ BigInteger _retUnsignedLong_inULong = new java.math.BigInteger("10000");
+ BigInteger _retUnsignedLong__return =
port.retUnsignedLong(_retUnsignedLong_inULong);
+ System.out.println("retUnsignedLong.result=" +
_retUnsignedLong__return);
+
+ System.out.println("Invoking retUnsignedShort...");
+ int _retUnsignedShort_inUShort = 10;
+ int _retUnsignedShort__return = port.retUnsignedShort(_retUnsignedShort_inUShort);
+ System.out.println("retUnsignedShort.result=" +
_retUnsignedShort__return);
+
+ System.out.println("Invoking retQName...");
+ QName _retQName_inQName = new QName("http://foo", "bar");
+ QName _retQName__return = port.retQName(_retQName_inQName);
+ System.out.println("retQName.result=" + _retQName__return);
+
+ System.out.println("Invoking retBoolean...");
+ boolean _retBoolean_inBool = false;
+ boolean _retBoolean__return = port.retBoolean(_retBoolean_inBool);
+ System.out.println("retBoolean.result=" + _retBoolean__return);
+
+ System.out.println("Invoking retAnyUri...");
+ String _retAnyUri_inUri = "urn:inputui";
+ String _retAnyUri__return = port.retAnyUri(_retAnyUri_inUri);
+ System.out.println("retAnyUri.result=" + _retAnyUri__return);
+
+ }
+}
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/baserpc/IBaseDataTypesRpcLit.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/baserpc/IBaseDataTypesRpcLit.java
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/baserpc/IBaseDataTypesRpcLit.java 2012-08-23
09:41:14 UTC (rev 16638)
@@ -0,0 +1,165 @@
+package org.jboss.test.ws.jaxws.bp12.baserpc;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.xml.ws.Action;
+
+@WebService(targetNamespace = "http://tempuri.org/", name =
"IBaseDataTypesRpcLit")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+public interface IBaseDataTypesRpcLit {
+
+ @WebResult(name = "RetIntResult", targetNamespace =
"http://tempuri.org/", partName = "RetIntResult")
+ @Action(input = "http://tempuri.org/IBaseDataTypesRpcLit/RetInt", output =
"http://tempuri.org/IBaseDataTypesRpcLit/RetIntResponse")
+ @WebMethod(operationName = "RetInt", action =
"http://tempuri.org/IBaseDataTypesRpcLit/RetInt")
+ public int retInt(
+ @WebParam(partName = "inInt", name = "inInt")
+ int inInt
+ );
+
+ @WebResult(name = "RetDateTimeResult", targetNamespace =
"http://tempuri.org/", partName = "RetDateTimeResult")
+ @Action(input = "http://tempuri.org/IBaseDataTypesRpcLit/RetDateTime",
output = "http://tempuri.org/IBaseDataTypesRpcLit/RetDateTimeResponse")
+ @WebMethod(operationName = "RetDateTime", action =
"http://tempuri.org/IBaseDataTypesRpcLit/RetDateTime")
+ public javax.xml.datatype.XMLGregorianCalendar retDateTime(
+ @WebParam(partName = "inDateTime", name = "inDateTime")
+ javax.xml.datatype.XMLGregorianCalendar inDateTime
+ );
+
+ @WebResult(name = "RetUnsignedIntResult", targetNamespace =
"http://tempuri.org/", partName = "RetUnsignedIntResult")
+ @Action(input = "http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedInt",
output = "http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedIntResponse")
+ @WebMethod(operationName = "RetUnsignedInt", action =
"http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedInt")
+ public long retUnsignedInt(
+ @WebParam(partName = "inUInt", name = "inUInt")
+ long inUInt
+ );
+
+ @WebResult(name = "RetDurationResult", targetNamespace =
"http://tempuri.org/", partName = "RetDurationResult")
+ @Action(input = "http://tempuri.org/IBaseDataTypesRpcLit/RetDuration",
output = "http://tempuri.org/IBaseDataTypesRpcLit/RetDurationResponse")
+ @WebMethod(operationName = "RetDuration", action =
"http://tempuri.org/IBaseDataTypesRpcLit/RetDuration")
+ public javax.xml.datatype.Duration retDuration(
+ @WebParam(partName = "inTimeSpan", name = "inTimeSpan")
+ javax.xml.datatype.Duration inTimeSpan
+ );
+
+ @WebResult(name = "RetDecimalResult", targetNamespace =
"http://tempuri.org/", partName = "RetDecimalResult")
+ @Action(input = "http://tempuri.org/IBaseDataTypesRpcLit/RetDecimal",
output = "http://tempuri.org/IBaseDataTypesRpcLit/RetDecimalResponse")
+ @WebMethod(operationName = "RetDecimal", action =
"http://tempuri.org/IBaseDataTypesRpcLit/RetDecimal")
+ public java.math.BigDecimal retDecimal(
+ @WebParam(partName = "inDecimal", name = "inDecimal")
+ java.math.BigDecimal inDecimal
+ );
+
+ @WebResult(name = "RetDoubleResult", targetNamespace =
"http://tempuri.org/", partName = "RetDoubleResult")
+ @Action(input = "http://tempuri.org/IBaseDataTypesRpcLit/RetDouble", output
= "http://tempuri.org/IBaseDataTypesRpcLit/RetDoubleResponse")
+ @WebMethod(operationName = "RetDouble", action =
"http://tempuri.org/IBaseDataTypesRpcLit/RetDouble")
+ public double retDouble(
+ @WebParam(partName = "inDouble", name = "inDouble")
+ double inDouble
+ );
+
+ @WebResult(name = "RetFloatResult", targetNamespace =
"http://tempuri.org/", partName = "RetFloatResult")
+ @Action(input = "http://tempuri.org/IBaseDataTypesRpcLit/RetFloat", output
= "http://tempuri.org/IBaseDataTypesRpcLit/RetFloatResponse")
+ @WebMethod(operationName = "RetFloat", action =
"http://tempuri.org/IBaseDataTypesRpcLit/RetFloat")
+ public float retFloat(
+ @WebParam(partName = "inFloat", name = "inFloat")
+ float inFloat
+ );
+
+ @WebResult(name = "RetLongResult", targetNamespace =
"http://tempuri.org/", partName = "RetLongResult")
+ @Action(input = "http://tempuri.org/IBaseDataTypesRpcLit/RetLong", output =
"http://tempuri.org/IBaseDataTypesRpcLit/RetLongResponse")
+ @WebMethod(operationName = "RetLong", action =
"http://tempuri.org/IBaseDataTypesRpcLit/RetLong")
+ public long retLong(
+ @WebParam(partName = "inLong", name = "inLong")
+ long inLong
+ );
+
+ @WebResult(name = "RetBase64BinaryResult", targetNamespace =
"http://tempuri.org/", partName = "RetBase64BinaryResult")
+ @Action(input = "http://tempuri.org/IBaseDataTypesRpcLit/RetBase64Binary",
output = "http://tempuri.org/IBaseDataTypesRpcLit/RetBase64BinaryResponse")
+ @WebMethod(operationName = "RetBase64Binary", action =
"http://tempuri.org/IBaseDataTypesRpcLit/RetBase64Binary")
+ public byte[] retBase64Binary(
+ @WebParam(partName = "inByteArray", name = "inByteArray")
+ byte[] inByteArray
+ );
+
+ @WebResult(name = "RetStringResult", targetNamespace =
"http://tempuri.org/", partName = "RetStringResult")
+ @Action(input = "http://tempuri.org/IBaseDataTypesRpcLit/RetString", output
= "http://tempuri.org/IBaseDataTypesRpcLit/RetStringResponse")
+ @WebMethod(operationName = "RetString", action =
"http://tempuri.org/IBaseDataTypesRpcLit/RetString")
+ public java.lang.String retString(
+ @WebParam(partName = "inString", name = "inString")
+ java.lang.String inString
+ );
+
+ @WebResult(name = "RetShortResult", targetNamespace =
"http://tempuri.org/", partName = "RetShortResult")
+ @Action(input = "http://tempuri.org/IBaseDataTypesRpcLit/RetShort", output
= "http://tempuri.org/IBaseDataTypesRpcLit/RetShortResponse")
+ @WebMethod(operationName = "RetShort", action =
"http://tempuri.org/IBaseDataTypesRpcLit/RetShort")
+ public short retShort(
+ @WebParam(partName = "inShort", name = "inShort")
+ short inShort
+ );
+
+ @WebResult(name = "RetByteResult", targetNamespace =
"http://tempuri.org/", partName = "RetByteResult")
+ @Action(input = "http://tempuri.org/IBaseDataTypesRpcLit/RetByte", output =
"http://tempuri.org/IBaseDataTypesRpcLit/RetByteResponse")
+ @WebMethod(operationName = "RetByte", action =
"http://tempuri.org/IBaseDataTypesRpcLit/RetByte")
+ public byte retByte(
+ @WebParam(partName = "inSByte", name = "inSByte")
+ byte inSByte
+ );
+
+ @WebResult(name = "RetAnyTypeResult", targetNamespace =
"http://tempuri.org/", partName = "RetAnyTypeResult")
+ @Action(input = "http://tempuri.org/IBaseDataTypesRpcLit/RetAnyType",
output = "http://tempuri.org/IBaseDataTypesRpcLit/RetAnyTypeResponse")
+ @WebMethod(operationName = "RetAnyType", action =
"http://tempuri.org/IBaseDataTypesRpcLit/RetAnyType")
+ public java.lang.Object retAnyType(
+ @WebParam(partName = "inObject", name = "inObject")
+ java.lang.Object inObject
+ );
+
+ @WebResult(name = "RetUnsignedByteResult", targetNamespace =
"http://tempuri.org/", partName = "RetUnsignedByteResult")
+ @Action(input = "http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedByte",
output = "http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedByteResponse")
+ @WebMethod(operationName = "RetUnsignedByte", action =
"http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedByte")
+ public short retUnsignedByte(
+ @WebParam(partName = "inByte", name = "inByte")
+ short inByte
+ );
+
+ @WebResult(name = "RetUnsignedLongResult", targetNamespace =
"http://tempuri.org/", partName = "RetUnsignedLongResult")
+ @Action(input = "http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedLong",
output = "http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedLongResponse")
+ @WebMethod(operationName = "RetUnsignedLong", action =
"http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedLong")
+ public java.math.BigInteger retUnsignedLong(
+ @WebParam(partName = "inULong", name = "inULong")
+ java.math.BigInteger inULong
+ );
+
+ @WebResult(name = "RetUnsignedShortResult", targetNamespace =
"http://tempuri.org/", partName = "RetUnsignedShortResult")
+ @Action(input = "http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedShort",
output = "http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedShortResponse")
+ @WebMethod(operationName = "RetUnsignedShort", action =
"http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedShort")
+ public int retUnsignedShort(
+ @WebParam(partName = "inUShort", name = "inUShort")
+ int inUShort
+ );
+
+ @WebResult(name = "RetQNameResult", targetNamespace =
"http://tempuri.org/", partName = "RetQNameResult")
+ @Action(input = "http://tempuri.org/IBaseDataTypesRpcLit/RetQName", output
= "http://tempuri.org/IBaseDataTypesRpcLit/RetQNameResponse")
+ @WebMethod(operationName = "RetQName", action =
"http://tempuri.org/IBaseDataTypesRpcLit/RetQName")
+ public javax.xml.namespace.QName retQName(
+ @WebParam(partName = "inQName", name = "inQName")
+ javax.xml.namespace.QName inQName
+ );
+
+ @WebResult(name = "RetBooleanResult", targetNamespace =
"http://tempuri.org/", partName = "RetBooleanResult")
+ @Action(input = "http://tempuri.org/IBaseDataTypesRpcLit/RetBoolean",
output = "http://tempuri.org/IBaseDataTypesRpcLit/RetBooleanResponse")
+ @WebMethod(operationName = "RetBoolean", action =
"http://tempuri.org/IBaseDataTypesRpcLit/RetBoolean")
+ public boolean retBoolean(
+ @WebParam(partName = "inBool", name = "inBool")
+ boolean inBool
+ );
+
+ @WebResult(name = "RetAnyUriResult", targetNamespace =
"http://tempuri.org/", partName = "RetAnyUriResult")
+ @Action(input = "http://tempuri.org/IBaseDataTypesRpcLit/RetAnyUri", output
= "http://tempuri.org/IBaseDataTypesRpcLit/RetAnyUriResponse")
+ @WebMethod(operationName = "RetAnyUri", action =
"http://tempuri.org/IBaseDataTypesRpcLit/RetAnyUri")
+ public java.lang.String retAnyUri(
+ @WebParam(partName = "inUri", name = "inUri")
+ java.lang.String inUri
+ );
+}
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/baserpc/IBaseDataTypesRpcLitImpl.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/baserpc/IBaseDataTypesRpcLitImpl.java
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/baserpc/IBaseDataTypesRpcLitImpl.java 2012-08-23
09:41:14 UTC (rev 16638)
@@ -0,0 +1,104 @@
+
+/**
+ * Please modify this class to meet your needs
+ * This class is not complete
+ */
+
+package org.jboss.test.ws.jaxws.bp12.baserpc;
+
+import java.math.BigDecimal;
+
+import javax.xml.datatype.Duration;
+import javax.xml.datatype.XMLGregorianCalendar;
+import javax.xml.namespace.QName;
+
+
+
+(a)javax.jws.WebService(
+ serviceName = "BaseDataTypesRpcLitService",
+ portName = "CustomBinding_IBaseDataTypesRpcLit",
+ targetNamespace = "http://tempuri.org/",
+ wsdlLocation = "WEB-INF/wsdl/BaseDataTypesRpcLit.wsdl",
+ endpointInterface =
"org.jboss.test.ws.jaxws.bp12.baserpc.IBaseDataTypesRpcLit")
+
+public class IBaseDataTypesRpcLitImpl implements IBaseDataTypesRpcLit {
+ public int retInt(int inInt) {
+ return inInt;
+ }
+
+ public XMLGregorianCalendar retDateTime(XMLGregorianCalendar inDateTime) {
+ return inDateTime;
+ }
+
+ public long retUnsignedInt(long inUInt) {
+ return inUInt;
+ }
+
+ public Duration retDuration(Duration inTimeSpan) {
+ return inTimeSpan;
+ }
+
+ public BigDecimal retDecimal(BigDecimal inDecimal) {
+ return inDecimal;
+ }
+
+
+ public double retDouble(double inDouble) {
+ return inDouble;
+ }
+
+ public float retFloat(float inFloat) {
+ return inFloat;
+ }
+
+ public long retLong(long inLong) {
+ return inLong;
+ }
+
+ public byte[] retBase64Binary(byte[] inByteArray) {
+ return inByteArray;
+ }
+
+ public String retString(String inString) {
+ return inString;
+ }
+
+ public short retShort(short inShort) {
+ return inShort;
+ }
+
+ public byte retByte(byte inSByte) {
+ return inSByte;
+ }
+
+ public Object retAnyType(java.lang.Object inObject) {
+ return inObject;
+ }
+
+ public short retUnsignedByte(short inByte) {
+ return inByte;
+ }
+
+ public java.math.BigInteger retUnsignedLong(java.math.BigInteger inULong) {
+ return inULong;
+ }
+
+
+ public int retUnsignedShort(int inUShort) {
+ return inUShort;
+ }
+
+ public QName retQName(QName inQName) {
+ return inQName;
+ }
+
+
+ public boolean retBoolean(boolean inBool) {
+ return inBool;
+ }
+
+ public java.lang.String retAnyUri(java.lang.String inUri) {
+ return inUri;
+ }
+
+}
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/wsf/test/ClientHelper.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/wsf/test/ClientHelper.java
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/wsf/test/ClientHelper.java 2012-08-23
09:41:14 UTC (rev 16638)
@@ -0,0 +1,27 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.wsf.test;
+
+public interface ClientHelper
+{
+ public void setTargetEndpoint(String address);
+}
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/wsf/test/JBossWSCXFTestSetup.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/wsf/test/JBossWSCXFTestSetup.java
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/wsf/test/JBossWSCXFTestSetup.java 2012-08-23
09:41:14 UTC (rev 16638)
@@ -0,0 +1,120 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2012, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.wsf.test;
+
+import junit.framework.Test;
+
+import org.apache.cxf.Bus;
+import org.apache.cxf.BusFactory;
+import org.jboss.logging.Logger;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ *
+ * @author alessio.soldano(a)jboss.com
+ */
+public class JBossWSCXFTestSetup extends JBossWSTestSetup
+{
+ private Bus defaultBus;
+
+ public JBossWSCXFTestSetup(Class<?> testClass, String archiveList)
+ {
+ super(testClass, archiveList);
+ }
+
+ public JBossWSCXFTestSetup(Class<?> testClass, String archiveList, boolean
requiresDefaultSecurityDomain)
+ {
+ super(testClass, archiveList, requiresDefaultSecurityDomain);
+ }
+
+ public JBossWSCXFTestSetup(Test test, String archiveList)
+ {
+ super(test, archiveList);
+ }
+
+ public JBossWSCXFTestSetup(Test test, String archiveList, boolean
requiresDefaultSecurityDomain)
+ {
+ super(test, archiveList, requiresDefaultSecurityDomain);
+ }
+
+ public JBossWSCXFTestSetup(Class<?> testClass, String archiveList, boolean
requiresDefaultSecurityDomain, CleanupOperation cleanupOp)
+ {
+ super(testClass, archiveList, requiresDefaultSecurityDomain, cleanupOp);
+ }
+
+ public JBossWSCXFTestSetup(Test test)
+ {
+ super(test);
+ }
+
+ @Override
+ protected void setUp() throws Exception {
+ defaultBus = BusFactory.getDefaultBus(false);
+ super.setUp();
+ Bus threadBus = BusFactory.getThreadDefaultBus(false);
+ if (threadBus != null)
+ {
+ ClassLoader busLoader = threadBus.getExtension(ClassLoader.class);
+ ClassLoader origLoader = this.getOriginalClassLoader();
+ //overwrite the ClassLoader extension with the new TCCL, to allow CXF seeing the
client side archives
+ if (busLoader != null && busLoader == origLoader)
+ {
+ threadBus.setExtension(Thread.currentThread().getContextClassLoader(),
ClassLoader.class);
+ }
+ }
+ }
+
+ @Override
+ protected void tearDown() throws Exception {
+ Bus threadBus = BusFactory.getThreadDefaultBus(false);
+ if (threadBus != null)
+ {
+ ClassLoader busLoader = threadBus.getExtension(ClassLoader.class);
+ ClassLoader origLoader = this.getOriginalClassLoader();
+ //restore the ClassLoader extension to the orig loader
+ if (busLoader != null && busLoader ==
Thread.currentThread().getContextClassLoader())
+ {
+ threadBus.setExtension(origLoader, ClassLoader.class);
+ }
+ }
+
+ try
+ {
+ Bus afterTestsDefaultBus = BusFactory.getDefaultBus(false);
+
+ if (defaultBus == null && afterTestsDefaultBus != null)
+ {
+ Logger.getLogger(this.getClass()).info("Default CXF bus has been set
during test execution");
+ }
+ else if (defaultBus != afterTestsDefaultBus)
+ {
+ throw new Exception("CXF Default bus changed during test: \nBEFORE:
" + defaultBus + "\nAFTER: "
+ + afterTestsDefaultBus);
+ }
+ }
+ finally
+ {
+ defaultBus = null; //remove reference, to help GC
+ super.tearDown();
+ }
+ }
+}
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/wsf/test/TestServlet.java
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/wsf/test/TestServlet.java
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/java/org/jboss/wsf/test/TestServlet.java 2012-08-23
09:41:14 UTC (rev 16638)
@@ -0,0 +1,140 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.wsf.test;
+
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.lang.reflect.InvocationTargetException;
+import java.lang.reflect.Method;
+import java.util.Iterator;
+import java.util.LinkedList;
+import java.util.List;
+
+import javax.servlet.ServletException;
+import javax.servlet.annotation.WebServlet;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ *
+ * @author alessio.soldano(a)jboss.com
+ * @since 01-Apr-2011
+ *
+ */
+@WebServlet(name = "TestServlet", urlPatterns = "/*")
+public class TestServlet extends HttpServlet
+{
+ private static final long serialVersionUID = 1L;
+
+ @Override
+ protected void doGet(HttpServletRequest req, HttpServletResponse res) throws
ServletException, IOException
+ {
+ String helperClassName = req.getParameter("helper");
+ if (helperClassName == null || helperClassName.length() == 0)
+ throw new ServletException("helper not specified!");
+ String path = req.getParameter("path");
+ if (path == null || path.length() == 0)
+ throw new ServletException("path not specified!");
+ try
+ {
+ ClientHelper helper = (ClientHelper)
Class.forName(helperClassName).newInstance();
+ String hostName = System.getProperty("jboss.bind.address",
"localhost");
+ if (hostName.startsWith(":"))
+ {
+ hostName = "[" + hostName + "]";
+ }
+ helper.setTargetEndpoint("http://" + hostName + ":8080" +
path);
+ List<String> failedTests = new LinkedList<String>();
+ List<String> errorTests = new LinkedList<String>();
+ Method[] methods = helper.getClass().getMethods();
+ String methodName = req.getParameter("method");
+ int testsRun = 0;
+ if (methodName != null && methodName.length() > 0)
+ {
+ Method m = null;
+ m = helper.getClass().getMethod(methodName);
+ testsRun++;
+ invokeMethod(m, helper, failedTests, errorTests);
+ }
+ else
+ {
+ for (Method m : methods)
+ {
+ if (m.getName().startsWith("test") &&
m.getParameterTypes().length == 0
+ && m.getReturnType().equals(boolean.class))
+ {
+ testsRun++;
+ invokeMethod(m, helper, failedTests, errorTests);
+ }
+ }
+ }
+ if (failedTests.isEmpty() && errorTests.isEmpty())
+ {
+ res.getWriter().print(testsRun);
+ }
+ else
+ {
+ PrintWriter w = res.getWriter();
+ w.print("# Failed tests: ");
+ for (Iterator<String> it = failedTests.iterator(); it.hasNext();)
+ {
+ w.print(it.next());
+ if (it.hasNext())
+ w.print(", ");
+ }
+ res.getWriter().print(" # Error tests: ");
+ for (Iterator<String> it = errorTests.iterator(); it.hasNext();)
+ {
+ w.print(it.next());
+ if (it.hasNext())
+ w.print(", ");
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ throw new ServletException(e);
+ }
+ }
+
+ private void invokeMethod(Method m, ClientHelper helper, List<String>
failedTests, List<String> errorTests) throws ServletException
+ {
+ try
+ {
+ if (!(Boolean)m.invoke(helper))
+ {
+ failedTests.add(m.getName());
+ }
+ }
+ catch (InvocationTargetException e)
+ {
+ Throwable thrownException = e.getTargetException();
+ errorTests.add(m.getName() + ": " +
thrownException.getClass().getName() + " " + thrownException.getMessage());
+ thrownException.printStackTrace();
+ }
+ catch (Exception e)
+ {
+ throw new ServletException(e);
+ }
+ }
+}
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/baserpc/WEB-INF/web.xml
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/baserpc/WEB-INF/web.xml
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/baserpc/WEB-INF/web.xml 2012-08-23
09:41:14 UTC (rev 16638)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd">
+
+ <servlet>
+ <servlet-name>BPBaseRPC</servlet-name>
+
<servlet-class>org.jboss.test.ws.jaxws.bp12.baserpc.IBaseDataTypesRpcLitImpl</servlet-class>
+ </servlet>
+
+
+ <servlet-mapping>
+ <servlet-name>BPBaseRPC</servlet-name>
+ <url-pattern>/BPBaseRPC</url-pattern>
+ </servlet-mapping>
+</web-app>
\ No newline at end of file
Added:
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/baserpc/WEB-INF/wsdl/BaseDataTypesRpcLit.wsdl
===================================================================
---
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/baserpc/WEB-INF/wsdl/BaseDataTypesRpcLit.wsdl
(rev 0)
+++
stack/cxf/branches/jbossws-cxf-bp-test/modules/testsuite/bp12-tests/src/test/resources/jaxws/bp12/baserpc/WEB-INF/wsdl/BaseDataTypesRpcLit.wsdl 2012-08-23
09:41:14 UTC (rev 16638)
@@ -0,0 +1,375 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="BaseDataTypesRpcLitService"
targetNamespace="http://tempuri.org/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
xmlns:tns="http://tempuri.org/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <wsdl:types />
+ <wsdl:message name="IBaseDataTypesRpcLit_RetBoolean_InputMessage">
+ <wsdl:part name="inBool" type="xsd:boolean"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetBoolean_OutputMessage">
+ <wsdl:part name="RetBooleanResult" type="xsd:boolean"/>
+ </wsdl:message>
+ <wsdl:message
name="IBaseDataTypesRpcLit_RetUnsignedByte_InputMessage">
+ <wsdl:part name="inByte" type="xsd:unsignedByte"/>
+ </wsdl:message>
+ <wsdl:message
name="IBaseDataTypesRpcLit_RetUnsignedByte_OutputMessage">
+ <wsdl:part name="RetUnsignedByteResult"
type="xsd:unsignedByte"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetByte_InputMessage">
+ <wsdl:part name="inSByte" type="xsd:byte"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetByte_OutputMessage">
+ <wsdl:part name="RetByteResult" type="xsd:byte"/>
+ </wsdl:message>
+ <wsdl:message
name="IBaseDataTypesRpcLit_RetBase64Binary_InputMessage">
+ <wsdl:part name="inByteArray" type="xsd:base64Binary"/>
+ </wsdl:message>
+ <wsdl:message
name="IBaseDataTypesRpcLit_RetBase64Binary_OutputMessage">
+ <wsdl:part name="RetBase64BinaryResult"
type="xsd:base64Binary"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetDecimal_InputMessage">
+ <wsdl:part name="inDecimal" type="xsd:decimal"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetDecimal_OutputMessage">
+ <wsdl:part name="RetDecimalResult" type="xsd:decimal"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetFloat_InputMessage">
+ <wsdl:part name="inFloat" type="xsd:float"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetFloat_OutputMessage">
+ <wsdl:part name="RetFloatResult" type="xsd:float"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetDouble_InputMessage">
+ <wsdl:part name="inDouble" type="xsd:double"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetDouble_OutputMessage">
+ <wsdl:part name="RetDoubleResult" type="xsd:double"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetInt_InputMessage">
+ <wsdl:part name="inInt" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetInt_OutputMessage">
+ <wsdl:part name="RetIntResult" type="xsd:int"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetShort_InputMessage">
+ <wsdl:part name="inShort" type="xsd:short"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetShort_OutputMessage">
+ <wsdl:part name="RetShortResult" type="xsd:short"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetLong_InputMessage">
+ <wsdl:part name="inLong" type="xsd:long"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetLong_OutputMessage">
+ <wsdl:part name="RetLongResult" type="xsd:long"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetAnyType_InputMessage">
+ <wsdl:part name="inObject" type="xsd:anyType"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetAnyType_OutputMessage">
+ <wsdl:part name="RetAnyTypeResult" type="xsd:anyType"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetUnsignedInt_InputMessage">
+ <wsdl:part name="inUInt" type="xsd:unsignedInt"/>
+ </wsdl:message>
+ <wsdl:message
name="IBaseDataTypesRpcLit_RetUnsignedInt_OutputMessage">
+ <wsdl:part name="RetUnsignedIntResult"
type="xsd:unsignedInt"/>
+ </wsdl:message>
+ <wsdl:message
name="IBaseDataTypesRpcLit_RetUnsignedShort_InputMessage">
+ <wsdl:part name="inUShort" type="xsd:unsignedShort"/>
+ </wsdl:message>
+ <wsdl:message
name="IBaseDataTypesRpcLit_RetUnsignedShort_OutputMessage">
+ <wsdl:part name="RetUnsignedShortResult"
type="xsd:unsignedShort"/>
+ </wsdl:message>
+ <wsdl:message
name="IBaseDataTypesRpcLit_RetUnsignedLong_InputMessage">
+ <wsdl:part name="inULong" type="xsd:unsignedLong"/>
+ </wsdl:message>
+ <wsdl:message
name="IBaseDataTypesRpcLit_RetUnsignedLong_OutputMessage">
+ <wsdl:part name="RetUnsignedLongResult"
type="xsd:unsignedLong"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetString_InputMessage">
+ <wsdl:part name="inString" type="xsd:string"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetString_OutputMessage">
+ <wsdl:part name="RetStringResult" type="xsd:string"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetAnyUri_InputMessage">
+ <wsdl:part name="inUri" type="xsd:anyURI"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetAnyUri_OutputMessage">
+ <wsdl:part name="RetAnyUriResult" type="xsd:anyURI"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetDateTime_InputMessage">
+ <wsdl:part name="inDateTime" type="xsd:dateTime"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetDateTime_OutputMessage">
+ <wsdl:part name="RetDateTimeResult" type="xsd:dateTime"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetDuration_InputMessage">
+ <wsdl:part name="inTimeSpan" type="xsd:duration" />
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetDuration_OutputMessage">
+ <wsdl:part name="RetDurationResult" type="xsd:duration" />
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetQName_InputMessage">
+ <wsdl:part name="inQName" type="xsd:QName"/>
+ </wsdl:message>
+ <wsdl:message name="IBaseDataTypesRpcLit_RetQName_OutputMessage">
+ <wsdl:part name="RetQNameResult" type="xsd:QName"/>
+ </wsdl:message>
+ <wsdl:portType name="IBaseDataTypesRpcLit">
+ <wsdl:operation name="RetBoolean" parameterOrder="inBool">
+ <wsdl:input
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetBoolean"
message="tns:IBaseDataTypesRpcLit_RetBoolean_InputMessage"/>
+ <wsdl:output
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetBooleanRespo...
message="tns:IBaseDataTypesRpcLit_RetBoolean_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUnsignedByte"
parameterOrder="inByte">
+ <wsdl:input
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedByte...
message="tns:IBaseDataTypesRpcLit_RetUnsignedByte_InputMessage"/>
+ <wsdl:output
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedByte...
message="tns:IBaseDataTypesRpcLit_RetUnsignedByte_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetByte" parameterOrder="inSByte">
+ <wsdl:input
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetByte"
message="tns:IBaseDataTypesRpcLit_RetByte_InputMessage"/>
+ <wsdl:output
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetByteResponse...
message="tns:IBaseDataTypesRpcLit_RetByte_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetBase64Binary"
parameterOrder="inByteArray">
+ <wsdl:input
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetBase64Binary...
message="tns:IBaseDataTypesRpcLit_RetBase64Binary_InputMessage"/>
+ <wsdl:output
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetBase64Binary...
message="tns:IBaseDataTypesRpcLit_RetBase64Binary_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDecimal"
parameterOrder="inDecimal">
+ <wsdl:input
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDecimal"
message="tns:IBaseDataTypesRpcLit_RetDecimal_InputMessage"/>
+ <wsdl:output
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDecimalRespo...
message="tns:IBaseDataTypesRpcLit_RetDecimal_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetFloat" parameterOrder="inFloat">
+ <wsdl:input
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetFloat"
message="tns:IBaseDataTypesRpcLit_RetFloat_InputMessage"/>
+ <wsdl:output
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetFloatRespons...
message="tns:IBaseDataTypesRpcLit_RetFloat_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDouble"
parameterOrder="inDouble">
+ <wsdl:input
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDouble"
message="tns:IBaseDataTypesRpcLit_RetDouble_InputMessage"/>
+ <wsdl:output
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDoubleRespon...
message="tns:IBaseDataTypesRpcLit_RetDouble_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetInt" parameterOrder="inInt">
+ <wsdl:input
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetInt"
message="tns:IBaseDataTypesRpcLit_RetInt_InputMessage"/>
+ <wsdl:output
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetIntResponse&...
message="tns:IBaseDataTypesRpcLit_RetInt_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetShort" parameterOrder="inShort">
+ <wsdl:input
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetShort"
message="tns:IBaseDataTypesRpcLit_RetShort_InputMessage"/>
+ <wsdl:output
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetShortRespons...
message="tns:IBaseDataTypesRpcLit_RetShort_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetLong" parameterOrder="inLong">
+ <wsdl:input
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetLong"
message="tns:IBaseDataTypesRpcLit_RetLong_InputMessage"/>
+ <wsdl:output
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetLongResponse...
message="tns:IBaseDataTypesRpcLit_RetLong_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetAnyType"
parameterOrder="inObject">
+ <wsdl:input
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetAnyType"
message="tns:IBaseDataTypesRpcLit_RetAnyType_InputMessage"/>
+ <wsdl:output
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetAnyTypeRespo...
message="tns:IBaseDataTypesRpcLit_RetAnyType_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUnsignedInt"
parameterOrder="inUInt">
+ <wsdl:input
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedInt&...
message="tns:IBaseDataTypesRpcLit_RetUnsignedInt_InputMessage"/>
+ <wsdl:output
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedIntR...
message="tns:IBaseDataTypesRpcLit_RetUnsignedInt_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUnsignedShort"
parameterOrder="inUShort">
+ <wsdl:input
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedShor...
message="tns:IBaseDataTypesRpcLit_RetUnsignedShort_InputMessage"/>
+ <wsdl:output
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedShor...
message="tns:IBaseDataTypesRpcLit_RetUnsignedShort_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetUnsignedLong"
parameterOrder="inULong">
+ <wsdl:input
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedLong...
message="tns:IBaseDataTypesRpcLit_RetUnsignedLong_InputMessage"/>
+ <wsdl:output
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedLong...
message="tns:IBaseDataTypesRpcLit_RetUnsignedLong_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetString"
parameterOrder="inString">
+ <wsdl:input
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetString"
message="tns:IBaseDataTypesRpcLit_RetString_InputMessage"/>
+ <wsdl:output
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetStringRespon...
message="tns:IBaseDataTypesRpcLit_RetString_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetAnyUri" parameterOrder="inUri">
+ <wsdl:input
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetAnyUri"
message="tns:IBaseDataTypesRpcLit_RetAnyUri_InputMessage"/>
+ <wsdl:output
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetAnyUriRespon...
message="tns:IBaseDataTypesRpcLit_RetAnyUri_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDateTime"
parameterOrder="inDateTime">
+ <wsdl:input
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDateTime"
message="tns:IBaseDataTypesRpcLit_RetDateTime_InputMessage"/>
+ <wsdl:output
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDateTimeResp...
message="tns:IBaseDataTypesRpcLit_RetDateTime_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetDuration"
parameterOrder="inTimeSpan">
+ <wsdl:input
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDuration"
message="tns:IBaseDataTypesRpcLit_RetDuration_InputMessage"/>
+ <wsdl:output
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetDurationResp...
message="tns:IBaseDataTypesRpcLit_RetDuration_OutputMessage"/>
+ </wsdl:operation>
+ <wsdl:operation name="RetQName" parameterOrder="inQName">
+ <wsdl:input
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetQName"
message="tns:IBaseDataTypesRpcLit_RetQName_InputMessage"/>
+ <wsdl:output
wsam:Action="http://tempuri.org/IBaseDataTypesRpcLit/RetQNameRespons...
message="tns:IBaseDataTypesRpcLit_RetQName_OutputMessage"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="CustomBinding_IBaseDataTypesRpcLit"
type="tns:IBaseDataTypesRpcLit">
+ <soap:binding
transport="http://schemas.xmlsoap.org/soap/http"
style="rpc"/>
+ <wsdl:operation name="RetBoolean">
+ <soap:operation
soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetBoolean"
style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUnsignedByte">
+ <soap:operation
soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedByte&...
style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetByte">
+ <soap:operation
soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetByte"
style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetBase64Binary">
+ <soap:operation
soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetBase64Binary&...
style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDecimal">
+ <soap:operation
soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetDecimal"
style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetFloat">
+ <soap:operation
soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetFloat"
style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDouble">
+ <soap:operation
soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetDouble"
style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetInt">
+ <soap:operation
soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetInt"
style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetShort">
+ <soap:operation
soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetShort"
style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetLong">
+ <soap:operation
soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetLong"
style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetAnyType">
+ <soap:operation
soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetAnyType"
style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUnsignedInt">
+ <soap:operation
soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedInt&q...
style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUnsignedShort">
+ <soap:operation
soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedShort...
style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetUnsignedLong">
+ <soap:operation
soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetUnsignedLong&...
style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetString">
+ <soap:operation
soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetString"
style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetAnyUri">
+ <soap:operation
soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetAnyUri"
style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDateTime">
+ <soap:operation
soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetDateTime"
style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetDuration">
+ <soap:operation
soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetDuration"
style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="RetQName">
+ <soap:operation
soapAction="http://tempuri.org/IBaseDataTypesRpcLit/RetQName"
style="rpc"/>
+ <wsdl:input>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
namespace="http://tempuri.org/"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="BaseDataTypesRpcLitService">
+ <wsdl:port name="CustomBinding_IBaseDataTypesRpcLit"
binding="tns:CustomBinding_IBaseDataTypesRpcLit">
+ <soap:address
location="http://localhost/Soap11/BaseDataTypesRpcLit"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file