| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>ServiceClient (Apache Axis2)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="ServiceClient (Apache Axis2)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ServiceClient.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/axis2/client/Options.html" title="class in org.apache.axis2.client"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/axis2/client/Stub.html" title="class in org.apache.axis2.client"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/axis2/client/ServiceClient.html" target="_top">Frames</a></li> |
| <li><a href="ServiceClient.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.axis2.client</div> |
| <h2 title="Class ServiceClient" class="title">Class ServiceClient</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.axis2.client.ServiceClient</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><a href="../../../../org/apache/axis2/dataretrieval/client/MexClient.html" title="class in org.apache.axis2.dataretrieval.client">MexClient</a>, <a href="../../../../org/apache/axis2/rpc/client/RPCServiceClient.html" title="class in org.apache.axis2.rpc.client">RPCServiceClient</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">ServiceClient</span> |
| extends <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> |
| <div class="block">Client access to a service. Each instance of this class is associated with a particular <a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description"><code>AxisService</code></a>, and the methods support operations using that service. Note that |
| these instances are not intended to be thread-safe. |
| <a href="../../../../org/apache/axis2/client/Options.html" title="class in org.apache.axis2.client"><code>Options</code></a> instances are used to configure various aspects of the service access.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#ANON_OUT_IN_OP">ANON_OUT_IN_OP</a></strong></code> |
| <div class="block">Operation name used for an anonymous in-out operation (meaning we sent a message and receive |
| a response, equivalent to a WSDL In-Out operation).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#ANON_OUT_ONLY_OP">ANON_OUT_ONLY_OP</a></strong></code> |
| <div class="block">Operation name used for an anonymous out-only operation (meaning we send a message with no |
| response allowed from the service, equivalent to a WSDL In-Only operation).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#ANON_ROBUST_OUT_ONLY_OP">ANON_ROBUST_OUT_ONLY_OP</a></strong></code> |
| <div class="block">Operation name used for an anonymous robust-out-only operation (meaning we send a message, |
| with the only possible response a fault, equivalent to a WSDL Robust-In-Only operation).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#ANON_SERVICE">ANON_SERVICE</a></strong></code> |
| <div class="block">Base name used for a service created without an existing configuration.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#AUTO_OPERATION_CLEANUP">AUTO_OPERATION_CLEANUP</a></strong></code> |
| <div class="block">Option property name for automatically cleaning up old OperationContexts</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected static org.apache.commons.logging.Log</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#log">log</a></strong></code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#ServiceClient()">ServiceClient</a></strong>()</code> |
| <div class="block">Create a service client by assuming an anonymous service and any other necessary |
| information.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#ServiceClient(org.apache.axis2.context.ConfigurationContext, org.apache.axis2.description.AxisService)">ServiceClient</a></strong>(<a href="../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> configContext, |
| <a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a> axisService)</code> |
| <div class="block">Create a service client configured to work with a specific AxisService.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#ServiceClient(org.apache.axis2.context.ConfigurationContext, javax.wsdl.Definition, javax.xml.namespace.QName, java.lang.String)">ServiceClient</a></strong>(<a href="../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> configContext, |
| javax.wsdl.Definition wsdl4jDefinition, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> wsdlServiceName, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> portName)</code> |
| <div class="block">This is WSDL4J based constructor to configure the Service Client/ TODO: make this policy |
| aware</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#ServiceClient(org.apache.axis2.context.ConfigurationContext, java.net.URL, javax.xml.namespace.QName, java.lang.String)">ServiceClient</a></strong>(<a href="../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> configContext, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a> wsdlURL, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> wsdlServiceName, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> portName)</code> |
| <div class="block">Create a service client for WSDL service identified by the QName of the wsdl:service element |
| in a WSDL document.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#addHeader(org.apache.axiom.om.OMElement)">addHeader</a></strong>(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> header)</code> |
| <div class="block">Add an arbitrary XML element as a header to be sent with outgoing messages.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#addHeader(org.apache.axiom.soap.SOAPHeaderBlock)">addHeader</a></strong>(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/soap/SOAPHeaderBlock.html?is-external=true" title="class or interface in org.apache.axiom.soap">SOAPHeaderBlock</a> header)</code> |
| <div class="block">Add SOAP Header to be sent with outgoing messages.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#addHeadersToEnvelope(org.apache.axiom.soap.SOAPEnvelope)">addHeadersToEnvelope</a></strong>(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/soap/SOAPEnvelope.html?is-external=true" title="class or interface in org.apache.axiom.soap">SOAPEnvelope</a> envelope)</code> |
| <div class="block">Add all configured headers to a SOAP envelope.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#addStringHeader(javax.xml.namespace.QName, java.lang.String)">addStringHeader</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> headerName, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> headerText)</code> |
| <div class="block">Add a simple header containing some text to be sent with interactions.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#cleanup()">cleanup</a></strong>()</code> |
| <div class="block">Clean up configuration created with this client.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#cleanupTransport()">cleanupTransport</a></strong>()</code> |
| <div class="block">Release resources allocated by the transport during the last service invocation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis2/client/OperationClient.html" title="class in org.apache.axis2.client">OperationClient</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#createClient(javax.xml.namespace.QName)">createClient</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> operationQName)</code> |
| <div class="block">Create an operation client with the appropriate message exchange pattern (MEP).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#disengageModule(java.lang.String)">disengageModule</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> moduleName)</code> |
| <div class="block">Disengage a module for this service client</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#engageModule(java.lang.String)">engageModule</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> moduleName)</code> |
| <div class="block">Engage a module for this service client.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#finalize()">finalize</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#fireAndForget(org.apache.axiom.om.OMElement)">fireAndForget</a></strong>(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> elem)</code> |
| <div class="block">Directly invoke an anonymous operation with an In-Only MEP.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#fireAndForget(javax.xml.namespace.QName, org.apache.axiom.om.OMElement)">fireAndForget</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> operation, |
| <a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> elem)</code> |
| <div class="block">Directly invoke a named operation with an In-Only MEP.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis2/engine/AxisConfiguration.html" title="class in org.apache.axis2.engine">AxisConfiguration</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#getAxisConfiguration()">getAxisConfiguration</a></strong>()</code> |
| <div class="block">Get the AxisConfiguration</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#getAxisService()">getAxisService</a></strong>()</code> |
| <div class="block">Return the AxisService this is a client for.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis2/context/OperationContext.html" title="class in org.apache.axis2.context">OperationContext</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#getLastOperationContext()">getLastOperationContext</a></strong>()</code> |
| <div class="block">Gets the last OperationContext</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#getMyEPR(java.lang.String)">getMyEPR</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> transport)</code> |
| <div class="block">Get the endpoint reference for this client using a particular transport.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis2/client/Options.html" title="class in org.apache.axis2.client">Options</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#getOptions()">getOptions</a></strong>()</code> |
| <div class="block">Get the basic client configuration from this service interaction.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis2/client/Options.html" title="class in org.apache.axis2.client">Options</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#getOverrideOptions()">getOverrideOptions</a></strong>()</code> |
| <div class="block">Get the client configuration used to override the normal options set by an operation client.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis2/context/ServiceContext.html" title="class in org.apache.axis2.context">ServiceContext</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#getServiceContext()">getServiceContext</a></strong>()</code> |
| <div class="block">Get the service context.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#getTargetEPR()">getTargetEPR</a></strong>()</code> |
| <div class="block">Get the endpoint reference for the service.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#hashCode()">hashCode</a></strong>()</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#removeHeaders()">removeHeaders</a></strong>()</code> |
| <div class="block">Remove all headers for outgoing message.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#sendReceive(org.apache.axiom.om.OMElement)">sendReceive</a></strong>(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> elem)</code> |
| <div class="block">Directly invoke an anonymous operation with an In-Out MEP.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#sendReceive(javax.xml.namespace.QName, org.apache.axiom.om.OMElement)">sendReceive</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> operationQName, |
| <a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> xmlPayload)</code> |
| <div class="block">Directly invoke a named operationQName with an In-Out MEP.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#sendReceiveNonBlocking(org.apache.axiom.om.OMElement, org.apache.axis2.client.async.AxisCallback)">sendReceiveNonBlocking</a></strong>(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> elem, |
| <a href="../../../../org/apache/axis2/client/async/AxisCallback.html" title="interface in org.apache.axis2.client.async">AxisCallback</a> callback)</code> |
| <div class="block">Directly invoke an anonymous operation with an In-Out MEP without waiting for a response.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#sendReceiveNonBlocking(javax.xml.namespace.QName, org.apache.axiom.om.OMElement, org.apache.axis2.client.async.AxisCallback)">sendReceiveNonBlocking</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> operation, |
| <a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> elem, |
| <a href="../../../../org/apache/axis2/client/async/AxisCallback.html" title="interface in org.apache.axis2.client.async">AxisCallback</a> callback)</code> |
| <div class="block">Directly invoke a named operation with an In-Out MEP without waiting for a response.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#sendRobust(org.apache.axiom.om.OMElement)">sendRobust</a></strong>(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> elem)</code> |
| <div class="block">Directly invoke an anonymous operation with a Robust In-Only MEP.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#sendRobust(javax.xml.namespace.QName, org.apache.axiom.om.OMElement)">sendRobust</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> operation, |
| <a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> elem)</code> |
| <div class="block">Directly invoke a named operation with a Robust In-Only MEP.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#setAxisService(org.apache.axis2.description.AxisService)">setAxisService</a></strong>(<a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a> axisService)</code> |
| <div class="block">Configure the ServiceClient to interact with the Web service described by the specified |
| AxisService object.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#setOptions(org.apache.axis2.client.Options)">setOptions</a></strong>(<a href="../../../../org/apache/axis2/client/Options.html" title="class in org.apache.axis2.client">Options</a> options)</code> |
| <div class="block">Set the basic client configuration related to this service interaction.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#setOverrideOptions(org.apache.axis2.client.Options)">setOverrideOptions</a></strong>(<a href="../../../../org/apache/axis2/client/Options.html" title="class in org.apache.axis2.client">Options</a> overrideOptions)</code> |
| <div class="block">Set a client configuration to override the normal options used by an operation client.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/client/ServiceClient.html#setTargetEPR(org.apache.axis2.addressing.EndpointReference)">setTargetEPR</a></strong>(<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a> targetEpr)</code> |
| <div class="block">Set the endpoint reference for the service.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="log"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>log</h4> |
| <pre>protected static final org.apache.commons.logging.Log log</pre> |
| </li> |
| </ul> |
| <a name="ANON_SERVICE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ANON_SERVICE</h4> |
| <pre>public static final <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ANON_SERVICE</pre> |
| <div class="block">Base name used for a service created without an existing configuration.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.axis2.client.ServiceClient.ANON_SERVICE">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="AUTO_OPERATION_CLEANUP"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>AUTO_OPERATION_CLEANUP</h4> |
| <pre>public static final <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> AUTO_OPERATION_CLEANUP</pre> |
| <div class="block">Option property name for automatically cleaning up old OperationContexts</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.axis2.client.ServiceClient.AUTO_OPERATION_CLEANUP">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="ANON_OUT_ONLY_OP"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ANON_OUT_ONLY_OP</h4> |
| <pre>public static final <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> ANON_OUT_ONLY_OP</pre> |
| <div class="block">Operation name used for an anonymous out-only operation (meaning we send a message with no |
| response allowed from the service, equivalent to a WSDL In-Only operation).</div> |
| </li> |
| </ul> |
| <a name="ANON_ROBUST_OUT_ONLY_OP"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ANON_ROBUST_OUT_ONLY_OP</h4> |
| <pre>public static final <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> ANON_ROBUST_OUT_ONLY_OP</pre> |
| <div class="block">Operation name used for an anonymous robust-out-only operation (meaning we send a message, |
| with the only possible response a fault, equivalent to a WSDL Robust-In-Only operation).</div> |
| </li> |
| </ul> |
| <a name="ANON_OUT_IN_OP"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ANON_OUT_IN_OP</h4> |
| <pre>public static final <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> ANON_OUT_IN_OP</pre> |
| <div class="block">Operation name used for an anonymous in-out operation (meaning we sent a message and receive |
| a response, equivalent to a WSDL In-Out operation).</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="ServiceClient(org.apache.axis2.context.ConfigurationContext, org.apache.axis2.description.AxisService)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ServiceClient</h4> |
| <pre>public ServiceClient(<a href="../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> configContext, |
| <a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a> axisService) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Create a service client configured to work with a specific AxisService. If this service is |
| already in the world that's handed in (in the form of a ConfigurationContext) then I will |
| happily work in it. If not I will create a small little virtual world and live there.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>configContext</code> - The configuration context under which this service lives (may be null, |
| in which case a new local one will be created)</dd><dd><code>axisService</code> - The service for which this is the client (may be <code>null</code>, in |
| which case an anonymous service will be created)</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - if something goes wrong while creating a config context (if needed)</dd></dl> |
| </li> |
| </ul> |
| <a name="ServiceClient(org.apache.axis2.context.ConfigurationContext, javax.wsdl.Definition, javax.xml.namespace.QName, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ServiceClient</h4> |
| <pre>public ServiceClient(<a href="../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> configContext, |
| javax.wsdl.Definition wsdl4jDefinition, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> wsdlServiceName, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> portName) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">This is WSDL4J based constructor to configure the Service Client/ TODO: make this policy |
| aware</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>configContext</code> - active ConfigurationContext</dd><dd><code>wsdl4jDefinition</code> - the WSDL we're going to be using to configure ourselves</dd><dd><code>wsdlServiceName</code> - QName of the WSDL service we'd like to access</dd><dd><code>portName</code> - name of the WSDL port we'd like to access</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - in case of error</dd></dl> |
| </li> |
| </ul> |
| <a name="ServiceClient(org.apache.axis2.context.ConfigurationContext, java.net.URL, javax.xml.namespace.QName, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ServiceClient</h4> |
| <pre>public ServiceClient(<a href="../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> configContext, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a> wsdlURL, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> wsdlServiceName, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> portName) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Create a service client for WSDL service identified by the QName of the wsdl:service element |
| in a WSDL document.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>configContext</code> - The configuration context under which this service lives (may be |
| <code>null</code>, in which case a new local one will be created) *</dd><dd><code>wsdlURL</code> - The URL of the WSDL document to read</dd><dd><code>wsdlServiceName</code> - The QName of the WSDL service in the WSDL document to create a client |
| for</dd><dd><code>portName</code> - The name of the WSDL 1.1 port to create a client for. May be null (if |
| WSDL 2.0 is used or if only one port is there). .</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - if something goes wrong while creating a config context (if needed)</dd></dl> |
| </li> |
| </ul> |
| <a name="ServiceClient()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ServiceClient</h4> |
| <pre>public ServiceClient() |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Create a service client by assuming an anonymous service and any other necessary |
| information.</div> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - in case of error</dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getAxisConfiguration()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAxisConfiguration</h4> |
| <pre>public <a href="../../../../org/apache/axis2/engine/AxisConfiguration.html" title="class in org.apache.axis2.engine">AxisConfiguration</a> getAxisConfiguration()</pre> |
| <div class="block">Get the AxisConfiguration</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the AxisConfiguration associated with the client.</dd></dl> |
| </li> |
| </ul> |
| <a name="getAxisService()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAxisService</h4> |
| <pre>public <a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a> getAxisService()</pre> |
| <div class="block">Return the AxisService this is a client for. This is primarily useful when the AxisService is |
| created anonymously or from WSDL as otherwise the user had the AxisService to start with.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the axisService</dd></dl> |
| </li> |
| </ul> |
| <a name="setOptions(org.apache.axis2.client.Options)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setOptions</h4> |
| <pre>public void setOptions(<a href="../../../../org/apache/axis2/client/Options.html" title="class in org.apache.axis2.client">Options</a> options)</pre> |
| <div class="block">Set the basic client configuration related to this service interaction.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>options</code> - (non-<code>null</code>)</dd></dl> |
| </li> |
| </ul> |
| <a name="getOptions()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOptions</h4> |
| <pre>public <a href="../../../../org/apache/axis2/client/Options.html" title="class in org.apache.axis2.client">Options</a> getOptions()</pre> |
| <div class="block">Get the basic client configuration from this service interaction.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>options</dd></dl> |
| </li> |
| </ul> |
| <a name="setOverrideOptions(org.apache.axis2.client.Options)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setOverrideOptions</h4> |
| <pre>public void setOverrideOptions(<a href="../../../../org/apache/axis2/client/Options.html" title="class in org.apache.axis2.client">Options</a> overrideOptions)</pre> |
| <div class="block">Set a client configuration to override the normal options used by an operation client. Any |
| values set in this configuration will be used for each client, with the standard values for |
| the client still used for any values not set in the override configuration.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>overrideOptions</code> - the Options to use</dd></dl> |
| </li> |
| </ul> |
| <a name="getOverrideOptions()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOverrideOptions</h4> |
| <pre>public <a href="../../../../org/apache/axis2/client/Options.html" title="class in org.apache.axis2.client">Options</a> getOverrideOptions()</pre> |
| <div class="block">Get the client configuration used to override the normal options set by an operation client.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>override options</dd></dl> |
| </li> |
| </ul> |
| <a name="engageModule(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>engageModule</h4> |
| <pre>public void engageModule(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> moduleName) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Engage a module for this service client.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>moduleName</code> - name of the module to engage</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - if something goes wrong</dd></dl> |
| </li> |
| </ul> |
| <a name="disengageModule(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>disengageModule</h4> |
| <pre>public void disengageModule(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> moduleName)</pre> |
| <div class="block">Disengage a module for this service client</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>moduleName</code> - name of Module to disengage</dd></dl> |
| </li> |
| </ul> |
| <a name="addHeader(org.apache.axiom.om.OMElement)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addHeader</h4> |
| <pre>public void addHeader(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> header)</pre> |
| <div class="block">Add an arbitrary XML element as a header to be sent with outgoing messages.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>header</code> - header to be sent (non-<code>null</code>)</dd></dl> |
| </li> |
| </ul> |
| <a name="addHeader(org.apache.axiom.soap.SOAPHeaderBlock)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addHeader</h4> |
| <pre>public void addHeader(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/soap/SOAPHeaderBlock.html?is-external=true" title="class or interface in org.apache.axiom.soap">SOAPHeaderBlock</a> header)</pre> |
| <div class="block">Add SOAP Header to be sent with outgoing messages.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>header</code> - header to be sent (non-<code>null</code>)</dd></dl> |
| </li> |
| </ul> |
| <a name="removeHeaders()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeHeaders</h4> |
| <pre>public void removeHeaders()</pre> |
| <div class="block">Remove all headers for outgoing message.</div> |
| </li> |
| </ul> |
| <a name="addStringHeader(javax.xml.namespace.QName, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addStringHeader</h4> |
| <pre>public void addStringHeader(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> headerName, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> headerText) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Add a simple header containing some text to be sent with interactions.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>headerName</code> - name of header to add</dd><dd><code>headerText</code> - text content for header</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - in case of error</dd></dl> |
| </li> |
| </ul> |
| <a name="sendRobust(org.apache.axiom.om.OMElement)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sendRobust</h4> |
| <pre>public void sendRobust(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> elem) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Directly invoke an anonymous operation with a Robust In-Only MEP. This method just sends your |
| supplied XML and possibly receives a fault. For more control, you can instead create a client |
| for the operation and use that client to execute the send.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>elem</code> - XML to send</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - if something goes wrong while sending, or if a fault is received in |
| response (per the Robust In-Only MEP).</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/axis2/client/ServiceClient.html#createClient(javax.xml.namespace.QName)"><code>createClient(QName)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="sendRobust(javax.xml.namespace.QName, org.apache.axiom.om.OMElement)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sendRobust</h4> |
| <pre>public void sendRobust(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> operation, |
| <a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> elem) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Directly invoke a named operation with a Robust In-Only MEP. This method just sends your |
| supplied XML and possibly receives a fault. For more control, you can instead create a client |
| for the operation and use that client to execute the send.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>operation</code> - name of operation to be invoked (non-<code>null</code>)</dd><dd><code>elem</code> - XML to send</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - if something goes wrong while sending it or if a fault is received in |
| response (per the Robust In-Only MEP).</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/axis2/client/ServiceClient.html#createClient(javax.xml.namespace.QName)"><code>createClient(QName)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="fireAndForget(org.apache.axiom.om.OMElement)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fireAndForget</h4> |
| <pre>public void fireAndForget(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> elem) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Directly invoke an anonymous operation with an In-Only MEP. This method just sends your |
| supplied XML without the possibility of any response from the service (even an error - though |
| you can still get client-side errors such as "Host not found"). For more control, you can |
| instead create a client for the operation and use that client to execute the send.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>elem</code> - XML to send</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - ff something goes wrong trying to send the XML</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/axis2/client/ServiceClient.html#createClient(javax.xml.namespace.QName)"><code>createClient(QName)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="fireAndForget(javax.xml.namespace.QName, org.apache.axiom.om.OMElement)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fireAndForget</h4> |
| <pre>public void fireAndForget(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> operation, |
| <a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> elem) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Directly invoke a named operation with an In-Only MEP. This method just sends your supplied |
| XML without the possibility of any response from the service (even an error - though you can |
| still get client-side errors such as "Host not found"). For more control, you can instead |
| create a client for the operation and use that client to execute the send.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>operation</code> - name of operation to be invoked (non-<code>null</code>)</dd><dd><code>elem</code> - XML to send</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - if something goes wrong trying to send the XML</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/axis2/client/ServiceClient.html#createClient(javax.xml.namespace.QName)"><code>createClient(QName)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="sendReceive(org.apache.axiom.om.OMElement)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sendReceive</h4> |
| <pre>public <a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> sendReceive(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> elem) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Directly invoke an anonymous operation with an In-Out MEP. This method sends your supplied |
| XML and receives a response. For more control, you can instead create a client for the |
| operation and use that client to execute the exchange. |
| <p> |
| Unless the <code>callTransportCleanup</code> property on the <a href="../../../../org/apache/axis2/client/Options.html" title="class in org.apache.axis2.client"><code>Options</code></a> object has been |
| set to <code>true</code>, the caller must invoke <a href="../../../../org/apache/axis2/client/ServiceClient.html#cleanupTransport()"><code>cleanupTransport()</code></a> after |
| processing the response.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>elem</code> - the data to send (becomes the content of SOAP body)</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>response</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - in case of error</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/axis2/client/ServiceClient.html#createClient(javax.xml.namespace.QName)"><code>createClient(QName)</code></a>, |
| <a href="../../../../org/apache/axis2/client/ServiceClient.html#cleanupTransport()"><code>cleanupTransport()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="sendReceive(javax.xml.namespace.QName, org.apache.axiom.om.OMElement)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sendReceive</h4> |
| <pre>public <a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> sendReceive(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> operationQName, |
| <a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> xmlPayload) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Directly invoke a named operationQName with an In-Out MEP. This method sends your supplied |
| XML and receives a response. For more control, you can instead create a client for the |
| operationQName and use that client to execute the exchange. |
| <p> |
| Unless the <code>callTransportCleanup</code> property on the <a href="../../../../org/apache/axis2/client/Options.html" title="class in org.apache.axis2.client"><code>Options</code></a> object has been |
| set to <code>true</code>, the caller must invoke <a href="../../../../org/apache/axis2/client/ServiceClient.html#cleanupTransport()"><code>cleanupTransport()</code></a> after |
| processing the response.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>operationQName</code> - name of operationQName to be invoked (non-<code>null</code>)</dd><dd><code>xmlPayload</code> - the data to send (becomes the content of SOAP body)</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>response OMElement</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - in case of error</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/axis2/client/ServiceClient.html#cleanupTransport()"><code>cleanupTransport()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="sendReceiveNonBlocking(org.apache.axiom.om.OMElement, org.apache.axis2.client.async.AxisCallback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sendReceiveNonBlocking</h4> |
| <pre>public void sendReceiveNonBlocking(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> elem, |
| <a href="../../../../org/apache/axis2/client/async/AxisCallback.html" title="interface in org.apache.axis2.client.async">AxisCallback</a> callback) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Directly invoke an anonymous operation with an In-Out MEP without waiting for a response. |
| This method sends your supplied XML with response notification to your callback handler. For |
| more control, you can instead create a client for the operation and use that client to |
| execute the exchange.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>elem</code> - the data to send (becomes the content of SOAP body)</dd><dd><code>callback</code> - a Callback which will be notified upon completion</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - in case of error</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/axis2/client/ServiceClient.html#createClient(javax.xml.namespace.QName)"><code>createClient(QName)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="sendReceiveNonBlocking(javax.xml.namespace.QName, org.apache.axiom.om.OMElement, org.apache.axis2.client.async.AxisCallback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sendReceiveNonBlocking</h4> |
| <pre>public void sendReceiveNonBlocking(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> operation, |
| <a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> elem, |
| <a href="../../../../org/apache/axis2/client/async/AxisCallback.html" title="interface in org.apache.axis2.client.async">AxisCallback</a> callback) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Directly invoke a named operation with an In-Out MEP without waiting for a response. This |
| method sends your supplied XML with response notification to your callback handler. For more |
| control, you can instead create a client for the operation and use that client to execute the |
| exchange.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>operation</code> - name of operation to be invoked (non-<code>null</code>)</dd><dd><code>elem</code> - the data to send (becomes the content of SOAP body)</dd><dd><code>callback</code> - a Callback which will be notified upon completion</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - in case of error</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/axis2/client/ServiceClient.html#createClient(javax.xml.namespace.QName)"><code>createClient(QName)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="createClient(javax.xml.namespace.QName)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createClient</h4> |
| <pre>public <a href="../../../../org/apache/axis2/client/OperationClient.html" title="class in org.apache.axis2.client">OperationClient</a> createClient(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> operationQName) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Create an operation client with the appropriate message exchange pattern (MEP). This method |
| creates a full-function MEP client which can be used to exchange messages for a specific |
| operation. It configures the constructed operation client to use the current normal and |
| override options. This method is used internally, and also by generated client stub code.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>operationQName</code> - qualified name of operation (local name is operation name, namespace |
| URI is just the empty string)</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>client configured to talk to the given operation</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - if the operation is not found</dd></dl> |
| </li> |
| </ul> |
| <a name="addHeadersToEnvelope(org.apache.axiom.soap.SOAPEnvelope)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addHeadersToEnvelope</h4> |
| <pre>public void addHeadersToEnvelope(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/soap/SOAPEnvelope.html?is-external=true" title="class or interface in org.apache.axiom.soap">SOAPEnvelope</a> envelope)</pre> |
| <div class="block">Add all configured headers to a SOAP envelope.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>envelope</code> - the SOAPEnvelope in which to write the headers</dd></dl> |
| </li> |
| </ul> |
| <a name="getMyEPR(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMyEPR</h4> |
| <pre>public <a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a> getMyEPR(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> transport) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Get the endpoint reference for this client using a particular transport.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>transport</code> - transport name (non-<code>null</code>)</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>local endpoint</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - in case of error</dd></dl> |
| </li> |
| </ul> |
| <a name="getTargetEPR()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTargetEPR</h4> |
| <pre>public <a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a> getTargetEPR()</pre> |
| <div class="block">Get the endpoint reference for the service.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>service endpoint</dd></dl> |
| </li> |
| </ul> |
| <a name="setTargetEPR(org.apache.axis2.addressing.EndpointReference)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTargetEPR</h4> |
| <pre>public void setTargetEPR(<a href="../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a> targetEpr)</pre> |
| <div class="block">Set the endpoint reference for the service.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>targetEpr</code> - the EPR this ServiceClient should target</dd></dl> |
| </li> |
| </ul> |
| <a name="getLastOperationContext()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLastOperationContext</h4> |
| <pre>public <a href="../../../../org/apache/axis2/context/OperationContext.html" title="class in org.apache.axis2.context">OperationContext</a> getLastOperationContext()</pre> |
| <div class="block">Gets the last OperationContext</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the last OperationContext that was invoked by this ServiceClient</dd></dl> |
| </li> |
| </ul> |
| <a name="getServiceContext()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getServiceContext</h4> |
| <pre>public <a href="../../../../org/apache/axis2/context/ServiceContext.html" title="class in org.apache.axis2.context">ServiceContext</a> getServiceContext()</pre> |
| <div class="block">Get the service context.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>context</dd></dl> |
| </li> |
| </ul> |
| <a name="finalize()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>finalize</h4> |
| <pre>protected void finalize() |
| throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <dl> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a></code> in class <code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="cleanup()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cleanup</h4> |
| <pre>public void cleanup() |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Clean up configuration created with this client. Call this method when you're done using the |
| client, in order to discard any associated resources.</div> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - in case of error</dd></dl> |
| </li> |
| </ul> |
| <a name="cleanupTransport()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cleanupTransport</h4> |
| <pre>public void cleanupTransport() |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Release resources allocated by the transport during the last service invocation. |
| This method will call |
| <a href="../../../../org/apache/axis2/transport/TransportSender.html#cleanup(org.apache.axis2.context.MessageContext)"><code>TransportSender.cleanup(MessageContext)</code></a> on the |
| transport sender used during that invocation. |
| <p> |
| If the <code>callTransportCleanup</code> property on the <a href="../../../../org/apache/axis2/client/Options.html" title="class in org.apache.axis2.client"><code>Options</code></a> object is |
| set to <code>false</code> (which is the default), then this method must be called |
| after each invocation of an operation with an in-out MEP, but not before the response |
| from that operation has been completely processed (or <a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMSerializable.html?is-external=true#build()" title="class or interface in org.apache.axiom.om"><code>OMSerializable.build()</code></a> |
| has been called on the response element). |
| <p> |
| If the <code>callTransportCleanup</code> property is set to <code>true</code>, |
| then this method is called automatically. Note that in this case, <a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMSerializable.html?is-external=true#build()" title="class or interface in org.apache.axiom.om"><code>OMSerializable.build()</code></a> |
| will be called on the response element before is returned. This effectively disables |
| deferred parsing of the response and prevents the code from starting to process the |
| response before it has been completely received. Therefore this approach is not recommended |
| whenever performance is important.</div> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="setAxisService(org.apache.axis2.description.AxisService)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAxisService</h4> |
| <pre>public void setAxisService(<a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a> axisService) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Configure the ServiceClient to interact with the Web service described by the specified |
| AxisService object.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>axisService</code> - the AxisService that represents the new Web service.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - if an error occurs while configuring the ServiceClient.</dd></dl> |
| </li> |
| </ul> |
| <a name="hashCode()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hashCode</h4> |
| <pre>public int hashCode()</pre> |
| <dl> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| <dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang"><code>Object.hashCode()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="equals(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>equals</h4> |
| <pre>public boolean equals(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</pre> |
| <dl> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a></code> in class <code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| <dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang"><code>Object.equals(java.lang.Object)</code></a></dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ServiceClient.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/axis2/client/Options.html" title="class in org.apache.axis2.client"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/axis2/client/Stub.html" title="class in org.apache.axis2.client"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/axis2/client/ServiceClient.html" target="_top">Frames</a></li> |
| <li><a href="ServiceClient.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |