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

Author:
Rama Pulavarthi, Arun Gupta

Field Summary
protected  AddressingVersion addVer
           
protected  WSBinding binding
           
protected  SEIModel seiModel
           
protected  SOAPVersion soapVer
           
protected  WSDLPort wsdlPort
           
 
Constructor Summary
WsaTubeHelper(WSBinding binding, SEIModel seiModel, WSDLPort wsdlPort)
           
 
Method Summary
 SOAPFault createInvalidAddressingHeaderFault(InvalidAddressingHeaderException e, AddressingVersion av)
           
 String getEffectiveInputAction(Packet packet)
          This method gives the Input addressing Action for a message.
 String getFaultAction(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)
           
abstract  void getProblemActionDetail(String action, Element element)
           
 String getSOAPAction(Packet packet)
           
 boolean isInputActionDefault(Packet packet)
           
 SOAPFault newMapRequiredFault(MissingAddressingHeaderException e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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)

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)

createInvalidAddressingHeaderFault

public SOAPFault createInvalidAddressingHeaderFault(InvalidAddressingHeaderException e,
                                                    AddressingVersion av)

newMapRequiredFault

public SOAPFault newMapRequiredFault(MissingAddressingHeaderException e)

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)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.