You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Glen Mazza <gl...@verizon.net> on 2007/07/31 05:19:18 UTC
Re: svn commit: r561224 - in /incubator/cxf/trunk:
rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/
systests/src/test/java/org/apache/cxf/systest/jaxws/
systests/src/test/java/org/apache/cxf/systest/ws/security/
Am Dienstag, den 31.07.2007, 03:01 +0000 schrieb dkulp@apache.org:
> Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/DocLitWrappedCodeFirstServiceImpl.java
> URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/DocLitWrappedCodeFirstServiceImpl.java?view=diff&rev=561224&r1=561223&r2=561224
> ==============================================================================
> --- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/DocLitWrappedCodeFirstServiceImpl.java (original)
> +++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/DocLitWrappedCodeFirstServiceImpl.java Mon Jul 30 20:01:29 2007
> @@ -99,6 +99,19 @@
> b.setName("b");
> return Arrays.asList(a, b);
> }
> +
> + public List<Foo[]> listObjectArrayOutput() {
> + Foo a = new Foo();
> + a.setName("a");
> + Foo b = new Foo();
> + b.setName("b");
> + Foo c = new Foo();
> + a.setName("c");
> + Foo d = new Foo();
> + b.setName("d");
I think you mean c.setName() and d.setName(), correct?
> +
> + return Arrays.asList(new Foo[] {a, b}, new Foo[] {c, d});
> + }
>
>
> }
>
> Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/RpcLitCodeFirstServiceImpl.java
> URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/RpcLitCodeFirstServiceImpl.java?view=diff&rev=561224&r1=561223&r2=561224
> ==============================================================================
> --- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/RpcLitCodeFirstServiceImpl.java (original)
> +++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/RpcLitCodeFirstServiceImpl.java Mon Jul 30 20:01:29 2007
> @@ -25,6 +25,8 @@
> import javax.jws.WebService;
> import javax.xml.ws.Holder;
>
> +import org.apache.cxf.systest.jaxws.DocLitWrappedCodeFirstService.Foo;
> +
> @WebService(endpointInterface = "org.apache.cxf.systest.jaxws.RpcLitCodeFirstService",
> serviceName = "RpcLitCodeFirstService",
> portName = "RpcLitCodeFirstServicePort",
> @@ -103,5 +105,26 @@
> f.value = "f";
> g.value = "g";
> return ret;
> + }
> +
> + public List<Foo> listObjectOutput() {
> + Foo a = new Foo();
> + a.setName("a");
> + Foo b = new Foo();
> + b.setName("b");
> + return Arrays.asList(a, b);
> + }
> +
> + public List<Foo[]> listObjectArrayOutput() {
> + Foo a = new Foo();
> + a.setName("a");
> + Foo b = new Foo();
> + b.setName("b");
> + Foo c = new Foo();
> + a.setName("c");
> + Foo d = new Foo();
> + b.setName("d");
> +
Again...
> + return Arrays.asList(new Foo[] {a, b}, new Foo[] {c, d});
> }
> }
>
> Modified:
> incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/security/client.xml
> URL:
> http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/security/client.xml?view=diff&rev=561224&r1=561223&r2=561224
> ==============================================================================
> ---
> incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/security/client.xml (original)
> +++
> incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/security/client.xml Mon Jul 30 20:01:29 2007
> @@ -51,7 +51,7 @@
> <map>
> <entry key="action" value="Timestamp Signature
> Encrypt"/>
> <!-- <entry key="action" value="Timestamp
> Signature"/> -->
> - <entry key="user" value="Alice"/>
> + <entry key="user" value="alice"/>
> <entry key="signaturePropFile"
> value="org/apache/cxf/systest/ws/security/alice.properties"/>
> <entry key="encryptionPropFile"
> value="org/apache/cxf/systest/ws/security/bob.properties"/>
> <entry key="encryptionUser" value="Bob"/>
>
Does this "Bob" need to be lowercase as well? I don't know if the
encryptionUser is necessarily one of the { alice, bob } predefined
earlier.
Regards,
Glen