You are getting "An error occurred when verifying security for the message" when you try to ping Avalara.
- Use an acceptable security header, use the example below to build your security token:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://avatax.avalara.com/services">
<wsse:UsernameToken wsu:Id="UsernameToken-7" xmlns:wsu="http://docs.oasis-open.org/wss/2004/...tility-1.0.xsd">
Avalara's WSDLs use a standard WSS (Web Service Security) token to authenticate the account or user and are supported by most SOAP tools and SDKs. The security token is not actually defined in the WSDL and must be added as a custom SOAP header. We recommend using the version above as it provides more security options and is supported by most web service tools.
Note: Enter your own Avalara Account number and license key to replace the samples.
For more information, see our API Integration documentation.