HPSearch

cgl.hpsearch.nb4ws.WSDL
Class OperationInfo

java.lang.Object
  extended bycgl.hpsearch.nb4ws.WSDL.OperationInfo

public class OperationInfo
extends Object

Defines an in memory model to support a SOAP invocation

Author:
Jim Winfield

Constructor Summary
OperationInfo()
          Constructor
OperationInfo(String style)
          Constructor
 
Method Summary
 String getEncodingStyle()
          Gets the encoding style for this operation
static OperationInfo getFromString(String xml)
          Returns the OperationInfo object by unmarshalling the XML
 String getInputMessageName()
          Gets the value of the target's input message name
 String getInputMessageText()
          Gets the value of the target's input message
 String getNamespaceURI()
          Gets the namespace URI used for this
 String getOperationName()
           
 String getOutputMessageName()
          Gets the value of the target method's output message name
 String getOutputMessageText()
          Gets the value of the target method's Output message
 String getSoapActionURI()
          Gets the value for the SOAP Action URI used to make a SOAP invocation
 String getStyle()
          Returns the style "document" or "rpc"
 String getTargetMethodName()
          Gets the name of the target method to call
 String getTargetObjectURI()
          Gets the Target Object's URI
 String getTargetURL()
          Gets the Target URL used to make a SOAP invocation for this operation
 void setEncodingStyle(String value)
          Sets the encoding style for this operation.
 void setInputMessageName(String value)
          Sets the value of the target's input message name
 void setInputMessageText(String value)
          Sets the value of the target's input message
 void setNamespaceURI(String value)
          Sets the namespace URI used for this operation
 void setOperationName(String operationName)
           
 void setOutputMessageName(String value)
          Sets the value of the target's output message name
 void setOutputMessageText(String value)
          Sets the value of the target method's Output message
 void setSoapActionURI(String value)
          Sets the value for the SOAP Action URI used to make a SOAP invocation
 void setStyle(String value)
          Sets the encoding document/literal vs. rpc/encoded
 void setTargetMethodName(String value)
          Sets the name of the target method to call
 void setTargetObjectURI(String value)
          Sets the Target Object's URI used to make an invocation
 void setTargetURL(String value)
          Sets the Target URL used to make a SOAP invocation for this operation
 void show()
           
 String toString()
          Override toString to return a name for the operation
 String toXML()
          Serializes the OperationInfo to XML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OperationInfo

public OperationInfo()
Constructor


OperationInfo

public OperationInfo(String style)
Constructor

Parameters:
style - Pass "document" or "rpc"
Method Detail

show

public void show()

getOperationName

public final String getOperationName()

setOperationName

public final void setOperationName(String operationName)

toXML

public String toXML()
Serializes the OperationInfo to XML

Returns:
Marshalled Object

getFromString

public static OperationInfo getFromString(String xml)
Returns the OperationInfo object by unmarshalling the XML

Parameters:
xml -
Returns:
OperationInfo object or null if error

setEncodingStyle

public void setEncodingStyle(String value)
Sets the encoding style for this operation.

Parameters:
value - The encoding style

getEncodingStyle

public String getEncodingStyle()
Gets the encoding style for this operation

Returns:
A string value that signifies the encoding style to use.

setTargetURL

public void setTargetURL(String value)
Sets the Target URL used to make a SOAP invocation for this operation

Parameters:
value - The target URL

getTargetURL

public String getTargetURL()
Gets the Target URL used to make a SOAP invocation for this operation

Returns:
The target URL is returned

setNamespaceURI

public void setNamespaceURI(String value)
Sets the namespace URI used for this operation

Parameters:
value - The namespace URI to use

getNamespaceURI

public String getNamespaceURI()
Gets the namespace URI used for this

Returns:
The namespace URI of the target object

setTargetObjectURI

public void setTargetObjectURI(String value)
Sets the Target Object's URI used to make an invocation

Parameters:
value - The URI of the target object

getTargetObjectURI

public String getTargetObjectURI()
Gets the Target Object's URI

Returns:
The URI of the target object

setTargetMethodName

public void setTargetMethodName(String value)
Sets the name of the target method to call

Parameters:
value - The name of the method to call

getTargetMethodName

public String getTargetMethodName()
Gets the name of the target method to call

Returns:
The name of the method to call

setInputMessageName

public void setInputMessageName(String value)
Sets the value of the target's input message name

Parameters:
value - The name of input message

getInputMessageName

public String getInputMessageName()
Gets the value of the target's input message name

Returns:
The name of the input message is returned

setOutputMessageName

public void setOutputMessageName(String value)
Sets the value of the target's output message name

Parameters:
value - The name of the output message

getOutputMessageName

public String getOutputMessageName()
Gets the value of the target method's output message name

Returns:
The name of the output message is returned

setInputMessageText

public void setInputMessageText(String value)
Sets the value of the target's input message

Parameters:
value - The SOAP input message

getInputMessageText

public String getInputMessageText()
Gets the value of the target's input message

Returns:
The input message is returned

setOutputMessageText

public void setOutputMessageText(String value)
Sets the value of the target method's Output message

Parameters:
value - The output message

getOutputMessageText

public String getOutputMessageText()
Gets the value of the target method's Output message

Returns:
The Output message is returned

setSoapActionURI

public void setSoapActionURI(String value)
Sets the value for the SOAP Action URI used to make a SOAP invocation

Parameters:
value - The SOAP Action URI value for the SOAP invocation

getSoapActionURI

public String getSoapActionURI()
Gets the value for the SOAP Action URI used to make a SOAP invocation

Returns:
The SOAP Action URI value for the SOAP invocation is returned.

setStyle

public void setStyle(String value)
Sets the encoding document/literal vs. rpc/encoded

Returns:
value A string value "document" or "rpc" should be passed.

getStyle

public String getStyle()
Returns the style "document" or "rpc"

Returns:
The style type is returned

toString

public String toString()
Override toString to return a name for the operation

Returns:
The name of the operation is returned

HPSearch

For comments and suggestions please send e-mail to Harshawardhan Gadgil
Last updated: June 9 2006