You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Jacob Marcus <ja...@gmail.com> on 2007/09/04 20:04:06 UTC
Aegis data binding error
Hi all,
I am testing a simple service method that takes a java Object as parameter
using Aegis.
public String push(Object obj);
This uses the simple front end. As expected the generated wsdl has the xsd
anytype. But when I use a client created via the ClientproxyFactoryBean, I
get an error as follows.
java.lang.RuntimeException: org.apache.cxf.aegis.DatabindingException :
Could not determine how to read type:
{http://hello.com/}string<http://util.soap.cl.irmrap.erm.digital.ironmountain.com/%7Dstring>
at org.apache.cxf.aegis.databinding.XMLStreamDataReader.read (
XMLStreamDataReader.java:83)
at org.apache.cxf.aegis.databinding.XMLStreamDataReader.read(
XMLStreamDataReader.java:42)
at org.apache.cxf.interceptor.DocLiteralInInterceptor.getPara(
DocLiteralInInterceptor.java :235)
at org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(
DocLiteralInInterceptor.java:121)
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)
at org.apache.cxf.transport.servlet.ServletController.invoke(
ServletController.java:139)
at org.apache.cxf.transport.servlet.CXFServlet.invoke (
CXFServlet.java:271)
at org.apache.cxf.transport.servlet.CXFServlet.doPost(
CXFServlet.java:249)
Re: Aegis data binding error
Posted by jacobmarcus20 <ja...@gmail.com>.
I figured out the issue here.
The service has a particular namespace and the Object in question was in a
different namespace owing to the fact they are in different java packages.
(Using simple front end and Aegis).
I think the solution would be to somehow get all the types to have the same
name space. I will dig into Aegis.
--
View this message in context: http://www.nabble.com/Aegis-data-binding-error-tf4379367.html#a12600573
Sent from the cxf-user mailing list archive at Nabble.com.