Types Supported by JAX-WS
T
YPES
S
UPPORTED BY
JAX-WS
xxiii
name = "No Name";
}
String response = port.sayHello(name);
System.out.println(response);
} catch(Exception e) {
e.printStackTrace();
}
}
}
Building and Running the Client
To build the client, you must first have deployed
HelloServiceApp
, as described
<JAVA_EE_HOME>/examples/jaxws/simpleclient/
and do the following:
asant build
The run the client, do the following:
asant run
Types Supported by JAX-WS
JAX-WS delegates the mapping of Java programming language types to and
from XML definitions to JAXB. Application developers don't need to know the
details of these mappings, but they should be aware that not every class in the
Java language can be used as a method parameter or return type in JAX-WS. For
information on which types are supported by JAXB, see Default Data Type
Bindings (page 6).
Web Services Interoperability and JAX-
WS