public class

AvalaraProfileHandler

extends Object
implements SOAPHandler<T extends SOAPMessageContext>
java.lang.Object
   ↳ org.mule.modules.avalara.util.AvalaraProfileHandler

Summary

Constants
String AVALARA_PREFIX
String NAMESPACE
String PROFILE_ELEMENT
Fields
private final String profile
Public Constructors
AvalaraProfileHandler(String profile)
Creates a SOAPSimpleCredentials handler and initializes the member variables.
Public Methods
void close(MessageContext messageContext)
Set<QName> getHeaders()
Returns null as this handler doesn't process any Headers, it just adds one.
boolean handleFault(SOAPMessageContext smc)
Returns true, no action is taken for faults messages.
boolean handleMessage(SOAPMessageContext smc)
Adds WS-Security header to request messages.
[Expand]
Inherited Methods
From class java.lang.Object
From interface javax.xml.ws.handler.Handler
From interface javax.xml.ws.handler.soap.SOAPHandler

Constants

private static final String AVALARA_PREFIX

Constant Value: "aval"

private static final String NAMESPACE

Constant Value: "http://avatax.avalara.com/services"

private static final String PROFILE_ELEMENT

Constant Value: "Profile"

Fields

private final String profile

Public Constructors

public AvalaraProfileHandler (String profile)

Creates a SOAPSimpleCredentials handler and initializes the member variables. In most cases, the sign static method should be used instead.

Parameters
profile

Public Methods

public void close (MessageContext messageContext)

Parameters
messageContext

public Set<QName> getHeaders ()

Returns null as this handler doesn't process any Headers, it just adds one.

public boolean handleFault (SOAPMessageContext smc)

Returns true, no action is taken for faults messages.

Parameters
smc

public boolean handleMessage (SOAPMessageContext smc)

Adds WS-Security header to request messages.

Parameters
smc