org.owasp.webscarab.plugin.webservice
Class OperationInfo

java.lang.Object
  extended by org.owasp.webscarab.plugin.webservice.OperationInfo

public class OperationInfo
extends java.lang.Object

Defines an in memory model to support a SOAP invocation

Author:
Jim Winfield

Constructor Summary
OperationInfo()
          Constructor
OperationInfo(java.lang.String style)
          Constructor
 
Method Summary
 java.lang.String getEncodingStyle()
          Gets the encoding style for this operation
 javax.wsdl.Message getInputMessage()
           
 java.lang.String getInputMessageName()
          Gets the value of the target's input message name
 java.lang.String getInputMessageText()
          Gets the value of the target's input message
 java.lang.String getNamespaceURI()
          Gets the namespace URI used for this
 java.lang.String getOutputMessageName()
          Gets the value of the target method's output message name
 java.lang.String getOutputMessageText()
          Gets the value of the target method's Output message
 java.lang.String getSoapActionURI()
          Gets the value for the SOAP Action URI used to make a SOAP invocation
 java.lang.String getStyle()
          Returns the style "document" or "rpc"
 java.lang.String getTargetMethodName()
          Gets the name of the target method to call
 java.lang.String getTargetObjectURI()
          Gets the Target Object's URI
 java.lang.String getTargetURL()
          Gets the Target URL used to make a SOAP invocation for this operation
 void setEncodingStyle(java.lang.String value)
          Sets the encoding style for this operation.
 void setInputMessage(javax.wsdl.Message message)
           
 void setInputMessageName(java.lang.String value)
          Sets the value of the target's input message name
 void setInputMessageText(java.lang.String value)
          Sets the value of the target's input message
 void setNamespaceURI(java.lang.String value)
          Sets the namespace URI used for this operation
 void setOutputMessageName(java.lang.String value)
          Sets the value of the target's output message name
 void setOutputMessageText(java.lang.String value)
          Sets the value of the target method's Output message
 void setSoapActionURI(java.lang.String value)
          Sets the value for the SOAP Action URI used to make a SOAP invocation
 void setStyle(java.lang.String value)
          Sets the encoding document/literal vs.
 void setTargetMethodName(java.lang.String value)
          Sets the name of the target method to call
 void setTargetObjectURI(java.lang.String value)
          Sets the Target Object's URI used to make an invocation
 void setTargetURL(java.lang.String value)
          Sets the Target URL used to make a SOAP invocation for this operation
 java.lang.String toString()
          Override toString to return a name for the operation
 
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(java.lang.String style)
Constructor

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

setEncodingStyle

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

Parameters:
value - The encoding style

getEncodingStyle

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

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

setTargetURL

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

Parameters:
value - The target URL

getTargetURL

public java.lang.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(java.lang.String value)
Sets the namespace URI used for this operation

Parameters:
value - The namespace URI to use

getNamespaceURI

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

Returns:
The namespace URI of the target object

setTargetObjectURI

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

Parameters:
value - The URI of the target object

getTargetObjectURI

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

Returns:
The URI of the target object

setTargetMethodName

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

Parameters:
value - The name of the method to call

getTargetMethodName

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

Returns:
The name of the method to call

setInputMessageName

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

Parameters:
value - The name of input message

getInputMessageName

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

Returns:
The name of the input message is returned

setInputMessage

public void setInputMessage(javax.wsdl.Message message)

getInputMessage

public javax.wsdl.Message getInputMessage()

setOutputMessageName

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

Parameters:
value - The name of the output message

getOutputMessageName

public java.lang.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(java.lang.String value)
Sets the value of the target's input message

Parameters:
value - The SOAP input message

getInputMessageText

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

Returns:
The input message is returned

setOutputMessageText

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

Parameters:
value - The output message

getOutputMessageText

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

Returns:
The Output message is returned

setSoapActionURI

public void setSoapActionURI(java.lang.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 java.lang.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(java.lang.String value)
Sets the encoding document/literal vs. rpc/encoded


getStyle

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

Returns:
The style type is returned

toString

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

Overrides:
toString in class java.lang.Object
Returns:
The name of the operation is returned