IONA Artix & Spring
We've been given IONA Artix 5.1 to write a few webservices and clients and tasked with integrating it into our Spring application. Everyone's having a terrible time setting up a development environment in Artix Designer, determining dependencies, and trying to get anything to work. It seems to me our time would be much better spent just implementing a solution with raw JAX-WS. Has anyone else had any experience with this Artix garbage? I find it really annoying that, among other stupid problems, generating client code with this thing from the WSDL's we've received from other systems creates code with syntax errors (I realize this could be due to incorrectly specified WSDL's, but I don't think all of the other systems happened to screw up their WSDL's in exactly the same way)
Works fine in .NET using VS2005 or VS2008 for me!
We're using Tomcat 5.5/Spring 2.1 and Artix hates us.
<bean id="myClientFactory" class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
<property name="serviceClass" value="com..hosts.ws.client...UpdateInstallation"/>
<property name="address" value="http://localhost:8081/services/myService"/>
<bean id="myClient" class="com..hosts.ws.client...myClient"
yields this oh-so-helpful nullpointerexception at runtime:
Error creating bean with name 'myClient' defined in ServletContext resource [/WEB-INF/conf/****-context-ws-beans.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public java.lang.Object org.apache.cxf.frontend.ClientProxyFactoryBean.create()] threw exception; nested exception is java.lang.NullPointerException
org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public java.lang.Object org.apache.cxf.frontend.ClientProxyFactoryBean.create()] threw exception; nested exception is java.lang.NullPointerException
And yes I realize that this probably should have gone in code help, but this is making me go, "WTF," I'm impatient, and I feel like more people read this part of the forum .