soapbinding.html
来自「j2ee帮助文档软件设计/软件工程 文件格式」· HTML 代码 · 共 461 行 · 第 1/2 页
HTML
461 行
</TABLE><A NAME="SOAP11HTTP_BINDING"><!-- --></A><H3>SOAP11HTTP_BINDING</H3><PRE>static final <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>SOAP11HTTP_BINDING</B></PRE><DL><DD>A constant representing the identity of the SOAP 1.1 over HTTP binding.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_BINDING">Constant Field Values</A></DL></DL><HR><A NAME="SOAP12HTTP_BINDING"><!-- --></A><H3>SOAP12HTTP_BINDING</H3><PRE>static final <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>SOAP12HTTP_BINDING</B></PRE><DL><DD>A constant representing the identity of the SOAP 1.2 over HTTP binding.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING">Constant Field Values</A></DL></DL><HR><A NAME="SOAP11HTTP_MTOM_BINDING"><!-- --></A><H3>SOAP11HTTP_MTOM_BINDING</H3><PRE>static final <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>SOAP11HTTP_MTOM_BINDING</B></PRE><DL><DD>A constant representing the identity of the SOAP 1.1 over HTTP binding with MTOM enabled by default.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_MTOM_BINDING">Constant Field Values</A></DL></DL><HR><A NAME="SOAP12HTTP_MTOM_BINDING"><!-- --></A><H3>SOAP12HTTP_MTOM_BINDING</H3><PRE>static final <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>SOAP12HTTP_MTOM_BINDING</B></PRE><DL><DD>A constant representing the identity of the SOAP 1.2 over HTTP binding with MTOM enabled by default.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_MTOM_BINDING">Constant Field Values</A></DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getRoles()"><!-- --></A><H3>getRoles</H3><PRE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>> <B>getRoles</B>()</PRE><DL><DD>Gets the roles played by the SOAP binding instance.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Set<String> The set of roles played by the binding instance.</DL></DD></DL><HR><A NAME="setRoles(java.util.Set)"><!-- --></A><H3>setRoles</H3><PRE>void <B>setRoles</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>> roles)</PRE><DL><DD>Sets the roles played by the SOAP binding instance.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>roles</CODE> - The set of roles played by the binding instance.<DT><B>Throws:</B><DD><CODE>WebServiceException</CODE> - On an error in the configuration of the list of roles.</DL></DD></DL><HR><A NAME="isMTOMEnabled()"><!-- --></A><H3>isMTOMEnabled</H3><PRE>boolean <B>isMTOMEnabled</B>()</PRE><DL><DD>Returns <code>true</code> if the use of MTOM is enabled.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD><code>true</code> if and only if the use of MTOM is enabled.</DL></DD></DL><HR><A NAME="setMTOMEnabled(boolean)"><!-- --></A><H3>setMTOMEnabled</H3><PRE>void <B>setMTOMEnabled</B>(boolean flag)</PRE><DL><DD>Enables or disables use of MTOM.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - A <code>boolean</code> specifying whether the use of MTOM should be enabled or disabled.<DT><B>Throws:</B><DD><CODE>WebServiceException</CODE> - If the specified setting is not supported by this binding instance.</DL></DD></DL><HR><A NAME="getSOAPFactory()"><!-- --></A><H3>getSOAPFactory</H3><PRE><A HREF="../../../../javax/xml/soap/SOAPFactory.html" title="class in javax.xml.soap">SOAPFactory</A> <B>getSOAPFactory</B>()</PRE><DL><DD>Gets the SAAJ <code>SOAPFactory</code> instance used by this SOAP binding.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>SOAPFactory instance used by this SOAP binding.</DL></DD></DL><HR><A NAME="getMessageFactory()"><!-- --></A><H3>getMessageFactory</H3><PRE><A HREF="../../../../javax/xml/soap/MessageFactory.html" title="class in javax.xml.soap">MessageFactory</A> <B>getMessageFactory</B>()</PRE><DL><DD>Gets the SAAJ <code>MessageFactory</code> instance used by this SOAP binding.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>MessageFactory instance used by this SOAP binding.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS <A HREF="../../../../javax/xml/ws/soap/SOAPFaultException.html" title="class in javax.xml.ws.soap"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?javax/xml/ws/soap/SOAPBinding.html" target="_top"><B>FRAMES</B></A> <A HREF="SOAPBinding.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../legal/license.html" target="_top">license terms.</a></font></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?