Hi Jacob,
You may have to turn on xsi:type writing for aegis. If you're using the API,
it'll probably look something like this:
ServerFactoryBean sf ...
Map<String, Object> props = new HashMap<String, Object>();
props.put(AegisDatabinding.WRITE_XSI_TYPE_KEY, "true");
sf.setProperties(props);
Or in XML form:
<jaxws:endpoint ....>
<jaxws:properties>
<entry key="writeXsiType">true</entry>
</jaxw:properties>
</jaxws:endpoint>
Hope that helps some. Cheers,
- Dan
On 8/27/07, Jacob Marcus <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Is there a way to support xs:anyType using the Simple frond end? I tried a
> method like
> String push(Object obj) in my interface. The wsdl is successfully
> generated.
> However, when I try to call the method from my client, I get the following
> error. Any pointers would be great.
>
> org.apache.cxf.interceptor.Fault: object is not an instance of declaring
> class
> at org.apache.cxf.service.invoker.AbstractInvoker.invoke(
> AbstractInvoker.java:92)
> at org.apache.cxf.service.invoker.AbstractInvoker.invoke(
> AbstractInvoker.java:62)
> at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(
> ServiceInvokerInterceptor.java:56)
> at org.apache.cxf.workqueue.SynchronousExecutor.execute(
> SynchronousExecutor.java:37)
> at
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(
> ServiceInvokerInterceptor.java:92)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
> PhaseInterceptorChain.java:207)
> at org.apache.cxf.transport.ChainInitiationObserver.onMessage(
> ChainInitiationObserver.java:73)
> at org.apache.cxf.transport.servlet.ServletDestination.doMessage(
> ServletDestination.java:78)
> at
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(
> ServletController.java:231)
>
>
> Thanks,
> Jacob
>
--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog