Debian Codegraph @

docs/apiDocs/javax/xml/soap/SOAPConnection.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 SOAPConnection (Axis API)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="javax.xml.soap.SOAPConnection 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="SOAPConnection (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/SOAPConnection.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/MimeHeaders.html" title="class in javax.xml.soap"><B>PREV CLASS</B></A>&nbsp;
54 &nbsp;<A HREF="../../../javax/xml/soap/SOAPConnectionFactory.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="SOAPConnection.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;<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;FIELD&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 SOAPConnection</H2>
88 <PRE>
89 java.lang.Object
90 <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>javax.xml.soap.SOAPConnection</B>
91 </PRE>
92 <DL>
93 <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../org/apache/axis/soap/SOAPConnectionImpl.html" title="class in org.apache.axis.soap">SOAPConnectionImpl</A></DD>
94 </DL>
95 <HR>
96 <DL>
97 <DT>public abstract class <B>SOAPConnection</B><DT>extends java.lang.Object</DL>
98
99 <P>
100 A point-to-point connection that a client can use for sending messages
101 directly to a remote party (represented by a URL, for instance).
102 <p>
103 A client can obtain a <code>SOAPConnection</code> object simply by
104 calling the following static method.
105 <pre>
106
107 SOAPConnection con = SOAPConnection.newInstance();
108 </pre>
109 A <code>SOAPConnection</code> object can be used to send messages
110 directly to a URL following the request/response paradigm. That is,
111 messages are sent using the method <code>call</code>, which sends the
112 message and then waits until it gets a reply.
113 <P>
114
115 <P>
116 <HR>
117
118 <P>
119 <!-- ======== NESTED CLASS SUMMARY ======== -->
120
121
122 <!-- =========== FIELD SUMMARY =========== -->
123
124
125 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
126
127 <A NAME="constructor_summary"><!-- --></A>
128 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
129 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
130 <TD COLSPAN=2><FONT SIZE="+2">
131 <B>Constructor Summary</B></FONT></TD>
132 </TR>
133 <TR BGCOLOR="white" CLASS="TableRowColor">
134 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPConnection.html#SOAPConnection()">SOAPConnection</A></B>()</CODE>
135
136 <BR>
137 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
138 </TR>
139 </TABLE>
140 &nbsp;
141 <!-- ========== METHOD SUMMARY =========== -->
142
143 <A NAME="method_summary"><!-- --></A>
144 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
145 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
146 <TD COLSPAN=2><FONT SIZE="+2">
147 <B>Method Summary</B></FONT></TD>
148 </TR>
149 <TR BGCOLOR="white" CLASS="TableRowColor">
150 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
151 <CODE>abstract &nbsp;<A HREF="../../../javax/xml/soap/SOAPMessage.html" title="class in javax.xml.soap">SOAPMessage</A></CODE></FONT></TD>
152 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPConnection.html#call(javax.xml.soap.SOAPMessage, java.lang.Object)">call</A></B>(<A HREF="../../../javax/xml/soap/SOAPMessage.html" title="class in javax.xml.soap">SOAPMessage</A>&nbsp;request,
153 java.lang.Object&nbsp;endpoint)</CODE>
154
155 <BR>
156 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sends the given message to the specified endpoint and
157 blocks until it has returned the response.</TD>
158 </TR>
159 <TR BGCOLOR="white" CLASS="TableRowColor">
160 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
161 <CODE>abstract &nbsp;void</CODE></FONT></TD>
162 <TD><CODE><B><A HREF="../../../javax/xml/soap/SOAPConnection.html#close()">close</A></B>()</CODE>
163
164 <BR>
165 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closes this <CODE>SOAPConnection</CODE> object.</TD>
166 </TR>
167 </TABLE>
168 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
169 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
170 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
171 <TD><B>Methods inherited from class java.lang.Object</B></TD>
172 </TR>
173 <TR BGCOLOR="white" CLASS="TableRowColor">
174 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
175 </TR>
176 </TABLE>
177 &nbsp;
178 <P>
179
180 <!-- ============ FIELD DETAIL =========== -->
181
182
183 <!-- ========= CONSTRUCTOR DETAIL ======== -->
184
185 <A NAME="constructor_detail"><!-- --></A>
186 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
187 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
188 <TD COLSPAN=1><FONT SIZE="+2">
189 <B>Constructor Detail</B></FONT></TD>
190 </TR>
191 </TABLE>
192
193 <A NAME="SOAPConnection()"><!-- --></A><H3>
194 SOAPConnection</H3>
195 <PRE>
196 public <B>SOAPConnection</B>()</PRE>
197 <DL>
198 </DL>
199
200 <!-- ============ METHOD DETAIL ========== -->
201
202 <A NAME="method_detail"><!-- --></A>
203 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
204 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
205 <TD COLSPAN=1><FONT SIZE="+2">
206 <B>Method Detail</B></FONT></TD>
207 </TR>
208 </TABLE>
209
210 <A NAME="call(javax.xml.soap.SOAPMessage, java.lang.Object)"><!-- --></A><H3>
211 call</H3>
212 <PRE>
213 public abstract <A HREF="../../../javax/xml/soap/SOAPMessage.html" title="class in javax.xml.soap">SOAPMessage</A> <B>call</B>(<A HREF="../../../javax/xml/soap/SOAPMessage.html" title="class in javax.xml.soap">SOAPMessage</A>&nbsp;request,
214 java.lang.Object&nbsp;endpoint)
215 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
216 <DL>
217 <DD>Sends the given message to the specified endpoint and
218 blocks until it has returned the response.
219 <P>
220 <DD><DL>
221 <DT><B>Parameters:</B><DD><CODE>request</CODE> - the <CODE>SOAPMessage</CODE>
222 object to be sent<DD><CODE>endpoint</CODE> - an <code>Object</code> that identifies
223 where the message should be sent. It is required to
224 support Objects of type
225 <code>java.lang.String</code>,
226 <code>java.net.URL</code>, and when JAXM is present
227 <code>javax.xml.messaging.URLEndpoint</code>
228 <DT><B>Returns:</B><DD>the <CODE>SOAPMessage</CODE> object that is the
229 response to the message that was sent
230 <DT><B>Throws:</B>
231 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there is a SOAP error</DL>
232 </DD>
233 </DL>
234 <HR>
235
236 <A NAME="close()"><!-- --></A><H3>
237 close</H3>
238 <PRE>
239 public abstract void <B>close</B>()
240 throws <A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></PRE>
241 <DL>
242 <DD>Closes this <CODE>SOAPConnection</CODE> object.
243 <P>
244 <DD><DL>
245
246 <DT><B>Throws:</B>
247 <DD><CODE><A HREF="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</A></CODE> - if there is a SOAP error</DL>
248 </DD>
249 </DL>
250 <!-- ========= END OF CLASS DATA ========= -->
251 <HR>
252
253
254 <!-- ======= START OF BOTTOM NAVBAR ====== -->
255 <A NAME="navbar_bottom"><!-- --></A>
256 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
257 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
258 <TR>
259 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
260 <A NAME="navbar_bottom_firstrow"><!-- --></A>
261 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
262 <TR ALIGN="center" VALIGN="top">
263 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
264 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
265 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
266 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SOAPConnection.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
267 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
268 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
269 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
270 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
271 </TR>
272 </TABLE>
273 </TD>
274 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
275 </EM>
276 </TD>
277 </TR>
278
279 <TR>
280 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
281 &nbsp;<A HREF="../../../javax/xml/soap/MimeHeaders.html" title="class in javax.xml.soap"><B>PREV CLASS</B></A>&nbsp;
282 &nbsp;<A HREF="../../../javax/xml/soap/SOAPConnectionFactory.html" title="class in javax.xml.soap"><B>NEXT CLASS</B></A></FONT></TD>
283 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
284 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
285 &nbsp;<A HREF="SOAPConnection.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
286 &nbsp;<SCRIPT type="text/javascript">
287 <!--
288 if(window==top) {
289 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
290 }
291 //-->
292 </SCRIPT>
293 <NOSCRIPT>
294 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
295 </NOSCRIPT>
296
297 </FONT></TD>
298 </TR>
299 <TR>
300 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
301 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
302 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
303 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
304 </TR>
305 </TABLE>
306 <A NAME="skip-navbar_bottom"></A>
307 <!-- ======== END OF BOTTOM NAVBAR ======= -->
308
309 <HR>
310 Copyright © 2005 Apache Web Services Project. All Rights Reserved.
311 </BODY>
312 </HTML>