Package org.apache.axis2.addressing.wsdl
Class WSDL11ActionHelper
- java.lang.Object
-
- org.apache.axis2.addressing.wsdl.WSDL11ActionHelper
-
public class WSDL11ActionHelper extends Object
The WSDL11ActionHelper provides 3 static methods to determine the correct wsa:Action value from a wsdl4j Input/Output/Fault object. It first attempts to access the wsaw:Action attribute and if that is not found uses the WSDL11DefaultActionPatternHelper to generate and Action based on the Default Action Pattern for WSDL1.1 at http://www.w3.org/TR/2006/WD-ws-addr-wsdl-20060216/#defactionwsdl11
-
-
Constructor Summary
Constructors Constructor Description WSDL11ActionHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getActionFromFaultElement(javax.wsdl.Definition def, javax.wsdl.PortType wsdl4jPortType, javax.wsdl.Operation op, javax.wsdl.Fault fault)
getActionFromFaultElementstatic String
getActionFromInputElement(javax.wsdl.Definition def, javax.wsdl.PortType wsdl4jPortType, javax.wsdl.Operation op, javax.wsdl.Input input)
getActionFromInputElementstatic String
getActionFromOutputElement(javax.wsdl.Definition def, javax.wsdl.PortType wsdl4jPortType, javax.wsdl.Operation op, javax.wsdl.Output output)
getActionFromOutputElementstatic String
getFaultActionFromStringInformation(String targetNamespace, String portTypeName, String operationName, String faultName)
static String
getInputActionFromStringInformation(String messageExchangePattern, String targetNamespace, String portTypeName, String operationName, String inputName)
static String
getOutputActionFromStringInformation(String messageExchangePattern, String targetNamespace, String portTypeName, String operationName, String outputName)
-
-
-
Method Detail
-
getActionFromInputElement
public static String getActionFromInputElement(javax.wsdl.Definition def, javax.wsdl.PortType wsdl4jPortType, javax.wsdl.Operation op, javax.wsdl.Input input)
getActionFromInputElement- Parameters:
def
- the wsdl:definitions which contains the wsdl:portTypewsdl4jPortType
- the wsdl:portType which contains the wsdl:operationop
- the wsdl:operation which contains the input elementinput
- the input element to be examined to generate the wsa:Action- Returns:
- either the wsaw:Action from the input element or an action generated using the DefaultActionPattern
-
getActionFromOutputElement
public static String getActionFromOutputElement(javax.wsdl.Definition def, javax.wsdl.PortType wsdl4jPortType, javax.wsdl.Operation op, javax.wsdl.Output output)
getActionFromOutputElement- Parameters:
def
- the wsdl:definitions which contains the wsdl:portTypewsdl4jPortType
- the wsdl:portType which contains the wsdl:operationop
- the wsdl:operation which contains the output elementoutput
- the input element to be examined to generate the wsa:Action- Returns:
- either the wsaw:Action from the output element or an action generated using the DefaultActionPattern
-
getActionFromFaultElement
public static String getActionFromFaultElement(javax.wsdl.Definition def, javax.wsdl.PortType wsdl4jPortType, javax.wsdl.Operation op, javax.wsdl.Fault fault)
getActionFromFaultElement- Parameters:
def
- the wsdl:definitions which contains the wsdl:portTypewsdl4jPortType
- the wsdl:portType which contains the wsdl:operationop
- the wsdl:operation which contains the fault elementfault
- the fault element to be examined to generate the wsa:Action- Returns:
- either the wsaw:Action from the fault element or an action generated using the DefaultActionPattern
-
getInputActionFromStringInformation
public static String getInputActionFromStringInformation(String messageExchangePattern, String targetNamespace, String portTypeName, String operationName, String inputName)
-
getOutputActionFromStringInformation
public static String getOutputActionFromStringInformation(String messageExchangePattern, String targetNamespace, String portTypeName, String operationName, String outputName)
-
-