SOAPBinding (Java EE 5)

Java EE API


javax.jws.soap Annotation Type SOAPBinding


@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD})
public @interface SOAPBinding

Implements: Annotation
@Retention(value=RUNTIME)
@Target(value={TYPE, METHOD})

指定 Web Service 到 SOAP 消息协议的映射关系。
英文文档:

Specifies the mapping of the Web Service onto the SOAP message protocol.

Author:
Copyright (c) 2004 by BEA Systems, Inc. All Rights Reserved.

Optional Element Summary
 SOAPBinding.ParameterStyle
 SOAPBinding.Style
 SOAPBinding.Use
 

abstract public SOAPBinding.Style style()
定义发送到 Web Service 的消息和从 Web Service 发送的消息的编码样式。
英文文档:

style

public abstract SOAPBinding.Style style
Defines the encoding style for messages send to and from the Web Service.

Default:
DOCUMENT

abstract public SOAPBinding.Use use()
定义发送到 Web Service 的消息和从 Web Service 发送的消息的格式样式。
英文文档:

use

public abstract SOAPBinding.Use use
Defines the formatting style for messages sent to and from the Web Service.

Default:
LITERAL

abstract public SOAPBinding.ParameterStyle parameterStyle()
确定方法参数是否表示整个消息正文,或者参数是否是包装在以操作命名的顶层元素中的元素。
英文文档:

parameterStyle

public abstract SOAPBinding.ParameterStyle parameterStyle
Determines whether method parameters represent the entire message body, or whether the parameters are elements wrapped inside a top-level element named after the operation

Default:
WRAPPED


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!