Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.dc.ws
Class WebServiceOperation

java.lang.Object
  extended by oracle.adfnmc.dc.JavaBeanOperation
      extended by oracle.adfnmc.dc.ws.WebServiceTransportLayer
          extended by oracle.adfnmc.dc.ws.WebServiceOperation
All Implemented Interfaces:
OperationDelegate

public class WebServiceOperation
extends WebServiceTransportLayer


Field Summary
protected  java.lang.String inputNamespace
           
protected  java.lang.String outputNamespace
           
 
Fields inherited from class oracle.adfnmc.dc.ws.WebServiceTransportLayer
action, AMPERSAND, credStoreKey, debug, dotnet, encodeNamespace, endpoint, envNamespace, EQUAL, error, fault, isDocLitBare, isSecure, passwordToken, QUESTION_MARK, REQUEST_HTTP_GET, REQUEST_HTTP_POST, REQUEST_SOAP_1_0, REQUEST_SOAP_1_1, REQUEST_SOAP_1_2, SLASH, status, usernameToken, version, wsdl
 
Fields inherited from class oracle.adfnmc.dc.JavaBeanOperation
input, name, namespace, operation, output, parameters, result, returnNodeName, returnPrimitive, returnType
 
Constructor Summary
WebServiceOperation(ServiceDefinition sd, java.lang.String op)
           
 
Method Summary
 GenericType getInputObject()
           
 java.lang.Object invoke(int requestType, java.lang.String method, SoapGenericType input)
          Invoke the 'method' operation as a given SOAP version message with the given input.
 java.lang.Object invoke(java.lang.String method, java.lang.Object[] params)
          Invoke the 'method' operation with the given 'params' parameters.
 java.lang.Object invoke(java.lang.String method, SoapGenericType input)
          Invoke the 'method' operation with the given 'input' parameters.
 
Methods inherited from class oracle.adfnmc.dc.ws.WebServiceTransportLayer
dumpSoapObject, dumpSoapObject, getEndpoint, getIndent, getParametersAsString, getSoapAction, getSoapFault, getSoapMethod, getSoapObject, getSoapVersionFlag, getStatus, getWsdl, getXMLRequest, invoke, invokeHttpRequest, invokeSoapRequest, invokeSoapRequest, isSecureConnection, sendReceive, setDebug, setDebug, setDefaultEndPoint, setDotNet, setDotNet, setEndPoint, setSoapAction, setWsdl
 
Methods inherited from class oracle.adfnmc.dc.JavaBeanOperation
addInputParameter, clearParameters, execute, getName, getNamespace, getOperation, getOutput, getParameters, getParamter, getReturnType, isReturnPrmitive, log, log, setInput, setName, setNamespace, setOperation, setParameter, setParameters, setReturnIsPrimitive, setReturnPropertyName, setReturnType, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

inputNamespace

protected java.lang.String inputNamespace

outputNamespace

protected java.lang.String outputNamespace
Constructor Detail

WebServiceOperation

public WebServiceOperation(ServiceDefinition sd,
                           java.lang.String op)
Method Detail

getInputObject

public GenericType getInputObject()
Overrides:
getInputObject in class JavaBeanOperation
Returns:
the input as a GenericType object

invoke

public java.lang.Object invoke(java.lang.String method,
                               java.lang.Object[] params)
                        throws java.lang.Exception
Invoke the 'method' operation with the given 'params' parameters.

Overrides:
invoke in class JavaBeanOperation
Parameters:
method - name
params - input parameters
Returns:
result of the operation as a GenericType
Throws:
java.lang.Exception - if anything goes wrong

invoke

public java.lang.Object invoke(int requestType,
                               java.lang.String method,
                               SoapGenericType input)
                        throws java.lang.Exception
Invoke the 'method' operation as a given SOAP version message with the given input.

Parameters:
requestType - SOAP-1.0, SOAP-1.1, or SOAP-1.2
method - name
input - parameter
Returns:
result of the method
Throws:
java.lang.Exception - on any problem
See Also:
WebServiceTransportLayer.REQUEST_SOAP_1_0, WebServiceTransportLayer.REQUEST_SOAP_1_1, WebServiceTransportLayer.REQUEST_SOAP_1_2

invoke

public java.lang.Object invoke(java.lang.String method,
                               SoapGenericType input)
                        throws java.lang.Exception
Invoke the 'method' operation with the given 'input' parameters.

Parameters:
method - name
input - input parameters in a serializable SOAP generic type
Returns:
result of the operation as a GenericType
Throws:
java.lang.Exception - if anything goes wrong

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.