org.codehaus.xfire.annotations.backport175
Interface WebResult


public interface WebResult

backport175 Attributes version of the WebResult Annotation.

Author:
Arjen Poutsma
See Also:
WebResultAnnotation

Method Summary
 java.lang.String name()
          Returns the name of the return value as it appears in the WSDL and messages on the wire.
 java.lang.String targetNameSpace()
          Returns the XML namespace for the return value.
 

Method Detail

name

java.lang.String name()
Returns the name of the return value as it appears in the WSDL and messages on the wire. For RPC bindings, this is the name of the wsdl:part representing the return value. For document bindings, this is the local name of the XML element representing the return value.

Returns:
the name of the return value.

targetNameSpace

java.lang.String targetNameSpace()
Returns the XML namespace for the return value. Only used with document bindings, where the return value maps to an XML element. Defaults to the targetNamespace of the Web Service.

Returns:
the XML namespace for the return value.