background image

Types Supported by JAX-WS

<< A Simple JAX-WS Client | JAX-WS 2.0 specification >>
<< A Simple JAX-WS Client | JAX-WS 2.0 specification >>
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
in "Packaging and Deploying the Service with asant (page xx)." Then navigate
to
<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
JAX-WS 2.0 supports the Web Services Interoperability (WS-I) Basic Profile
Version 1.1. The WS-I Basic Profile is a document that clarifies the SOAP 1.1
and WSDL 1.1 specifications in order to promote SOAP interoperability. For
links related to WS-I, see Further Information (page xxiv).