getServiceLastUpdateTime Operation
This operation returns the date and time of the last update to a service WSDL, service XSD, or business object XSDs. The format of the last update time is ISO 8601.
-
Perform customizations at run time using Application Composer and flexfields
-
Redeploy an enterprise application as part of an upgrade to a major release or a patch bundle
This operation may be useful if you generate service factory or JAX-WS proxy clients and want to determine whether to regenerate the client because of a change in the service interface.
Operation Signature
The following is the signature of the getServiceLastUpdateTime
operation, which
doesn't accept any parameters.
<element name="getServiceLastUpdateTime">
<complexType>
<sequence/>
</complexType>
</element>
The response payload contains the last update time. For
the definition of dateTime-Timestamp
type, see Sample
BC4JService.xsd.
<element name="getServiceLastUpdateTimeResponse">
<complexType>
<sequence>
<element name="result" type="ns0:dateTime-Timestamp"/>
</sequence>
</complexType>
</element>
Example
This request payload determines when the Sales Lead service definition was last updated.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:getServiceLastUpdateTime
xmlns:ns1="http://xmlns.oracle.com/apps/marketing/leadMgmt/leads/leadService/
types/"></ns1:getServiceLastUpdateTime>
</soap:Body>
</soap:Envelope>
The response payload returns February 19, 2015 at 12:35:35 AM PT as the time the Sales Lead service was last updated.
<ns0:getServiceLastUpdateTimeResponse xmlns=""
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://xmlns.oracle.com/apps/marketing/leadMgmt/leads/leadService/types/"
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<result xmlns="http://xmlns.oracle.com/apps/marketing/leadMgmt/leads/leadService/types/
">2015-02-19T00:35:35.101-08:00</result>
</ns0:getServiceLastUpdateTimeResponse>