|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BaseSvcSoap
Interface for the basic Web service functionality shared by the Address and Tax Service -- essentially setting the connection and authentication information necessary for both service proxies to connect to Avalara's Web services.
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("");
Method Summary | |
---|---|
Profile |
getProfile()
Get the Profile information for the service. |
Security |
getSecurity()
Get the authentication information via a Security object. |
void |
setProfile(Profile profile)
Set the Profile information for the service. |
void |
setSecurity(Security security)
Set the authentication information via a Security object. |
Method Detail |
---|
void setProfile(Profile profile) throws javax.xml.soap.SOAPException
profile
-
javax.xml.soap.SOAPException
Profile getProfile()
void setSecurity(Security security)
Security
object.
security
- Security getSecurity()
Security
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |