Package org.apache.axis2.addressing.wsdl
Class WSDL11ActionHelper
java.lang.Object
org.apache.axis2.addressing.wsdl.WSDL11ActionHelper
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetActionFromFaultElement(javax.wsdl.Definition def, javax.wsdl.PortType wsdl4jPortType, javax.wsdl.Operation op, javax.wsdl.Fault fault) getActionFromFaultElementstatic StringgetActionFromInputElement(javax.wsdl.Definition def, javax.wsdl.PortType wsdl4jPortType, javax.wsdl.Operation op, javax.wsdl.Input input) getActionFromInputElementstatic StringgetActionFromOutputElement(javax.wsdl.Definition def, javax.wsdl.PortType wsdl4jPortType, javax.wsdl.Operation op, javax.wsdl.Output output) getActionFromOutputElementstatic StringgetFaultActionFromStringInformation(String targetNamespace, String portTypeName, String operationName, String faultName) static StringgetInputActionFromStringInformation(String messageExchangePattern, String targetNamespace, String portTypeName, String operationName, String inputName) static StringgetOutputActionFromStringInformation(String messageExchangePattern, String targetNamespace, String portTypeName, String operationName, String outputName)
-
Constructor Details
-
WSDL11ActionHelper
public WSDL11ActionHelper()
-
-
Method Details
-
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
-
getOutputActionFromStringInformation
-
getFaultActionFromStringInformation
-