com.sun.xml.ws.addressing
Class WsaTubeHelper

java.lang.Object
  extended by com.sun.xml.ws.addressing.WsaTubeHelper
Direct Known Subclasses:
WsaTubeHelperImpl, WsaTubeHelperImpl

public abstract class WsaTubeHelper
extends Object


Field Summary
protected  AddressingVersion addVer
           
protected  WSBinding binding
           
protected  Marshaller marshaller
           
protected  SEIModel seiModel
           
protected  SOAPVersion soapVer
           
protected  Unmarshaller unmarshaller
           
protected  WSDLPort wsdlPort
           
 
Constructor Summary
WsaTubeHelper(WSBinding binding, SEIModel seiModel, WSDLPort wsdlPort)
           
 
Method Summary
 String getEffectiveInputAction(Packet packet)
          This method gives the Input addressing Action for a message.
 String getFaultAction(Packet requestPacket, Packet responsePacket)
           
(package private)  String getFaultAction(WSDLBoundOperation wbo, Packet responsePacket)
           
(package private)  String getFaultActionFromSEIModel(Packet requestPacket, Packet responsePacket)
           
 String getInputAction(Packet packet)
           
abstract  void getInvalidMapDetail(QName name, Element element)
           
abstract  void getMapRequiredDetail(QName name, Element element)
           
 String getOutputAction(Packet packet)
           
(package private)  String getOutputAction(WSDLBoundOperation wbo)
           
abstract  void getProblemActionDetail(String action, Element element)
           
 String getSOAPAction(Packet packet)
           
 boolean isInputActionDefault(Packet packet)
           
 javax.xml.soap.SOAPFault newInvalidMapFault(InvalidMapException e, AddressingVersion av)
           
 javax.xml.soap.SOAPFault newMapRequiredFault(MapRequiredException e, AddressingVersion av)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

unmarshaller

protected Unmarshaller unmarshaller

marshaller

protected Marshaller marshaller

seiModel

protected SEIModel seiModel

wsdlPort

protected WSDLPort wsdlPort

binding

protected WSBinding binding

soapVer

protected final SOAPVersion soapVer

addVer

protected final AddressingVersion addVer
Constructor Detail

WsaTubeHelper

public WsaTubeHelper(WSBinding binding,
                     SEIModel seiModel,
                     WSDLPort wsdlPort)
Method Detail

getFaultAction

public String getFaultAction(Packet requestPacket,
                             Packet responsePacket)

getFaultActionFromSEIModel

String getFaultActionFromSEIModel(Packet requestPacket,
                                  Packet responsePacket)

getFaultAction

String getFaultAction(@Nullable
                      WSDLBoundOperation wbo,
                      Packet responsePacket)

getInputAction

public String getInputAction(Packet packet)

getEffectiveInputAction

public String getEffectiveInputAction(Packet packet)
This method gives the Input addressing Action for a message. It gives the Action set in the wsdl operation for the corresponding payload. If it is not explicitly set, it gives the soapAction

Parameters:
packet -
Returns:
input Action

isInputActionDefault

public boolean isInputActionDefault(Packet packet)

getSOAPAction

public String getSOAPAction(Packet packet)

getOutputAction

public String getOutputAction(Packet packet)

getOutputAction

String getOutputAction(@Nullable
                       WSDLBoundOperation wbo)

newInvalidMapFault

public javax.xml.soap.SOAPFault newInvalidMapFault(InvalidMapException e,
                                                   AddressingVersion av)

newMapRequiredFault

public javax.xml.soap.SOAPFault newMapRequiredFault(MapRequiredException e,
                                                    AddressingVersion av)

getProblemActionDetail

public abstract void getProblemActionDetail(String action,
                                            Element element)

getInvalidMapDetail

public abstract void getInvalidMapDetail(QName name,
                                         Element element)

getMapRequiredDetail

public abstract void getMapRequiredDetail(QName name,
                                          Element element)