The @WebResult
annotation is defined by the
javax.jws.WebResult
interface. It is placed on the methods defined in
the SEI. The @WebResult
annotation allows you to specify the properties
of the generated wsdl:part
that is generated for the method's return
value.
The following table describes the properties of the @WebResult
annotation.
Property |
Description |
---|---|
name |
Specifies the name of the return value as it appears in the WSDL. For
RPC bindings, this is name of the |
targetNamespace |
Specifies the namespace for the return value. It is only used with document bindings where the return value maps to an XML element. The defaults is to use the service's namespace. |
header |
Specifies if the return value is passed as part of the SOAP header. |
partName |
Specifies the value of the name attribute of the |