Author: heiko.braun(a)jboss.com
Date: 2006-11-09 07:07:52 -0500 (Thu, 09 Nov 2006)
New Revision: 1412
Added:
trunk/src/test/resources/jaxws/samples/retail/
trunk/src/test/resources/jaxws/samples/retail/META-INF/
trunk/src/test/resources/jaxws/samples/retail/META-INF/wsdl/
trunk/src/test/resources/jaxws/samples/retail/META-INF/wsdl/CCVerificationService.wsdl
Modified:
trunk/src/ant/build-samples.xml
trunk/src/test/ant/build-jars-jaxws.xml
Log:
JBW samples
Modified: trunk/src/ant/build-samples.xml
===================================================================
--- trunk/src/ant/build-samples.xml 2006-11-09 12:07:31 UTC (rev 1411)
+++ trunk/src/ant/build-samples.xml 2006-11-09 12:07:52 UTC (rev 1412)
@@ -238,18 +238,18 @@
<fileset dir="${test.resources.dir}/jaxrpc/samples/swa"/>
</copy>
- <!-- samples/wsbpel -->
- <mkdir dir="${build.src.samples.dir}/jaxrpc/wsbpel/java"/>
- <mkdir dir="${build.src.samples.dir}/jaxrpc/wsbpel/resources"/>
-
- <copy todir="${build.src.samples.dir}/jaxrpc/wsbpel/java">
- <fileset dir="${test.java.dir}">
- <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/**"/>
- </fileset>
- </copy>
- <copy todir="${build.src.samples.dir}/jaxrpc/wsbpel/resources">
- <fileset dir="${test.resources.dir}/jaxrpc/samples/wsbpel" />
+ <!-- samples/wsbpel -->
+ <mkdir dir="${build.src.samples.dir}/jaxrpc/wsbpel/java"/>
+ <mkdir dir="${build.src.samples.dir}/jaxrpc/wsbpel/resources"/>
+
+ <copy todir="${build.src.samples.dir}/jaxrpc/wsbpel/java">
+ <fileset dir="${test.java.dir}">
+ <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/**"/>
+ </fileset>
</copy>
+ <copy todir="${build.src.samples.dir}/jaxrpc/wsbpel/resources">
+ <fileset dir="${test.resources.dir}/jaxrpc/samples/wsbpel" />
+ </copy>
<!-- samples/wseventing -->
<mkdir dir="${build.src.samples.dir}/jaxrpc/wseventing/java"/>
@@ -317,7 +317,21 @@
<copy todir="${build.src.samples.dir}/jaxws/wsaddressing/resources">
<fileset dir="${test.resources.dir}/jaxws/samples/wsaddressing"/>
</copy>
-
+
+
+ <!-- samples/retail -->
+ <mkdir dir="${build.src.samples.dir}/jaxws/retail/java"/>
+ <mkdir dir="${build.src.samples.dir}/jaxws/retail/resources"/>
+
+ <copy todir="${build.src.samples.dir}/jaxws/retail/java">
+ <fileset dir="${test.java.dir}">
+ <include name="org/jboss/test/ws/jaxws/samples/retail/**"/>
+ </fileset>
+ </copy>
+ <copy todir="${build.src.samples.dir}/jaxws/retail/resources">
+ <fileset dir="${test.resources.dir}/jaxws/samples/retail"/>
+ </copy>
+
<!-- Build the samples zip -->
<zip destfile="${build.dir}/${samples.target}.zip">
<fileset dir="${build.dir}"
includes="${samples.target}/**"/>
Modified: trunk/src/test/ant/build-jars-jaxws.xml
===================================================================
--- trunk/src/test/ant/build-jars-jaxws.xml 2006-11-09 12:07:31 UTC (rev 1411)
+++ trunk/src/test/ant/build-jars-jaxws.xml 2006-11-09 12:07:52 UTC (rev 1412)
@@ -399,6 +399,27 @@
<include name="wsdl/**"/>
</metainf>
</jar>
+
+ <!-- jaxws-samples-retail -->
+ <jar jarfile="${build.test.dir}/libs/jaxws-samples-retail.jar">
+ <fileset dir="${build.test.dir}/classes">
+ <include
name="org/jboss/test/ws/jaxws/samples/retail/**/*.class"/>
+ </fileset>
+ <metainf
dir="${build.test.dir}/resources/jaxws/samples/retail/META-INF">
+ <include name="wsdl/*"/>
+ </metainf>
+ </jar>
+ <jar
jarfile="${build.test.dir}/libs/jaxws-samples-retail-client.jar">
+ <fileset dir="${build.test.dir}/classes">
+ <include
name="org/jboss/test/ws/jaxws/samples/retail/**/*.class"/>
+ <exclude
name="org/jboss/test/ws/jaxws/samples/retail/**/*Bean.class"/>
+ </fileset>
+ <metainf
dir="${build.test.dir}/resources/jaxws/samples/retail/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
<!-- jaxws-webserviceref -->
<war warfile="${build.test.dir}/libs/jaxws-webserviceref.war"
webxml="${build.test.dir}/resources/jaxws/webserviceref/WEB-INF/web.xml">
Added:
trunk/src/test/resources/jaxws/samples/retail/META-INF/wsdl/CCVerificationService.wsdl
===================================================================
---
trunk/src/test/resources/jaxws/samples/retail/META-INF/wsdl/CCVerificationService.wsdl 2006-11-09
12:07:31 UTC (rev 1411)
+++
trunk/src/test/resources/jaxws/samples/retail/META-INF/wsdl/CCVerificationService.wsdl 2006-11-09
12:07:52 UTC (rev 1412)
@@ -0,0 +1,47 @@
+<definitions name="CCVerificationService"
targetNamespace="http://org.jboss.ws/samples/retail/cc"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://org.jboss.ws/samples/retail/cc"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <types>
+ <xs:schema targetNamespace="http://org.jboss.ws/samples/retail/cc"
version="1.0" xmlns:tns="http://org.jboss.ws/samples/retail/cc"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:element name="verify" nillable="true"
type="tns:verificationRequest"/>
+ <xs:element name="verifyResponse" nillable="true"
type="tns:verificationResponse"/>
+ <xs:complexType name="verificationRequest">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="creditCardNumber"
type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="verificationResponse">
+ <xs:sequence>
+ <xs:element name="verified" type="xs:boolean"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:schema>
+ </types>
+ <message name="CCVerification_verify">
+ <part element="tns:verify" name="verify"/>
+ </message>
+ <message name="CCVerification_verifyResponse">
+ <part element="tns:verifyResponse" name="verifyResponse"/>
+ </message>
+ <portType name="CCVerification">
+ <operation name="verify" parameterOrder="verify">
+ <input message="tns:CCVerification_verify"/>
+ <output message="tns:CCVerification_verifyResponse"/>
+ </operation>
+ </portType>
+ <binding name="CCVerificationBinding"
type="tns:CCVerification">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="verify">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ </operation>
+ </binding>
+ <service name="CCVerificationService">
+ <port binding="tns:CCVerificationBinding"
name="CCVerificationPort">
+ <soap:address
location="http://D1XC662J:8080/jaxws-samples-retail/CCVerificationBean"/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on:
trunk/src/test/resources/jaxws/samples/retail/META-INF/wsdl/CCVerificationService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF