Debian Codegraph @

docs/apiDocs/javax/xml/soap/SOAPMessage.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 SOAPMessage (Axis API)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="javax.xml.soap.SOAPMessage class">
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="SOAPMessage (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/SOAPMessage.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;<A HREF="../../../javax/xml/soap/SOAPFactory.html" title="class in javax.xml.soap"><B>PREV CLASS</B></A>&nbsp;
54 &nbsp;<A HREF="../../../javax/xml/soap/SOAPPart.html" title="class in javax.xml.soap"><B>NEXT CLASS</B></A></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="SOAPMessage.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;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
74 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&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.soap</FONT>
86 <BR>
87 Class SOAPMessage</H2>
88 <PRE>
89 java.lang.Object
90 <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>javax.xml.soap.SOAPMessage</B>
91 </PRE>
92 <DL>
93 <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../org/apache/axis/Message.html" title="class in org.apache.axis">Message</A></DD>
94 </DL>
95 <HR>
96 <DL>
97 <DT>public abstract class <B>SOAPMessage</B><DT>extends java.lang.Object</DL>
98
99 <P>
100 <P>The root class for all SOAP messages. As transmitted on the
101 "wire", a SOAP message is an XML document or a MIME message
102 whose first body part is an XML/SOAP document.</P>
103
104 <P>A <CODE>SOAPMessage</CODE> object consists of a SOAP part
105 and optionally one or more attachment parts. The SOAP part for
106 a <CODE>SOAPMessage</CODE> object is a <CODE>SOAPPart</CODE>
107 object, which contains information used for message routing and
108 identification, and which can contain application-specific
109 content. All data in the SOAP Part of a message must be in XML
110 format.</P>
111
112 <P>A new <CODE>SOAPMessage</CODE> object contains the following
113 by default:</P>
114
115 <UL>
116 <LI>A <CODE>SOAPPart</CODE> object</LI>
117
118 <LI>A <CODE>SOAPEnvelope</CODE> object</LI>
119
120 <LI>A <CODE>SOAPBody</CODE> object</LI>
121
122 <LI>A <CODE>SOAPHeader</CODE> object</LI>
123 </UL>
124 The SOAP part of a message can be retrieved by calling the
125 method <CODE>SOAPMessage.getSOAPPart()</CODE>. The <CODE>
126 SOAPEnvelope</CODE> object is retrieved from the <CODE>
127 SOAPPart</CODE> object, and the <CODE>SOAPEnvelope</CODE>
128 object is used to retrieve the <CODE>SOAPBody</CODE> and <CODE>
129 SOAPHeader</CODE> objects.
130 <PRE>
131 SOAPPart sp = message.getSOAPPart();
132 SOAPEnvelope se = sp.getEnvelope();
133 SOAPBody sb = se.getBody();
134 SOAPHeader sh = se.getHeader();
135 </PRE>
136
137 <P>In addition to the mandatory <CODE>SOAPPart</CODE> object, a
138 <CODE>SOAPMessage</CODE> object may contain zero or more <CODE>
139 AttachmentPart</CODE> objects, each of which contains
140 application-specific data. The <CODE>SOAPMessage</CODE>
141 interface provides methods for creating <CODE>
142 AttachmentPart</CODE> objects and also for adding them to a
143 <CODE>SOAPMessage</CODE> object. A party that has received a
144 <CODE>SOAPMessage</CODE> object can examine its contents by
145 retrieving individual attachment parts.</P>
146
147 <P>Unlike the rest of a SOAP message, an attachment is not
148 required to be in XML format and can therefore be anything from
149 simple text to an image file. Consequently, any message content
150 that is not in XML format must be in an <CODE>
151 AttachmentPart</CODE> object.</P>
152
153 <P>A <CODE>MessageFactory</CODE> object creates new <CODE>
154 SOAPMessage</CODE> objects. If the <CODE>MessageFactory</CODE>
155 object was initialized with a messaging Profile, it produces
156 <CODE>SOAPMessage</CODE> objects that conform to that Profile.
157 For example, a <CODE>SOAPMessage</CODE> object created by a
158 <CODE>MessageFactory</CODE> object initialized with the ebXML
159 Profile will have the appropriate ebXML headers.</P>
160 <P>
161
162 <P>
163 <DL>
164 <DT><B>See Also:</B><DD><A HREF="../../../javax/xml/soap/MessageFactory.html" title="class in javax.xml.soap"><CODE>MessageFactory</CODE></A>,
165 <A HREF="../../../javax/xml/soap/AttachmentPart.html" title="class in javax.xml.soap"><CODE>AttachmentPart</CODE></A></DL>
166 <HR>
167
168 <P>
169 <!-- ======== NESTED CLASS SUMMARY ======== -->
170
171
172 <!-- =========== FIELD SUMMARY =========== -->
173
174 <A NAME="field_summary"><!-- --></A>
175 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
176 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
177 <TD COLSPAN=2><FONT SIZE="+2">
178 <B>Field Summary</B></FONT></TD>
179 </TR>
180 <TR BGCOLOR="white" CLASS="TableRowColor">
181 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
182 <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
183 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#CHARACTER_SET_ENCODING">CHARACTER_SET_ENCODING</A></B></CODE>
184
185 <BR>
186 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specifies the character type encoding for the SOAP Message.</TD>
187 </TR>
188 <TR BGCOLOR="white" CLASS="TableRowColor">
189 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190 <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
191 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#WRITE_XML_DECLARATION">WRITE_XML_DECLARATION</A></B></CODE>
192
193 <BR>
194 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specifies whether the SOAP Message should contain an XML declaration.</TD>
195 </TR>
196 </TABLE>
197 &nbsp;
198 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
199
200 <A NAME="constructor_summary"><!-- --></A>
201 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
202 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
203 <TD COLSPAN=2><FONT SIZE="+2">
204 <B>Constructor Summary</B></FONT></TD>
205 </TR>
206 <TR BGCOLOR="white" CLASS="TableRowColor">
207 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#SOAPMessage()">SOAPMessage</A></B>()</CODE>
208
209 <BR>
210 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
211 </TR>
212 </TABLE>
213 &nbsp;
214 <!-- ========== METHOD SUMMARY =========== -->
215
216 <A NAME="method_summary"><!-- --></A>
217 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
218 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
219 <TD COLSPAN=2><FONT SIZE="+2">
220 <B>Method Summary</B></FONT></TD>
221 </TR>
222 <TR BGCOLOR="white" CLASS="TableRowColor">
223 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
224 <CODE>abstract &nbsp;void</CODE></FONT></TD>
225 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#addAttachmentPart(javax.xml.soap.AttachmentPart)">addAttachmentPart</A></B>(<A HREF="../../../javax/xml/soap/AttachmentPart.html" title="class in javax.xml.soap">AttachmentPart</A>&nbsp;attachmentpart)</CODE>
226
227 <BR>
228 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the given <CODE>AttachmentPart</CODE> object to this
229 <CODE>SOAPMessage</CODE> object.</TD>
230 </TR>
231 <TR BGCOLOR="white" CLASS="TableRowColor">
232 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
233 <CODE>abstract &nbsp;int</CODE></FONT></TD>
234 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#countAttachments()">countAttachments</A></B>()</CODE>
235
236 <BR>
237 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a count of the number of attachments in this
238 message.</TD>
239 </TR>
240 <TR BGCOLOR="white" CLASS="TableRowColor">
241 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
242 <CODE>abstract &nbsp;<A HREF="../../../javax/xml/soap/AttachmentPart.html" title="class in javax.xml.soap">AttachmentPart</A></CODE></FONT></TD>
243 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#createAttachmentPart()">createAttachmentPart</A></B>()</CODE>
244
245 <BR>
246 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new empty <CODE>AttachmentPart</CODE> object.</TD>
247 </TR>
248 <TR BGCOLOR="white" CLASS="TableRowColor">
249 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
250 <CODE>&nbsp;<A HREF="../../../javax/xml/soap/AttachmentPart.html" title="class in javax.xml.soap">AttachmentPart</A></CODE></FONT></TD>
251 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#createAttachmentPart(javax.activation.DataHandler)">createAttachmentPart</A></B>(javax.activation.DataHandler&nbsp;datahandler)</CODE>
252
253 <BR>
254 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an <CODE>AttachmentPart</CODE> object and
255 populates it using the given <CODE>DataHandler</CODE>
256 object.</TD>
257 </TR>
258 <TR BGCOLOR="white" CLASS="TableRowColor">
259 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
260 <CODE>&nbsp;<A HREF="../../../javax/xml/soap/AttachmentPart.html" title="class in javax.xml.soap">AttachmentPart</A></CODE></FONT></TD>
261 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#createAttachmentPart(java.lang.Object, java.lang.String)">createAttachmentPart</A></B>(java.lang.Object&nbsp;content,
262 java.lang.String&nbsp;contentType)</CODE>
263
264 <BR>
265 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an <CODE>AttachmentPart</CODE> object and
266 populates it with the specified data of the specified content
267 type.</TD>
268 </TR>
269 <TR BGCOLOR="white" CLASS="TableRowColor">
270 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
271 <CODE>abstract &nbsp;java.util.Iterator</CODE></FONT></TD>
272 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#getAttachments()">getAttachments</A></B>()</CODE>
273
274 <BR>
275 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves all the <CODE>AttachmentPart</CODE> objects
276 that are part of this <CODE>SOAPMessage</CODE> object.</TD>
277 </TR>
278 <TR BGCOLOR="white" CLASS="TableRowColor">
279 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
280 <CODE>abstract &nbsp;java.util.Iterator</CODE></FONT></TD>
281 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#getAttachments(javax.xml.soap.MimeHeaders)">getAttachments</A></B>(<A HREF="../../../javax/xml/soap/MimeHeaders.html" title="class in javax.xml.soap">MimeHeaders</A>&nbsp;headers)</CODE>
282
283 <BR>
284 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves all the <CODE>AttachmentPart</CODE> objects
285 that have header entries that match the specified headers.</TD>
286 </TR>
287 <TR BGCOLOR="white" CLASS="TableRowColor">
288 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
289 <CODE>abstract &nbsp;java.lang.String</CODE></FONT></TD>
290 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#getContentDescription()">getContentDescription</A></B>()</CODE>
291
292 <BR>
293 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a description of this <CODE>SOAPMessage</CODE>
294 object's content.</TD>
295 </TR>
296 <TR BGCOLOR="white" CLASS="TableRowColor">
297 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
298 <CODE>abstract &nbsp;<A HREF="../../../javax/xml/soap/MimeHeaders.html" title="class in javax.xml.soap">MimeHeaders</A></CODE></FONT></TD>
299 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#getMimeHeaders()">getMimeHeaders</A></B>()</CODE>
300
301 <BR>
302 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all the transport-specific MIME headers for this
303 <CODE>SOAPMessage</CODE> object in a transport-independent
304 fashion.</TD>
305 </TR>
306 <TR BGCOLOR="white" CLASS="TableRowColor">
307 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
308 <CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
309 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#getProperty(java.lang.String)">getProperty</A></B>(java.lang.String&nbsp;property)</CODE>
310
311 <BR>
312 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves value of the specified property.</TD>
313 </TR>
314 <TR BGCOLOR="white" CLASS="TableRowColor">
315 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
316 <CODE>&nbsp;<A HREF="../../../javax/xml/soap/SOAPBody.html" title="interface in javax.xml.soap">SOAPBody</A></CODE></FONT></TD>
317 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#getSOAPBody()">getSOAPBody</A></B>()</CODE>
318
319 <BR>
320 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the SOAP Body contained in this <code>SOAPMessage</code> object.</TD>
321 </TR>
322 <TR BGCOLOR="white" CLASS="TableRowColor">
323 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
324 <CODE>&nbsp;<A HREF="../../../javax/xml/soap/SOAPHeader.html" title="interface in javax.xml.soap">SOAPHeader</A></CODE></FONT></TD>
325 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#getSOAPHeader()">getSOAPHeader</A></B>()</CODE>
326
327 <BR>
328 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the SOAP Header contained in this <code>SOAPMessage</code> object.</TD>
329 </TR>
330 <TR BGCOLOR="white" CLASS="TableRowColor">
331 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
332 <CODE>abstract &nbsp;<A HREF="../../../javax/xml/soap/SOAPPart.html" title="class in javax.xml.soap">SOAPPart</A></CODE></FONT></TD>
333 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#getSOAPPart()">getSOAPPart</A></B>()</CODE>
334
335 <BR>
336 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the SOAP part of this <CODE>SOAPMessage</CODE> object.</TD>
337 </TR>
338 <TR BGCOLOR="white" CLASS="TableRowColor">
339 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
340 <CODE>abstract &nbsp;void</CODE></FONT></TD>
341 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#removeAllAttachments()">removeAllAttachments</A></B>()</CODE>
342
343 <BR>
344 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes all <CODE>AttachmentPart</CODE> objects that have
345 been added to this <CODE>SOAPMessage</CODE> object.</TD>
346 </TR>
347 <TR BGCOLOR="white" CLASS="TableRowColor">
348 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
349 <CODE>abstract &nbsp;void</CODE></FONT></TD>
350 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#saveChanges()">saveChanges</A></B>()</CODE>
351
352 <BR>
353 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Updates this <CODE>SOAPMessage</CODE> object with all the
354 changes that have been made to it.</TD>
355 </TR>
356 <TR BGCOLOR="white" CLASS="TableRowColor">
357 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
358 <CODE>abstract &nbsp;boolean</CODE></FONT></TD>
359 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#saveRequired()">saveRequired</A></B>()</CODE>
360
361 <BR>
362 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates whether this <CODE>SOAPMessage</CODE> object
363 has had the method <CODE>saveChanges</CODE> called on
364 it.</TD>
365 </TR>
366 <TR BGCOLOR="white" CLASS="TableRowColor">
367 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
368 <CODE>abstract &nbsp;void</CODE></FONT></TD>
369 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#setContentDescription(java.lang.String)">setContentDescription</A></B>(java.lang.String&nbsp;description)</CODE>
370
371 <BR>
372 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the description of this <CODE>SOAPMessage</CODE>
373 object's content with the given description.</TD>
374 </TR>
375 <TR BGCOLOR="white" CLASS="TableRowColor">
376 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
377 <CODE>&nbsp;void</CODE></FONT></TD>
378 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A></B>(java.lang.String&nbsp;property,
379 java.lang.Object&nbsp;value)</CODE>
380
381 <BR>
382 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Associates the specified value with the specified property.</TD>
383 </TR>
384 <TR BGCOLOR="white" CLASS="TableRowColor">
385 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
386 <CODE>abstract &nbsp;void</CODE></FONT></TD>
387 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPMessage.html#writeTo(java.io.OutputStream)">writeTo</A></B>(java.io.OutputStream&nbsp;out)</CODE>
388
389 <BR>
390 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes this <CODE>SOAPMessage</CODE> object to the given
391 output stream.</TD>
392 </TR>
393 </TABLE>
394 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
395 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
396 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
397 <TD><B>Methods inherited from class java.lang.Object</B></TD>
398 </TR>
399 <TR BGCOLOR="white" CLASS="TableRowColor">
400 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
401 </TR>
402 </TABLE>
403 &nbsp;
404 <P>
405
406 <!-- ============ FIELD DETAIL =========== -->
407
408 <A NAME="field_detail"><!-- --></A>
409 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
410 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
411 <TD COLSPAN=1><FONT SIZE="+2">
412 <B>Field Detail</B></FONT></TD>
413 </TR>
414 </TABLE>
415
416 <A NAME="CHARACTER_SET_ENCODING"><!-- --></A><H3>
417 CHARACTER_SET_ENCODING</H3>
418 <PRE>
419 public static final java.lang.String <B>CHARACTER_SET_ENCODING</B></PRE>
420 <DL>
421 <DD>Specifies the character type encoding for the SOAP Message.
422 <P>
423 <DL>
424 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.xml.soap.SOAPMessage.CHARACTER_SET_ENCODING">Constant Field Values</A></DL>
425 </DL>
426 <HR>
427
428 <A NAME="WRITE_XML_DECLARATION"><!-- --></A><H3>
429 WRITE_XML_DECLARATION</H3>
430 <PRE>
431 public static final java.lang.String <B>WRITE_XML_DECLARATION</B></PRE>
432 <DL>
433 <DD>Specifies whether the SOAP Message should contain an XML declaration.
434 <P>
435 <DL>
436 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.xml.soap.SOAPMessage.WRITE_XML_DECLARATION">Constant Field Values</A></DL>
437 </DL>
438
439 <!-- ========= CONSTRUCTOR DETAIL ======== -->
440
441 <A NAME="constructor_detail"><!-- --></A>
442 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
443 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
444 <TD COLSPAN=1><FONT SIZE="+2">
445 <B>Constructor Detail</B></FONT></TD>
446 </TR>
447 </TABLE>
448
449 <A NAME="SOAPMessage()"><!-- --></A><H3>
450 SOAPMessage</H3>
451 <PRE>
452 public <B>SOAPMessage</B>()</PRE>
453 <DL>
454 </DL>
455
456 <!-- ============ METHOD DETAIL ========== -->
457
458 <A NAME="method_detail"><!-- --></A>
459 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
460 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
461 <TD COLSPAN=1><FONT SIZE="+2">
462 <B>Method Detail</B></FONT></TD>
463 </TR>
464 </TABLE>
465
466 <A NAME="getContentDescription()"><!-- --></A><H3>
467 getContentDescription</H3>
468 <PRE>
469 public abstract java.lang.String <B>getContentDescription</B>()</PRE>
470 <DL>
471 <DD>Retrieves a description of this <CODE>SOAPMessage</CODE>
472 object's content.
473 <P>
474 <DD><DL>
475
476 <DT><B>Returns:</B><DD>a <CODE>String</CODE> describing the content of this
477 message or <CODE>null</CODE> if no description has been
478 set<DT><B>See Also:</B><DD><A HREF="../../../javax/xml/soap/SOAPMessage.html#setContentDescription(java.lang.String)"><CODE>setContentDescription(java.lang.String)</CODE></A></DL>
479 </DD>
480 </DL>
481 <HR>
482
483 <A NAME="setContentDescription(java.lang.String)"><!-- --></A><H3>
484 setContentDescription</H3>
485 <PRE>
486 public abstract void <B>setContentDescription</B>(java.lang.String&nbsp;description)</PRE>
487 <DL>
488 <DD>Sets the description of this <CODE>SOAPMessage</CODE>
489 object's content with the given description.
490 <P>
491 <DD><DL>
492 <DT><B>Parameters:</B><DD><CODE>description</CODE> - a <CODE>String</CODE>
493 describing the content of this message<DT><B>See Also:</B><DD><A HREF="../../../javax/xml/soap/SOAPMessage.html#getContentDescription()"><CODE>getContentDescription()</CODE></A></DL>
494 </DD>
495 </DL>
496 <HR>
497
498 <A NAME="getSOAPPart()"><!-- --></A><H3>
499 getSOAPPart</H3>
500 <PRE>
501 public abstract <A HREF="../../../javax/xml/soap/SOAPPart.html" title="class in javax.xml.soap">SOAPPart</A> <B>getSOAPPart</B>()</PRE>
502 <DL>
503 <DD>Gets the SOAP part of this <CODE>SOAPMessage</CODE> object.
504
505
506 <P>If a <CODE>SOAPMessage</CODE> object contains one or
507 more attachments, the SOAP Part must be the first MIME body
508 part in the message.</P>
509 <P>
510 <DD><DL>
511
512 <DT><B>Returns:</B><DD>the <CODE>SOAPPart</CODE> object for this <CODE>
513 SOAPMessage</CODE> object</DL>
514 </DD>
515 </DL>
516 <HR>
517
518 <A NAME="removeAllAttachments()"><!-- --></A><H3>
519 removeAllAttachments</H3>
520 <PRE>
521 public abstract void <B>removeAllAttachments</B>()</PRE>
522 <DL>
523 <DD>Removes all <CODE>AttachmentPart</CODE> objects that have
524 been added to this <CODE>SOAPMessage</CODE> object.
525
526 <P>This method does not touch the SOAP part.</P>
527 <P>
528 <DD><DL>
529 </DL>
530 </DD>
531 </DL>
532 <HR>
533
534 <A NAME="countAttachments()"><!-- --></A><H3>
535 countAttachments</H3>
536 <PRE>
537 public abstract int <B>countAttachments</B>()</PRE>
538 <DL>
539 <DD>Gets a count of the number of attachments in this
540 message. This count does not include the SOAP part.
541 <P>
542 <DD><DL>
543
544 <DT><B>Returns:</B><DD>the number of <CODE>AttachmentPart</CODE> objects
545 that are part of this <CODE>SOAPMessage</CODE>
546 object</DL>
547 </DD>
548 </DL>
549 <HR>
550
551 <A NAME="getAttachments()"><!-- --></A><H3>
552 getAttachments</H3>
553 <PRE>
554 public abstract java.util.Iterator <B>getAttachments</B>()</PRE>
555 <DL>
556 <DD>Retrieves all the <CODE>AttachmentPart</CODE> objects
557 that are part of this <CODE>SOAPMessage</CODE> object.
558 <P>
559 <DD><DL>
560
561 <DT><B>Returns:</B><DD>an iterator over all the attachments in this
562 message</DL>
563 </DD>
564 </DL>
565 <HR>
566
567 <A NAME="getAttachments(javax.xml.soap.MimeHeaders)"><!-- --></A><H3>
568 getAttachments</H3>
569 <PRE>
570 public abstract java.util.Iterator <B>getAttachments</B>(<A HREF="../../../javax/xml/soap/MimeHeaders.html" title="class in javax.xml.soap">MimeHeaders</A>&nbsp;headers)</PRE>
571 <DL>
572 <DD>Retrieves all the <CODE>AttachmentPart</CODE> objects
573 that have header entries that match the specified headers.
574 Note that a returned attachment could have headers in
575 addition to those specified.
576 <P>
577 <DD><DL>
578 <DT><B>Parameters:</B><DD><CODE>headers</CODE> - a <CODE>MimeHeaders</CODE>
579 object containing the MIME headers for which to
580 search
581 <DT><B>Returns:</B><DD>an iterator over all attachments that have a header
582 that matches one of the given headers</DL>
583 </DD>
584 </DL>
585 <HR>
586
587 <A NAME="addAttachmentPart(javax.xml.soap.AttachmentPart)"><!-- --></A><H3>
588 addAttachmentPart</H3>
589 <PRE>
590 public abstract void <B>addAttachmentPart</B>(<A HREF="../../../javax/xml/soap/AttachmentPart.html" title="class in javax.xml.soap">AttachmentPart</A>&nbsp;attachmentpart)</PRE>
591 <DL>
592 <DD>Adds the given <CODE>AttachmentPart</CODE> object to this
593 <CODE>SOAPMessage</CODE> object. An <CODE>
594 AttachmentPart</CODE> object must be created before it can be
595 added to a message.
596 <P>
597 <DD><DL>
598 <DT><B>Parameters:</B><DD><CODE>attachmentpart</CODE> - an <CODE>
599 AttachmentPart</CODE> object that is to become part of
600 this <CODE>SOAPMessage</CODE> object
601 <DT><B>Throws:</B>
602 <DD><CODE>java.lang.IllegalArgumentException</CODE></DL>
603 </DD>
604 </DL>
605 <HR>
606
607 <A NAME="createAttachmentPart()"><!-- --></A><H3>
608 createAttachmentPart</H3>
609 <PRE>
610 public abstract <A HREF="../../../javax/xml/soap/AttachmentPart.html" title="class in javax.xml.soap">AttachmentPart</A> <B>createAttachmentPart</B>()</PRE>
611 <DL>
612 <DD>Creates a new empty <CODE>AttachmentPart</CODE> object.
613 Note that the method <CODE>addAttachmentPart</CODE> must be
614 called with this new <CODE>AttachmentPart</CODE> object as
615 the parameter in order for it to become an attachment to this
616 <CODE>SOAPMessage</CODE> object.
617 <P>
618 <DD><DL>
619
620 <DT><B>Returns:</B><DD>a new <CODE>AttachmentPart</CODE> object that can be
621 populated and added to this <CODE>SOAPMessage</CODE>
622 object</DL>
623 </DD>
624 </DL>
625 <HR>
626
627 <A NAME="createAttachmentPart(javax.activation.DataHandler)"><!-- --></A><H3>
628 createAttachmentPart</H3>
629 <PRE>
630 public <A HREF="../../../javax/xml/soap/AttachmentPart.html" title="class in javax.xml.soap">AttachmentPart</A> <B>createAttachmentPart</B>(javax.activation.DataHandler&nbsp;datahandler)</PRE>
631 <DL>
632 <DD>Creates an <CODE>AttachmentPart</CODE> object and
633 populates it using the given <CODE>DataHandler</CODE>
634 object.
635 <P>
636 <DD><DL>
637 <DT><B>Parameters:</B><DD><CODE>datahandler</CODE> - the <CODE>
638 javax.activation.DataHandler</CODE> object that will
639 generate the content for this <CODE>SOAPMessage</CODE>
640 object
641 <DT><B>Returns:</B><DD>a new <CODE>AttachmentPart</CODE> object that
642 contains data generated by the given <CODE>
643 DataHandler</CODE> object
644 <DT><B>Throws:</B>
645 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if
646 there was a problem with the specified <CODE>
647 DataHandler</CODE> object<DT><B>See Also:</B><DD><CODE>DataHandler</CODE>,
648 <CODE>DataContentHandler</CODE></DL>
649 </DD>
650 </DL>
651 <HR>
652
653 <A NAME="getMimeHeaders()"><!-- --></A><H3>
654 getMimeHeaders</H3>
655 <PRE>
656 public abstract <A HREF="../../../javax/xml/soap/MimeHeaders.html" title="class in javax.xml.soap">MimeHeaders</A> <B>getMimeHeaders</B>()</PRE>
657 <DL>
658 <DD>Returns all the transport-specific MIME headers for this
659 <CODE>SOAPMessage</CODE> object in a transport-independent
660 fashion.
661 <P>
662 <DD><DL>
663
664 <DT><B>Returns:</B><DD>a <CODE>MimeHeaders</CODE> object containing the
665 <CODE>MimeHeader</CODE> objects</DL>
666 </DD>
667 </DL>
668 <HR>
669
670 <A NAME="createAttachmentPart(java.lang.Object, java.lang.String)"><!-- --></A><H3>
671 createAttachmentPart</H3>
672 <PRE>
673 public <A HREF="../../../javax/xml/soap/AttachmentPart.html" title="class in javax.xml.soap">AttachmentPart</A> <B>createAttachmentPart</B>(java.lang.Object&nbsp;content,
674 java.lang.String&nbsp;contentType)</PRE>
675 <DL>
676 <DD>Creates an <CODE>AttachmentPart</CODE> object and
677 populates it with the specified data of the specified content
678 type.
679 <P>
680 <DD><DL>
681 <DT><B>Parameters:</B><DD><CODE>content</CODE> - an <CODE>Object</CODE>
682 containing the content for this <CODE>SOAPMessage</CODE>
683 object<DD><CODE>contentType</CODE> - a <CODE>String</CODE>
684 object giving the type of content; examples are
685 "text/xml", "text/plain", and "image/jpeg"
686 <DT><B>Returns:</B><DD>a new <CODE>AttachmentPart</CODE> object that
687 contains the given data
688 <DT><B>Throws:</B>
689 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the contentType does not match the type of the content
690 object, or if there was no <CODE>
691 DataContentHandler</CODE> object for the given content
692 object<DT><B>See Also:</B><DD><CODE>DataHandler</CODE>,
693 <CODE>DataContentHandler</CODE></DL>
694 </DD>
695 </DL>
696 <HR>
697
698 <A NAME="saveChanges()"><!-- --></A><H3>
699 saveChanges</H3>
700 <PRE>
701 public abstract void <B>saveChanges</B>()
702 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
703 <DL>
704 <DD>Updates this <CODE>SOAPMessage</CODE> object with all the
705 changes that have been made to it. This method is called
706 automatically when a message is sent or written to by the
707 methods <CODE>ProviderConnection.send</CODE>, <CODE>
708 SOAPConnection.call</CODE>, or <CODE>
709 SOAPMessage.writeTo</CODE>. However, if changes are made to
710 a message that was received or to one that has already been
711 sent, the method <CODE>saveChanges</CODE> needs to be
712 called explicitly in order to save the changes. The method
713 <CODE>saveChanges</CODE> also generates any changes that
714 can be read back (for example, a MessageId in profiles that
715 support a message id). All MIME headers in a message that
716 is created for sending purposes are guaranteed to have
717 valid values only after <CODE>saveChanges</CODE> has been
718 called.
719
720 <P>In addition, this method marks the point at which the
721 data from all constituent <CODE>AttachmentPart</CODE>
722 objects are pulled into the message.</P>
723 <P>
724 <DD><DL>
725
726 <DT><B>Throws:</B>
727 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there
728 was a problem saving changes to this message.</DL>
729 </DD>
730 </DL>
731 <HR>
732
733 <A NAME="saveRequired()"><!-- --></A><H3>
734 saveRequired</H3>
735 <PRE>
736 public abstract boolean <B>saveRequired</B>()</PRE>
737 <DL>
738 <DD>Indicates whether this <CODE>SOAPMessage</CODE> object
739 has had the method <CODE>saveChanges</CODE> called on
740 it.
741 <P>
742 <DD><DL>
743
744 <DT><B>Returns:</B><DD><CODE>true</CODE> if <CODE>saveChanges</CODE> has
745 been called on this message at least once; <CODE>
746 false</CODE> otherwise.</DL>
747 </DD>
748 </DL>
749 <HR>
750
751 <A NAME="writeTo(java.io.OutputStream)"><!-- --></A><H3>
752 writeTo</H3>
753 <PRE>
754 public abstract void <B>writeTo</B>(java.io.OutputStream&nbsp;out)
755 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A>,
756 java.io.IOException</PRE>
757 <DL>
758 <DD>Writes this <CODE>SOAPMessage</CODE> object to the given
759 output stream. The externalization format is as defined by
760 the SOAP 1.1 with Attachments specification.
761
762 <P>If there are no attachments, just an XML stream is
763 written out. For those messages that have attachments,
764 <CODE>writeTo</CODE> writes a MIME-encoded byte stream.</P>
765 <P>
766 <DD><DL>
767 <DT><B>Parameters:</B><DD><CODE>out</CODE> - the <CODE>OutputStream</CODE>
768 object to which this <CODE>SOAPMessage</CODE> object will
769 be written
770 <DT><B>Throws:</B>
771 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there was a problem in
772 externalizing this SOAP message
773 <DD><CODE>java.io.IOException</CODE> - if an I/O error
774 occurs</DL>
775 </DD>
776 </DL>
777 <HR>
778
779 <A NAME="getSOAPBody()"><!-- --></A><H3>
780 getSOAPBody</H3>
781 <PRE>
782 public <A HREF="../../../javax/xml/soap/SOAPBody.html" title="interface in javax.xml.soap">SOAPBody</A> <B>getSOAPBody</B>()
783 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
784 <DL>
785 <DD>Gets the SOAP Body contained in this <code>SOAPMessage</code> object.
786 <P>
787 <DD><DL>
788
789 <DT><B>Returns:</B><DD>the <code>SOAPBody</code> object contained by this
790 <code>SOAPMessage</code> object
791 <DT><B>Throws:</B>
792 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if the SOAP Body does not exist or cannot be
793 retrieved</DL>
794 </DD>
795 </DL>
796 <HR>
797
798 <A NAME="getSOAPHeader()"><!-- --></A><H3>
799 getSOAPHeader</H3>
800 <PRE>
801 public <A HREF="../../../javax/xml/soap/SOAPHeader.html" title="interface in javax.xml.soap">SOAPHeader</A> <B>getSOAPHeader</B>()
802 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
803 <DL>
804 <DD>Gets the SOAP Header contained in this <code>SOAPMessage</code> object.
805 <P>
806 <DD><DL>
807
808 <DT><B>Returns:</B><DD>the <code>SOAPHeader</code> object contained by this
809 <code>SOAPMessage</code> object
810 <DT><B>Throws:</B>
811 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if the SOAP Header does not exist or cannot be
812 retrieved</DL>
813 </DD>
814 </DL>
815 <HR>
816
817 <A NAME="setProperty(java.lang.String, java.lang.Object)"><!-- --></A><H3>
818 setProperty</H3>
819 <PRE>
820 public void <B>setProperty</B>(java.lang.String&nbsp;property,
821 java.lang.Object&nbsp;value)
822 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
823 <DL>
824 <DD>Associates the specified value with the specified property. If there was
825 already a value associated with this property, the old value is replaced.
826 <p>
827 The valid property names include <code>WRITE_XML_DECLARATION</code> and
828 <code>CHARACTER_SET_ENCODING</code>. All of these standard SAAJ
829 properties are prefixed by "javax.xml.soap". Vendors may also add
830 implementation specific properties. These properties must be prefixed
831 with package names that are unique to the vendor.
832 <p>
833 Setting the property <code>WRITE_XML_DECLARATION</code> to
834 <code>"true"</code> will cause an XML Declaration to be written out at
835 the start of the SOAP message. The default value of "false" suppresses
836 this declaration.
837 <p>
838 The property <code>CHARACTER_SET_ENCODING</code> defaults to the value
839 <code>"utf-8"</code> which causes the SOAP message to be encoded using
840 UTF-8. Setting <code>CHARACTER_SET_ENCODING</code> to
841 <code>"utf-16"</code> causes the SOAP message to be encoded using UTF-16.
842 <p>
843 Some implementations may allow encodings in addition to UTF-8 and UTF-16.
844 Refer to your vendor's documentation for details.
845 <P>
846 <DD><DL>
847 <DT><B>Parameters:</B><DD><CODE>property</CODE> - the property with which the specified value is to be
848 associated<DD><CODE>value</CODE> - the value to be associated with the specified property
849 <DT><B>Throws:</B>
850 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if the property name is not recognized</DL>
851 </DD>
852 </DL>
853 <HR>
854
855 <A NAME="getProperty(java.lang.String)"><!-- --></A><H3>
856 getProperty</H3>
857 <PRE>
858 public java.lang.Object <B>getProperty</B>(java.lang.String&nbsp;property)
859 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
860 <DL>
861 <DD>Retrieves value of the specified property.
862 <P>
863 <DD><DL>
864 <DT><B>Parameters:</B><DD><CODE>property</CODE> - the name of the property to retrieve
865 <DT><B>Returns:</B><DD>the value of the property or <code>null</code> if no such
866 property exists
867 <DT><B>Throws:</B>
868 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if the property name is not recognized</DL>
869 </DD>
870 </DL>
871 <!-- ========= END OF CLASS DATA ========= -->
872 <HR>
873
874
875 <!-- ======= START OF BOTTOM NAVBAR ====== -->
876 <A NAME="navbar_bottom"><!-- --></A>
877 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
878 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
879 <TR>
880 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
881 <A NAME="navbar_bottom_firstrow"><!-- --></A>
882 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
883 <TR ALIGN="center" VALIGN="top">
884 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
885 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
886 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
887 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SOAPMessage.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
888 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
889 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
890 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
891 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
892 </TR>
893 </TABLE>
894 </TD>
895 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
896 </EM>
897 </TD>
898 </TR>
899
900 <TR>
901 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
902 &nbsp;<A HREF="../../../javax/xml/soap/SOAPFactory.html" title="class in javax.xml.soap"><B>PREV CLASS</B></A>&nbsp;
903 &nbsp;<A HREF="../../../javax/xml/soap/SOAPPart.html" title="class in javax.xml.soap"><B>NEXT CLASS</B></A></FONT></TD>
904 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
905 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
906 &nbsp;<A HREF="SOAPMessage.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
907 &nbsp;<SCRIPT type="text/javascript">
908 <!--
909 if(window==top) {
910 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
911 }
912 //-->
913 </SCRIPT>
914 <NOSCRIPT>
915 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
916 </NOSCRIPT>
917
918 </FONT></TD>
919 </TR>
920 <TR>
921 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
922 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
923 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
924 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
925 </TR>
926 </TABLE>
927 <A NAME="skip-navbar_bottom"></A>
928 <!-- ======== END OF BOTTOM NAVBAR ======= -->
929
930 <HR>
931 Copyright © 2005 Apache Web Services Project. All Rights Reserved.
932 </BODY>
933 </HTML>