uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

23.3 com.sun.xml.ws.Closeable class

The following table describes the support range of the com.sun.xml.ws.Closeable class.

Table 23-3 List of methods of the com.sun.xml.ws.Closeable class

No. Return value type Method name/Explanation
1 void close()
Explanation To close the sequence and exit, you must invoke the close() method by casting the port object to the com.sun.xml.ws.Closeable type on the client machine. You cannot invoke a Web Service method after invoking the close() method. To communicate again you need to re-acquire the port object.
Exception

javax.xml.ws.WebServiceException:
This exception occurs when you use a Web Service method after invoking the close() method.