|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.avalara.avatax.services.base.Profile
public class Profile
The request profile provides information about the calling application and may be used for customized request processing.
Example: EngineConfiguration config = new FileProvider("avatax4j.wsdd"); AddressSvcLocator svcLoc = new AddressSvcLocator(config); AddressSvcSoap svc = svcLoc.getAddressSvcSoap(new URL("http://www.avalara.com/services/")); // Set the profile Profile profile = new Profile(); profile.setClient("AddressSvcTest,4.0.0.0"); svc.setProfile(profile); // Set security Security security = new Security(); security.setAccount("account"); security.setLicense("license number"); svc.setSecurity(security); PingResult result = svc.ping("");
Field Summary | |
---|---|
static java.lang.String |
NAMESPACE
|
static java.lang.String |
PROFILE_ELEMENT
|
Constructor Summary | |
---|---|
Profile()
Initializes a new instance of the class. |
Method Summary | |
---|---|
java.lang.String |
getClient()
Client application name and version (and plugin name and version, if applicable). |
java.lang.String |
getName()
Reference to a named profile. |
org.apache.axis.message.SOAPHeaderElement |
getSOAPHeaderElement()
Returns the SOAPHeaderElement for this Profile object;
this method is used internally by the adapter
and not intended to be used by external implementation code. |
void |
setClient(java.lang.String value)
Client application name and version (and plugin name and version, if applicable). |
void |
setName(java.lang.String value)
Reference to a named profile. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROFILE_ELEMENT
public static final java.lang.String NAMESPACE
Constructor Detail |
---|
public Profile()
Method Detail |
---|
public void setName(java.lang.String value)
value
- String value to use for this profile.public java.lang.String getName()
public void setClient(java.lang.String value)
Segment | Description |
---|---|
Application | Name of the application (e.g. SuperERP) |
ApplicationVersion | Version of the application (e.g. 2.5.1.23) |
Plugin | Name of the plugin, if applicable (e.g. DuperPlugin) |
PluginVersion | Version of the plugin, if applicable (e.g. 2.5.0.1) |
[C#]
svc.Profile.Client = "SuperERP,2.5.1.23,DuperPlugin,2.5.0.1"
value
- String containing client informationpublic java.lang.String getClient()
Segment | Description |
---|---|
Application | Name of the application (e.g. SuperERP) |
ApplicationVersion | Version of the application (e.g. 2.5.1.23) |
Plugin | Name of the plugin, if applicable (e.g. DuperPlugin) |
PluginVersion | Version of the plugin, if applicable (e.g. 2.5.0.1) |
[C#]
svc.Profile.Client = "SuperERP,2.5.1.23,DuperPlugin,2.5.0.1"
public org.apache.axis.message.SOAPHeaderElement getSOAPHeaderElement() throws javax.xml.soap.SOAPException
SOAPHeaderElement
for this Profile object;
this method is used internally by the adapter
and not intended to be used by external implementation code.
SOAPHeaderElement
containing information about the Profile object.
javax.xml.soap.SOAPException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |