# The @WebResult annotation

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<br>RPC bindings, this is name of the wsdl:part representing the<br>return value. For document bindings, this is the local name of the XML<br>element representing the return value. The default value is return. |
| targetNamespace | Specifies the namespace for the return value. It is only used with<br>document bindings where the return value maps to an XML element. The<br>defaults is to use the service's namespace. |
| header | Specifies if the return value is passed as part of the SOAP<br>header. |
| partName | Specifies the value of the name attribute of the wsdl:part<br>element for the return value when the binding is document. |