This content has been marked as final.
Show 1 reply
-
1. Re: How to pass whole ValueObjects as parameter to a webserv
asoldano Nov 7, 2008 9:01 AM (in response to pxstein)"pxstein" wrote:
Nearly all of the web service examples show on how to pass single input parameters as "string" or "int" to a web service.
But what if I want to pass a whole Java class ValueObject like e.g.
public class MyValueObj {
public String name;
public int value;
protected boolean result; }
Is there somewhere an example (client and webservice implementation)
of passing such more complex ValueObjects to a web service?
Peter
Take a look at the jbossws testsuite, package org.jboss.test.ws.jaxws.samples.advanced.retail for instance.