I'm attempting to use the Avalara Tax Java SDK in a CF9 application.  The code 
works fine as a standalone java app.  But when we start to bring it into CF as 
a jar where we instantiate the classes using createObject we get some failures. 
 The main error I tend to see is

 AXIS ERROR org.apache.axis.configuration.EngineConfigurationFactoryFinder - 
Unable to locate a valid EngineConfigurationFactory
 The stack trace looks like this:

java.lang.NullPointerException at 
org.apache.axis.client.Service.getEngineConfiguration(Service.java:801) at 
org.apache.axis.client.Service.getAxisClient(Service.java:143) at 
org.apache.axis.client.Service.(Service.java:152) at 
com.avalara.avatax.services.address.AddressSvcLocator.(AddressSvcLocator.java:48)
 at AddressValidateSample.getAddressSvc(AddressValidateSample.java:101) at 
AddressValidateSample.isValidAddress(AddressValidateSample.java:31) at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597) at 
coldfusion.runtime.java.JavaProxy.invoke(JavaProxy.java:97) at 
coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) at 
cfTax2ecfc2111713232$funcVALIDATEADDRESS.runFunction(/Applications/JRun4/servers/...

Has anyone seen this kind of error before trying to use a java based Soap 
wrapper in CF9?  I was starting on the path of a mixed version of Axis, since 
I've been burned on that path before, but it's not panning out like I had 
expected.

Thanks
Joel 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337309
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to