Package org.apache.axis2.addressing.wsdl
Class WSDL11DefaultActionPatternHelper
java.lang.Object
org.apache.axis2.addressing.wsdl.WSDL11DefaultActionPatternHelper
Generates a wsa:Action value using the Default Action Pattern defined at
http://www.w3.org/TR/2006/WD-ws-addr-wsdl-20060216/#defactionwsdl11
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgenerateActionFromFaultElement(javax.wsdl.Definition def, javax.wsdl.PortType wsdl4jPortType, javax.wsdl.Operation op, javax.wsdl.Fault fault) Generate the Action for a Fault using the Default Action Patternstatic StringgenerateActionFromInputElement(javax.wsdl.Definition def, javax.wsdl.PortType wsdl4jPortType, javax.wsdl.Operation op, javax.wsdl.Input input) Generate the Action for an Input using the Default Action Patternstatic StringgenerateActionFromOutputElement(javax.wsdl.Definition def, javax.wsdl.PortType wsdl4jPortType, javax.wsdl.Operation op, javax.wsdl.Output output) Generate the Action for an Output using the Default Action Patternprotected static StringgetFaultActionFromStringInformation(String targetNamespace, String portTypeName, String operationName, String faultName) protected static StringgetInputActionFromStringInformation(String messageExchangePattern, String targetNamespace, String portTypeName, String operationName, String inputName) protected static StringgetOutputActionFromStringInformation(String messageExchangePattern, String targetNamespace, String portTypeName, String operationName, String outputName)
-
Constructor Details
-
WSDL11DefaultActionPatternHelper
public WSDL11DefaultActionPatternHelper()
-
-
Method Details
-
generateActionFromInputElement
public static String generateActionFromInputElement(javax.wsdl.Definition def, javax.wsdl.PortType wsdl4jPortType, javax.wsdl.Operation op, javax.wsdl.Input input) Generate the Action for an Input using the Default Action Pattern Pattern is defined as [target namespace][delimiter][port type name][delimiter][input name]- Parameters:
def- is required to obtain the targetNamespacewsdl4jPortType- is required to obtain the portType nameop- is required to generate the input name if not explicitly specifiedinput- is required for its name if specified- Returns:
- a wsa:Action value based on the Default Action Pattern and the provided objects
-
getInputActionFromStringInformation
-
generateActionFromOutputElement
public static String generateActionFromOutputElement(javax.wsdl.Definition def, javax.wsdl.PortType wsdl4jPortType, javax.wsdl.Operation op, javax.wsdl.Output output) Generate the Action for an Output using the Default Action Pattern Pattern is defined as [target namespace][delimiter][port type name][delimiter][output name]- Parameters:
def- is required to obtain the targetNamespacewsdl4jPortType- is required to obtain the portType nameop- is required to generate the output name if not explicitly specifiedoutput- is required for its name if specified- Returns:
- a wsa:Action value based on the Default Action Pattern and the provided objects
-
getOutputActionFromStringInformation
-
generateActionFromFaultElement
public static String generateActionFromFaultElement(javax.wsdl.Definition def, javax.wsdl.PortType wsdl4jPortType, javax.wsdl.Operation op, javax.wsdl.Fault fault) Generate the Action for a Fault using the Default Action Pattern Pattern is defined as [target namespace][delimiter][port type name][delimiter][operation name][delimiter]Fault[delimiter][fault name]- Parameters:
def- is required to obtain the targetNamespacewsdl4jPortType- is required to obtain the portType nameop- is required to obtain the operation namefault- is required to obtain the fault name- Returns:
- a wsa:Action value based on the Default Action Pattern and the provided objects
-
getFaultActionFromStringInformation
-