Debian Codegraph @

docs/apiDocs/javax/xml/rpc/handler/soap/SOAPMessageContext.html

raw
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.4.2_08) on Sat Apr 22 18:57:16 PDT 2006 -->
6 <TITLE>
7 SOAPMessageContext (Axis API)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="javax.xml.rpc.handler.soap.SOAPMessageContext interface">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 parent.document.title="SOAPMessageContext (Axis API)";
18 }
19 </SCRIPT>
20
21 </HEAD>
22
23 <BODY BGCOLOR="white" onload="windowTitle();">
24
25
26 <!-- ========= START OF TOP NAVBAR ======= -->
27 <A NAME="navbar_top"><!-- --></A>
28 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30 <TR>
31 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32 <A NAME="navbar_top_firstrow"><!-- --></A>
33 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34 <TR ALIGN="center" VALIGN="top">
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SOAPMessageContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
43 </TR>
44 </TABLE>
45 </TD>
46 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
47 </EM>
48 </TD>
49 </TR>
50
51 <TR>
52 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53 &nbsp;PREV CLASS&nbsp;
54 &nbsp;NEXT CLASS</FONT></TD>
55 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56 <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
57 &nbsp;<A HREF="SOAPMessageContext.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
58 &nbsp;<SCRIPT type="text/javascript">
59 <!--
60 if(window==top) {
61 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
62 }
63 //-->
64 </SCRIPT>
65 <NOSCRIPT>
66 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
67 </NOSCRIPT>
68
69 </FONT></TD>
70 </TR>
71 <TR>
72 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
73 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
74 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
76 </TR>
77 </TABLE>
78 <A NAME="skip-navbar_top"></A>
79 <!-- ========= END OF TOP NAVBAR ========= -->
80
81 <HR>
82 <!-- ======== START OF CLASS DATA ======== -->
83 <H2>
84 <FONT SIZE="-1">
85 javax.xml.rpc.handler.soap</FONT>
86 <BR>
87 Interface SOAPMessageContext</H2>
88 <DL>
89 <DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../../javax/xml/rpc/handler/MessageContext.html" title="interface in javax.xml.rpc.handler">MessageContext</A></DD>
90 </DL>
91 <DL>
92 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</A></DD>
93 </DL>
94 <HR>
95 <DL>
96 <DT>public interface <B>SOAPMessageContext</B><DT>extends <A HREF="../../../../../javax/xml/rpc/handler/MessageContext.html" title="interface in javax.xml.rpc.handler">MessageContext</A></DL>
97
98 <P>
99 The interface <code>javax.xml.rpc.soap.SOAPMessageContext</code>
100 provides access to the SOAP message for either RPC request or
101 response. The <code>javax.xml.soap.SOAPMessage</code> specifies
102 the standard Java API for the representation of a SOAP 1.1 message
103 with attachments.
104 <P>
105
106 <P>
107 <DL>
108 <DT><B>Version:</B></DT>
109 <DD>1.0</DD>
110 <DT><B>See Also:</B><DD><A HREF="../../../../../javax/xml/soap/SOAPMessage.html" title="class in javax.xml.soap"><CODE>SOAPMessage</CODE></A></DL>
111 <HR>
112
113 <P>
114 <!-- ======== NESTED CLASS SUMMARY ======== -->
115
116
117 <!-- =========== FIELD SUMMARY =========== -->
118
119
120 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
121
122
123 <!-- ========== METHOD SUMMARY =========== -->
124
125 <A NAME="method_summary"><!-- --></A>
126 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
127 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
128 <TD COLSPAN=2><FONT SIZE="+2">
129 <B>Method Summary</B></FONT></TD>
130 </TR>
131 <TR BGCOLOR="white" CLASS="TableRowColor">
132 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
133 <CODE>&nbsp;<A HREF="../../../../../javax/xml/soap/SOAPMessage.html" title="class in javax.xml.soap">SOAPMessage</A></CODE></FONT></TD>
134 <TD><CODE><B><A HREF="../../../../../javax/xml/rpc/handler/soap/SOAPMessageContext.html#getMessage()">getMessage</A></B>()</CODE>
135
136 <BR>
137 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the SOAPMessage from this message context.</TD>
138 </TR>
139 <TR BGCOLOR="white" CLASS="TableRowColor">
140 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141 <CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
142 <TD><CODE><B><A HREF="../../../../../javax/xml/rpc/handler/soap/SOAPMessageContext.html#getRoles()">getRoles</A></B>()</CODE>
143
144 <BR>
145 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the SOAP actor roles associated with an execution
146 of the HandlerChain and its contained Handler instances.</TD>
147 </TR>
148 <TR BGCOLOR="white" CLASS="TableRowColor">
149 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150 <CODE>&nbsp;void</CODE></FONT></TD>
151 <TD><CODE><B><A HREF="../../../../../javax/xml/rpc/handler/soap/SOAPMessageContext.html#setMessage(javax.xml.soap.SOAPMessage)">setMessage</A></B>(<A HREF="../../../../../javax/xml/soap/SOAPMessage.html" title="class in javax.xml.soap">SOAPMessage</A>&nbsp;message)</CODE>
152
153 <BR>
154 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the <code>SOAPMessage</code> for this message context.</TD>
155 </TR>
156 </TABLE>
157 &nbsp;<A NAME="methods_inherited_from_class_javax.xml.rpc.handler.MessageContext"><!-- --></A>
158 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
159 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
160 <TD><B>Methods inherited from interface javax.xml.rpc.handler.<A HREF="../../../../../javax/xml/rpc/handler/MessageContext.html" title="interface in javax.xml.rpc.handler">MessageContext</A></B></TD>
161 </TR>
162 <TR BGCOLOR="white" CLASS="TableRowColor">
163 <TD><CODE><A HREF="../../../../../javax/xml/rpc/handler/MessageContext.html#containsProperty(java.lang.String)">containsProperty</A>, <A HREF="../../../../../javax/xml/rpc/handler/MessageContext.html#getProperty(java.lang.String)">getProperty</A>, <A HREF="../../../../../javax/xml/rpc/handler/MessageContext.html#getPropertyNames()">getPropertyNames</A>, <A HREF="../../../../../javax/xml/rpc/handler/MessageContext.html#removeProperty(java.lang.String)">removeProperty</A>, <A HREF="../../../../../javax/xml/rpc/handler/MessageContext.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A></CODE></TD>
164 </TR>
165 </TABLE>
166 &nbsp;
167 <P>
168
169 <!-- ============ FIELD DETAIL =========== -->
170
171
172 <!-- ========= CONSTRUCTOR DETAIL ======== -->
173
174
175 <!-- ============ METHOD DETAIL ========== -->
176
177 <A NAME="method_detail"><!-- --></A>
178 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
179 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
180 <TD COLSPAN=1><FONT SIZE="+2">
181 <B>Method Detail</B></FONT></TD>
182 </TR>
183 </TABLE>
184
185 <A NAME="getMessage()"><!-- --></A><H3>
186 getMessage</H3>
187 <PRE>
188 public <A HREF="../../../../../javax/xml/soap/SOAPMessage.html" title="class in javax.xml.soap">SOAPMessage</A> <B>getMessage</B>()</PRE>
189 <DL>
190 <DD>Gets the SOAPMessage from this message context.
191 <P>
192 <DD><DL>
193 </DL>
194 </DD>
195 <DD><DL>
196
197 <DT><B>Returns:</B><DD>the <code>SOAPMessage</code>; <code>null</code> if no request
198 <code>SOAPMessage</code> is present in this
199 <code>SOAPMessageContext</code></DL>
200 </DD>
201 </DL>
202 <HR>
203
204 <A NAME="setMessage(javax.xml.soap.SOAPMessage)"><!-- --></A><H3>
205 setMessage</H3>
206 <PRE>
207 public void <B>setMessage</B>(<A HREF="../../../../../javax/xml/soap/SOAPMessage.html" title="class in javax.xml.soap">SOAPMessage</A>&nbsp;message)</PRE>
208 <DL>
209 <DD>Sets the <code>SOAPMessage</code> for this message context.
210 <P>
211 <DD><DL>
212 </DL>
213 </DD>
214 <DD><DL>
215 <DT><B>Parameters:</B><DD><CODE>message</CODE> - SOAP message
216 <DT><B>Throws:</B>
217 <DD><CODE><A HREF="../../../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - if any error during the setting
218 of the SOAPMessage in this message context
219 <DD><CODE>java.lang.UnsupportedOperationException</CODE> - if this
220 operation is not supported</DL>
221 </DD>
222 </DL>
223 <HR>
224
225 <A NAME="getRoles()"><!-- --></A><H3>
226 getRoles</H3>
227 <PRE>
228 public java.lang.String[] <B>getRoles</B>()</PRE>
229 <DL>
230 <DD>Gets the SOAP actor roles associated with an execution
231 of the HandlerChain and its contained Handler instances.
232 Note that SOAP actor roles apply to the SOAP node and
233 are managed using <code>HandlerChain.setRoles</code> and
234 <code>HandlerChain.getRoles</code>. Handler instances in
235 the HandlerChain use this information about the SOAP actor
236 roles to process the SOAP header blocks. Note that the
237 SOAP actor roles are invariant during the processing of
238 SOAP message through the HandlerChain.
239 <P>
240 <DD><DL>
241 </DL>
242 </DD>
243 <DD><DL>
244
245 <DT><B>Returns:</B><DD>Array of URIs for SOAP actor roles<DT><B>See Also:</B><DD><A HREF="../../../../../javax/xml/rpc/handler/HandlerChain.html#setRoles(java.lang.String[])"><CODE>HandlerChain.setRoles(java.lang.String[])</CODE></A>,
246 <A HREF="../../../../../javax/xml/rpc/handler/HandlerChain.html#getRoles()"><CODE>HandlerChain.getRoles()</CODE></A></DL>
247 </DD>
248 </DL>
249 <!-- ========= END OF CLASS DATA ========= -->
250 <HR>
251
252
253 <!-- ======= START OF BOTTOM NAVBAR ====== -->
254 <A NAME="navbar_bottom"><!-- --></A>
255 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
256 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
257 <TR>
258 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
259 <A NAME="navbar_bottom_firstrow"><!-- --></A>
260 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
261 <TR ALIGN="center" VALIGN="top">
262 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
263 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
264 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
265 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SOAPMessageContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
266 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
267 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
268 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
269 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
270 </TR>
271 </TABLE>
272 </TD>
273 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
274 </EM>
275 </TD>
276 </TR>
277
278 <TR>
279 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
280 &nbsp;PREV CLASS&nbsp;
281 &nbsp;NEXT CLASS</FONT></TD>
282 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
283 <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
284 &nbsp;<A HREF="SOAPMessageContext.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
285 &nbsp;<SCRIPT type="text/javascript">
286 <!--
287 if(window==top) {
288 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
289 }
290 //-->
291 </SCRIPT>
292 <NOSCRIPT>
293 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
294 </NOSCRIPT>
295
296 </FONT></TD>
297 </TR>
298 <TR>
299 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
300 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
301 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
302 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
303 </TR>
304 </TABLE>
305 <A NAME="skip-navbar_bottom"></A>
306 <!-- ======== END OF BOTTOM NAVBAR ======= -->
307
308 <HR>
309 Copyright © 2005 Apache Web Services Project. All Rights Reserved.
310 </BODY>
311 </HTML>