Java API

oracle.j2ee.ws.client
Interface WebServiceMethod


public interface WebServiceMethod

WebServiceMethod is used to invoke a Web Service method


Method Summary
TypeMethod
 java.lang.String getInputEncodingStyle()
          Returns the encoding style to be used by the input message parts, null if none has been specified in the source WSDL.
 java.lang.String getOutputEncodingStyle()
          Returns the encoding style to be used by the output message parts, null if none has been specified in the source WSDL.
 java.lang.Object invoke(java.lang.String[] inMsgPartNames, java.lang.Object[] inMsgPartValues)
          Executes one of the service operations with the set of supplied input parts.
 

Method Detail

getInputEncodingStyle

public java.lang.String getInputEncodingStyle()
Returns the encoding style to be used by the input message parts, null if none has been specified in the source WSDL.

getOutputEncodingStyle

public java.lang.String getOutputEncodingStyle()
Returns the encoding style to be used by the output message parts, null if none has been specified in the source WSDL.

invoke

public java.lang.Object invoke(java.lang.String[] inMsgPartNames,
                               java.lang.Object[] inMsgPartValues)
                        throws WebServiceProxyException
Executes one of the service operations with the set of supplied input parts. This signature can be used for non-overloaded WSDL operations.
Parameters:
inMsgPartNames - name of the parts supplied in the input message.
inMsgPartValues - corresponding value of the parts whose name is supplied in inMsgPartNames.
Returns:
Object, if the response message contains only one part, return the response part, otherwise an array of the output message parts

Java API

Copyright © 2001 - Oracle Corporation