|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaxSvc
In the the Axis scheme, interface implemented by the object (TaxSvcLocator
)
that wraps the actual functional Address Service proxy (TaxSvcSoapStub
).
TaxSvcLocator
,
TaxSvcSoap
,
TaxSvcSoapStub
Method Summary | |
---|---|
TaxSvcSoap |
getTaxSvcSoap()
Get a proxy for Avalara's Tax Web Service (object implementing the TaxSvcSoap
interface) using the default URL as coded in the class or programatically set. |
TaxSvcSoap |
getTaxSvcSoap(java.net.URL portAddress)
Get a proxy for Avalara's Address Web Service using the specified URL. |
java.lang.String |
getTaxSvcSoapAddress()
Retrieve as a String the default URL set for the Address Service to use. |
Methods inherited from interface javax.xml.rpc.Service |
---|
createCall, createCall, createCall, createCall, getCalls, getHandlerRegistry, getPort, getPort, getPorts, getServiceName, getTypeMappingRegistry, getWSDLDocumentLocation |
Method Detail |
---|
java.lang.String getTaxSvcSoapAddress()
TaxSvcSoap getTaxSvcSoap() throws javax.xml.rpc.ServiceException
TaxSvcSoap
interface) using the default URL as coded in the class or programatically set.
Example: [Java] EngineConfiguration config = new FileProvider("avatax4j.wsdd"); TaxSvcLocator taxSvcLoc = new TaxSvcLocator(config); TaxSvcSoap svc = taxSvcLoc.getTaxSvcSoap(); // Set the profile Profile profile = new Profile(); profile.setClient("TaxSvcTest,4.0.0.0"); svc.setProfile(profile); // Set security Security security = new Security(); security.setAccount("account"); security.setLicense("license number"); svc.setSecurity(security); IsAuthorizedResult result = svc.isAuthorized("GetTax,PostTax");
javax.xml.rpc.ServiceException
TaxSvcSoap getTaxSvcSoap(java.net.URL portAddress) throws javax.xml.rpc.ServiceException
Example: [Java] EngineConfiguration config = new FileProvider("avatax4j.wsdd"); TaxSvcLocator taxSvcLoc = new TaxSvcLocator(config); TaxSvcSoap svc = taxSvcLoc.getTaxSvcSoap(new URL("http://www.avalara.com/services/")); // Set the profile Profile profile = new Profile(); profile.setClient("TaxSvcTest,4.0.0.0"); svc.setProfile(profile); // Set security Security security = new Security(); security.setAccount("account"); security.setLicense("license number"); svc.setSecurity(security); IsAuthorizedResult result = svc.isAuthorized("GetTax,PostTax");
portAddress
-
javax.xml.rpc.ServiceException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |