View Javadoc

1   package org.codehaus.xfire.annotations.backport175;
2   
3   /***
4    * backport175 Attributes version of the WebResult Annotation.
5    *
6    * @author Arjen Poutsma
7    * @see org.codehaus.xfire.annotations.WebResultAnnotation
8    */
9   public interface WebResult
10  {
11      /***
12       * Returns the name of the return value as it appears in the WSDL and messages on the wire. For RPC bindings, this
13       * is the name of the wsdl:part representing the return value. For document bindings, this is the local name of the
14       * XML element representing the return value.
15       *
16       * @return the name of the return value.
17       */
18      String name();
19  
20      /***
21       * Returns the XML namespace for the return value. Only used with document bindings, where the return value maps to
22       * an  XML element. Defaults to the targetNamespace of the Web Service.
23       *
24       * @return the XML namespace for the return value.
25       */
26      String targetNameSpace();
27  
28  }
29